flagging

package
v0.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 28, 2026 License: CC0-1.0 Imports: 6 Imported by: 0

Documentation

Overview

Package flagging provides Go bindings for android.os.flagging.

Index

Constants

View Source
const (
	ErrorCannotReadStorageFile = consts.ErrorCannotReadStorageFile
	ErrorContainerNotFound     = consts.ErrorContainerNotFound
	ErrorGeneric               = consts.ErrorGeneric
	ErrorPackageNotFound       = consts.ErrorPackageNotFound
	ErrorStorageSystemNotFound = consts.ErrorStorageSystemNotFound
)

Variables

This section is empty.

Functions

func Init

func Init(env *jni.Env) error

Init resolves all JNI class and method references for this package. It is safe to call multiple times (uses sync.Once internally). Exported for E2E testing on Android.

Types

type AconfigPackage

type AconfigPackage struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

AconfigPackage wraps android.os.flagging.AconfigPackage.

func (*AconfigPackage) GetBooleanFlagValue

func (m *AconfigPackage) GetBooleanFlagValue(arg0 string, arg1 bool) (bool, error)

GetBooleanFlagValue calls android.os.flagging.AconfigPackage.getBooleanFlagValue.

func (*AconfigPackage) Load

func (m *AconfigPackage) Load(arg0 string) (*jni.Object, error)

Load calls android.os.flagging.AconfigPackage.load.

type AconfigStorageReadException

type AconfigStorageReadException struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

AconfigStorageReadException wraps android.os.flagging.AconfigStorageReadException.

func NewAconfigStorageReadException

func NewAconfigStorageReadException(vm *jni.VM, arg0 int32, arg1 string) (*AconfigStorageReadException, error)

NewAconfigStorageReadException creates a new android.os.flagging.AconfigStorageReadException instance.

func (*AconfigStorageReadException) GetErrorCode

func (m *AconfigStorageReadException) GetErrorCode() (int32, error)

GetErrorCode calls android.os.flagging.AconfigStorageReadException.getErrorCode.

func (*AconfigStorageReadException) GetMessage

func (m *AconfigStorageReadException) GetMessage() (string, error)

GetMessage calls android.os.flagging.AconfigStorageReadException.getMessage.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL