pm

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 pm provides Go bindings for android.content.pm.

Index

Constants

View Source
const (
	Creator                                = consts.Creator
	TypeBuiltin                            = consts.TypeBuiltin
	TypeDynamic                            = consts.TypeDynamic
	TypeSdkPackage                         = consts.TypeSdkPackage
	TypeStatic                             = consts.TypeStatic
	VersionUndefined                       = consts.VersionUndefined
	FlagCostsMoney                         = consts.FlagCostsMoney
	FlagHardRestricted                     = consts.FlagHardRestricted
	FlagImmutablyRestricted                = consts.FlagImmutablyRestricted
	FlagInstalled                          = consts.FlagInstalled
	FlagSoftRestricted                     = consts.FlagSoftRestricted
	ProtectionDangerous                    = consts.ProtectionDangerous
	ProtectionFlagAppop                    = consts.ProtectionFlagAppop
	ProtectionFlagDevelopment              = consts.ProtectionFlagDevelopment
	ProtectionFlagInstaller                = consts.ProtectionFlagInstaller
	ProtectionFlagInstant                  = consts.ProtectionFlagInstant
	ProtectionFlagPre23                    = consts.ProtectionFlagPre23
	ProtectionFlagPreinstalled             = consts.ProtectionFlagPreinstalled
	ProtectionFlagPrivileged               = consts.ProtectionFlagPrivileged
	ProtectionFlagRuntimeOnly              = consts.ProtectionFlagRuntimeOnly
	ProtectionFlagSetup                    = consts.ProtectionFlagSetup
	ProtectionFlagSystem                   = consts.ProtectionFlagSystem
	ProtectionFlagVerifier                 = consts.ProtectionFlagVerifier
	ProtectionInternal                     = consts.ProtectionInternal
	ProtectionMaskBase                     = consts.ProtectionMaskBase
	ProtectionMaskFlags                    = consts.ProtectionMaskFlags
	ProtectionNormal                       = consts.ProtectionNormal
	ProtectionSignature                    = consts.ProtectionSignature
	ProtectionSignatureOrSystem            = consts.ProtectionSignatureOrSystem
	DisabledReasonAppChanged               = consts.DisabledReasonAppChanged
	DisabledReasonBackupNotSupported       = consts.DisabledReasonBackupNotSupported
	DisabledReasonByApp                    = consts.DisabledReasonByApp
	DisabledReasonNotDisabled              = consts.DisabledReasonNotDisabled
	DisabledReasonOtherRestoreIssue        = consts.DisabledReasonOtherRestoreIssue
	DisabledReasonSignatureMismatch        = consts.DisabledReasonSignatureMismatch
	DisabledReasonUnknown                  = consts.DisabledReasonUnknown
	DisabledReasonVersionLower             = consts.DisabledReasonVersionLower
	SurfaceLauncher                        = consts.SurfaceLauncher
	RequestTypeAppwidget                   = consts.RequestTypeAppwidget
	RequestTypeShortcut                    = consts.RequestTypeShortcut
	FlagGetKeyFieldsOnly                   = consts.FlagGetKeyFieldsOnly
	FlagMatchCached                        = consts.FlagMatchCached
	FlagMatchDynamic                       = consts.FlagMatchDynamic
	FlagMatchManifest                      = consts.FlagMatchManifest
	FlagMatchPinned                        = consts.FlagMatchPinned
	FlagMatchPinnedByAnyLauncher           = consts.FlagMatchPinnedByAnyLauncher
	GlEsVersionUndefined                   = consts.GlEsVersionUndefined
	InputFeatureFiveWayNav                 = consts.InputFeatureFiveWayNav
	InputFeatureHardKeyboard               = consts.InputFeatureHardKeyboard
	TypePartialMerkleRoot1mSha256          = consts.TypePartialMerkleRoot1mSha256
	TypePartialMerkleRoot1mSha512          = consts.TypePartialMerkleRoot1mSha512
	TypeWholeMd5                           = consts.TypeWholeMd5
	TypeWholeMerkleRoot4kSha256            = consts.TypeWholeMerkleRoot4kSha256
	TypeWholeSha1                          = consts.TypeWholeSha1
	TypeWholeSha256                        = consts.TypeWholeSha256
	TypeWholeSha512                        = consts.TypeWholeSha512
	FlagAllowSharedIsolatedProcess         = consts.FlagAllowSharedIsolatedProcess
	FlagExternalService                    = consts.FlagExternalService
	FlagIsolatedProcess                    = consts.FlagIsolatedProcess
	FlagSingleUser                         = consts.FlagSingleUser
	FlagStopWithTask                       = consts.FlagStopWithTask
	FlagUseAppZygote                       = consts.FlagUseAppZygote
	ForegroundServiceTypeCamera            = consts.ForegroundServiceTypeCamera
	ForegroundServiceTypeConnectedDevice   = consts.ForegroundServiceTypeConnectedDevice
	ForegroundServiceTypeDataSync          = consts.ForegroundServiceTypeDataSync
	ForegroundServiceTypeHealth            = consts.ForegroundServiceTypeHealth
	ForegroundServiceTypeLocation          = consts.ForegroundServiceTypeLocation
	ForegroundServiceTypeManifest          = consts.ForegroundServiceTypeManifest
	ForegroundServiceTypeMediaPlayback     = consts.ForegroundServiceTypeMediaPlayback
	ForegroundServiceTypeMediaProcessing   = consts.ForegroundServiceTypeMediaProcessing
	ForegroundServiceTypeMediaProjection   = consts.ForegroundServiceTypeMediaProjection
	ForegroundServiceTypeMicrophone        = consts.ForegroundServiceTypeMicrophone
	ForegroundServiceTypeNone              = consts.ForegroundServiceTypeNone
	ForegroundServiceTypePhoneCall         = consts.ForegroundServiceTypePhoneCall
	ForegroundServiceTypeRemoteMessaging   = consts.ForegroundServiceTypeRemoteMessaging
	ForegroundServiceTypeShortService      = consts.ForegroundServiceTypeShortService
	ForegroundServiceTypeSpecialUse        = consts.ForegroundServiceTypeSpecialUse
	ForegroundServiceTypeSystemExempted    = consts.ForegroundServiceTypeSystemExempted
	FlagPersonalInfo                       = consts.FlagPersonalInfo
	CategoryAccessibility                  = consts.CategoryAccessibility
	CategoryAudio                          = consts.CategoryAudio
	CategoryGame                           = consts.CategoryGame
	CategoryImage                          = consts.CategoryImage
	CategoryMaps                           = consts.CategoryMaps
	CategoryNews                           = consts.CategoryNews
	CategoryProductivity                   = consts.CategoryProductivity
	CategorySocial                         = consts.CategorySocial
	CategoryUndefined                      = consts.CategoryUndefined
	CategoryVideo                          = consts.CategoryVideo
	FlagAllowBackup                        = consts.FlagAllowBackup
	FlagAllowClearUserData                 = consts.FlagAllowClearUserData
	FlagAllowTaskReparenting               = consts.FlagAllowTaskReparenting
	FlagDebuggable                         = consts.FlagDebuggable
	FlagExternalStorage                    = consts.FlagExternalStorage
	FlagExtractNativeLibs                  = consts.FlagExtractNativeLibs
	FlagFactoryTest                        = consts.FlagFactoryTest
	FlagFullBackupOnly                     = consts.FlagFullBackupOnly
	FlagHardwareAccelerated                = consts.FlagHardwareAccelerated
	FlagHasCode                            = consts.FlagHasCode
	FlagIsDataOnly                         = consts.FlagIsDataOnly
	FlagIsGame                             = consts.FlagIsGame
	FlagKillAfterRestore                   = consts.FlagKillAfterRestore
	FlagLargeHeap                          = consts.FlagLargeHeap
	FlagMultiarch                          = consts.FlagMultiarch
	FlagPersistent                         = consts.FlagPersistent
	FlagResizeableForScreens               = consts.FlagResizeableForScreens
	FlagRestoreAnyVersion                  = consts.FlagRestoreAnyVersion
	FlagStopped                            = consts.FlagStopped
	FlagSupportsLargeScreens               = consts.FlagSupportsLargeScreens
	FlagSupportsNormalScreens              = consts.FlagSupportsNormalScreens
	FlagSupportsRtl                        = consts.FlagSupportsRtl
	FlagSupportsScreenDensities            = consts.FlagSupportsScreenDensities
	FlagSupportsSmallScreens               = consts.FlagSupportsSmallScreens
	FlagSupportsXlargeScreens              = consts.FlagSupportsXlargeScreens
	FlagSuspended                          = consts.FlagSuspended
	FlagSystem                             = consts.FlagSystem
	FlagTestOnly                           = consts.FlagTestOnly
	FlagUpdatedSystemApp                   = consts.FlagUpdatedSystemApp
	FlagUsesCleartextTraffic               = consts.FlagUsesCleartextTraffic
	FlagVmSafeMode                         = consts.FlagVmSafeMode
	GwpAsanAlways                          = consts.GwpAsanAlways
	GwpAsanDefault                         = consts.GwpAsanDefault
	GwpAsanNever                           = consts.GwpAsanNever
	MemtagAsync                            = consts.MemtagAsync
	MemtagDefault                          = consts.MemtagDefault
	MemtagOff                              = consts.MemtagOff
	MemtagSync                             = consts.MemtagSync
	RawExternalStorageAccessDefault        = consts.RawExternalStorageAccessDefault
	RawExternalStorageAccessNotRequested   = consts.RawExternalStorageAccessNotRequested
	RawExternalStorageAccessRequested      = consts.RawExternalStorageAccessRequested
	ZeroinitDefault                        = consts.ZeroinitDefault
	ZeroinitDisabled                       = consts.ZeroinitDisabled
	ZeroinitEnabled                        = consts.ZeroinitEnabled
	ColorModeDefault                       = consts.ColorModeDefault
	ColorModeHdr                           = consts.ColorModeHdr
	ColorModeWideColorGamut                = consts.ColorModeWideColorGamut
	ConfigAssetsPaths                      = consts.ConfigAssetsPaths
	ConfigColorMode                        = consts.ConfigColorMode
	ConfigDensity                          = consts.ConfigDensity
	ConfigFontScale                        = consts.ConfigFontScale
	ConfigFontWeightAdjustment             = consts.ConfigFontWeightAdjustment
	ConfigGrammaticalGender                = consts.ConfigGrammaticalGender
	ConfigKeyboard                         = consts.ConfigKeyboard
	ConfigKeyboardHidden                   = consts.ConfigKeyboardHidden
	ConfigLayoutDirection                  = consts.ConfigLayoutDirection
	ConfigLocale                           = consts.ConfigLocale
	ConfigMcc                              = consts.ConfigMcc
	ConfigMnc                              = consts.ConfigMnc
	ConfigNavigation                       = consts.ConfigNavigation
	ConfigOrientation                      = consts.ConfigOrientation
	ConfigResourcesUnused                  = consts.ConfigResourcesUnused
	ConfigScreenLayout                     = consts.ConfigScreenLayout
	ConfigScreenSize                       = consts.ConfigScreenSize
	ConfigSmallestScreenSize               = consts.ConfigSmallestScreenSize
	ConfigTouchscreen                      = consts.ConfigTouchscreen
	ConfigUiMode                           = consts.ConfigUiMode
	DocumentLaunchAlways                   = consts.DocumentLaunchAlways
	DocumentLaunchIntoExisting             = consts.DocumentLaunchIntoExisting
	DocumentLaunchNever                    = consts.DocumentLaunchNever
	DocumentLaunchNone                     = consts.DocumentLaunchNone
	FlagAllowUntrustedActivityEmbedding    = consts.FlagAllowUntrustedActivityEmbedding
	FlagAlwaysRetainTaskState              = consts.FlagAlwaysRetainTaskState
	FlagAutoRemoveFromRecents              = consts.FlagAutoRemoveFromRecents
	FlagClearTaskOnLaunch                  = consts.FlagClearTaskOnLaunch
	FlagEnableVrMode                       = consts.FlagEnableVrMode
	FlagExcludeFromRecents                 = consts.FlagExcludeFromRecents
	FlagFinishOnCloseSystemDialogs         = consts.FlagFinishOnCloseSystemDialogs
	FlagFinishOnTaskLaunch                 = consts.FlagFinishOnTaskLaunch
	FlagImmersive                          = consts.FlagImmersive
	FlagMultiprocess                       = consts.FlagMultiprocess
	FlagNoHistory                          = consts.FlagNoHistory
	FlagPreferMinimalPostProcessing        = consts.FlagPreferMinimalPostProcessing
	FlagRelinquishTaskIdentity             = consts.FlagRelinquishTaskIdentity
	FlagResumeWhilePausing                 = consts.FlagResumeWhilePausing
	FlagStateNotNeeded                     = consts.FlagStateNotNeeded
	LaunchMultiple                         = consts.LaunchMultiple
	LaunchSingleInstance                   = consts.LaunchSingleInstance
	LaunchSingleInstancePerTask            = consts.LaunchSingleInstancePerTask
	LaunchSingleTask                       = consts.LaunchSingleTask
	LaunchSingleTop                        = consts.LaunchSingleTop
	PersistAcrossReboots                   = consts.PersistAcrossReboots
	PersistNever                           = consts.PersistNever
	PersistRootOnly                        = consts.PersistRootOnly
	ScreenOrientationBehind                = consts.ScreenOrientationBehind
	ScreenOrientationFullSensor            = consts.ScreenOrientationFullSensor
	ScreenOrientationFullUser              = consts.ScreenOrientationFullUser
	ScreenOrientationLandscape             = consts.ScreenOrientationLandscape
	ScreenOrientationLocked                = consts.ScreenOrientationLocked
	ScreenOrientationNosensor              = consts.ScreenOrientationNosensor
	ScreenOrientationPortrait              = consts.ScreenOrientationPortrait
	ScreenOrientationReverseLandscape      = consts.ScreenOrientationReverseLandscape
	ScreenOrientationReversePortrait       = consts.ScreenOrientationReversePortrait
	ScreenOrientationSensor                = consts.ScreenOrientationSensor
	ScreenOrientationSensorLandscape       = consts.ScreenOrientationSensorLandscape
	ScreenOrientationSensorPortrait        = consts.ScreenOrientationSensorPortrait
	ScreenOrientationUnspecified           = consts.ScreenOrientationUnspecified
	ScreenOrientationUser                  = consts.ScreenOrientationUser
	ScreenOrientationUserLandscape         = consts.ScreenOrientationUserLandscape
	ScreenOrientationUserPortrait          = consts.ScreenOrientationUserPortrait
	UioptionSplitActionBarWhenNarrow       = consts.UioptionSplitActionBarWhenNarrow
	PackageSourceDownloadedFile            = consts.PackageSourceDownloadedFile
	PackageSourceLocalFile                 = consts.PackageSourceLocalFile
	PackageSourceOther                     = consts.PackageSourceOther
	PackageSourceStore                     = consts.PackageSourceStore
	PackageSourceUnspecified               = consts.PackageSourceUnspecified
	StatusFailure                          = consts.StatusFailure
	StatusFailureAborted                   = consts.StatusFailureAborted
	StatusFailureBlocked                   = consts.StatusFailureBlocked
	StatusFailureConflict                  = consts.StatusFailureConflict
	StatusFailureIncompatible              = consts.StatusFailureIncompatible
	StatusFailureInvalid                   = consts.StatusFailureInvalid
	StatusFailureStorage                   = consts.StatusFailureStorage
	StatusFailureTimeout                   = consts.StatusFailureTimeout
	StatusPendingUserAction                = consts.StatusPendingUserAction
	StatusSuccess                          = consts.StatusSuccess
	UnarchivalErrorInstallerDisabled       = consts.UnarchivalErrorInstallerDisabled
	UnarchivalErrorInstallerUninstalled    = consts.UnarchivalErrorInstallerUninstalled
	UnarchivalErrorInsufficientStorage     = consts.UnarchivalErrorInsufficientStorage
	UnarchivalErrorNoConnectivity          = consts.UnarchivalErrorNoConnectivity
	UnarchivalErrorUserActionNeeded        = consts.UnarchivalErrorUserActionNeeded
	UnarchivalGenericError                 = consts.UnarchivalGenericError
	UnarchivalOk                           = consts.UnarchivalOk
	GentleUpdate                           = consts.GentleUpdate
	InvalidId                              = consts.InvalidId
	SessionActivationFailed                = consts.SessionActivationFailed
	SessionConflict                        = consts.SessionConflict
	SessionNoError                         = consts.SessionNoError
	SessionUnknownError                    = consts.SessionUnknownError
	SessionVerificationFailed              = consts.SessionVerificationFailed
	StagedSessionActivationFailed          = consts.StagedSessionActivationFailed
	StagedSessionConflict                  = consts.StagedSessionConflict
	StagedSessionNoError                   = consts.StagedSessionNoError
	StagedSessionUnknown                   = consts.StagedSessionUnknown
	StagedSessionVerificationFailed        = consts.StagedSessionVerificationFailed
	ModeFullInstall                        = consts.ModeFullInstall
	ModeInheritExisting                    = consts.ModeInheritExisting
	PermissionStateDefault                 = consts.PermissionStateDefault
	PermissionStateDenied                  = consts.PermissionStateDenied
	PermissionStateGranted                 = consts.PermissionStateGranted
	RestrictedPermissionsAll               = consts.RestrictedPermissionsAll
	UserActionNotRequired                  = consts.UserActionNotRequired
	UserActionRequired                     = consts.UserActionRequired
	UserActionUnspecified                  = consts.UserActionUnspecified
	FlagRequired                           = consts.FlagRequired
	InstallLocationAuto                    = consts.InstallLocationAuto
	InstallLocationInternalOnly            = consts.InstallLocationInternalOnly
	InstallLocationPreferExternal          = consts.InstallLocationPreferExternal
	RequestedPermissionGranted             = consts.RequestedPermissionGranted
	RequestedPermissionImplicit            = consts.RequestedPermissionImplicit
	RequestedPermissionNeverForLocation    = consts.RequestedPermissionNeverForLocation
	CertInputRawX509                       = consts.CertInputRawX509
	CertInputSha256                        = consts.CertInputSha256
	ComponentEnabledStateDefault           = consts.ComponentEnabledStateDefault
	ComponentEnabledStateDisabled          = consts.ComponentEnabledStateDisabled
	ComponentEnabledStateDisabledUntilUsed = consts.ComponentEnabledStateDisabledUntilUsed
	ComponentEnabledStateDisabledUser      = consts.ComponentEnabledStateDisabledUser
	ComponentEnabledStateEnabled           = consts.ComponentEnabledStateEnabled
	DeleteArchive                          = consts.DeleteArchive
	DontKillApp                            = consts.DontKillApp
	FlagPermissionWhitelistInstaller       = consts.FlagPermissionWhitelistInstaller
	FlagPermissionWhitelistSystem          = consts.FlagPermissionWhitelistSystem
	FlagPermissionWhitelistUpgrade         = consts.FlagPermissionWhitelistUpgrade
	GetActivities                          = consts.GetActivities
	GetAttributions                        = consts.GetAttributions
	GetConfigurations                      = consts.GetConfigurations
	GetDisabledComponents                  = consts.GetDisabledComponents
	GetDisabledUntilUsedComponents         = consts.GetDisabledUntilUsedComponents
	GetGids                                = consts.GetGids
	GetInstrumentation                     = consts.GetInstrumentation
	GetIntentFilters                       = consts.GetIntentFilters
	GetMetaData                            = consts.GetMetaData
	GetPermissions                         = consts.GetPermissions
	GetProviders                           = consts.GetProviders
	GetReceivers                           = consts.GetReceivers
	GetResolvedFilter                      = consts.GetResolvedFilter
	GetServices                            = consts.GetServices
	GetSharedLibraryFiles                  = consts.GetSharedLibraryFiles
	GetSignatures                          = consts.GetSignatures
	GetSigningCertificates                 = consts.GetSigningCertificates
	GetUninstalledPackages                 = consts.GetUninstalledPackages
	GetUriPermissionPatterns               = consts.GetUriPermissionPatterns
	InstallReasonDeviceRestore             = consts.InstallReasonDeviceRestore
	InstallReasonDeviceSetup               = consts.InstallReasonDeviceSetup
	InstallReasonPolicy                    = consts.InstallReasonPolicy
	InstallReasonUnknown                   = consts.InstallReasonUnknown
	InstallReasonUser                      = consts.InstallReasonUser
	InstallScenarioBulk                    = consts.InstallScenarioBulk
	InstallScenarioBulkSecondary           = consts.InstallScenarioBulkSecondary
	InstallScenarioDefault                 = consts.InstallScenarioDefault
	InstallScenarioFast                    = consts.InstallScenarioFast
	MatchAll                               = consts.MatchAll
	MatchApex                              = consts.MatchApex
	MatchDefaultOnly                       = consts.MatchDefaultOnly
	MatchDirectBootAuto                    = consts.MatchDirectBootAuto
	MatchDirectBootAware                   = consts.MatchDirectBootAware
	MatchDirectBootUnaware                 = consts.MatchDirectBootUnaware
	MatchDisabledComponents                = consts.MatchDisabledComponents
	MatchDisabledUntilUsedComponents       = consts.MatchDisabledUntilUsedComponents
	MatchSystemOnly                        = consts.MatchSystemOnly
	MatchUninstalledPackages               = consts.MatchUninstalledPackages
	PermissionDenied                       = consts.PermissionDenied
	PermissionGranted                      = consts.PermissionGranted
	SignatureFirstNotSigned                = consts.SignatureFirstNotSigned
	SignatureMatch                         = consts.SignatureMatch
	SignatureNeitherSigned                 = consts.SignatureNeitherSigned
	SignatureNoMatch                       = consts.SignatureNoMatch
	SignatureSecondNotSigned               = consts.SignatureSecondNotSigned
	SignatureUnknownPackage                = consts.SignatureUnknownPackage
	Synchronous                            = consts.Synchronous
	TrustAll                               = consts.TrustAll
	TrustNone                              = consts.TrustNone
	VerificationAllow                      = consts.VerificationAllow
	VerificationReject                     = consts.VerificationReject
	VersionCodeHighest                     = consts.VersionCodeHighest
	VersionJar                             = consts.VersionJar
	VersionSigningBlockV2                  = consts.VersionSigningBlockV2
	VersionSigningBlockV3                  = consts.VersionSigningBlockV3
	VersionSigningBlockV4                  = consts.VersionSigningBlockV4
)
View Source
const (
	ActionCanInteractAcrossProfilesChanged            = consts.ActionCanInteractAcrossProfilesChanged
	ShortcutCategoryConversation                      = consts.ShortcutCategoryConversation
	ActionConfirmPinAppwidget                         = consts.ActionConfirmPinAppwidget
	ActionConfirmPinShortcut                          = consts.ActionConfirmPinShortcut
	ExtraPinItemRequest                               = consts.ExtraPinItemRequest
	PrivateSpaceEntrypointHidden                      = consts.PrivateSpaceEntrypointHidden
	ActionSessionCommitted                            = consts.ActionSessionCommitted
	ActionSessionDetails                              = consts.ActionSessionDetails
	ActionSessionUpdated                              = consts.ActionSessionUpdated
	ExtraInstallConstraints                           = consts.ExtraInstallConstraints
	ExtraInstallConstraintsResult                     = consts.ExtraInstallConstraintsResult
	ExtraOtherPackageName                             = consts.ExtraOtherPackageName
	ExtraPackageName                                  = consts.ExtraPackageName
	ExtraPreApproval                                  = consts.ExtraPreApproval
	ExtraSession                                      = consts.ExtraSession
	ExtraSessionId                                    = consts.ExtraSessionId
	ExtraStatus                                       = consts.ExtraStatus
	ExtraStatusMessage                                = consts.ExtraStatusMessage
	ExtraStoragePath                                  = consts.ExtraStoragePath
	ExtraUnarchiveAllUsers                            = consts.ExtraUnarchiveAllUsers
	ExtraUnarchiveId                                  = consts.ExtraUnarchiveId
	ExtraUnarchivePackageName                         = consts.ExtraUnarchivePackageName
	ExtraUnarchiveStatus                              = consts.ExtraUnarchiveStatus
	ExtraVerificationId                               = consts.ExtraVerificationId
	ExtraVerificationResult                           = consts.ExtraVerificationResult
	FeatureActivitiesOnSecondaryDisplays              = consts.FeatureActivitiesOnSecondaryDisplays
	FeatureAppWidgets                                 = consts.FeatureAppWidgets
	FeatureAudioLowLatency                            = consts.FeatureAudioLowLatency
	FeatureAudioOutput                                = consts.FeatureAudioOutput
	FeatureAudioPro                                   = consts.FeatureAudioPro
	FeatureAudioSpatialHeadtrackingLowLatency         = consts.FeatureAudioSpatialHeadtrackingLowLatency
	FeatureAutofill                                   = consts.FeatureAutofill
	FeatureAutomotive                                 = consts.FeatureAutomotive
	FeatureBackup                                     = consts.FeatureBackup
	FeatureBluetooth                                  = consts.FeatureBluetooth
	FeatureBluetoothLe                                = consts.FeatureBluetoothLe
	FeatureBluetoothLeChannelSounding                 = consts.FeatureBluetoothLeChannelSounding
	FeatureCamera                                     = consts.FeatureCamera
	FeatureCameraAny                                  = consts.FeatureCameraAny
	FeatureCameraAr                                   = consts.FeatureCameraAr
	FeatureCameraAutofocus                            = consts.FeatureCameraAutofocus
	FeatureCameraCapabilityManualPostProcessing       = consts.FeatureCameraCapabilityManualPostProcessing
	FeatureCameraCapabilityManualSensor               = consts.FeatureCameraCapabilityManualSensor
	FeatureCameraCapabilityRaw                        = consts.FeatureCameraCapabilityRaw
	FeatureCameraConcurrent                           = consts.FeatureCameraConcurrent
	FeatureCameraExternal                             = consts.FeatureCameraExternal
	FeatureCameraFlash                                = consts.FeatureCameraFlash
	FeatureCameraFront                                = consts.FeatureCameraFront
	FeatureCameraLevelFull                            = consts.FeatureCameraLevelFull
	FeatureCantSaveState                              = consts.FeatureCantSaveState
	FeatureCompanionDeviceSetup                       = consts.FeatureCompanionDeviceSetup
	FeatureConnectionService                          = consts.FeatureConnectionService
	FeatureConsumerIr                                 = consts.FeatureConsumerIr
	FeatureControls                                   = consts.FeatureControls
	FeatureCredentials                                = consts.FeatureCredentials
	FeatureDeviceAdmin                                = consts.FeatureDeviceAdmin
	FeatureDeviceLock                                 = consts.FeatureDeviceLock
	FeatureEmbedded                                   = consts.FeatureEmbedded
	FeatureEthernet                                   = consts.FeatureEthernet
	FeatureExpandedPictureInPicture                   = consts.FeatureExpandedPictureInPicture
	FeatureFace                                       = consts.FeatureFace
	FeatureFaketouch                                  = consts.FeatureFaketouch
	FeatureFaketouchMultitouchDistinct                = consts.FeatureFaketouchMultitouchDistinct
	FeatureFaketouchMultitouchJazzhand                = consts.FeatureFaketouchMultitouchJazzhand
	FeatureFingerprint                                = consts.FeatureFingerprint
	FeatureFreeformWindowManagement                   = consts.FeatureFreeformWindowManagement
	FeatureGamepad                                    = consts.FeatureGamepad
	FeatureHardwareKeystore                           = consts.FeatureHardwareKeystore
	FeatureHifiSensors                                = consts.FeatureHifiSensors
	FeatureHomeScreen                                 = consts.FeatureHomeScreen
	FeatureIdentityCredentialHardware                 = consts.FeatureIdentityCredentialHardware
	FeatureIdentityCredentialHardwareDirectAccess     = consts.FeatureIdentityCredentialHardwareDirectAccess
	FeatureInputMethods                               = consts.FeatureInputMethods
	FeatureIpsecTunnels                               = consts.FeatureIpsecTunnels
	FeatureIpsecTunnelMigration                       = consts.FeatureIpsecTunnelMigration
	FeatureIris                                       = consts.FeatureIris
	FeatureKeystoreAppAttestKey                       = consts.FeatureKeystoreAppAttestKey
	FeatureKeystoreLimitedUseKey                      = consts.FeatureKeystoreLimitedUseKey
	FeatureKeystoreSingleUseKey                       = consts.FeatureKeystoreSingleUseKey
	FeatureLeanback                                   = consts.FeatureLeanback
	FeatureLeanbackOnly                               = consts.FeatureLeanbackOnly
	FeatureLiveTv                                     = consts.FeatureLiveTv
	FeatureLiveWallpaper                              = consts.FeatureLiveWallpaper
	FeatureLocation                                   = consts.FeatureLocation
	FeatureLocationGps                                = consts.FeatureLocationGps
	FeatureLocationNetwork                            = consts.FeatureLocationNetwork
	FeatureManagedUsers                               = consts.FeatureManagedUsers
	FeatureMicrophone                                 = consts.FeatureMicrophone
	FeatureMidi                                       = consts.FeatureMidi
	FeatureNfc                                        = consts.FeatureNfc
	FeatureNfcBeam                                    = consts.FeatureNfcBeam
	FeatureNfcHostCardEmulation                       = consts.FeatureNfcHostCardEmulation
	FeatureNfcHostCardEmulationNfcf                   = consts.FeatureNfcHostCardEmulationNfcf
	FeatureNfcOffHostCardEmulationEse                 = consts.FeatureNfcOffHostCardEmulationEse
	FeatureNfcOffHostCardEmulationUicc                = consts.FeatureNfcOffHostCardEmulationUicc
	FeatureOpenglesDeqpLevel                          = consts.FeatureOpenglesDeqpLevel
	FeatureOpenglesExtensionPack                      = consts.FeatureOpenglesExtensionPack
	FeaturePc                                         = consts.FeaturePc
	FeaturePictureInPicture                           = consts.FeaturePictureInPicture
	FeaturePrinting                                   = consts.FeaturePrinting
	FeatureRamLow                                     = consts.FeatureRamLow
	FeatureRamNormal                                  = consts.FeatureRamNormal
	FeatureScreenLandscape                            = consts.FeatureScreenLandscape
	FeatureScreenPortrait                             = consts.FeatureScreenPortrait
	FeatureSecurelyRemovesUsers                       = consts.FeatureSecurelyRemovesUsers
	FeatureSecureLockScreen                           = consts.FeatureSecureLockScreen
	FeatureSecurityModelCompatible                    = consts.FeatureSecurityModelCompatible
	FeatureSensorAccelerometer                        = consts.FeatureSensorAccelerometer
	FeatureSensorAccelerometerLimitedAxes             = consts.FeatureSensorAccelerometerLimitedAxes
	FeatureSensorAccelerometerLimitedAxesUncalibrated = consts.FeatureSensorAccelerometerLimitedAxesUncalibrated
	FeatureSensorAmbientTemperature                   = consts.FeatureSensorAmbientTemperature
	FeatureSensorBarometer                            = consts.FeatureSensorBarometer
	FeatureSensorCompass                              = consts.FeatureSensorCompass
	FeatureSensorDynamicHeadTracker                   = consts.FeatureSensorDynamicHeadTracker
	FeatureSensorGyroscope                            = consts.FeatureSensorGyroscope
	FeatureSensorGyroscopeLimitedAxes                 = consts.FeatureSensorGyroscopeLimitedAxes
	FeatureSensorGyroscopeLimitedAxesUncalibrated     = consts.FeatureSensorGyroscopeLimitedAxesUncalibrated
	FeatureSensorHeading                              = consts.FeatureSensorHeading
	FeatureSensorHeartRate                            = consts.FeatureSensorHeartRate
	FeatureSensorHeartRateEcg                         = consts.FeatureSensorHeartRateEcg
	FeatureSensorHingeAngle                           = consts.FeatureSensorHingeAngle
	FeatureSensorLight                                = consts.FeatureSensorLight
	FeatureSensorProximity                            = consts.FeatureSensorProximity
	FeatureSensorRelativeHumidity                     = consts.FeatureSensorRelativeHumidity
	FeatureSensorStepCounter                          = consts.FeatureSensorStepCounter
	FeatureSensorStepDetector                         = consts.FeatureSensorStepDetector
	FeatureSeOmapiEse                                 = consts.FeatureSeOmapiEse
	FeatureSeOmapiSd                                  = consts.FeatureSeOmapiSd
	FeatureSeOmapiUicc                                = consts.FeatureSeOmapiUicc
	FeatureSip                                        = consts.FeatureSip
	FeatureSipVoip                                    = consts.FeatureSipVoip
	FeatureStrongboxKeystore                          = consts.FeatureStrongboxKeystore
	FeatureTelecom                                    = consts.FeatureTelecom
	FeatureTelephony                                  = consts.FeatureTelephony
	FeatureTelephonyCalling                           = consts.FeatureTelephonyCalling
	FeatureTelephonyCdma                              = consts.FeatureTelephonyCdma
	FeatureTelephonyData                              = consts.FeatureTelephonyData
	FeatureTelephonyEuicc                             = consts.FeatureTelephonyEuicc
	FeatureTelephonyEuiccMep                          = consts.FeatureTelephonyEuiccMep
	FeatureTelephonyGsm                               = consts.FeatureTelephonyGsm
	FeatureTelephonyIms                               = consts.FeatureTelephonyIms
	FeatureTelephonyMbms                              = consts.FeatureTelephonyMbms
	FeatureTelephonyMessaging                         = consts.FeatureTelephonyMessaging
	FeatureTelephonyRadioAccess                       = consts.FeatureTelephonyRadioAccess
	FeatureTelephonySubscription                      = consts.FeatureTelephonySubscription
	FeatureTelevision                                 = consts.FeatureTelevision
	FeatureThreadNetwork                              = consts.FeatureThreadNetwork
	FeatureTouchscreen                                = consts.FeatureTouchscreen
	FeatureTouchscreenMultitouch                      = consts.FeatureTouchscreenMultitouch
	FeatureTouchscreenMultitouchDistinct              = consts.FeatureTouchscreenMultitouchDistinct
	FeatureTouchscreenMultitouchJazzhand              = consts.FeatureTouchscreenMultitouchJazzhand
	FeatureUsbAccessory                               = consts.FeatureUsbAccessory
	FeatureUsbHost                                    = consts.FeatureUsbHost
	FeatureUwb                                        = consts.FeatureUwb
	FeatureVerifiedBoot                               = consts.FeatureVerifiedBoot
	FeatureVrHeadtracking                             = consts.FeatureVrHeadtracking
	FeatureVrMode                                     = consts.FeatureVrMode
	FeatureVrModeHighPerformance                      = consts.FeatureVrModeHighPerformance
	FeatureVulkanDeqpLevel                            = consts.FeatureVulkanDeqpLevel
	FeatureVulkanHardwareCompute                      = consts.FeatureVulkanHardwareCompute
	FeatureVulkanHardwareLevel                        = consts.FeatureVulkanHardwareLevel
	FeatureVulkanHardwareVersion                      = consts.FeatureVulkanHardwareVersion
	FeatureWalletLocationBasedSuggestions             = consts.FeatureWalletLocationBasedSuggestions
	FeatureWatch                                      = consts.FeatureWatch
	FeatureWebview                                    = consts.FeatureWebview
	FeatureWifi                                       = consts.FeatureWifi
	FeatureWifiAware                                  = consts.FeatureWifiAware
	FeatureWifiDirect                                 = consts.FeatureWifiDirect
	FeatureWifiPasspoint                              = consts.FeatureWifiPasspoint
	FeatureWifiRtt                                    = consts.FeatureWifiRtt
	FeatureWindowMagnification                        = consts.FeatureWindowMagnification
	PropertyCompatOverrideLandscapeToPortrait         = consts.PropertyCompatOverrideLandscapeToPortrait
	PropertyMediaCapabilities                         = consts.PropertyMediaCapabilities
	PropertySelfCertifiedNetworkCapabilities          = consts.PropertySelfCertifiedNetworkCapabilities
	PropertySpecialUseFgsSubtype                      = consts.PropertySpecialUseFgsSubtype
	PropertyUseRestrictedBackupMode                   = consts.PropertyUseRestrictedBackupMode
)
View Source
const (
	GetAttributionsLong        = consts.GetAttributionsLong
	MatchArchivedPackages      = consts.MatchArchivedPackages
	MaximumVerificationTimeout = consts.MaximumVerificationTimeout
)

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 ActivityInfo added in v0.0.7

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

ActivityInfo wraps android.content.pm.ActivityInfo.

func NewActivityInfo added in v0.0.7

func NewActivityInfo(vm *jni.VM) (*ActivityInfo, error)

NewActivityInfo creates a new android.content.pm.ActivityInfo instance.

func (*ActivityInfo) DescribeContents added in v0.0.7

func (m *ActivityInfo) DescribeContents() (int32, error)

DescribeContents calls android.content.pm.ActivityInfo.describeContents.

func (*ActivityInfo) Dump added in v0.0.7

func (m *ActivityInfo) Dump(arg0 *jni.Object, arg1 string) error

Dump calls android.content.pm.ActivityInfo.dump.

func (*ActivityInfo) GetThemeResource added in v0.0.7

func (m *ActivityInfo) GetThemeResource() (int32, error)

GetThemeResource calls android.content.pm.ActivityInfo.getThemeResource.

func (*ActivityInfo) ToString added in v0.0.7

func (m *ActivityInfo) ToString() (string, error)

ToString calls android.content.pm.ActivityInfo.toString.

func (*ActivityInfo) WriteToParcel added in v0.0.7

func (m *ActivityInfo) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.content.pm.ActivityInfo.writeToParcel.

type ApkChecksum added in v0.0.7

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

ApkChecksum wraps android.content.pm.ApkChecksum.

func (*ApkChecksum) DescribeContents added in v0.0.7

func (m *ApkChecksum) DescribeContents() (int32, error)

DescribeContents calls android.content.pm.ApkChecksum.describeContents.

func (*ApkChecksum) GetInstallerCertificate added in v0.0.7

func (m *ApkChecksum) GetInstallerCertificate() (*jni.Object, error)

GetInstallerCertificate calls android.content.pm.ApkChecksum.getInstallerCertificate.

func (*ApkChecksum) GetInstallerPackageName added in v0.0.7

func (m *ApkChecksum) GetInstallerPackageName() (string, error)

GetInstallerPackageName calls android.content.pm.ApkChecksum.getInstallerPackageName.

func (*ApkChecksum) GetSplitName added in v0.0.7

func (m *ApkChecksum) GetSplitName() (string, error)

GetSplitName calls android.content.pm.ApkChecksum.getSplitName.

func (*ApkChecksum) GetType added in v0.0.7

func (m *ApkChecksum) GetType() (int32, error)

GetType calls android.content.pm.ApkChecksum.getType.

func (*ApkChecksum) GetValue added in v0.0.7

func (m *ApkChecksum) GetValue() (*jni.Object, error)

GetValue calls android.content.pm.ApkChecksum.getValue.

func (*ApkChecksum) ToString added in v0.0.7

func (m *ApkChecksum) ToString() (string, error)

ToString calls android.content.pm.ApkChecksum.toString.

func (*ApkChecksum) WriteToParcel added in v0.0.7

func (m *ApkChecksum) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.content.pm.ApkChecksum.writeToParcel.

type ApplicationInfo added in v0.0.7

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

ApplicationInfo wraps android.content.pm.ApplicationInfo.

func NewApplicationInfo added in v0.0.7

func NewApplicationInfo(vm *jni.VM) (*ApplicationInfo, error)

NewApplicationInfo creates a new android.content.pm.ApplicationInfo instance.

func (*ApplicationInfo) AreAttributionsUserVisible added in v0.0.7

func (m *ApplicationInfo) AreAttributionsUserVisible() (bool, error)

AreAttributionsUserVisible calls android.content.pm.ApplicationInfo.areAttributionsUserVisible.

func (*ApplicationInfo) DescribeContents added in v0.0.7

func (m *ApplicationInfo) DescribeContents() (int32, error)

DescribeContents calls android.content.pm.ApplicationInfo.describeContents.

func (*ApplicationInfo) Dump added in v0.0.7

func (m *ApplicationInfo) Dump(arg0 *jni.Object, arg1 string) error

Dump calls android.content.pm.ApplicationInfo.dump.

func (*ApplicationInfo) GetCategoryTitle added in v0.0.7

func (m *ApplicationInfo) GetCategoryTitle(arg0 *jni.Object, arg1 int32) (*jni.Object, error)

GetCategoryTitle calls android.content.pm.ApplicationInfo.getCategoryTitle.

func (*ApplicationInfo) GetGwpAsanMode added in v0.0.7

func (m *ApplicationInfo) GetGwpAsanMode() (int32, error)

GetGwpAsanMode calls android.content.pm.ApplicationInfo.getGwpAsanMode.

func (*ApplicationInfo) GetMemtagMode added in v0.0.7

func (m *ApplicationInfo) GetMemtagMode() (int32, error)

GetMemtagMode calls android.content.pm.ApplicationInfo.getMemtagMode.

func (*ApplicationInfo) GetNativeHeapZeroInitialized added in v0.0.7

func (m *ApplicationInfo) GetNativeHeapZeroInitialized() (int32, error)

GetNativeHeapZeroInitialized calls android.content.pm.ApplicationInfo.getNativeHeapZeroInitialized.

func (*ApplicationInfo) GetRequestRawExternalStorageAccess added in v0.0.7

func (m *ApplicationInfo) GetRequestRawExternalStorageAccess() (int32, error)

GetRequestRawExternalStorageAccess calls android.content.pm.ApplicationInfo.getRequestRawExternalStorageAccess.

func (*ApplicationInfo) IsProfileable added in v0.0.7

func (m *ApplicationInfo) IsProfileable() (bool, error)

IsProfileable calls android.content.pm.ApplicationInfo.isProfileable.

func (*ApplicationInfo) IsProfileableByShell added in v0.0.7

func (m *ApplicationInfo) IsProfileableByShell() (bool, error)

IsProfileableByShell calls android.content.pm.ApplicationInfo.isProfileableByShell.

func (*ApplicationInfo) IsResourceOverlay added in v0.0.7

func (m *ApplicationInfo) IsResourceOverlay() (bool, error)

IsResourceOverlay calls android.content.pm.ApplicationInfo.isResourceOverlay.

func (*ApplicationInfo) IsVirtualPreload added in v0.0.7

func (m *ApplicationInfo) IsVirtualPreload() (bool, error)

IsVirtualPreload calls android.content.pm.ApplicationInfo.isVirtualPreload.

func (*ApplicationInfo) LoadDescription added in v0.0.7

func (m *ApplicationInfo) LoadDescription(arg0 *jni.Object) (*jni.Object, error)

LoadDescription calls android.content.pm.ApplicationInfo.loadDescription.

func (*ApplicationInfo) ToString added in v0.0.7

func (m *ApplicationInfo) ToString() (string, error)

ToString calls android.content.pm.ApplicationInfo.toString.

func (*ApplicationInfo) WriteToParcel added in v0.0.7

func (m *ApplicationInfo) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.content.pm.ApplicationInfo.writeToParcel.

type ApplicationInfoDisplayNameComparator added in v0.0.7

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

ApplicationInfoDisplayNameComparator wraps android.content.pm.ApplicationInfo$DisplayNameComparator.

func (*ApplicationInfoDisplayNameComparator) Compare2 added in v0.0.7

func (m *ApplicationInfoDisplayNameComparator) Compare2(arg0 *jni.Object, arg1 *jni.Object) (int32, error)

Compare2 calls android.content.pm.ApplicationInfo$DisplayNameComparator.compare.

func (*ApplicationInfoDisplayNameComparator) Compare2_1 added in v0.0.7

func (m *ApplicationInfoDisplayNameComparator) Compare2_1(arg0 *jni.Object, arg1 *jni.Object) (int32, error)

Compare2_1 calls android.content.pm.ApplicationInfo$DisplayNameComparator.compare.

type ArchivedActivityInfo added in v0.0.7

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

ArchivedActivityInfo wraps android.content.pm.ArchivedActivityInfo.

func NewArchivedActivityInfo added in v0.0.7

func NewArchivedActivityInfo(vm *jni.VM, arg0 string, arg1 *jni.Object) (*ArchivedActivityInfo, error)

NewArchivedActivityInfo creates a new android.content.pm.ArchivedActivityInfo instance.

func (*ArchivedActivityInfo) GetComponentName added in v0.0.7

func (m *ArchivedActivityInfo) GetComponentName() (*jni.Object, error)

GetComponentName calls android.content.pm.ArchivedActivityInfo.getComponentName.

func (*ArchivedActivityInfo) GetIcon added in v0.0.7

func (m *ArchivedActivityInfo) GetIcon() (*jni.Object, error)

GetIcon calls android.content.pm.ArchivedActivityInfo.getIcon.

func (*ArchivedActivityInfo) GetLabel added in v0.0.7

func (m *ArchivedActivityInfo) GetLabel() (*jni.Object, error)

GetLabel calls android.content.pm.ArchivedActivityInfo.getLabel.

func (*ArchivedActivityInfo) GetMonochromeIcon added in v0.0.7

func (m *ArchivedActivityInfo) GetMonochromeIcon() (*jni.Object, error)

GetMonochromeIcon calls android.content.pm.ArchivedActivityInfo.getMonochromeIcon.

func (*ArchivedActivityInfo) SetComponentName added in v0.0.7

func (m *ArchivedActivityInfo) SetComponentName(arg0 *jni.Object) (*jni.Object, error)

SetComponentName calls android.content.pm.ArchivedActivityInfo.setComponentName.

func (*ArchivedActivityInfo) SetIcon added in v0.0.7

func (m *ArchivedActivityInfo) SetIcon(arg0 *jni.Object) (*jni.Object, error)

SetIcon calls android.content.pm.ArchivedActivityInfo.setIcon.

func (*ArchivedActivityInfo) SetLabel added in v0.0.7

func (m *ArchivedActivityInfo) SetLabel(arg0 string) (*jni.Object, error)

SetLabel calls android.content.pm.ArchivedActivityInfo.setLabel.

func (*ArchivedActivityInfo) SetMonochromeIcon added in v0.0.7

func (m *ArchivedActivityInfo) SetMonochromeIcon(arg0 *jni.Object) (*jni.Object, error)

SetMonochromeIcon calls android.content.pm.ArchivedActivityInfo.setMonochromeIcon.

type ArchivedPackageInfo added in v0.0.7

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

ArchivedPackageInfo wraps android.content.pm.ArchivedPackageInfo.

func NewArchivedPackageInfo added in v0.0.7

func NewArchivedPackageInfo(vm *jni.VM, arg0 string, arg1 *jni.Object, arg2 *jni.Object) (*ArchivedPackageInfo, error)

NewArchivedPackageInfo creates a new android.content.pm.ArchivedPackageInfo instance.

func (*ArchivedPackageInfo) GetDefaultToDeviceProtectedStorage added in v0.0.7

func (m *ArchivedPackageInfo) GetDefaultToDeviceProtectedStorage() (string, error)

GetDefaultToDeviceProtectedStorage calls android.content.pm.ArchivedPackageInfo.getDefaultToDeviceProtectedStorage.

func (*ArchivedPackageInfo) GetPackageName added in v0.0.7

func (m *ArchivedPackageInfo) GetPackageName() (string, error)

GetPackageName calls android.content.pm.ArchivedPackageInfo.getPackageName.

func (*ArchivedPackageInfo) GetRequestLegacyExternalStorage added in v0.0.7

func (m *ArchivedPackageInfo) GetRequestLegacyExternalStorage() (string, error)

GetRequestLegacyExternalStorage calls android.content.pm.ArchivedPackageInfo.getRequestLegacyExternalStorage.

func (*ArchivedPackageInfo) GetSigningInfo added in v0.0.7

func (m *ArchivedPackageInfo) GetSigningInfo() (*jni.Object, error)

GetSigningInfo calls android.content.pm.ArchivedPackageInfo.getSigningInfo.

func (*ArchivedPackageInfo) GetTargetSdkVersion added in v0.0.7

func (m *ArchivedPackageInfo) GetTargetSdkVersion() (int32, error)

GetTargetSdkVersion calls android.content.pm.ArchivedPackageInfo.getTargetSdkVersion.

func (*ArchivedPackageInfo) GetUserDataFragile added in v0.0.7

func (m *ArchivedPackageInfo) GetUserDataFragile() (string, error)

GetUserDataFragile calls android.content.pm.ArchivedPackageInfo.getUserDataFragile.

func (*ArchivedPackageInfo) GetVersionCode added in v0.0.7

func (m *ArchivedPackageInfo) GetVersionCode() (int32, error)

GetVersionCode calls android.content.pm.ArchivedPackageInfo.getVersionCode.

func (*ArchivedPackageInfo) GetVersionCodeMajor added in v0.0.7

func (m *ArchivedPackageInfo) GetVersionCodeMajor() (int32, error)

GetVersionCodeMajor calls android.content.pm.ArchivedPackageInfo.getVersionCodeMajor.

func (*ArchivedPackageInfo) SetDefaultToDeviceProtectedStorage added in v0.0.7

func (m *ArchivedPackageInfo) SetDefaultToDeviceProtectedStorage(arg0 string) (*jni.Object, error)

SetDefaultToDeviceProtectedStorage calls android.content.pm.ArchivedPackageInfo.setDefaultToDeviceProtectedStorage.

func (*ArchivedPackageInfo) SetPackageName added in v0.0.7

func (m *ArchivedPackageInfo) SetPackageName(arg0 string) (*jni.Object, error)

SetPackageName calls android.content.pm.ArchivedPackageInfo.setPackageName.

func (*ArchivedPackageInfo) SetRequestLegacyExternalStorage added in v0.0.7

func (m *ArchivedPackageInfo) SetRequestLegacyExternalStorage(arg0 string) (*jni.Object, error)

SetRequestLegacyExternalStorage calls android.content.pm.ArchivedPackageInfo.setRequestLegacyExternalStorage.

func (*ArchivedPackageInfo) SetSigningInfo added in v0.0.7

func (m *ArchivedPackageInfo) SetSigningInfo(arg0 *jni.Object) (*jni.Object, error)

SetSigningInfo calls android.content.pm.ArchivedPackageInfo.setSigningInfo.

func (*ArchivedPackageInfo) SetTargetSdkVersion added in v0.0.7

func (m *ArchivedPackageInfo) SetTargetSdkVersion(arg0 int32) (*jni.Object, error)

SetTargetSdkVersion calls android.content.pm.ArchivedPackageInfo.setTargetSdkVersion.

func (*ArchivedPackageInfo) SetUserDataFragile added in v0.0.7

func (m *ArchivedPackageInfo) SetUserDataFragile(arg0 string) (*jni.Object, error)

SetUserDataFragile calls android.content.pm.ArchivedPackageInfo.setUserDataFragile.

func (*ArchivedPackageInfo) SetVersionCode added in v0.0.7

func (m *ArchivedPackageInfo) SetVersionCode(arg0 int32) (*jni.Object, error)

SetVersionCode calls android.content.pm.ArchivedPackageInfo.setVersionCode.

func (*ArchivedPackageInfo) SetVersionCodeMajor added in v0.0.7

func (m *ArchivedPackageInfo) SetVersionCodeMajor(arg0 int32) (*jni.Object, error)

SetVersionCodeMajor calls android.content.pm.ArchivedPackageInfo.setVersionCodeMajor.

type Attribution added in v0.0.7

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

Attribution wraps android.content.pm.Attribution.

func (*Attribution) DescribeContents added in v0.0.7

func (m *Attribution) DescribeContents() (int32, error)

DescribeContents calls android.content.pm.Attribution.describeContents.

func (*Attribution) GetLabel added in v0.0.7

func (m *Attribution) GetLabel() (int32, error)

GetLabel calls android.content.pm.Attribution.getLabel.

func (*Attribution) GetTag added in v0.0.7

func (m *Attribution) GetTag() (string, error)

GetTag calls android.content.pm.Attribution.getTag.

func (*Attribution) WriteToParcel added in v0.0.7

func (m *Attribution) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.content.pm.Attribution.writeToParcel.

type Capability added in v0.0.7

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

Capability wraps android.content.pm.Capability.

func (*Capability) DescribeContents added in v0.0.7

func (m *Capability) DescribeContents() (int32, error)

DescribeContents calls android.content.pm.Capability.describeContents.

func (*Capability) Equals added in v0.0.7

func (m *Capability) Equals(arg0 *jni.Object) (bool, error)

Equals calls android.content.pm.Capability.equals.

func (*Capability) GetName added in v0.0.7

func (m *Capability) GetName() (string, error)

GetName calls android.content.pm.Capability.getName.

func (*Capability) HashCode added in v0.0.7

func (m *Capability) HashCode() (int32, error)

HashCode calls android.content.pm.Capability.hashCode.

func (*Capability) WriteToParcel added in v0.0.7

func (m *Capability) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.content.pm.Capability.writeToParcel.

type CapabilityBuilder added in v0.0.7

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

CapabilityBuilder wraps android.content.pm.Capability$Builder.

func (*CapabilityBuilder) Build added in v0.0.7

func (m *CapabilityBuilder) Build() (*jni.Object, error)

Build calls android.content.pm.Capability$Builder.build.

type CapabilityParams added in v0.0.7

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

CapabilityParams wraps android.content.pm.CapabilityParams.

func (*CapabilityParams) DescribeContents added in v0.0.7

func (m *CapabilityParams) DescribeContents() (int32, error)

DescribeContents calls android.content.pm.CapabilityParams.describeContents.

func (*CapabilityParams) Equals added in v0.0.7

func (m *CapabilityParams) Equals(arg0 *jni.Object) (bool, error)

Equals calls android.content.pm.CapabilityParams.equals.

func (*CapabilityParams) GetName added in v0.0.7

func (m *CapabilityParams) GetName() (string, error)

GetName calls android.content.pm.CapabilityParams.getName.

func (*CapabilityParams) GetValue added in v0.0.7

func (m *CapabilityParams) GetValue() (string, error)

GetValue calls android.content.pm.CapabilityParams.getValue.

func (*CapabilityParams) HashCode added in v0.0.7

func (m *CapabilityParams) HashCode() (int32, error)

HashCode calls android.content.pm.CapabilityParams.hashCode.

func (*CapabilityParams) WriteToParcel added in v0.0.7

func (m *CapabilityParams) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.content.pm.CapabilityParams.writeToParcel.

type CapabilityParamsBuilder added in v0.0.7

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

CapabilityParamsBuilder wraps android.content.pm.CapabilityParams$Builder.

func (*CapabilityParamsBuilder) AddAlias added in v0.0.7

func (m *CapabilityParamsBuilder) AddAlias(arg0 string) (*jni.Object, error)

AddAlias calls android.content.pm.CapabilityParams$Builder.addAlias.

func (*CapabilityParamsBuilder) Build added in v0.0.7

func (m *CapabilityParamsBuilder) Build() (*jni.Object, error)

Build calls android.content.pm.CapabilityParams$Builder.build.

type ChangedPackages added in v0.0.7

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

ChangedPackages wraps android.content.pm.ChangedPackages.

func NewChangedPackages added in v0.0.7

func NewChangedPackages(vm *jni.VM, arg0 int32, arg1 *jni.Object) (*ChangedPackages, error)

NewChangedPackages creates a new android.content.pm.ChangedPackages instance.

func (*ChangedPackages) DescribeContents added in v0.0.7

func (m *ChangedPackages) DescribeContents() (int32, error)

DescribeContents calls android.content.pm.ChangedPackages.describeContents.

func (*ChangedPackages) GetSequenceNumber added in v0.0.7

func (m *ChangedPackages) GetSequenceNumber() (int32, error)

GetSequenceNumber calls android.content.pm.ChangedPackages.getSequenceNumber.

func (*ChangedPackages) WriteToParcel added in v0.0.7

func (m *ChangedPackages) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.content.pm.ChangedPackages.writeToParcel.

type Checksum added in v0.0.7

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

Checksum wraps android.content.pm.Checksum.

func NewChecksum added in v0.0.7

func NewChecksum(vm *jni.VM, arg0 int32, arg1 *jni.Object) (*Checksum, error)

NewChecksum creates a new android.content.pm.Checksum instance.

func (*Checksum) DescribeContents added in v0.0.7

func (m *Checksum) DescribeContents() (int32, error)

DescribeContents calls android.content.pm.Checksum.describeContents.

func (*Checksum) GetType added in v0.0.7

func (m *Checksum) GetType() (int32, error)

GetType calls android.content.pm.Checksum.getType.

func (*Checksum) GetValue added in v0.0.7

func (m *Checksum) GetValue() (*jni.Object, error)

GetValue calls android.content.pm.Checksum.getValue.

func (*Checksum) WriteToParcel added in v0.0.7

func (m *Checksum) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.content.pm.Checksum.writeToParcel.

type ComponentInfo added in v0.0.7

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

ComponentInfo wraps android.content.pm.ComponentInfo.

func NewComponentInfo added in v0.0.7

func NewComponentInfo(vm *jni.VM) (*ComponentInfo, error)

NewComponentInfo creates a new android.content.pm.ComponentInfo instance.

func (*ComponentInfo) GetBannerResource added in v0.0.7

func (m *ComponentInfo) GetBannerResource() (int32, error)

GetBannerResource calls android.content.pm.ComponentInfo.getBannerResource.

func (*ComponentInfo) GetIconResource added in v0.0.7

func (m *ComponentInfo) GetIconResource() (int32, error)

GetIconResource calls android.content.pm.ComponentInfo.getIconResource.

func (*ComponentInfo) GetLogoResource added in v0.0.7

func (m *ComponentInfo) GetLogoResource() (int32, error)

GetLogoResource calls android.content.pm.ComponentInfo.getLogoResource.

func (*ComponentInfo) IsEnabled added in v0.0.7

func (m *ComponentInfo) IsEnabled() (bool, error)

IsEnabled calls android.content.pm.ComponentInfo.isEnabled.

func (*ComponentInfo) WriteToParcel added in v0.0.7

func (m *ComponentInfo) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.content.pm.ComponentInfo.writeToParcel.

type ConfigurationInfo added in v0.0.7

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

ConfigurationInfo wraps android.content.pm.ConfigurationInfo.

func NewConfigurationInfo added in v0.0.7

func NewConfigurationInfo(vm *jni.VM) (*ConfigurationInfo, error)

NewConfigurationInfo creates a new android.content.pm.ConfigurationInfo instance.

func (*ConfigurationInfo) DescribeContents added in v0.0.7

func (m *ConfigurationInfo) DescribeContents() (int32, error)

DescribeContents calls android.content.pm.ConfigurationInfo.describeContents.

func (*ConfigurationInfo) GetGlEsVersion added in v0.0.7

func (m *ConfigurationInfo) GetGlEsVersion() (string, error)

GetGlEsVersion calls android.content.pm.ConfigurationInfo.getGlEsVersion.

func (*ConfigurationInfo) ToString added in v0.0.7

func (m *ConfigurationInfo) ToString() (string, error)

ToString calls android.content.pm.ConfigurationInfo.toString.

func (*ConfigurationInfo) WriteToParcel added in v0.0.7

func (m *ConfigurationInfo) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.content.pm.ConfigurationInfo.writeToParcel.

type CrossProfileApps added in v0.0.7

type CrossProfileApps struct {
	VM  *jni.VM
	Ctx *app.Context
	Obj *jni.GlobalRef
}

CrossProfileApps wraps android.content.pm.CrossProfileApps.

func NewCrossProfileApps added in v0.0.7

func NewCrossProfileApps(ctx *app.Context) (*CrossProfileApps, error)

NewCrossProfileApps obtains android.content.pm.CrossProfileApps from the Android system service manager.

func (*CrossProfileApps) CanInteractAcrossProfiles added in v0.0.7

func (m *CrossProfileApps) CanInteractAcrossProfiles() (bool, error)

CanInteractAcrossProfiles calls android.content.pm.CrossProfileApps.canInteractAcrossProfiles.

func (*CrossProfileApps) CanRequestInteractAcrossProfiles added in v0.0.7

func (m *CrossProfileApps) CanRequestInteractAcrossProfiles() (bool, error)

CanRequestInteractAcrossProfiles calls android.content.pm.CrossProfileApps.canRequestInteractAcrossProfiles.

func (*CrossProfileApps) Close added in v0.0.7

func (m *CrossProfileApps) Close()

Close releases the global reference to the underlying Java object. After Close, the CrossProfileApps must not be used.

func (*CrossProfileApps) CreateRequestInteractAcrossProfilesIntent added in v0.0.7

func (m *CrossProfileApps) CreateRequestInteractAcrossProfilesIntent() (*jni.Object, error)

CreateRequestInteractAcrossProfilesIntent calls android.content.pm.CrossProfileApps.createRequestInteractAcrossProfilesIntent.

func (*CrossProfileApps) GetProfileSwitchingIconDrawable added in v0.0.7

func (m *CrossProfileApps) GetProfileSwitchingIconDrawable(arg0 *jni.Object) (*jni.Object, error)

GetProfileSwitchingIconDrawable calls android.content.pm.CrossProfileApps.getProfileSwitchingIconDrawable.

func (*CrossProfileApps) GetProfileSwitchingLabel added in v0.0.7

func (m *CrossProfileApps) GetProfileSwitchingLabel(arg0 *jni.Object) (*jni.Object, error)

GetProfileSwitchingLabel calls android.content.pm.CrossProfileApps.getProfileSwitchingLabel.

func (*CrossProfileApps) IsManagedProfile added in v0.0.7

func (m *CrossProfileApps) IsManagedProfile(arg0 *jni.Object) (bool, error)

IsManagedProfile calls android.content.pm.CrossProfileApps.isManagedProfile.

func (*CrossProfileApps) IsProfile added in v0.0.7

func (m *CrossProfileApps) IsProfile(arg0 *jni.Object) (bool, error)

IsProfile calls android.content.pm.CrossProfileApps.isProfile.

func (*CrossProfileApps) StartActivity3 added in v0.0.7

func (m *CrossProfileApps) StartActivity3(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 *jni.Object,
) error

StartActivity3 calls android.content.pm.CrossProfileApps.startActivity.

func (*CrossProfileApps) StartActivity4_1 added in v0.0.7

func (m *CrossProfileApps) StartActivity4_1(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 *jni.Object,
	arg3 *jni.Object,
) error

StartActivity4_1 calls android.content.pm.CrossProfileApps.startActivity.

func (*CrossProfileApps) StartMainActivity2 added in v0.0.7

func (m *CrossProfileApps) StartMainActivity2(arg0 *jni.Object, arg1 *jni.Object) error

StartMainActivity2 calls android.content.pm.CrossProfileApps.startMainActivity.

func (*CrossProfileApps) StartMainActivity4_1 added in v0.0.7

func (m *CrossProfileApps) StartMainActivity4_1(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 *jni.Object,
	arg3 *jni.Object,
) error

StartMainActivity4_1 calls android.content.pm.CrossProfileApps.startMainActivity.

type FeatureGroupInfo added in v0.0.7

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

FeatureGroupInfo wraps android.content.pm.FeatureGroupInfo.

func NewFeatureGroupInfo added in v0.0.7

func NewFeatureGroupInfo(vm *jni.VM) (*FeatureGroupInfo, error)

NewFeatureGroupInfo creates a new android.content.pm.FeatureGroupInfo instance.

func (*FeatureGroupInfo) DescribeContents added in v0.0.7

func (m *FeatureGroupInfo) DescribeContents() (int32, error)

DescribeContents calls android.content.pm.FeatureGroupInfo.describeContents.

func (*FeatureGroupInfo) WriteToParcel added in v0.0.7

func (m *FeatureGroupInfo) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.content.pm.FeatureGroupInfo.writeToParcel.

type FeatureInfo added in v0.0.7

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

FeatureInfo wraps android.content.pm.FeatureInfo.

func NewFeatureInfo added in v0.0.7

func NewFeatureInfo(vm *jni.VM) (*FeatureInfo, error)

NewFeatureInfo creates a new android.content.pm.FeatureInfo instance.

func (*FeatureInfo) DescribeContents added in v0.0.7

func (m *FeatureInfo) DescribeContents() (int32, error)

DescribeContents calls android.content.pm.FeatureInfo.describeContents.

func (*FeatureInfo) GetGlEsVersion added in v0.0.7

func (m *FeatureInfo) GetGlEsVersion() (string, error)

GetGlEsVersion calls android.content.pm.FeatureInfo.getGlEsVersion.

func (*FeatureInfo) ToString added in v0.0.7

func (m *FeatureInfo) ToString() (string, error)

ToString calls android.content.pm.FeatureInfo.toString.

func (*FeatureInfo) WriteToParcel added in v0.0.7

func (m *FeatureInfo) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.content.pm.FeatureInfo.writeToParcel.

type InstallSourceInfo added in v0.0.7

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

InstallSourceInfo wraps android.content.pm.InstallSourceInfo.

func (*InstallSourceInfo) DescribeContents added in v0.0.7

func (m *InstallSourceInfo) DescribeContents() (int32, error)

DescribeContents calls android.content.pm.InstallSourceInfo.describeContents.

func (*InstallSourceInfo) GetInitiatingPackageName added in v0.0.7

func (m *InstallSourceInfo) GetInitiatingPackageName() (string, error)

GetInitiatingPackageName calls android.content.pm.InstallSourceInfo.getInitiatingPackageName.

func (*InstallSourceInfo) GetInitiatingPackageSigningInfo added in v0.0.7

func (m *InstallSourceInfo) GetInitiatingPackageSigningInfo() (*jni.Object, error)

GetInitiatingPackageSigningInfo calls android.content.pm.InstallSourceInfo.getInitiatingPackageSigningInfo.

func (*InstallSourceInfo) GetInstallingPackageName added in v0.0.7

func (m *InstallSourceInfo) GetInstallingPackageName() (string, error)

GetInstallingPackageName calls android.content.pm.InstallSourceInfo.getInstallingPackageName.

func (*InstallSourceInfo) GetOriginatingPackageName added in v0.0.7

func (m *InstallSourceInfo) GetOriginatingPackageName() (string, error)

GetOriginatingPackageName calls android.content.pm.InstallSourceInfo.getOriginatingPackageName.

func (*InstallSourceInfo) GetPackageSource added in v0.0.7

func (m *InstallSourceInfo) GetPackageSource() (int32, error)

GetPackageSource calls android.content.pm.InstallSourceInfo.getPackageSource.

func (*InstallSourceInfo) GetUpdateOwnerPackageName added in v0.0.7

func (m *InstallSourceInfo) GetUpdateOwnerPackageName() (string, error)

GetUpdateOwnerPackageName calls android.content.pm.InstallSourceInfo.getUpdateOwnerPackageName.

func (*InstallSourceInfo) WriteToParcel added in v0.0.7

func (m *InstallSourceInfo) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.content.pm.InstallSourceInfo.writeToParcel.

type InstrumentationInfo added in v0.0.7

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

InstrumentationInfo wraps android.content.pm.InstrumentationInfo.

func NewInstrumentationInfo added in v0.0.7

func NewInstrumentationInfo(vm *jni.VM) (*InstrumentationInfo, error)

NewInstrumentationInfo creates a new android.content.pm.InstrumentationInfo instance.

func (*InstrumentationInfo) DescribeContents added in v0.0.7

func (m *InstrumentationInfo) DescribeContents() (int32, error)

DescribeContents calls android.content.pm.InstrumentationInfo.describeContents.

func (*InstrumentationInfo) ToString added in v0.0.7

func (m *InstrumentationInfo) ToString() (string, error)

ToString calls android.content.pm.InstrumentationInfo.toString.

func (*InstrumentationInfo) WriteToParcel added in v0.0.7

func (m *InstrumentationInfo) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.content.pm.InstrumentationInfo.writeToParcel.

type LabeledIntent added in v0.0.7

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

LabeledIntent wraps android.content.pm.LabeledIntent.

func NewLabeledIntent added in v0.0.7

func NewLabeledIntent(vm *jni.VM, arg0 *jni.Object, arg1 string, arg2 int32, arg3 int32) (*LabeledIntent, error)

NewLabeledIntent creates a new android.content.pm.LabeledIntent instance.

func (*LabeledIntent) GetIconResource added in v0.0.7

func (m *LabeledIntent) GetIconResource() (int32, error)

GetIconResource calls android.content.pm.LabeledIntent.getIconResource.

func (*LabeledIntent) GetLabelResource added in v0.0.7

func (m *LabeledIntent) GetLabelResource() (int32, error)

GetLabelResource calls android.content.pm.LabeledIntent.getLabelResource.

func (*LabeledIntent) GetNonLocalizedLabel added in v0.0.7

func (m *LabeledIntent) GetNonLocalizedLabel() (*jni.Object, error)

GetNonLocalizedLabel calls android.content.pm.LabeledIntent.getNonLocalizedLabel.

func (*LabeledIntent) GetSourcePackage added in v0.0.7

func (m *LabeledIntent) GetSourcePackage() (string, error)

GetSourcePackage calls android.content.pm.LabeledIntent.getSourcePackage.

func (*LabeledIntent) LoadIcon added in v0.0.7

func (m *LabeledIntent) LoadIcon(arg0 *jni.Object) (*jni.Object, error)

LoadIcon calls android.content.pm.LabeledIntent.loadIcon.

func (*LabeledIntent) LoadLabel added in v0.0.7

func (m *LabeledIntent) LoadLabel(arg0 *jni.Object) (*jni.Object, error)

LoadLabel calls android.content.pm.LabeledIntent.loadLabel.

func (*LabeledIntent) ReadFromParcel added in v0.0.7

func (m *LabeledIntent) ReadFromParcel(arg0 *jni.Object) error

ReadFromParcel calls android.content.pm.LabeledIntent.readFromParcel.

func (*LabeledIntent) WriteToParcel added in v0.0.7

func (m *LabeledIntent) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.content.pm.LabeledIntent.writeToParcel.

type LauncherActivityInfo added in v0.0.7

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

LauncherActivityInfo wraps android.content.pm.LauncherActivityInfo.

func (*LauncherActivityInfo) GetActivityInfo added in v0.0.7

func (m *LauncherActivityInfo) GetActivityInfo() (*jni.Object, error)

GetActivityInfo calls android.content.pm.LauncherActivityInfo.getActivityInfo.

func (*LauncherActivityInfo) GetApplicationInfo added in v0.0.7

func (m *LauncherActivityInfo) GetApplicationInfo() (*jni.Object, error)

GetApplicationInfo calls android.content.pm.LauncherActivityInfo.getApplicationInfo.

func (*LauncherActivityInfo) GetBadgedIcon added in v0.0.7

func (m *LauncherActivityInfo) GetBadgedIcon(arg0 int32) (*jni.Object, error)

GetBadgedIcon calls android.content.pm.LauncherActivityInfo.getBadgedIcon.

func (*LauncherActivityInfo) GetComponentName added in v0.0.7

func (m *LauncherActivityInfo) GetComponentName() (*jni.Object, error)

GetComponentName calls android.content.pm.LauncherActivityInfo.getComponentName.

func (*LauncherActivityInfo) GetFirstInstallTime added in v0.0.7

func (m *LauncherActivityInfo) GetFirstInstallTime() (int64, error)

GetFirstInstallTime calls android.content.pm.LauncherActivityInfo.getFirstInstallTime.

func (*LauncherActivityInfo) GetIcon added in v0.0.7

func (m *LauncherActivityInfo) GetIcon(arg0 int32) (*jni.Object, error)

GetIcon calls android.content.pm.LauncherActivityInfo.getIcon.

func (*LauncherActivityInfo) GetLabel added in v0.0.7

func (m *LauncherActivityInfo) GetLabel() (*jni.Object, error)

GetLabel calls android.content.pm.LauncherActivityInfo.getLabel.

func (*LauncherActivityInfo) GetLoadingProgress added in v0.0.7

func (m *LauncherActivityInfo) GetLoadingProgress() (float32, error)

GetLoadingProgress calls android.content.pm.LauncherActivityInfo.getLoadingProgress.

func (*LauncherActivityInfo) GetName added in v0.0.7

func (m *LauncherActivityInfo) GetName() (string, error)

GetName calls android.content.pm.LauncherActivityInfo.getName.

func (*LauncherActivityInfo) GetUser added in v0.0.7

func (m *LauncherActivityInfo) GetUser() (*jni.Object, error)

GetUser calls android.content.pm.LauncherActivityInfo.getUser.

type LauncherApps added in v0.0.7

type LauncherApps struct {
	VM  *jni.VM
	Ctx *app.Context
	Obj *jni.GlobalRef
}

LauncherApps wraps android.content.pm.LauncherApps.

func NewLauncherApps added in v0.0.7

func NewLauncherApps(ctx *app.Context) (*LauncherApps, error)

NewLauncherApps obtains android.content.pm.LauncherApps from the Android system service manager.

func (*LauncherApps) Close added in v0.0.7

func (m *LauncherApps) Close()

Close releases the global reference to the underlying Java object. After Close, the LauncherApps must not be used.

func (*LauncherApps) GetAppMarketActivityIntent added in v0.0.7

func (m *LauncherApps) GetAppMarketActivityIntent(arg0 string, arg1 *jni.Object) (*jni.Object, error)

GetAppMarketActivityIntent calls android.content.pm.LauncherApps.getAppMarketActivityIntent.

func (*LauncherApps) GetApplicationInfo added in v0.0.7

func (m *LauncherApps) GetApplicationInfo(
	arg0 string,
	arg1 int32,
	arg2 *jni.Object,
) (*jni.Object, error)

GetApplicationInfo calls android.content.pm.LauncherApps.getApplicationInfo.

func (*LauncherApps) GetLauncherUserInfo added in v0.0.7

func (m *LauncherApps) GetLauncherUserInfo(arg0 *jni.Object) (*jni.Object, error)

GetLauncherUserInfo calls android.content.pm.LauncherApps.getLauncherUserInfo.

func (*LauncherApps) GetPinItemRequest added in v0.0.7

func (m *LauncherApps) GetPinItemRequest(arg0 *jni.Object) (*jni.Object, error)

GetPinItemRequest calls android.content.pm.LauncherApps.getPinItemRequest.

func (*LauncherApps) GetPrivateSpaceSettingsIntent added in v0.0.7

func (m *LauncherApps) GetPrivateSpaceSettingsIntent() (*jni.Object, error)

GetPrivateSpaceSettingsIntent calls android.content.pm.LauncherApps.getPrivateSpaceSettingsIntent.

func (*LauncherApps) GetShortcutBadgedIconDrawable added in v0.0.7

func (m *LauncherApps) GetShortcutBadgedIconDrawable(arg0 *jni.Object, arg1 int32) (*jni.Object, error)

GetShortcutBadgedIconDrawable calls android.content.pm.LauncherApps.getShortcutBadgedIconDrawable.

func (*LauncherApps) GetShortcutConfigActivityIntent added in v0.0.7

func (m *LauncherApps) GetShortcutConfigActivityIntent(arg0 *jni.Object) (*jni.Object, error)

GetShortcutConfigActivityIntent calls android.content.pm.LauncherApps.getShortcutConfigActivityIntent.

func (*LauncherApps) GetShortcutIconDrawable added in v0.0.7

func (m *LauncherApps) GetShortcutIconDrawable(arg0 *jni.Object, arg1 int32) (*jni.Object, error)

GetShortcutIconDrawable calls android.content.pm.LauncherApps.getShortcutIconDrawable.

func (*LauncherApps) GetShortcutIntent added in v0.0.7

func (m *LauncherApps) GetShortcutIntent(
	arg0 string,
	arg1 string,
	arg2 *jni.Object,
	arg3 *jni.Object,
) (*jni.Object, error)

GetShortcutIntent calls android.content.pm.LauncherApps.getShortcutIntent.

func (*LauncherApps) GetSuspendedPackageLauncherExtras added in v0.0.7

func (m *LauncherApps) GetSuspendedPackageLauncherExtras(arg0 string, arg1 *jni.Object) (*jni.Object, error)

GetSuspendedPackageLauncherExtras calls android.content.pm.LauncherApps.getSuspendedPackageLauncherExtras.

func (*LauncherApps) HasShortcutHostPermission added in v0.0.7

func (m *LauncherApps) HasShortcutHostPermission() (bool, error)

HasShortcutHostPermission calls android.content.pm.LauncherApps.hasShortcutHostPermission.

func (*LauncherApps) IsActivityEnabled added in v0.0.7

func (m *LauncherApps) IsActivityEnabled(arg0 *jni.Object, arg1 *jni.Object) (bool, error)

IsActivityEnabled calls android.content.pm.LauncherApps.isActivityEnabled.

func (*LauncherApps) IsPackageEnabled added in v0.0.7

func (m *LauncherApps) IsPackageEnabled(arg0 string, arg1 *jni.Object) (bool, error)

IsPackageEnabled calls android.content.pm.LauncherApps.isPackageEnabled.

func (*LauncherApps) RegisterCallback added in v0.0.7

func (m *LauncherApps) RegisterCallback(arg0 *jni.Object) error

RegisterCallback calls android.content.pm.LauncherApps.registerCallback.

func (*LauncherApps) RegisterPackageInstallerSessionCallback added in v0.0.7

func (m *LauncherApps) RegisterPackageInstallerSessionCallback(arg0 *jni.Object, arg1 *jni.Object) error

RegisterPackageInstallerSessionCallback calls android.content.pm.LauncherApps.registerPackageInstallerSessionCallback.

func (*LauncherApps) ResolveActivity added in v0.0.7

func (m *LauncherApps) ResolveActivity(arg0 *jni.Object, arg1 *jni.Object) (*jni.Object, error)

ResolveActivity calls android.content.pm.LauncherApps.resolveActivity.

func (*LauncherApps) SetArchiveCompatibility added in v0.0.7

func (m *LauncherApps) SetArchiveCompatibility(arg0 *jni.Object) error

SetArchiveCompatibility calls android.content.pm.LauncherApps.setArchiveCompatibility.

func (*LauncherApps) ShouldHideFromSuggestions added in v0.0.7

func (m *LauncherApps) ShouldHideFromSuggestions(arg0 string, arg1 *jni.Object) (bool, error)

ShouldHideFromSuggestions calls android.content.pm.LauncherApps.shouldHideFromSuggestions.

func (*LauncherApps) StartAppDetailsActivity added in v0.0.7

func (m *LauncherApps) StartAppDetailsActivity(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 *jni.Object,
	arg3 *jni.Object,
) error

StartAppDetailsActivity calls android.content.pm.LauncherApps.startAppDetailsActivity.

func (*LauncherApps) StartMainActivity added in v0.0.7

func (m *LauncherApps) StartMainActivity(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 *jni.Object,
	arg3 *jni.Object,
) error

StartMainActivity calls android.content.pm.LauncherApps.startMainActivity.

func (*LauncherApps) StartPackageInstallerSessionDetailsActivity added in v0.0.7

func (m *LauncherApps) StartPackageInstallerSessionDetailsActivity(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 *jni.Object,
) error

StartPackageInstallerSessionDetailsActivity calls android.content.pm.LauncherApps.startPackageInstallerSessionDetailsActivity.

func (*LauncherApps) StartShortcut3 added in v0.0.7

func (m *LauncherApps) StartShortcut3(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 *jni.Object,
) error

StartShortcut3 calls android.content.pm.LauncherApps.startShortcut.

func (*LauncherApps) StartShortcut5_1 added in v0.0.7

func (m *LauncherApps) StartShortcut5_1(
	arg0 string,
	arg1 string,
	arg2 *jni.Object,
	arg3 *jni.Object,
	arg4 *jni.Object,
) error

StartShortcut5_1 calls android.content.pm.LauncherApps.startShortcut.

func (*LauncherApps) UnregisterCallback added in v0.0.7

func (m *LauncherApps) UnregisterCallback(arg0 *jni.Object) error

UnregisterCallback calls android.content.pm.LauncherApps.unregisterCallback.

func (*LauncherApps) UnregisterPackageInstallerSessionCallback added in v0.0.7

func (m *LauncherApps) UnregisterPackageInstallerSessionCallback(arg0 *jni.Object) error

UnregisterPackageInstallerSessionCallback calls android.content.pm.LauncherApps.unregisterPackageInstallerSessionCallback.

type LauncherAppsArchiveCompatibilityParams added in v0.0.7

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

LauncherAppsArchiveCompatibilityParams wraps android.content.pm.LauncherApps$ArchiveCompatibilityParams.

func (*LauncherAppsArchiveCompatibilityParams) SetEnableIconOverlay added in v0.0.7

func (m *LauncherAppsArchiveCompatibilityParams) SetEnableIconOverlay(arg0 bool) error

SetEnableIconOverlay calls android.content.pm.LauncherApps$ArchiveCompatibilityParams.setEnableIconOverlay.

func (*LauncherAppsArchiveCompatibilityParams) SetEnableUnarchivalConfirmation added in v0.0.7

func (m *LauncherAppsArchiveCompatibilityParams) SetEnableUnarchivalConfirmation(arg0 bool) error

SetEnableUnarchivalConfirmation calls android.content.pm.LauncherApps$ArchiveCompatibilityParams.setEnableUnarchivalConfirmation.

type LauncherAppsCallback added in v0.0.7

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

LauncherAppsCallback wraps android.content.pm.LauncherApps$Callback.

func (*LauncherAppsCallback) OnPackageAdded added in v0.0.7

func (m *LauncherAppsCallback) OnPackageAdded(arg0 string, arg1 *jni.Object) error

OnPackageAdded calls android.content.pm.LauncherApps$Callback.onPackageAdded.

func (*LauncherAppsCallback) OnPackageChanged added in v0.0.7

func (m *LauncherAppsCallback) OnPackageChanged(arg0 string, arg1 *jni.Object) error

OnPackageChanged calls android.content.pm.LauncherApps$Callback.onPackageChanged.

func (*LauncherAppsCallback) OnPackageLoadingProgressChanged added in v0.0.7

func (m *LauncherAppsCallback) OnPackageLoadingProgressChanged(
	arg0 string,
	arg1 *jni.Object,
	arg2 float32,
) error

OnPackageLoadingProgressChanged calls android.content.pm.LauncherApps$Callback.onPackageLoadingProgressChanged.

func (*LauncherAppsCallback) OnPackageRemoved added in v0.0.7

func (m *LauncherAppsCallback) OnPackageRemoved(arg0 string, arg1 *jni.Object) error

OnPackageRemoved calls android.content.pm.LauncherApps$Callback.onPackageRemoved.

func (*LauncherAppsCallback) OnPackagesAvailable added in v0.0.7

func (m *LauncherAppsCallback) OnPackagesAvailable(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 bool,
) error

OnPackagesAvailable calls android.content.pm.LauncherApps$Callback.onPackagesAvailable.

func (*LauncherAppsCallback) OnPackagesSuspended2 added in v0.0.7

func (m *LauncherAppsCallback) OnPackagesSuspended2(arg0 *jni.Object, arg1 *jni.Object) error

OnPackagesSuspended2 calls android.content.pm.LauncherApps$Callback.onPackagesSuspended.

func (*LauncherAppsCallback) OnPackagesSuspended3_1 added in v0.0.7

func (m *LauncherAppsCallback) OnPackagesSuspended3_1(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 *jni.Object,
) error

OnPackagesSuspended3_1 calls android.content.pm.LauncherApps$Callback.onPackagesSuspended.

func (*LauncherAppsCallback) OnPackagesUnavailable added in v0.0.7

func (m *LauncherAppsCallback) OnPackagesUnavailable(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 bool,
) error

OnPackagesUnavailable calls android.content.pm.LauncherApps$Callback.onPackagesUnavailable.

func (*LauncherAppsCallback) OnPackagesUnsuspended added in v0.0.7

func (m *LauncherAppsCallback) OnPackagesUnsuspended(arg0 *jni.Object, arg1 *jni.Object) error

OnPackagesUnsuspended calls android.content.pm.LauncherApps$Callback.onPackagesUnsuspended.

func (*LauncherAppsCallback) OnUserConfigChanged added in v0.0.7

func (m *LauncherAppsCallback) OnUserConfigChanged(arg0 *jni.Object) error

OnUserConfigChanged calls android.content.pm.LauncherApps$Callback.onUserConfigChanged.

type LauncherAppsPinItemRequest added in v0.0.7

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

LauncherAppsPinItemRequest wraps android.content.pm.LauncherApps$PinItemRequest.

func (*LauncherAppsPinItemRequest) Accept0 added in v0.0.7

func (m *LauncherAppsPinItemRequest) Accept0() (bool, error)

Accept0 calls android.content.pm.LauncherApps$PinItemRequest.accept.

func (*LauncherAppsPinItemRequest) Accept1_1 added in v0.0.7

func (m *LauncherAppsPinItemRequest) Accept1_1(arg0 *jni.Object) (bool, error)

Accept1_1 calls android.content.pm.LauncherApps$PinItemRequest.accept.

func (*LauncherAppsPinItemRequest) DescribeContents added in v0.0.7

func (m *LauncherAppsPinItemRequest) DescribeContents() (int32, error)

DescribeContents calls android.content.pm.LauncherApps$PinItemRequest.describeContents.

func (*LauncherAppsPinItemRequest) GetAppWidgetProviderInfo added in v0.0.7

func (m *LauncherAppsPinItemRequest) GetAppWidgetProviderInfo(arg0 *jni.Object) (*jni.Object, error)

GetAppWidgetProviderInfo calls android.content.pm.LauncherApps$PinItemRequest.getAppWidgetProviderInfo.

func (*LauncherAppsPinItemRequest) GetExtras added in v0.0.7

func (m *LauncherAppsPinItemRequest) GetExtras() (*jni.Object, error)

GetExtras calls android.content.pm.LauncherApps$PinItemRequest.getExtras.

func (*LauncherAppsPinItemRequest) GetRequestType added in v0.0.7

func (m *LauncherAppsPinItemRequest) GetRequestType() (int32, error)

GetRequestType calls android.content.pm.LauncherApps$PinItemRequest.getRequestType.

func (*LauncherAppsPinItemRequest) GetShortcutInfo added in v0.0.7

func (m *LauncherAppsPinItemRequest) GetShortcutInfo() (*jni.Object, error)

GetShortcutInfo calls android.content.pm.LauncherApps$PinItemRequest.getShortcutInfo.

func (*LauncherAppsPinItemRequest) IsValid added in v0.0.7

func (m *LauncherAppsPinItemRequest) IsValid() (bool, error)

IsValid calls android.content.pm.LauncherApps$PinItemRequest.isValid.

func (*LauncherAppsPinItemRequest) WriteToParcel added in v0.0.7

func (m *LauncherAppsPinItemRequest) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.content.pm.LauncherApps$PinItemRequest.writeToParcel.

type LauncherAppsShortcutQuery added in v0.0.7

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

LauncherAppsShortcutQuery wraps android.content.pm.LauncherApps$ShortcutQuery.

func (*LauncherAppsShortcutQuery) SetActivity added in v0.0.7

func (m *LauncherAppsShortcutQuery) SetActivity(arg0 *jni.Object) (*jni.Object, error)

SetActivity calls android.content.pm.LauncherApps$ShortcutQuery.setActivity.

func (*LauncherAppsShortcutQuery) SetChangedSince added in v0.0.7

func (m *LauncherAppsShortcutQuery) SetChangedSince(arg0 int64) (*jni.Object, error)

SetChangedSince calls android.content.pm.LauncherApps$ShortcutQuery.setChangedSince.

func (*LauncherAppsShortcutQuery) SetPackage added in v0.0.7

func (m *LauncherAppsShortcutQuery) SetPackage(arg0 string) (*jni.Object, error)

SetPackage calls android.content.pm.LauncherApps$ShortcutQuery.setPackage.

func (*LauncherAppsShortcutQuery) SetQueryFlags added in v0.0.7

func (m *LauncherAppsShortcutQuery) SetQueryFlags(arg0 int32) (*jni.Object, error)

SetQueryFlags calls android.content.pm.LauncherApps$ShortcutQuery.setQueryFlags.

type LauncherUserInfo added in v0.0.7

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

LauncherUserInfo wraps android.content.pm.LauncherUserInfo.

func (*LauncherUserInfo) DescribeContents added in v0.0.7

func (m *LauncherUserInfo) DescribeContents() (int32, error)

DescribeContents calls android.content.pm.LauncherUserInfo.describeContents.

func (*LauncherUserInfo) GetUserConfig added in v0.0.7

func (m *LauncherUserInfo) GetUserConfig() (*jni.Object, error)

GetUserConfig calls android.content.pm.LauncherUserInfo.getUserConfig.

func (*LauncherUserInfo) GetUserSerialNumber added in v0.0.7

func (m *LauncherUserInfo) GetUserSerialNumber() (int32, error)

GetUserSerialNumber calls android.content.pm.LauncherUserInfo.getUserSerialNumber.

func (*LauncherUserInfo) GetUserType added in v0.0.7

func (m *LauncherUserInfo) GetUserType() (string, error)

GetUserType calls android.content.pm.LauncherUserInfo.getUserType.

func (*LauncherUserInfo) WriteToParcel added in v0.0.7

func (m *LauncherUserInfo) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.content.pm.LauncherUserInfo.writeToParcel.

type ModuleInfo added in v0.0.7

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

ModuleInfo wraps android.content.pm.ModuleInfo.

func (*ModuleInfo) DescribeContents added in v0.0.7

func (m *ModuleInfo) DescribeContents() (int32, error)

DescribeContents calls android.content.pm.ModuleInfo.describeContents.

func (*ModuleInfo) Equals added in v0.0.7

func (m *ModuleInfo) Equals(arg0 *jni.Object) (bool, error)

Equals calls android.content.pm.ModuleInfo.equals.

func (*ModuleInfo) GetName added in v0.0.7

func (m *ModuleInfo) GetName() (*jni.Object, error)

GetName calls android.content.pm.ModuleInfo.getName.

func (*ModuleInfo) GetPackageName added in v0.0.7

func (m *ModuleInfo) GetPackageName() (string, error)

GetPackageName calls android.content.pm.ModuleInfo.getPackageName.

func (*ModuleInfo) HashCode added in v0.0.7

func (m *ModuleInfo) HashCode() (int32, error)

HashCode calls android.content.pm.ModuleInfo.hashCode.

func (*ModuleInfo) IsHidden added in v0.0.7

func (m *ModuleInfo) IsHidden() (bool, error)

IsHidden calls android.content.pm.ModuleInfo.isHidden.

func (*ModuleInfo) ToString added in v0.0.7

func (m *ModuleInfo) ToString() (string, error)

ToString calls android.content.pm.ModuleInfo.toString.

func (*ModuleInfo) WriteToParcel added in v0.0.7

func (m *ModuleInfo) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.content.pm.ModuleInfo.writeToParcel.

type PackageInfo added in v0.0.4

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

PackageInfo wraps android.content.pm.PackageInfo.

func NewPackageInfo added in v0.0.7

func NewPackageInfo(vm *jni.VM) (*PackageInfo, error)

NewPackageInfo creates a new android.content.pm.PackageInfo instance.

func (*PackageInfo) DescribeContents added in v0.0.4

func (m *PackageInfo) DescribeContents() (int32, error)

DescribeContents calls android.content.pm.PackageInfo.describeContents.

func (*PackageInfo) GetApexPackageName added in v0.0.4

func (m *PackageInfo) GetApexPackageName() (string, error)

GetApexPackageName calls android.content.pm.PackageInfo.getApexPackageName.

func (*PackageInfo) GetArchiveTimeMillis added in v0.0.4

func (m *PackageInfo) GetArchiveTimeMillis() (int64, error)

GetArchiveTimeMillis calls android.content.pm.PackageInfo.getArchiveTimeMillis.

func (*PackageInfo) GetLongVersionCode added in v0.0.4

func (m *PackageInfo) GetLongVersionCode() (int64, error)

GetLongVersionCode calls android.content.pm.PackageInfo.getLongVersionCode.

func (*PackageInfo) SetLongVersionCode added in v0.0.4

func (m *PackageInfo) SetLongVersionCode(arg0 int64) error

SetLongVersionCode calls android.content.pm.PackageInfo.setLongVersionCode.

func (*PackageInfo) ToString added in v0.0.4

func (m *PackageInfo) ToString() (string, error)

ToString calls android.content.pm.PackageInfo.toString.

func (*PackageInfo) WriteToParcel added in v0.0.4

func (m *PackageInfo) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.content.pm.PackageInfo.writeToParcel.

type PackageInstaller added in v0.0.7

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

PackageInstaller wraps android.content.pm.PackageInstaller.

func (*PackageInstaller) AbandonSession added in v0.0.7

func (m *PackageInstaller) AbandonSession(arg0 int32) error

AbandonSession calls android.content.pm.PackageInstaller.abandonSession.

func (*PackageInstaller) CommitSessionAfterInstallConstraintsAreMet added in v0.0.7

func (m *PackageInstaller) CommitSessionAfterInstallConstraintsAreMet(
	arg0 int32,
	arg1 *jni.Object,
	arg2 *jni.Object,
	arg3 int64,
) error

CommitSessionAfterInstallConstraintsAreMet calls android.content.pm.PackageInstaller.commitSessionAfterInstallConstraintsAreMet.

func (*PackageInstaller) CreateSession added in v0.0.7

func (m *PackageInstaller) CreateSession(arg0 *jni.Object) (int32, error)

CreateSession calls android.content.pm.PackageInstaller.createSession.

func (*PackageInstaller) GetActiveStagedSession added in v0.0.7

func (m *PackageInstaller) GetActiveStagedSession() (*jni.Object, error)

GetActiveStagedSession calls android.content.pm.PackageInstaller.getActiveStagedSession.

func (*PackageInstaller) GetSessionInfo added in v0.0.7

func (m *PackageInstaller) GetSessionInfo(arg0 int32) (*jni.Object, error)

GetSessionInfo calls android.content.pm.PackageInstaller.getSessionInfo.

func (*PackageInstaller) InstallExistingPackage added in v0.0.7

func (m *PackageInstaller) InstallExistingPackage(
	arg0 string,
	arg1 int32,
	arg2 *jni.Object,
) error

InstallExistingPackage calls android.content.pm.PackageInstaller.installExistingPackage.

func (*PackageInstaller) InstallPackageArchived added in v0.0.7

func (m *PackageInstaller) InstallPackageArchived(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 *jni.Object,
) error

InstallPackageArchived calls android.content.pm.PackageInstaller.installPackageArchived.

func (*PackageInstaller) OpenSession added in v0.0.7

func (m *PackageInstaller) OpenSession(arg0 int32) (*jni.Object, error)

OpenSession calls android.content.pm.PackageInstaller.openSession.

func (*PackageInstaller) RegisterSessionCallback added in v0.0.7

func (m *PackageInstaller) RegisterSessionCallback(arg0 *jni.Object) error

RegisterSessionCallback calls android.content.pm.PackageInstaller.registerSessionCallback.

func (*PackageInstaller) ReportUnarchivalState added in v0.0.7

func (m *PackageInstaller) ReportUnarchivalState(arg0 *jni.Object) error

ReportUnarchivalState calls android.content.pm.PackageInstaller.reportUnarchivalState.

func (*PackageInstaller) ReportUnarchivalStatus added in v0.0.7

func (m *PackageInstaller) ReportUnarchivalStatus(
	arg0 int32,
	arg1 int32,
	arg2 int64,
	arg3 *jni.Object,
) error

ReportUnarchivalStatus calls android.content.pm.PackageInstaller.reportUnarchivalStatus.

func (*PackageInstaller) RequestArchive added in v0.0.7

func (m *PackageInstaller) RequestArchive(arg0 string, arg1 *jni.Object) error

RequestArchive calls android.content.pm.PackageInstaller.requestArchive.

func (*PackageInstaller) RequestUnarchive added in v0.0.7

func (m *PackageInstaller) RequestUnarchive(arg0 string, arg1 *jni.Object) error

RequestUnarchive calls android.content.pm.PackageInstaller.requestUnarchive.

func (*PackageInstaller) Uninstall2 added in v0.0.7

func (m *PackageInstaller) Uninstall2(arg0 *jni.Object, arg1 *jni.Object) error

Uninstall2 calls android.content.pm.PackageInstaller.uninstall.

func (*PackageInstaller) Uninstall2_2 added in v0.0.7

func (m *PackageInstaller) Uninstall2_2(arg0 string, arg1 *jni.Object) error

Uninstall2_2 calls android.content.pm.PackageInstaller.uninstall.

func (*PackageInstaller) Uninstall3_1 added in v0.0.7

func (m *PackageInstaller) Uninstall3_1(
	arg0 *jni.Object,
	arg1 int32,
	arg2 *jni.Object,
) error

Uninstall3_1 calls android.content.pm.PackageInstaller.uninstall.

func (*PackageInstaller) UninstallExistingPackage added in v0.0.7

func (m *PackageInstaller) UninstallExistingPackage(arg0 string, arg1 *jni.Object) error

UninstallExistingPackage calls android.content.pm.PackageInstaller.uninstallExistingPackage.

func (*PackageInstaller) UnregisterSessionCallback added in v0.0.7

func (m *PackageInstaller) UnregisterSessionCallback(arg0 *jni.Object) error

UnregisterSessionCallback calls android.content.pm.PackageInstaller.unregisterSessionCallback.

func (*PackageInstaller) UpdateSessionAppIcon added in v0.0.7

func (m *PackageInstaller) UpdateSessionAppIcon(arg0 int32, arg1 *jni.Object) error

UpdateSessionAppIcon calls android.content.pm.PackageInstaller.updateSessionAppIcon.

func (*PackageInstaller) UpdateSessionAppLabel added in v0.0.7

func (m *PackageInstaller) UpdateSessionAppLabel(arg0 int32, arg1 string) error

UpdateSessionAppLabel calls android.content.pm.PackageInstaller.updateSessionAppLabel.

type PackageInstallerInstallConstraints added in v0.0.7

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

PackageInstallerInstallConstraints wraps android.content.pm.PackageInstaller$InstallConstraints.

func (*PackageInstallerInstallConstraints) DescribeContents added in v0.0.7

func (m *PackageInstallerInstallConstraints) DescribeContents() (int32, error)

DescribeContents calls android.content.pm.PackageInstaller$InstallConstraints.describeContents.

func (*PackageInstallerInstallConstraints) Equals added in v0.0.7

Equals calls android.content.pm.PackageInstaller$InstallConstraints.equals.

func (*PackageInstallerInstallConstraints) HashCode added in v0.0.7

HashCode calls android.content.pm.PackageInstaller$InstallConstraints.hashCode.

func (*PackageInstallerInstallConstraints) IsAppNotForegroundRequired added in v0.0.7

func (m *PackageInstallerInstallConstraints) IsAppNotForegroundRequired() (bool, error)

IsAppNotForegroundRequired calls android.content.pm.PackageInstaller$InstallConstraints.isAppNotForegroundRequired.

func (*PackageInstallerInstallConstraints) IsAppNotInteractingRequired added in v0.0.7

func (m *PackageInstallerInstallConstraints) IsAppNotInteractingRequired() (bool, error)

IsAppNotInteractingRequired calls android.content.pm.PackageInstaller$InstallConstraints.isAppNotInteractingRequired.

func (*PackageInstallerInstallConstraints) IsAppNotTopVisibleRequired added in v0.0.7

func (m *PackageInstallerInstallConstraints) IsAppNotTopVisibleRequired() (bool, error)

IsAppNotTopVisibleRequired calls android.content.pm.PackageInstaller$InstallConstraints.isAppNotTopVisibleRequired.

func (*PackageInstallerInstallConstraints) IsDeviceIdleRequired added in v0.0.7

func (m *PackageInstallerInstallConstraints) IsDeviceIdleRequired() (bool, error)

IsDeviceIdleRequired calls android.content.pm.PackageInstaller$InstallConstraints.isDeviceIdleRequired.

func (*PackageInstallerInstallConstraints) IsNotInCallRequired added in v0.0.7

func (m *PackageInstallerInstallConstraints) IsNotInCallRequired() (bool, error)

IsNotInCallRequired calls android.content.pm.PackageInstaller$InstallConstraints.isNotInCallRequired.

func (*PackageInstallerInstallConstraints) WriteToParcel added in v0.0.7

func (m *PackageInstallerInstallConstraints) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.content.pm.PackageInstaller$InstallConstraints.writeToParcel.

type PackageInstallerInstallConstraintsResult added in v0.0.7

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

PackageInstallerInstallConstraintsResult wraps android.content.pm.PackageInstaller$InstallConstraintsResult.

func (*PackageInstallerInstallConstraintsResult) AreAllConstraintsSatisfied added in v0.0.7

func (m *PackageInstallerInstallConstraintsResult) AreAllConstraintsSatisfied() (bool, error)

AreAllConstraintsSatisfied calls android.content.pm.PackageInstaller$InstallConstraintsResult.areAllConstraintsSatisfied.

func (*PackageInstallerInstallConstraintsResult) DescribeContents added in v0.0.7

func (m *PackageInstallerInstallConstraintsResult) DescribeContents() (int32, error)

DescribeContents calls android.content.pm.PackageInstaller$InstallConstraintsResult.describeContents.

func (*PackageInstallerInstallConstraintsResult) WriteToParcel added in v0.0.7

func (m *PackageInstallerInstallConstraintsResult) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.content.pm.PackageInstaller$InstallConstraintsResult.writeToParcel.

type PackageInstallerPreapprovalDetails added in v0.0.7

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

PackageInstallerPreapprovalDetails wraps android.content.pm.PackageInstaller$PreapprovalDetails.

func (*PackageInstallerPreapprovalDetails) DescribeContents added in v0.0.7

func (m *PackageInstallerPreapprovalDetails) DescribeContents() (int32, error)

DescribeContents calls android.content.pm.PackageInstaller$PreapprovalDetails.describeContents.

func (*PackageInstallerPreapprovalDetails) GetIcon added in v0.0.7

GetIcon calls android.content.pm.PackageInstaller$PreapprovalDetails.getIcon.

func (*PackageInstallerPreapprovalDetails) GetLabel added in v0.0.7

GetLabel calls android.content.pm.PackageInstaller$PreapprovalDetails.getLabel.

func (*PackageInstallerPreapprovalDetails) GetLocale added in v0.0.7

GetLocale calls android.content.pm.PackageInstaller$PreapprovalDetails.getLocale.

func (*PackageInstallerPreapprovalDetails) GetPackageName added in v0.0.7

func (m *PackageInstallerPreapprovalDetails) GetPackageName() (string, error)

GetPackageName calls android.content.pm.PackageInstaller$PreapprovalDetails.getPackageName.

func (*PackageInstallerPreapprovalDetails) ToString added in v0.0.7

ToString calls android.content.pm.PackageInstaller$PreapprovalDetails.toString.

func (*PackageInstallerPreapprovalDetails) WriteToParcel added in v0.0.7

func (m *PackageInstallerPreapprovalDetails) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.content.pm.PackageInstaller$PreapprovalDetails.writeToParcel.

type PackageInstallerSession added in v0.0.7

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

PackageInstallerSession wraps android.content.pm.PackageInstaller$Session.

func (*PackageInstallerSession) Abandon added in v0.0.7

func (m *PackageInstallerSession) Abandon() error

Abandon calls android.content.pm.PackageInstaller$Session.abandon.

func (*PackageInstallerSession) AddChildSessionId added in v0.0.7

func (m *PackageInstallerSession) AddChildSessionId(arg0 int32) error

AddChildSessionId calls android.content.pm.PackageInstaller$Session.addChildSessionId.

func (*PackageInstallerSession) Close added in v0.0.7

func (m *PackageInstallerSession) Close() error

Close calls android.content.pm.PackageInstaller$Session.close.

func (*PackageInstallerSession) Commit added in v0.0.7

func (m *PackageInstallerSession) Commit(arg0 *jni.Object) error

Commit calls android.content.pm.PackageInstaller$Session.commit.

func (*PackageInstallerSession) Fsync added in v0.0.7

func (m *PackageInstallerSession) Fsync(arg0 *jni.Object) error

Fsync calls android.content.pm.PackageInstaller$Session.fsync.

func (*PackageInstallerSession) GetAppMetadata added in v0.0.7

func (m *PackageInstallerSession) GetAppMetadata() (*jni.Object, error)

GetAppMetadata calls android.content.pm.PackageInstaller$Session.getAppMetadata.

func (*PackageInstallerSession) GetChildSessionIds added in v0.0.7

func (m *PackageInstallerSession) GetChildSessionIds() (*jni.Object, error)

GetChildSessionIds calls android.content.pm.PackageInstaller$Session.getChildSessionIds.

func (*PackageInstallerSession) GetNames added in v0.0.7

func (m *PackageInstallerSession) GetNames() (*jni.Object, error)

GetNames calls android.content.pm.PackageInstaller$Session.getNames.

func (*PackageInstallerSession) GetParentSessionId added in v0.0.7

func (m *PackageInstallerSession) GetParentSessionId() (int32, error)

GetParentSessionId calls android.content.pm.PackageInstaller$Session.getParentSessionId.

func (*PackageInstallerSession) IsApplicationEnabledSettingPersistent added in v0.0.7

func (m *PackageInstallerSession) IsApplicationEnabledSettingPersistent() (bool, error)

IsApplicationEnabledSettingPersistent calls android.content.pm.PackageInstaller$Session.isApplicationEnabledSettingPersistent.

func (*PackageInstallerSession) IsMultiPackage added in v0.0.7

func (m *PackageInstallerSession) IsMultiPackage() (bool, error)

IsMultiPackage calls android.content.pm.PackageInstaller$Session.isMultiPackage.

func (*PackageInstallerSession) IsRequestUpdateOwnership added in v0.0.7

func (m *PackageInstallerSession) IsRequestUpdateOwnership() (bool, error)

IsRequestUpdateOwnership calls android.content.pm.PackageInstaller$Session.isRequestUpdateOwnership.

func (*PackageInstallerSession) IsStaged added in v0.0.7

func (m *PackageInstallerSession) IsStaged() (bool, error)

IsStaged calls android.content.pm.PackageInstaller$Session.isStaged.

func (*PackageInstallerSession) OpenRead added in v0.0.7

func (m *PackageInstallerSession) OpenRead(arg0 string) (*jni.Object, error)

OpenRead calls android.content.pm.PackageInstaller$Session.openRead.

func (*PackageInstallerSession) OpenWrite added in v0.0.7

func (m *PackageInstallerSession) OpenWrite(
	arg0 string,
	arg1 int64,
	arg2 int64,
) (*jni.Object, error)

OpenWrite calls android.content.pm.PackageInstaller$Session.openWrite.

func (*PackageInstallerSession) RemoveChildSessionId added in v0.0.7

func (m *PackageInstallerSession) RemoveChildSessionId(arg0 int32) error

RemoveChildSessionId calls android.content.pm.PackageInstaller$Session.removeChildSessionId.

func (*PackageInstallerSession) RemoveSplit added in v0.0.7

func (m *PackageInstallerSession) RemoveSplit(arg0 string) error

RemoveSplit calls android.content.pm.PackageInstaller$Session.removeSplit.

func (*PackageInstallerSession) RequestUserPreapproval added in v0.0.7

func (m *PackageInstallerSession) RequestUserPreapproval(arg0 *jni.Object, arg1 *jni.Object) error

RequestUserPreapproval calls android.content.pm.PackageInstaller$Session.requestUserPreapproval.

func (*PackageInstallerSession) SetAppMetadata added in v0.0.7

func (m *PackageInstallerSession) SetAppMetadata(arg0 *jni.Object) error

SetAppMetadata calls android.content.pm.PackageInstaller$Session.setAppMetadata.

func (*PackageInstallerSession) SetStagingProgress added in v0.0.7

func (m *PackageInstallerSession) SetStagingProgress(arg0 float32) error

SetStagingProgress calls android.content.pm.PackageInstaller$Session.setStagingProgress.

func (*PackageInstallerSession) Transfer added in v0.0.7

func (m *PackageInstallerSession) Transfer(arg0 string) error

Transfer calls android.content.pm.PackageInstaller$Session.transfer.

type PackageInstallerSessionCallback added in v0.0.7

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

PackageInstallerSessionCallback wraps android.content.pm.PackageInstaller$SessionCallback.

func (*PackageInstallerSessionCallback) OnActiveChanged added in v0.0.7

func (m *PackageInstallerSessionCallback) OnActiveChanged(arg0 int32, arg1 bool) error

OnActiveChanged calls android.content.pm.PackageInstaller$SessionCallback.onActiveChanged.

func (*PackageInstallerSessionCallback) OnBadgingChanged added in v0.0.7

func (m *PackageInstallerSessionCallback) OnBadgingChanged(arg0 int32) error

OnBadgingChanged calls android.content.pm.PackageInstaller$SessionCallback.onBadgingChanged.

func (*PackageInstallerSessionCallback) OnCreated added in v0.0.7

func (m *PackageInstallerSessionCallback) OnCreated(arg0 int32) error

OnCreated calls android.content.pm.PackageInstaller$SessionCallback.onCreated.

func (*PackageInstallerSessionCallback) OnFinished added in v0.0.7

func (m *PackageInstallerSessionCallback) OnFinished(arg0 int32, arg1 bool) error

OnFinished calls android.content.pm.PackageInstaller$SessionCallback.onFinished.

func (*PackageInstallerSessionCallback) OnProgressChanged added in v0.0.7

func (m *PackageInstallerSessionCallback) OnProgressChanged(arg0 int32, arg1 float32) error

OnProgressChanged calls android.content.pm.PackageInstaller$SessionCallback.onProgressChanged.

type PackageInstallerSessionInfo added in v0.0.7

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

PackageInstallerSessionInfo wraps android.content.pm.PackageInstaller$SessionInfo.

func (*PackageInstallerSessionInfo) CreateDetailsIntent added in v0.0.7

func (m *PackageInstallerSessionInfo) CreateDetailsIntent() (*jni.Object, error)

CreateDetailsIntent calls android.content.pm.PackageInstaller$SessionInfo.createDetailsIntent.

func (*PackageInstallerSessionInfo) DescribeContents added in v0.0.7

func (m *PackageInstallerSessionInfo) DescribeContents() (int32, error)

DescribeContents calls android.content.pm.PackageInstaller$SessionInfo.describeContents.

func (*PackageInstallerSessionInfo) GetAppIcon added in v0.0.7

func (m *PackageInstallerSessionInfo) GetAppIcon() (*jni.Object, error)

GetAppIcon calls android.content.pm.PackageInstaller$SessionInfo.getAppIcon.

func (*PackageInstallerSessionInfo) GetAppLabel added in v0.0.7

func (m *PackageInstallerSessionInfo) GetAppLabel() (*jni.Object, error)

GetAppLabel calls android.content.pm.PackageInstaller$SessionInfo.getAppLabel.

func (*PackageInstallerSessionInfo) GetAppPackageName added in v0.0.7

func (m *PackageInstallerSessionInfo) GetAppPackageName() (string, error)

GetAppPackageName calls android.content.pm.PackageInstaller$SessionInfo.getAppPackageName.

func (*PackageInstallerSessionInfo) GetChildSessionIds added in v0.0.7

func (m *PackageInstallerSessionInfo) GetChildSessionIds() (*jni.Object, error)

GetChildSessionIds calls android.content.pm.PackageInstaller$SessionInfo.getChildSessionIds.

func (*PackageInstallerSessionInfo) GetCreatedMillis added in v0.0.7

func (m *PackageInstallerSessionInfo) GetCreatedMillis() (int64, error)

GetCreatedMillis calls android.content.pm.PackageInstaller$SessionInfo.getCreatedMillis.

func (*PackageInstallerSessionInfo) GetDontKillApp added in v0.0.7

func (m *PackageInstallerSessionInfo) GetDontKillApp() (bool, error)

GetDontKillApp calls android.content.pm.PackageInstaller$SessionInfo.getDontKillApp.

func (*PackageInstallerSessionInfo) GetInstallLocation added in v0.0.7

func (m *PackageInstallerSessionInfo) GetInstallLocation() (int32, error)

GetInstallLocation calls android.content.pm.PackageInstaller$SessionInfo.getInstallLocation.

func (*PackageInstallerSessionInfo) GetInstallReason added in v0.0.7

func (m *PackageInstallerSessionInfo) GetInstallReason() (int32, error)

GetInstallReason calls android.content.pm.PackageInstaller$SessionInfo.getInstallReason.

func (*PackageInstallerSessionInfo) GetInstallerAttributionTag added in v0.0.7

func (m *PackageInstallerSessionInfo) GetInstallerAttributionTag() (string, error)

GetInstallerAttributionTag calls android.content.pm.PackageInstaller$SessionInfo.getInstallerAttributionTag.

func (*PackageInstallerSessionInfo) GetInstallerPackageName added in v0.0.7

func (m *PackageInstallerSessionInfo) GetInstallerPackageName() (string, error)

GetInstallerPackageName calls android.content.pm.PackageInstaller$SessionInfo.getInstallerPackageName.

func (*PackageInstallerSessionInfo) GetInstallerUid added in v0.0.7

func (m *PackageInstallerSessionInfo) GetInstallerUid() (int32, error)

GetInstallerUid calls android.content.pm.PackageInstaller$SessionInfo.getInstallerUid.

func (*PackageInstallerSessionInfo) GetMode added in v0.0.7

func (m *PackageInstallerSessionInfo) GetMode() (int32, error)

GetMode calls android.content.pm.PackageInstaller$SessionInfo.getMode.

func (*PackageInstallerSessionInfo) GetOriginatingUid added in v0.0.7

func (m *PackageInstallerSessionInfo) GetOriginatingUid() (int32, error)

GetOriginatingUid calls android.content.pm.PackageInstaller$SessionInfo.getOriginatingUid.

func (*PackageInstallerSessionInfo) GetOriginatingUri added in v0.0.7

func (m *PackageInstallerSessionInfo) GetOriginatingUri() (*jni.Object, error)

GetOriginatingUri calls android.content.pm.PackageInstaller$SessionInfo.getOriginatingUri.

func (*PackageInstallerSessionInfo) GetPackageSource added in v0.0.7

func (m *PackageInstallerSessionInfo) GetPackageSource() (int32, error)

GetPackageSource calls android.content.pm.PackageInstaller$SessionInfo.getPackageSource.

func (*PackageInstallerSessionInfo) GetParentSessionId added in v0.0.7

func (m *PackageInstallerSessionInfo) GetParentSessionId() (int32, error)

GetParentSessionId calls android.content.pm.PackageInstaller$SessionInfo.getParentSessionId.

func (*PackageInstallerSessionInfo) GetProgress added in v0.0.7

func (m *PackageInstallerSessionInfo) GetProgress() (float32, error)

GetProgress calls android.content.pm.PackageInstaller$SessionInfo.getProgress.

func (*PackageInstallerSessionInfo) GetReferrerUri added in v0.0.7

func (m *PackageInstallerSessionInfo) GetReferrerUri() (*jni.Object, error)

GetReferrerUri calls android.content.pm.PackageInstaller$SessionInfo.getReferrerUri.

func (*PackageInstallerSessionInfo) GetRequireUserAction added in v0.0.7

func (m *PackageInstallerSessionInfo) GetRequireUserAction() (int32, error)

GetRequireUserAction calls android.content.pm.PackageInstaller$SessionInfo.getRequireUserAction.

func (*PackageInstallerSessionInfo) GetSessionId added in v0.0.7

func (m *PackageInstallerSessionInfo) GetSessionId() (int32, error)

GetSessionId calls android.content.pm.PackageInstaller$SessionInfo.getSessionId.

func (*PackageInstallerSessionInfo) GetSize added in v0.0.7

func (m *PackageInstallerSessionInfo) GetSize() (int64, error)

GetSize calls android.content.pm.PackageInstaller$SessionInfo.getSize.

func (*PackageInstallerSessionInfo) GetStagedSessionErrorCode added in v0.0.7

func (m *PackageInstallerSessionInfo) GetStagedSessionErrorCode() (int32, error)

GetStagedSessionErrorCode calls android.content.pm.PackageInstaller$SessionInfo.getStagedSessionErrorCode.

func (*PackageInstallerSessionInfo) GetStagedSessionErrorMessage added in v0.0.7

func (m *PackageInstallerSessionInfo) GetStagedSessionErrorMessage() (string, error)

GetStagedSessionErrorMessage calls android.content.pm.PackageInstaller$SessionInfo.getStagedSessionErrorMessage.

func (*PackageInstallerSessionInfo) GetUpdatedMillis added in v0.0.7

func (m *PackageInstallerSessionInfo) GetUpdatedMillis() (int64, error)

GetUpdatedMillis calls android.content.pm.PackageInstaller$SessionInfo.getUpdatedMillis.

func (*PackageInstallerSessionInfo) GetUser added in v0.0.7

func (m *PackageInstallerSessionInfo) GetUser() (*jni.Object, error)

GetUser calls android.content.pm.PackageInstaller$SessionInfo.getUser.

func (*PackageInstallerSessionInfo) HasParentSessionId added in v0.0.7

func (m *PackageInstallerSessionInfo) HasParentSessionId() (bool, error)

HasParentSessionId calls android.content.pm.PackageInstaller$SessionInfo.hasParentSessionId.

func (*PackageInstallerSessionInfo) IsActive added in v0.0.7

func (m *PackageInstallerSessionInfo) IsActive() (bool, error)

IsActive calls android.content.pm.PackageInstaller$SessionInfo.isActive.

func (*PackageInstallerSessionInfo) IsApplicationEnabledSettingPersistent added in v0.0.7

func (m *PackageInstallerSessionInfo) IsApplicationEnabledSettingPersistent() (bool, error)

IsApplicationEnabledSettingPersistent calls android.content.pm.PackageInstaller$SessionInfo.isApplicationEnabledSettingPersistent.

func (*PackageInstallerSessionInfo) IsAutoInstallDependenciesEnabled added in v0.0.7

func (m *PackageInstallerSessionInfo) IsAutoInstallDependenciesEnabled() (bool, error)

IsAutoInstallDependenciesEnabled calls android.content.pm.PackageInstaller$SessionInfo.isAutoInstallDependenciesEnabled.

func (*PackageInstallerSessionInfo) IsCommitted added in v0.0.7

func (m *PackageInstallerSessionInfo) IsCommitted() (bool, error)

IsCommitted calls android.content.pm.PackageInstaller$SessionInfo.isCommitted.

func (*PackageInstallerSessionInfo) IsMultiPackage added in v0.0.7

func (m *PackageInstallerSessionInfo) IsMultiPackage() (bool, error)

IsMultiPackage calls android.content.pm.PackageInstaller$SessionInfo.isMultiPackage.

func (*PackageInstallerSessionInfo) IsPreApprovalRequested added in v0.0.7

func (m *PackageInstallerSessionInfo) IsPreApprovalRequested() (bool, error)

IsPreApprovalRequested calls android.content.pm.PackageInstaller$SessionInfo.isPreApprovalRequested.

func (*PackageInstallerSessionInfo) IsRequestUpdateOwnership added in v0.0.7

func (m *PackageInstallerSessionInfo) IsRequestUpdateOwnership() (bool, error)

IsRequestUpdateOwnership calls android.content.pm.PackageInstaller$SessionInfo.isRequestUpdateOwnership.

func (*PackageInstallerSessionInfo) IsSealed added in v0.0.7

func (m *PackageInstallerSessionInfo) IsSealed() (bool, error)

IsSealed calls android.content.pm.PackageInstaller$SessionInfo.isSealed.

func (*PackageInstallerSessionInfo) IsStaged added in v0.0.7

func (m *PackageInstallerSessionInfo) IsStaged() (bool, error)

IsStaged calls android.content.pm.PackageInstaller$SessionInfo.isStaged.

func (*PackageInstallerSessionInfo) IsStagedSessionActive added in v0.0.7

func (m *PackageInstallerSessionInfo) IsStagedSessionActive() (bool, error)

IsStagedSessionActive calls android.content.pm.PackageInstaller$SessionInfo.isStagedSessionActive.

func (*PackageInstallerSessionInfo) IsStagedSessionApplied added in v0.0.7

func (m *PackageInstallerSessionInfo) IsStagedSessionApplied() (bool, error)

IsStagedSessionApplied calls android.content.pm.PackageInstaller$SessionInfo.isStagedSessionApplied.

func (*PackageInstallerSessionInfo) IsStagedSessionFailed added in v0.0.7

func (m *PackageInstallerSessionInfo) IsStagedSessionFailed() (bool, error)

IsStagedSessionFailed calls android.content.pm.PackageInstaller$SessionInfo.isStagedSessionFailed.

func (*PackageInstallerSessionInfo) IsStagedSessionReady added in v0.0.7

func (m *PackageInstallerSessionInfo) IsStagedSessionReady() (bool, error)

IsStagedSessionReady calls android.content.pm.PackageInstaller$SessionInfo.isStagedSessionReady.

func (*PackageInstallerSessionInfo) IsUnarchival added in v0.0.7

func (m *PackageInstallerSessionInfo) IsUnarchival() (bool, error)

IsUnarchival calls android.content.pm.PackageInstaller$SessionInfo.isUnarchival.

func (*PackageInstallerSessionInfo) WriteToParcel added in v0.0.7

func (m *PackageInstallerSessionInfo) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.content.pm.PackageInstaller$SessionInfo.writeToParcel.

type PackageInstallerSessionParams added in v0.0.7

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

PackageInstallerSessionParams wraps android.content.pm.PackageInstaller$SessionParams.

func (*PackageInstallerSessionParams) DescribeContents added in v0.0.7

func (m *PackageInstallerSessionParams) DescribeContents() (int32, error)

DescribeContents calls android.content.pm.PackageInstaller$SessionParams.describeContents.

func (*PackageInstallerSessionParams) SetAppIcon added in v0.0.7

func (m *PackageInstallerSessionParams) SetAppIcon(arg0 *jni.Object) error

SetAppIcon calls android.content.pm.PackageInstaller$SessionParams.setAppIcon.

func (*PackageInstallerSessionParams) SetAppLabel added in v0.0.7

func (m *PackageInstallerSessionParams) SetAppLabel(arg0 string) error

SetAppLabel calls android.content.pm.PackageInstaller$SessionParams.setAppLabel.

func (*PackageInstallerSessionParams) SetAppPackageName added in v0.0.7

func (m *PackageInstallerSessionParams) SetAppPackageName(arg0 string) error

SetAppPackageName calls android.content.pm.PackageInstaller$SessionParams.setAppPackageName.

func (*PackageInstallerSessionParams) SetApplicationEnabledSettingPersistent added in v0.0.7

func (m *PackageInstallerSessionParams) SetApplicationEnabledSettingPersistent() error

SetApplicationEnabledSettingPersistent calls android.content.pm.PackageInstaller$SessionParams.setApplicationEnabledSettingPersistent.

func (*PackageInstallerSessionParams) SetAutoInstallDependenciesEnabled added in v0.0.7

func (m *PackageInstallerSessionParams) SetAutoInstallDependenciesEnabled(arg0 bool) error

SetAutoInstallDependenciesEnabled calls android.content.pm.PackageInstaller$SessionParams.setAutoInstallDependenciesEnabled.

func (*PackageInstallerSessionParams) SetAutoRevokePermissionsMode added in v0.0.7

func (m *PackageInstallerSessionParams) SetAutoRevokePermissionsMode(arg0 bool) error

SetAutoRevokePermissionsMode calls android.content.pm.PackageInstaller$SessionParams.setAutoRevokePermissionsMode.

func (*PackageInstallerSessionParams) SetDontKillApp added in v0.0.7

func (m *PackageInstallerSessionParams) SetDontKillApp(arg0 bool) error

SetDontKillApp calls android.content.pm.PackageInstaller$SessionParams.setDontKillApp.

func (*PackageInstallerSessionParams) SetInstallLocation added in v0.0.7

func (m *PackageInstallerSessionParams) SetInstallLocation(arg0 int32) error

SetInstallLocation calls android.content.pm.PackageInstaller$SessionParams.setInstallLocation.

func (*PackageInstallerSessionParams) SetInstallReason added in v0.0.7

func (m *PackageInstallerSessionParams) SetInstallReason(arg0 int32) error

SetInstallReason calls android.content.pm.PackageInstaller$SessionParams.setInstallReason.

func (*PackageInstallerSessionParams) SetInstallScenario added in v0.0.7

func (m *PackageInstallerSessionParams) SetInstallScenario(arg0 int32) error

SetInstallScenario calls android.content.pm.PackageInstaller$SessionParams.setInstallScenario.

func (*PackageInstallerSessionParams) SetInstallerPackageName added in v0.0.7

func (m *PackageInstallerSessionParams) SetInstallerPackageName(arg0 string) error

SetInstallerPackageName calls android.content.pm.PackageInstaller$SessionParams.setInstallerPackageName.

func (*PackageInstallerSessionParams) SetMultiPackage added in v0.0.7

func (m *PackageInstallerSessionParams) SetMultiPackage() error

SetMultiPackage calls android.content.pm.PackageInstaller$SessionParams.setMultiPackage.

func (*PackageInstallerSessionParams) SetOriginatingUid added in v0.0.7

func (m *PackageInstallerSessionParams) SetOriginatingUid(arg0 int32) error

SetOriginatingUid calls android.content.pm.PackageInstaller$SessionParams.setOriginatingUid.

func (*PackageInstallerSessionParams) SetOriginatingUri added in v0.0.7

func (m *PackageInstallerSessionParams) SetOriginatingUri(arg0 *jni.Object) error

SetOriginatingUri calls android.content.pm.PackageInstaller$SessionParams.setOriginatingUri.

func (*PackageInstallerSessionParams) SetPackageSource added in v0.0.7

func (m *PackageInstallerSessionParams) SetPackageSource(arg0 int32) error

SetPackageSource calls android.content.pm.PackageInstaller$SessionParams.setPackageSource.

func (*PackageInstallerSessionParams) SetPermissionState added in v0.0.7

func (m *PackageInstallerSessionParams) SetPermissionState(arg0 string, arg1 int32) (*jni.Object, error)

SetPermissionState calls android.content.pm.PackageInstaller$SessionParams.setPermissionState.

func (*PackageInstallerSessionParams) SetReferrerUri added in v0.0.7

func (m *PackageInstallerSessionParams) SetReferrerUri(arg0 *jni.Object) error

SetReferrerUri calls android.content.pm.PackageInstaller$SessionParams.setReferrerUri.

func (*PackageInstallerSessionParams) SetRequestUpdateOwnership added in v0.0.7

func (m *PackageInstallerSessionParams) SetRequestUpdateOwnership(arg0 bool) error

SetRequestUpdateOwnership calls android.content.pm.PackageInstaller$SessionParams.setRequestUpdateOwnership.

func (*PackageInstallerSessionParams) SetRequireUserAction added in v0.0.7

func (m *PackageInstallerSessionParams) SetRequireUserAction(arg0 int32) error

SetRequireUserAction calls android.content.pm.PackageInstaller$SessionParams.setRequireUserAction.

func (*PackageInstallerSessionParams) SetSize added in v0.0.7

func (m *PackageInstallerSessionParams) SetSize(arg0 int64) error

SetSize calls android.content.pm.PackageInstaller$SessionParams.setSize.

func (*PackageInstallerSessionParams) SetUnarchiveId added in v0.0.7

func (m *PackageInstallerSessionParams) SetUnarchiveId(arg0 int32) error

SetUnarchiveId calls android.content.pm.PackageInstaller$SessionParams.setUnarchiveId.

func (*PackageInstallerSessionParams) WriteToParcel added in v0.0.7

func (m *PackageInstallerSessionParams) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.content.pm.PackageInstaller$SessionParams.writeToParcel.

type PackageInstallerUnarchivalState added in v0.0.7

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

PackageInstallerUnarchivalState wraps android.content.pm.PackageInstaller$UnarchivalState.

func (*PackageInstallerUnarchivalState) CreateGenericErrorState added in v0.0.7

func (m *PackageInstallerUnarchivalState) CreateGenericErrorState(arg0 int32) (*jni.Object, error)

CreateGenericErrorState calls android.content.pm.PackageInstaller$UnarchivalState.createGenericErrorState.

func (*PackageInstallerUnarchivalState) CreateInsufficientStorageState added in v0.0.7

func (m *PackageInstallerUnarchivalState) CreateInsufficientStorageState(
	arg0 int32,
	arg1 int64,
	arg2 *jni.Object,
) (*jni.Object, error)

CreateInsufficientStorageState calls android.content.pm.PackageInstaller$UnarchivalState.createInsufficientStorageState.

func (*PackageInstallerUnarchivalState) CreateNoConnectivityState added in v0.0.7

func (m *PackageInstallerUnarchivalState) CreateNoConnectivityState(arg0 int32) (*jni.Object, error)

CreateNoConnectivityState calls android.content.pm.PackageInstaller$UnarchivalState.createNoConnectivityState.

func (*PackageInstallerUnarchivalState) CreateOkState added in v0.0.7

func (m *PackageInstallerUnarchivalState) CreateOkState(arg0 int32) (*jni.Object, error)

CreateOkState calls android.content.pm.PackageInstaller$UnarchivalState.createOkState.

func (*PackageInstallerUnarchivalState) CreateUserActionRequiredState added in v0.0.7

func (m *PackageInstallerUnarchivalState) CreateUserActionRequiredState(arg0 int32, arg1 *jni.Object) (*jni.Object, error)

CreateUserActionRequiredState calls android.content.pm.PackageInstaller$UnarchivalState.createUserActionRequiredState.

type PackageItemInfo added in v0.0.7

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

PackageItemInfo wraps android.content.pm.PackageItemInfo.

func NewPackageItemInfo added in v0.0.7

func NewPackageItemInfo(vm *jni.VM) (*PackageItemInfo, error)

NewPackageItemInfo creates a new android.content.pm.PackageItemInfo instance.

func (*PackageItemInfo) LoadBanner added in v0.0.7

func (m *PackageItemInfo) LoadBanner(arg0 *jni.Object) (*jni.Object, error)

LoadBanner calls android.content.pm.PackageItemInfo.loadBanner.

func (*PackageItemInfo) LoadIcon added in v0.0.7

func (m *PackageItemInfo) LoadIcon(arg0 *jni.Object) (*jni.Object, error)

LoadIcon calls android.content.pm.PackageItemInfo.loadIcon.

func (*PackageItemInfo) LoadLabel added in v0.0.7

func (m *PackageItemInfo) LoadLabel(arg0 *jni.Object) (*jni.Object, error)

LoadLabel calls android.content.pm.PackageItemInfo.loadLabel.

func (m *PackageItemInfo) LoadLogo(arg0 *jni.Object) (*jni.Object, error)

LoadLogo calls android.content.pm.PackageItemInfo.loadLogo.

func (*PackageItemInfo) LoadUnbadgedIcon added in v0.0.7

func (m *PackageItemInfo) LoadUnbadgedIcon(arg0 *jni.Object) (*jni.Object, error)

LoadUnbadgedIcon calls android.content.pm.PackageItemInfo.loadUnbadgedIcon.

func (*PackageItemInfo) LoadXmlMetaData added in v0.0.7

func (m *PackageItemInfo) LoadXmlMetaData(arg0 *jni.Object, arg1 string) (*jni.Object, error)

LoadXmlMetaData calls android.content.pm.PackageItemInfo.loadXmlMetaData.

func (*PackageItemInfo) WriteToParcel added in v0.0.7

func (m *PackageItemInfo) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.content.pm.PackageItemInfo.writeToParcel.

type PackageItemInfoDisplayNameComparator added in v0.0.7

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

PackageItemInfoDisplayNameComparator wraps android.content.pm.PackageItemInfo$DisplayNameComparator.

func (*PackageItemInfoDisplayNameComparator) Compare2 added in v0.0.7

func (m *PackageItemInfoDisplayNameComparator) Compare2(arg0 *jni.Object, arg1 *jni.Object) (int32, error)

Compare2 calls android.content.pm.PackageItemInfo$DisplayNameComparator.compare.

func (*PackageItemInfoDisplayNameComparator) Compare2_1 added in v0.0.7

func (m *PackageItemInfoDisplayNameComparator) Compare2_1(arg0 *jni.Object, arg1 *jni.Object) (int32, error)

Compare2_1 calls android.content.pm.PackageItemInfo$DisplayNameComparator.compare.

type PackageManager added in v0.0.4

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

PackageManager wraps android.content.pm.PackageManager.

func (*PackageManager) AddPackageToPreferred added in v0.0.4

func (m *PackageManager) AddPackageToPreferred(arg0 string) error

AddPackageToPreferred calls android.content.pm.PackageManager.addPackageToPreferred.

func (*PackageManager) AddPermission added in v0.0.4

func (m *PackageManager) AddPermission(arg0 *jni.Object) (bool, error)

AddPermission calls android.content.pm.PackageManager.addPermission.

func (*PackageManager) AddPermissionAsync added in v0.0.4

func (m *PackageManager) AddPermissionAsync(arg0 *jni.Object) (bool, error)

AddPermissionAsync calls android.content.pm.PackageManager.addPermissionAsync.

func (*PackageManager) AddPreferredActivity added in v0.0.4

func (m *PackageManager) AddPreferredActivity(
	arg0 *jni.Object,
	arg1 int32,
	arg2 *jni.Object,
	arg3 *jni.Object,
) error

AddPreferredActivity calls android.content.pm.PackageManager.addPreferredActivity.

func (*PackageManager) AddWhitelistedRestrictedPermission added in v0.0.4

func (m *PackageManager) AddWhitelistedRestrictedPermission(
	arg0 string,
	arg1 string,
	arg2 int32,
) (bool, error)

AddWhitelistedRestrictedPermission calls android.content.pm.PackageManager.addWhitelistedRestrictedPermission.

func (*PackageManager) CanPackageQuery2 added in v0.0.4

func (m *PackageManager) CanPackageQuery2(arg0 string, arg1 string) (bool, error)

CanPackageQuery2 calls android.content.pm.PackageManager.canPackageQuery.

func (*PackageManager) CanPackageQuery2_1 added in v0.0.4

func (m *PackageManager) CanPackageQuery2_1(arg0 string, arg1 *jni.Object) (*jni.Object, error)

CanPackageQuery2_1 calls android.content.pm.PackageManager.canPackageQuery.

func (*PackageManager) CanRequestPackageInstalls added in v0.0.4

func (m *PackageManager) CanRequestPackageInstalls() (bool, error)

CanRequestPackageInstalls calls android.content.pm.PackageManager.canRequestPackageInstalls.

func (*PackageManager) CanonicalToCurrentPackageNames added in v0.0.4

func (m *PackageManager) CanonicalToCurrentPackageNames(arg0 *jni.Object) (*jni.Object, error)

CanonicalToCurrentPackageNames calls android.content.pm.PackageManager.canonicalToCurrentPackageNames.

func (*PackageManager) CheckPermission added in v0.0.4

func (m *PackageManager) CheckPermission(arg0 string, arg1 string) (int32, error)

CheckPermission calls android.content.pm.PackageManager.checkPermission.

func (*PackageManager) CheckSignatures2 added in v0.0.4

func (m *PackageManager) CheckSignatures2(arg0 int32, arg1 int32) (int32, error)

CheckSignatures2 calls android.content.pm.PackageManager.checkSignatures.

func (*PackageManager) CheckSignatures2_1 added in v0.0.4

func (m *PackageManager) CheckSignatures2_1(arg0 string, arg1 string) (int32, error)

CheckSignatures2_1 calls android.content.pm.PackageManager.checkSignatures.

func (*PackageManager) ClearInstantAppCookie added in v0.0.4

func (m *PackageManager) ClearInstantAppCookie() error

ClearInstantAppCookie calls android.content.pm.PackageManager.clearInstantAppCookie.

func (*PackageManager) ClearPackagePreferredActivities added in v0.0.4

func (m *PackageManager) ClearPackagePreferredActivities(arg0 string) error

ClearPackagePreferredActivities calls android.content.pm.PackageManager.clearPackagePreferredActivities.

func (*PackageManager) CurrentToCanonicalPackageNames added in v0.0.4

func (m *PackageManager) CurrentToCanonicalPackageNames(arg0 *jni.Object) (*jni.Object, error)

CurrentToCanonicalPackageNames calls android.content.pm.PackageManager.currentToCanonicalPackageNames.

func (*PackageManager) ExtendVerificationTimeout added in v0.0.4

func (m *PackageManager) ExtendVerificationTimeout(
	arg0 int32,
	arg1 int32,
	arg2 int64,
) error

ExtendVerificationTimeout calls android.content.pm.PackageManager.extendVerificationTimeout.

func (*PackageManager) GetActivityBanner1 added in v0.0.4

func (m *PackageManager) GetActivityBanner1(arg0 *jni.Object) (*jni.Object, error)

GetActivityBanner1 calls android.content.pm.PackageManager.getActivityBanner.

func (*PackageManager) GetActivityBanner1_1 added in v0.0.4

func (m *PackageManager) GetActivityBanner1_1(arg0 *jni.Object) (*jni.Object, error)

GetActivityBanner1_1 calls android.content.pm.PackageManager.getActivityBanner.

func (*PackageManager) GetActivityIcon1 added in v0.0.4

func (m *PackageManager) GetActivityIcon1(arg0 *jni.Object) (*jni.Object, error)

GetActivityIcon1 calls android.content.pm.PackageManager.getActivityIcon.

func (*PackageManager) GetActivityIcon1_1 added in v0.0.4

func (m *PackageManager) GetActivityIcon1_1(arg0 *jni.Object) (*jni.Object, error)

GetActivityIcon1_1 calls android.content.pm.PackageManager.getActivityIcon.

func (*PackageManager) GetActivityInfo2 added in v0.0.4

func (m *PackageManager) GetActivityInfo2(arg0 *jni.Object, arg1 *jni.Object) (*jni.Object, error)

GetActivityInfo2 calls android.content.pm.PackageManager.getActivityInfo.

func (*PackageManager) GetActivityInfo2_1 added in v0.0.4

func (m *PackageManager) GetActivityInfo2_1(arg0 *jni.Object, arg1 int32) (*jni.Object, error)

GetActivityInfo2_1 calls android.content.pm.PackageManager.getActivityInfo.

func (*PackageManager) GetActivityLogo1 added in v0.0.4

func (m *PackageManager) GetActivityLogo1(arg0 *jni.Object) (*jni.Object, error)

GetActivityLogo1 calls android.content.pm.PackageManager.getActivityLogo.

func (*PackageManager) GetActivityLogo1_1 added in v0.0.4

func (m *PackageManager) GetActivityLogo1_1(arg0 *jni.Object) (*jni.Object, error)

GetActivityLogo1_1 calls android.content.pm.PackageManager.getActivityLogo.

func (*PackageManager) GetApplicationBanner1 added in v0.0.4

func (m *PackageManager) GetApplicationBanner1(arg0 *jni.Object) (*jni.Object, error)

GetApplicationBanner1 calls android.content.pm.PackageManager.getApplicationBanner.

func (*PackageManager) GetApplicationBanner1_1 added in v0.0.4

func (m *PackageManager) GetApplicationBanner1_1(arg0 string) (*jni.Object, error)

GetApplicationBanner1_1 calls android.content.pm.PackageManager.getApplicationBanner.

func (*PackageManager) GetApplicationEnabledSetting added in v0.0.4

func (m *PackageManager) GetApplicationEnabledSetting(arg0 string) (int32, error)

GetApplicationEnabledSetting calls android.content.pm.PackageManager.getApplicationEnabledSetting.

func (*PackageManager) GetApplicationIcon1 added in v0.0.4

func (m *PackageManager) GetApplicationIcon1(arg0 *jni.Object) (*jni.Object, error)

GetApplicationIcon1 calls android.content.pm.PackageManager.getApplicationIcon.

func (*PackageManager) GetApplicationIcon1_1 added in v0.0.4

func (m *PackageManager) GetApplicationIcon1_1(arg0 string) (*jni.Object, error)

GetApplicationIcon1_1 calls android.content.pm.PackageManager.getApplicationIcon.

func (*PackageManager) GetApplicationInfo2 added in v0.0.4

func (m *PackageManager) GetApplicationInfo2(arg0 string, arg1 *jni.Object) (*jni.Object, error)

GetApplicationInfo2 calls android.content.pm.PackageManager.getApplicationInfo.

func (*PackageManager) GetApplicationInfo2_1 added in v0.0.4

func (m *PackageManager) GetApplicationInfo2_1(arg0 string, arg1 int32) (*jni.Object, error)

GetApplicationInfo2_1 calls android.content.pm.PackageManager.getApplicationInfo.

func (*PackageManager) GetApplicationLabel added in v0.0.4

func (m *PackageManager) GetApplicationLabel(arg0 *jni.Object) (*jni.Object, error)

GetApplicationLabel calls android.content.pm.PackageManager.getApplicationLabel.

func (*PackageManager) GetApplicationLogo1 added in v0.0.4

func (m *PackageManager) GetApplicationLogo1(arg0 *jni.Object) (*jni.Object, error)

GetApplicationLogo1 calls android.content.pm.PackageManager.getApplicationLogo.

func (*PackageManager) GetApplicationLogo1_1 added in v0.0.4

func (m *PackageManager) GetApplicationLogo1_1(arg0 string) (*jni.Object, error)

GetApplicationLogo1_1 calls android.content.pm.PackageManager.getApplicationLogo.

func (*PackageManager) GetArchivedPackage added in v0.0.4

func (m *PackageManager) GetArchivedPackage(arg0 string) (*jni.Object, error)

GetArchivedPackage calls android.content.pm.PackageManager.getArchivedPackage.

func (*PackageManager) GetBackgroundPermissionOptionLabel added in v0.0.4

func (m *PackageManager) GetBackgroundPermissionOptionLabel() (*jni.Object, error)

GetBackgroundPermissionOptionLabel calls android.content.pm.PackageManager.getBackgroundPermissionOptionLabel.

func (*PackageManager) GetChangedPackages added in v0.0.4

func (m *PackageManager) GetChangedPackages(arg0 int32) (*jni.Object, error)

GetChangedPackages calls android.content.pm.PackageManager.getChangedPackages.

func (*PackageManager) GetComponentEnabledSetting added in v0.0.4

func (m *PackageManager) GetComponentEnabledSetting(arg0 *jni.Object) (int32, error)

GetComponentEnabledSetting calls android.content.pm.PackageManager.getComponentEnabledSetting.

func (*PackageManager) GetDefaultActivityIcon added in v0.0.4

func (m *PackageManager) GetDefaultActivityIcon() (*jni.Object, error)

GetDefaultActivityIcon calls android.content.pm.PackageManager.getDefaultActivityIcon.

func (*PackageManager) GetDrawable added in v0.0.4

func (m *PackageManager) GetDrawable(
	arg0 string,
	arg1 int32,
	arg2 *jni.Object,
) (*jni.Object, error)

GetDrawable calls android.content.pm.PackageManager.getDrawable.

func (*PackageManager) GetInstallSourceInfo added in v0.0.4

func (m *PackageManager) GetInstallSourceInfo(arg0 string) (*jni.Object, error)

GetInstallSourceInfo calls android.content.pm.PackageManager.getInstallSourceInfo.

func (*PackageManager) GetInstallerPackageName added in v0.0.4

func (m *PackageManager) GetInstallerPackageName(arg0 string) (string, error)

GetInstallerPackageName calls android.content.pm.PackageManager.getInstallerPackageName.

func (*PackageManager) GetInstantAppCookie added in v0.0.4

func (m *PackageManager) GetInstantAppCookie() (*jni.Object, error)

GetInstantAppCookie calls android.content.pm.PackageManager.getInstantAppCookie.

func (*PackageManager) GetInstantAppCookieMaxBytes added in v0.0.4

func (m *PackageManager) GetInstantAppCookieMaxBytes() (int32, error)

GetInstantAppCookieMaxBytes calls android.content.pm.PackageManager.getInstantAppCookieMaxBytes.

func (*PackageManager) GetInstrumentationInfo added in v0.0.4

func (m *PackageManager) GetInstrumentationInfo(arg0 *jni.Object, arg1 int32) (*jni.Object, error)

GetInstrumentationInfo calls android.content.pm.PackageManager.getInstrumentationInfo.

func (*PackageManager) GetLaunchIntentForPackage added in v0.0.4

func (m *PackageManager) GetLaunchIntentForPackage(arg0 string) (*jni.Object, error)

GetLaunchIntentForPackage calls android.content.pm.PackageManager.getLaunchIntentForPackage.

func (*PackageManager) GetLaunchIntentSenderForPackage added in v0.0.4

func (m *PackageManager) GetLaunchIntentSenderForPackage(arg0 string) (*jni.Object, error)

GetLaunchIntentSenderForPackage calls android.content.pm.PackageManager.getLaunchIntentSenderForPackage.

func (*PackageManager) GetLeanbackLaunchIntentForPackage added in v0.0.4

func (m *PackageManager) GetLeanbackLaunchIntentForPackage(arg0 string) (*jni.Object, error)

GetLeanbackLaunchIntentForPackage calls android.content.pm.PackageManager.getLeanbackLaunchIntentForPackage.

func (*PackageManager) GetModuleInfo added in v0.0.4

func (m *PackageManager) GetModuleInfo(arg0 string, arg1 int32) (*jni.Object, error)

GetModuleInfo calls android.content.pm.PackageManager.getModuleInfo.

func (*PackageManager) GetNameForUid added in v0.0.4

func (m *PackageManager) GetNameForUid(arg0 int32) (string, error)

GetNameForUid calls android.content.pm.PackageManager.getNameForUid.

func (*PackageManager) GetPackageArchiveInfo2 added in v0.0.4

func (m *PackageManager) GetPackageArchiveInfo2(arg0 string, arg1 *jni.Object) (*jni.Object, error)

GetPackageArchiveInfo2 calls android.content.pm.PackageManager.getPackageArchiveInfo.

func (*PackageManager) GetPackageArchiveInfo2_1 added in v0.0.4

func (m *PackageManager) GetPackageArchiveInfo2_1(arg0 string, arg1 int32) (*jni.Object, error)

GetPackageArchiveInfo2_1 calls android.content.pm.PackageManager.getPackageArchiveInfo.

func (*PackageManager) GetPackageGids1 added in v0.0.4

func (m *PackageManager) GetPackageGids1(arg0 string) (*jni.Object, error)

GetPackageGids1 calls android.content.pm.PackageManager.getPackageGids.

func (*PackageManager) GetPackageGids2_1 added in v0.0.4

func (m *PackageManager) GetPackageGids2_1(arg0 string, arg1 *jni.Object) (*jni.Object, error)

GetPackageGids2_1 calls android.content.pm.PackageManager.getPackageGids.

func (*PackageManager) GetPackageGids2_2 added in v0.0.4

func (m *PackageManager) GetPackageGids2_2(arg0 string, arg1 int32) (*jni.Object, error)

GetPackageGids2_2 calls android.content.pm.PackageManager.getPackageGids.

func (*PackageManager) GetPackageInfo2 added in v0.0.4

func (m *PackageManager) GetPackageInfo2(arg0 *jni.Object, arg1 *jni.Object) (*jni.Object, error)

GetPackageInfo2 calls android.content.pm.PackageManager.getPackageInfo.

func (*PackageManager) GetPackageInfo2_1 added in v0.0.4

func (m *PackageManager) GetPackageInfo2_1(arg0 *jni.Object, arg1 int32) (*jni.Object, error)

GetPackageInfo2_1 calls android.content.pm.PackageManager.getPackageInfo.

func (*PackageManager) GetPackageInfo2_2 added in v0.0.4

func (m *PackageManager) GetPackageInfo2_2(arg0 string, arg1 *jni.Object) (*jni.Object, error)

GetPackageInfo2_2 calls android.content.pm.PackageManager.getPackageInfo.

func (*PackageManager) GetPackageInfo2_3 added in v0.0.4

func (m *PackageManager) GetPackageInfo2_3(arg0 string, arg1 int32) (*jni.Object, error)

GetPackageInfo2_3 calls android.content.pm.PackageManager.getPackageInfo.

func (*PackageManager) GetPackageInstaller added in v0.0.4

func (m *PackageManager) GetPackageInstaller() (*jni.Object, error)

GetPackageInstaller calls android.content.pm.PackageManager.getPackageInstaller.

func (*PackageManager) GetPackageUid2 added in v0.0.4

func (m *PackageManager) GetPackageUid2(arg0 string, arg1 *jni.Object) (int32, error)

GetPackageUid2 calls android.content.pm.PackageManager.getPackageUid.

func (*PackageManager) GetPackageUid2_1 added in v0.0.4

func (m *PackageManager) GetPackageUid2_1(arg0 string, arg1 int32) (int32, error)

GetPackageUid2_1 calls android.content.pm.PackageManager.getPackageUid.

func (*PackageManager) GetPackagesForUid added in v0.0.4

func (m *PackageManager) GetPackagesForUid(arg0 int32) (*jni.Object, error)

GetPackagesForUid calls android.content.pm.PackageManager.getPackagesForUid.

func (*PackageManager) GetPermissionGroupInfo added in v0.0.4

func (m *PackageManager) GetPermissionGroupInfo(arg0 string, arg1 int32) (*jni.Object, error)

GetPermissionGroupInfo calls android.content.pm.PackageManager.getPermissionGroupInfo.

func (*PackageManager) GetPermissionInfo added in v0.0.4

func (m *PackageManager) GetPermissionInfo(arg0 string, arg1 int32) (*jni.Object, error)

GetPermissionInfo calls android.content.pm.PackageManager.getPermissionInfo.

func (*PackageManager) GetProperty2 added in v0.0.4

func (m *PackageManager) GetProperty2(arg0 string, arg1 *jni.Object) (*jni.Object, error)

GetProperty2 calls android.content.pm.PackageManager.getProperty.

func (*PackageManager) GetProperty2_1 added in v0.0.4

func (m *PackageManager) GetProperty2_1(arg0 string, arg1 string) (*jni.Object, error)

GetProperty2_1 calls android.content.pm.PackageManager.getProperty.

func (*PackageManager) GetProviderInfo2 added in v0.0.4

func (m *PackageManager) GetProviderInfo2(arg0 *jni.Object, arg1 *jni.Object) (*jni.Object, error)

GetProviderInfo2 calls android.content.pm.PackageManager.getProviderInfo.

func (*PackageManager) GetProviderInfo2_1 added in v0.0.4

func (m *PackageManager) GetProviderInfo2_1(arg0 *jni.Object, arg1 int32) (*jni.Object, error)

GetProviderInfo2_1 calls android.content.pm.PackageManager.getProviderInfo.

func (*PackageManager) GetReceiverInfo2 added in v0.0.4

func (m *PackageManager) GetReceiverInfo2(arg0 *jni.Object, arg1 *jni.Object) (*jni.Object, error)

GetReceiverInfo2 calls android.content.pm.PackageManager.getReceiverInfo.

func (*PackageManager) GetReceiverInfo2_1 added in v0.0.4

func (m *PackageManager) GetReceiverInfo2_1(arg0 *jni.Object, arg1 int32) (*jni.Object, error)

GetReceiverInfo2_1 calls android.content.pm.PackageManager.getReceiverInfo.

func (*PackageManager) GetResourcesForActivity added in v0.0.4

func (m *PackageManager) GetResourcesForActivity(arg0 *jni.Object) (*jni.Object, error)

GetResourcesForActivity calls android.content.pm.PackageManager.getResourcesForActivity.

func (*PackageManager) GetResourcesForApplication1 added in v0.0.4

func (m *PackageManager) GetResourcesForApplication1(arg0 *jni.Object) (*jni.Object, error)

GetResourcesForApplication1 calls android.content.pm.PackageManager.getResourcesForApplication.

func (*PackageManager) GetResourcesForApplication1_2 added in v0.0.4

func (m *PackageManager) GetResourcesForApplication1_2(arg0 string) (*jni.Object, error)

GetResourcesForApplication1_2 calls android.content.pm.PackageManager.getResourcesForApplication.

func (*PackageManager) GetResourcesForApplication2_1 added in v0.0.4

func (m *PackageManager) GetResourcesForApplication2_1(arg0 *jni.Object, arg1 *jni.Object) (*jni.Object, error)

GetResourcesForApplication2_1 calls android.content.pm.PackageManager.getResourcesForApplication.

func (*PackageManager) GetServiceInfo2 added in v0.0.4

func (m *PackageManager) GetServiceInfo2(arg0 *jni.Object, arg1 *jni.Object) (*jni.Object, error)

GetServiceInfo2 calls android.content.pm.PackageManager.getServiceInfo.

func (*PackageManager) GetServiceInfo2_1 added in v0.0.4

func (m *PackageManager) GetServiceInfo2_1(arg0 *jni.Object, arg1 int32) (*jni.Object, error)

GetServiceInfo2_1 calls android.content.pm.PackageManager.getServiceInfo.

func (*PackageManager) GetSuspendedPackageAppExtras added in v0.0.4

func (m *PackageManager) GetSuspendedPackageAppExtras() (*jni.Object, error)

GetSuspendedPackageAppExtras calls android.content.pm.PackageManager.getSuspendedPackageAppExtras.

func (*PackageManager) GetSyntheticAppDetailsActivityEnabled added in v0.0.4

func (m *PackageManager) GetSyntheticAppDetailsActivityEnabled(arg0 string) (bool, error)

GetSyntheticAppDetailsActivityEnabled calls android.content.pm.PackageManager.getSyntheticAppDetailsActivityEnabled.

func (*PackageManager) GetSystemAvailableFeatures added in v0.0.4

func (m *PackageManager) GetSystemAvailableFeatures() (*jni.Object, error)

GetSystemAvailableFeatures calls android.content.pm.PackageManager.getSystemAvailableFeatures.

func (*PackageManager) GetSystemSharedLibraryNames added in v0.0.4

func (m *PackageManager) GetSystemSharedLibraryNames() (*jni.Object, error)

GetSystemSharedLibraryNames calls android.content.pm.PackageManager.getSystemSharedLibraryNames.

func (*PackageManager) GetTargetSdkVersion added in v0.0.4

func (m *PackageManager) GetTargetSdkVersion(arg0 string) (int32, error)

GetTargetSdkVersion calls android.content.pm.PackageManager.getTargetSdkVersion.

func (*PackageManager) GetText added in v0.0.4

func (m *PackageManager) GetText(
	arg0 string,
	arg1 int32,
	arg2 *jni.Object,
) (*jni.Object, error)

GetText calls android.content.pm.PackageManager.getText.

func (*PackageManager) GetUserBadgedDrawableForDensity added in v0.0.4

func (m *PackageManager) GetUserBadgedDrawableForDensity(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 *jni.Object,
	arg3 int32,
) (*jni.Object, error)

GetUserBadgedDrawableForDensity calls android.content.pm.PackageManager.getUserBadgedDrawableForDensity.

func (*PackageManager) GetUserBadgedIcon added in v0.0.4

func (m *PackageManager) GetUserBadgedIcon(arg0 *jni.Object, arg1 *jni.Object) (*jni.Object, error)

GetUserBadgedIcon calls android.content.pm.PackageManager.getUserBadgedIcon.

func (*PackageManager) GetUserBadgedLabel added in v0.0.4

func (m *PackageManager) GetUserBadgedLabel(arg0 string, arg1 *jni.Object) (*jni.Object, error)

GetUserBadgedLabel calls android.content.pm.PackageManager.getUserBadgedLabel.

func (*PackageManager) GetVerifiedSigningInfo added in v0.0.4

func (m *PackageManager) GetVerifiedSigningInfo(arg0 string, arg1 int32) (*jni.Object, error)

GetVerifiedSigningInfo calls android.content.pm.PackageManager.getVerifiedSigningInfo.

func (*PackageManager) GetXml added in v0.0.4

func (m *PackageManager) GetXml(
	arg0 string,
	arg1 int32,
	arg2 *jni.Object,
) (*jni.Object, error)

GetXml calls android.content.pm.PackageManager.getXml.

func (*PackageManager) HasSigningCertificate3 added in v0.0.4

func (m *PackageManager) HasSigningCertificate3(
	arg0 int32,
	arg1 *jni.Object,
	arg2 int32,
) (bool, error)

HasSigningCertificate3 calls android.content.pm.PackageManager.hasSigningCertificate.

func (*PackageManager) HasSigningCertificate3_1 added in v0.0.4

func (m *PackageManager) HasSigningCertificate3_1(
	arg0 string,
	arg1 *jni.Object,
	arg2 int32,
) (bool, error)

HasSigningCertificate3_1 calls android.content.pm.PackageManager.hasSigningCertificate.

func (*PackageManager) HasSystemFeature1 added in v0.0.4

func (m *PackageManager) HasSystemFeature1(arg0 string) (bool, error)

HasSystemFeature1 calls android.content.pm.PackageManager.hasSystemFeature.

func (*PackageManager) HasSystemFeature2_1 added in v0.0.4

func (m *PackageManager) HasSystemFeature2_1(arg0 string, arg1 int32) (bool, error)

HasSystemFeature2_1 calls android.content.pm.PackageManager.hasSystemFeature.

func (*PackageManager) IsAppArchivable added in v0.0.4

func (m *PackageManager) IsAppArchivable(arg0 string) (bool, error)

IsAppArchivable calls android.content.pm.PackageManager.isAppArchivable.

func (*PackageManager) IsAutoRevokeWhitelisted0 added in v0.0.4

func (m *PackageManager) IsAutoRevokeWhitelisted0() (bool, error)

IsAutoRevokeWhitelisted0 calls android.content.pm.PackageManager.isAutoRevokeWhitelisted.

func (*PackageManager) IsAutoRevokeWhitelisted1_1 added in v0.0.4

func (m *PackageManager) IsAutoRevokeWhitelisted1_1(arg0 string) (bool, error)

IsAutoRevokeWhitelisted1_1 calls android.content.pm.PackageManager.isAutoRevokeWhitelisted.

func (*PackageManager) IsDefaultApplicationIcon added in v0.0.4

func (m *PackageManager) IsDefaultApplicationIcon(arg0 *jni.Object) (bool, error)

IsDefaultApplicationIcon calls android.content.pm.PackageManager.isDefaultApplicationIcon.

func (*PackageManager) IsDeviceUpgrading added in v0.0.4

func (m *PackageManager) IsDeviceUpgrading() (bool, error)

IsDeviceUpgrading calls android.content.pm.PackageManager.isDeviceUpgrading.

func (*PackageManager) IsInstantApp0 added in v0.0.4

func (m *PackageManager) IsInstantApp0() (bool, error)

IsInstantApp0 calls android.content.pm.PackageManager.isInstantApp.

func (*PackageManager) IsInstantApp1_1 added in v0.0.4

func (m *PackageManager) IsInstantApp1_1(arg0 string) (bool, error)

IsInstantApp1_1 calls android.content.pm.PackageManager.isInstantApp.

func (*PackageManager) IsPackageStopped added in v0.0.4

func (m *PackageManager) IsPackageStopped(arg0 string) (bool, error)

IsPackageStopped calls android.content.pm.PackageManager.isPackageStopped.

func (*PackageManager) IsPackageSuspended0 added in v0.0.4

func (m *PackageManager) IsPackageSuspended0() (bool, error)

IsPackageSuspended0 calls android.content.pm.PackageManager.isPackageSuspended.

func (*PackageManager) IsPackageSuspended1_1 added in v0.0.4

func (m *PackageManager) IsPackageSuspended1_1(arg0 string) (bool, error)

IsPackageSuspended1_1 calls android.content.pm.PackageManager.isPackageSuspended.

func (*PackageManager) IsPermissionRevokedByPolicy added in v0.0.4

func (m *PackageManager) IsPermissionRevokedByPolicy(arg0 string, arg1 string) (bool, error)

IsPermissionRevokedByPolicy calls android.content.pm.PackageManager.isPermissionRevokedByPolicy.

func (*PackageManager) IsSafeMode added in v0.0.4

func (m *PackageManager) IsSafeMode() (bool, error)

IsSafeMode calls android.content.pm.PackageManager.isSafeMode.

func (*PackageManager) RelinquishUpdateOwnership added in v0.0.4

func (m *PackageManager) RelinquishUpdateOwnership(arg0 string) error

RelinquishUpdateOwnership calls android.content.pm.PackageManager.relinquishUpdateOwnership.

func (*PackageManager) RemovePackageFromPreferred added in v0.0.4

func (m *PackageManager) RemovePackageFromPreferred(arg0 string) error

RemovePackageFromPreferred calls android.content.pm.PackageManager.removePackageFromPreferred.

func (*PackageManager) RemovePermission added in v0.0.4

func (m *PackageManager) RemovePermission(arg0 string) error

RemovePermission calls android.content.pm.PackageManager.removePermission.

func (*PackageManager) RemoveWhitelistedRestrictedPermission added in v0.0.4

func (m *PackageManager) RemoveWhitelistedRestrictedPermission(
	arg0 string,
	arg1 string,
	arg2 int32,
) (bool, error)

RemoveWhitelistedRestrictedPermission calls android.content.pm.PackageManager.removeWhitelistedRestrictedPermission.

func (*PackageManager) ResolveActivity2 added in v0.0.4

func (m *PackageManager) ResolveActivity2(arg0 *jni.Object, arg1 *jni.Object) (*jni.Object, error)

ResolveActivity2 calls android.content.pm.PackageManager.resolveActivity.

func (*PackageManager) ResolveActivity2_1 added in v0.0.4

func (m *PackageManager) ResolveActivity2_1(arg0 *jni.Object, arg1 int32) (*jni.Object, error)

ResolveActivity2_1 calls android.content.pm.PackageManager.resolveActivity.

func (*PackageManager) ResolveContentProvider2 added in v0.0.4

func (m *PackageManager) ResolveContentProvider2(arg0 string, arg1 *jni.Object) (*jni.Object, error)

ResolveContentProvider2 calls android.content.pm.PackageManager.resolveContentProvider.

func (*PackageManager) ResolveContentProvider2_1 added in v0.0.4

func (m *PackageManager) ResolveContentProvider2_1(arg0 string, arg1 int32) (*jni.Object, error)

ResolveContentProvider2_1 calls android.content.pm.PackageManager.resolveContentProvider.

func (*PackageManager) ResolveService2 added in v0.0.4

func (m *PackageManager) ResolveService2(arg0 *jni.Object, arg1 *jni.Object) (*jni.Object, error)

ResolveService2 calls android.content.pm.PackageManager.resolveService.

func (*PackageManager) ResolveService2_1 added in v0.0.4

func (m *PackageManager) ResolveService2_1(arg0 *jni.Object, arg1 int32) (*jni.Object, error)

ResolveService2_1 calls android.content.pm.PackageManager.resolveService.

func (*PackageManager) SetApplicationCategoryHint added in v0.0.4

func (m *PackageManager) SetApplicationCategoryHint(arg0 string, arg1 int32) error

SetApplicationCategoryHint calls android.content.pm.PackageManager.setApplicationCategoryHint.

func (*PackageManager) SetApplicationEnabledSetting added in v0.0.4

func (m *PackageManager) SetApplicationEnabledSetting(
	arg0 string,
	arg1 int32,
	arg2 int32,
) error

SetApplicationEnabledSetting calls android.content.pm.PackageManager.setApplicationEnabledSetting.

func (*PackageManager) SetAutoRevokeWhitelisted added in v0.0.4

func (m *PackageManager) SetAutoRevokeWhitelisted(arg0 string, arg1 bool) (bool, error)

SetAutoRevokeWhitelisted calls android.content.pm.PackageManager.setAutoRevokeWhitelisted.

func (*PackageManager) SetComponentEnabledSetting added in v0.0.4

func (m *PackageManager) SetComponentEnabledSetting(
	arg0 *jni.Object,
	arg1 int32,
	arg2 int32,
) error

SetComponentEnabledSetting calls android.content.pm.PackageManager.setComponentEnabledSetting.

func (*PackageManager) SetInstallerPackageName added in v0.0.4

func (m *PackageManager) SetInstallerPackageName(arg0 string, arg1 string) error

SetInstallerPackageName calls android.content.pm.PackageManager.setInstallerPackageName.

func (*PackageManager) UpdateInstantAppCookie added in v0.0.4

func (m *PackageManager) UpdateInstantAppCookie(arg0 *jni.Object) error

UpdateInstantAppCookie calls android.content.pm.PackageManager.updateInstantAppCookie.

func (*PackageManager) VerifyPendingInstall added in v0.0.4

func (m *PackageManager) VerifyPendingInstall(arg0 int32, arg1 int32) error

VerifyPendingInstall calls android.content.pm.PackageManager.verifyPendingInstall.

type PackageManagerApplicationInfoFlags added in v0.0.7

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

PackageManagerApplicationInfoFlags wraps android.content.pm.PackageManager$ApplicationInfoFlags.

func (*PackageManagerApplicationInfoFlags) GetValue added in v0.0.7

GetValue calls android.content.pm.PackageManager$ApplicationInfoFlags.getValue.

func (*PackageManagerApplicationInfoFlags) Of added in v0.0.7

Of calls android.content.pm.PackageManager$ApplicationInfoFlags.of.

type PackageManagerComponentEnabledSetting added in v0.0.7

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

PackageManagerComponentEnabledSetting wraps android.content.pm.PackageManager$ComponentEnabledSetting.

func (*PackageManagerComponentEnabledSetting) DescribeContents added in v0.0.7

func (m *PackageManagerComponentEnabledSetting) DescribeContents() (int32, error)

DescribeContents calls android.content.pm.PackageManager$ComponentEnabledSetting.describeContents.

func (*PackageManagerComponentEnabledSetting) GetComponentName added in v0.0.7

func (m *PackageManagerComponentEnabledSetting) GetComponentName() (*jni.Object, error)

GetComponentName calls android.content.pm.PackageManager$ComponentEnabledSetting.getComponentName.

func (*PackageManagerComponentEnabledSetting) GetEnabledFlags added in v0.0.7

func (m *PackageManagerComponentEnabledSetting) GetEnabledFlags() (int32, error)

GetEnabledFlags calls android.content.pm.PackageManager$ComponentEnabledSetting.getEnabledFlags.

func (*PackageManagerComponentEnabledSetting) GetEnabledState added in v0.0.7

func (m *PackageManagerComponentEnabledSetting) GetEnabledState() (int32, error)

GetEnabledState calls android.content.pm.PackageManager$ComponentEnabledSetting.getEnabledState.

func (*PackageManagerComponentEnabledSetting) WriteToParcel added in v0.0.7

func (m *PackageManagerComponentEnabledSetting) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.content.pm.PackageManager$ComponentEnabledSetting.writeToParcel.

type PackageManagerComponentInfoFlags added in v0.0.7

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

PackageManagerComponentInfoFlags wraps android.content.pm.PackageManager$ComponentInfoFlags.

func (*PackageManagerComponentInfoFlags) GetValue added in v0.0.7

func (m *PackageManagerComponentInfoFlags) GetValue() (int64, error)

GetValue calls android.content.pm.PackageManager$ComponentInfoFlags.getValue.

func (*PackageManagerComponentInfoFlags) Of added in v0.0.7

Of calls android.content.pm.PackageManager$ComponentInfoFlags.of.

type PackageManagerPackageInfoFlags added in v0.0.7

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

PackageManagerPackageInfoFlags wraps android.content.pm.PackageManager$PackageInfoFlags.

func (*PackageManagerPackageInfoFlags) GetValue added in v0.0.7

func (m *PackageManagerPackageInfoFlags) GetValue() (int64, error)

GetValue calls android.content.pm.PackageManager$PackageInfoFlags.getValue.

func (*PackageManagerPackageInfoFlags) Of added in v0.0.7

Of calls android.content.pm.PackageManager$PackageInfoFlags.of.

type PackageManagerProperty added in v0.0.7

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

PackageManagerProperty wraps android.content.pm.PackageManager$Property.

func (*PackageManagerProperty) DescribeContents added in v0.0.7

func (m *PackageManagerProperty) DescribeContents() (int32, error)

DescribeContents calls android.content.pm.PackageManager$Property.describeContents.

func (*PackageManagerProperty) Equals added in v0.0.7

func (m *PackageManagerProperty) Equals(arg0 *jni.Object) (bool, error)

Equals calls android.content.pm.PackageManager$Property.equals.

func (*PackageManagerProperty) GetBoolean added in v0.0.7

func (m *PackageManagerProperty) GetBoolean() (bool, error)

GetBoolean calls android.content.pm.PackageManager$Property.getBoolean.

func (*PackageManagerProperty) GetClassName added in v0.0.7

func (m *PackageManagerProperty) GetClassName() (string, error)

GetClassName calls android.content.pm.PackageManager$Property.getClassName.

func (*PackageManagerProperty) GetFloat added in v0.0.7

func (m *PackageManagerProperty) GetFloat() (float32, error)

GetFloat calls android.content.pm.PackageManager$Property.getFloat.

func (*PackageManagerProperty) GetInteger added in v0.0.7

func (m *PackageManagerProperty) GetInteger() (int32, error)

GetInteger calls android.content.pm.PackageManager$Property.getInteger.

func (*PackageManagerProperty) GetName added in v0.0.7

func (m *PackageManagerProperty) GetName() (string, error)

GetName calls android.content.pm.PackageManager$Property.getName.

func (*PackageManagerProperty) GetPackageName added in v0.0.7

func (m *PackageManagerProperty) GetPackageName() (string, error)

GetPackageName calls android.content.pm.PackageManager$Property.getPackageName.

func (*PackageManagerProperty) GetResourceId added in v0.0.7

func (m *PackageManagerProperty) GetResourceId() (int32, error)

GetResourceId calls android.content.pm.PackageManager$Property.getResourceId.

func (*PackageManagerProperty) GetString added in v0.0.7

func (m *PackageManagerProperty) GetString() (string, error)

GetString calls android.content.pm.PackageManager$Property.getString.

func (*PackageManagerProperty) HashCode added in v0.0.7

func (m *PackageManagerProperty) HashCode() (int32, error)

HashCode calls android.content.pm.PackageManager$Property.hashCode.

func (*PackageManagerProperty) IsBoolean added in v0.0.7

func (m *PackageManagerProperty) IsBoolean() (bool, error)

IsBoolean calls android.content.pm.PackageManager$Property.isBoolean.

func (*PackageManagerProperty) IsFloat added in v0.0.7

func (m *PackageManagerProperty) IsFloat() (bool, error)

IsFloat calls android.content.pm.PackageManager$Property.isFloat.

func (*PackageManagerProperty) IsInteger added in v0.0.7

func (m *PackageManagerProperty) IsInteger() (bool, error)

IsInteger calls android.content.pm.PackageManager$Property.isInteger.

func (*PackageManagerProperty) IsResourceId added in v0.0.7

func (m *PackageManagerProperty) IsResourceId() (bool, error)

IsResourceId calls android.content.pm.PackageManager$Property.isResourceId.

func (*PackageManagerProperty) IsString added in v0.0.7

func (m *PackageManagerProperty) IsString() (bool, error)

IsString calls android.content.pm.PackageManager$Property.isString.

func (*PackageManagerProperty) WriteToParcel added in v0.0.7

func (m *PackageManagerProperty) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.content.pm.PackageManager$Property.writeToParcel.

type PackageManagerResolveInfoFlags added in v0.0.7

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

PackageManagerResolveInfoFlags wraps android.content.pm.PackageManager$ResolveInfoFlags.

func (*PackageManagerResolveInfoFlags) GetValue added in v0.0.7

func (m *PackageManagerResolveInfoFlags) GetValue() (int64, error)

GetValue calls android.content.pm.PackageManager$ResolveInfoFlags.getValue.

func (*PackageManagerResolveInfoFlags) Of added in v0.0.7

Of calls android.content.pm.PackageManager$ResolveInfoFlags.of.

type PackageStats added in v0.0.7

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

PackageStats wraps android.content.pm.PackageStats.

func NewPackageStats added in v0.0.7

func NewPackageStats(vm *jni.VM, arg0 *jni.Object) (*PackageStats, error)

NewPackageStats creates a new android.content.pm.PackageStats instance.

func (*PackageStats) DescribeContents added in v0.0.7

func (m *PackageStats) DescribeContents() (int32, error)

DescribeContents calls android.content.pm.PackageStats.describeContents.

func (*PackageStats) Equals added in v0.0.7

func (m *PackageStats) Equals(arg0 *jni.Object) (bool, error)

Equals calls android.content.pm.PackageStats.equals.

func (*PackageStats) HashCode added in v0.0.7

func (m *PackageStats) HashCode() (int32, error)

HashCode calls android.content.pm.PackageStats.hashCode.

func (*PackageStats) ToString added in v0.0.7

func (m *PackageStats) ToString() (string, error)

ToString calls android.content.pm.PackageStats.toString.

func (*PackageStats) WriteToParcel added in v0.0.7

func (m *PackageStats) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.content.pm.PackageStats.writeToParcel.

type PathPermission added in v0.0.7

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

PathPermission wraps android.content.pm.PathPermission.

func NewPathPermission added in v0.0.7

func NewPathPermission(vm *jni.VM, arg0 *jni.Object) (*PathPermission, error)

NewPathPermission creates a new android.content.pm.PathPermission instance.

func (*PathPermission) GetReadPermission added in v0.0.7

func (m *PathPermission) GetReadPermission() (string, error)

GetReadPermission calls android.content.pm.PathPermission.getReadPermission.

func (*PathPermission) GetWritePermission added in v0.0.7

func (m *PathPermission) GetWritePermission() (string, error)

GetWritePermission calls android.content.pm.PathPermission.getWritePermission.

func (*PathPermission) WriteToParcel added in v0.0.7

func (m *PathPermission) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.content.pm.PathPermission.writeToParcel.

type PermissionGroupInfo added in v0.0.7

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

PermissionGroupInfo wraps android.content.pm.PermissionGroupInfo.

func NewPermissionGroupInfo added in v0.0.7

func NewPermissionGroupInfo(vm *jni.VM) (*PermissionGroupInfo, error)

NewPermissionGroupInfo creates a new android.content.pm.PermissionGroupInfo instance.

func (*PermissionGroupInfo) DescribeContents added in v0.0.7

func (m *PermissionGroupInfo) DescribeContents() (int32, error)

DescribeContents calls android.content.pm.PermissionGroupInfo.describeContents.

func (*PermissionGroupInfo) LoadDescription added in v0.0.7

func (m *PermissionGroupInfo) LoadDescription(arg0 *jni.Object) (*jni.Object, error)

LoadDescription calls android.content.pm.PermissionGroupInfo.loadDescription.

func (*PermissionGroupInfo) ToString added in v0.0.7

func (m *PermissionGroupInfo) ToString() (string, error)

ToString calls android.content.pm.PermissionGroupInfo.toString.

func (*PermissionGroupInfo) WriteToParcel added in v0.0.7

func (m *PermissionGroupInfo) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.content.pm.PermissionGroupInfo.writeToParcel.

type PermissionInfo added in v0.0.7

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

PermissionInfo wraps android.content.pm.PermissionInfo.

func NewPermissionInfo added in v0.0.7

func NewPermissionInfo(vm *jni.VM) (*PermissionInfo, error)

NewPermissionInfo creates a new android.content.pm.PermissionInfo instance.

func (*PermissionInfo) DescribeContents added in v0.0.7

func (m *PermissionInfo) DescribeContents() (int32, error)

DescribeContents calls android.content.pm.PermissionInfo.describeContents.

func (*PermissionInfo) GetProtection added in v0.0.7

func (m *PermissionInfo) GetProtection() (int32, error)

GetProtection calls android.content.pm.PermissionInfo.getProtection.

func (*PermissionInfo) GetProtectionFlags added in v0.0.7

func (m *PermissionInfo) GetProtectionFlags() (int32, error)

GetProtectionFlags calls android.content.pm.PermissionInfo.getProtectionFlags.

func (*PermissionInfo) LoadDescription added in v0.0.7

func (m *PermissionInfo) LoadDescription(arg0 *jni.Object) (*jni.Object, error)

LoadDescription calls android.content.pm.PermissionInfo.loadDescription.

func (*PermissionInfo) ToString added in v0.0.7

func (m *PermissionInfo) ToString() (string, error)

ToString calls android.content.pm.PermissionInfo.toString.

func (*PermissionInfo) WriteToParcel added in v0.0.7

func (m *PermissionInfo) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.content.pm.PermissionInfo.writeToParcel.

type ProviderInfo added in v0.0.7

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

ProviderInfo wraps android.content.pm.ProviderInfo.

func NewProviderInfo added in v0.0.7

func NewProviderInfo(vm *jni.VM) (*ProviderInfo, error)

NewProviderInfo creates a new android.content.pm.ProviderInfo instance.

func (*ProviderInfo) DescribeContents added in v0.0.7

func (m *ProviderInfo) DescribeContents() (int32, error)

DescribeContents calls android.content.pm.ProviderInfo.describeContents.

func (*ProviderInfo) Dump added in v0.0.7

func (m *ProviderInfo) Dump(arg0 *jni.Object, arg1 string) error

Dump calls android.content.pm.ProviderInfo.dump.

func (*ProviderInfo) ToString added in v0.0.7

func (m *ProviderInfo) ToString() (string, error)

ToString calls android.content.pm.ProviderInfo.toString.

func (*ProviderInfo) WriteToParcel added in v0.0.7

func (m *ProviderInfo) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.content.pm.ProviderInfo.writeToParcel.

type ResolveInfo added in v0.0.7

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

ResolveInfo wraps android.content.pm.ResolveInfo.

func NewResolveInfo added in v0.0.7

func NewResolveInfo(vm *jni.VM) (*ResolveInfo, error)

NewResolveInfo creates a new android.content.pm.ResolveInfo instance.

func (*ResolveInfo) DescribeContents added in v0.0.7

func (m *ResolveInfo) DescribeContents() (int32, error)

DescribeContents calls android.content.pm.ResolveInfo.describeContents.

func (*ResolveInfo) Dump added in v0.0.7

func (m *ResolveInfo) Dump(arg0 *jni.Object, arg1 string) error

Dump calls android.content.pm.ResolveInfo.dump.

func (*ResolveInfo) GetIconResource added in v0.0.7

func (m *ResolveInfo) GetIconResource() (int32, error)

GetIconResource calls android.content.pm.ResolveInfo.getIconResource.

func (*ResolveInfo) IsCrossProfileIntentForwarderActivity added in v0.0.7

func (m *ResolveInfo) IsCrossProfileIntentForwarderActivity() (bool, error)

IsCrossProfileIntentForwarderActivity calls android.content.pm.ResolveInfo.isCrossProfileIntentForwarderActivity.

func (*ResolveInfo) LoadIcon added in v0.0.7

func (m *ResolveInfo) LoadIcon(arg0 *jni.Object) (*jni.Object, error)

LoadIcon calls android.content.pm.ResolveInfo.loadIcon.

func (*ResolveInfo) LoadLabel added in v0.0.7

func (m *ResolveInfo) LoadLabel(arg0 *jni.Object) (*jni.Object, error)

LoadLabel calls android.content.pm.ResolveInfo.loadLabel.

func (*ResolveInfo) ToString added in v0.0.7

func (m *ResolveInfo) ToString() (string, error)

ToString calls android.content.pm.ResolveInfo.toString.

func (*ResolveInfo) WriteToParcel added in v0.0.7

func (m *ResolveInfo) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.content.pm.ResolveInfo.writeToParcel.

type ResolveInfoDisplayNameComparator added in v0.0.7

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

ResolveInfoDisplayNameComparator wraps android.content.pm.ResolveInfo$DisplayNameComparator.

func (*ResolveInfoDisplayNameComparator) Compare2 added in v0.0.7

func (m *ResolveInfoDisplayNameComparator) Compare2(arg0 *jni.Object, arg1 *jni.Object) (int32, error)

Compare2 calls android.content.pm.ResolveInfo$DisplayNameComparator.compare.

func (*ResolveInfoDisplayNameComparator) Compare2_1 added in v0.0.7

func (m *ResolveInfoDisplayNameComparator) Compare2_1(arg0 *jni.Object, arg1 *jni.Object) (int32, error)

Compare2_1 calls android.content.pm.ResolveInfo$DisplayNameComparator.compare.

type ServiceInfo added in v0.0.7

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

ServiceInfo wraps android.content.pm.ServiceInfo.

func NewServiceInfo added in v0.0.7

func NewServiceInfo(vm *jni.VM) (*ServiceInfo, error)

NewServiceInfo creates a new android.content.pm.ServiceInfo instance.

func (*ServiceInfo) DescribeContents added in v0.0.7

func (m *ServiceInfo) DescribeContents() (int32, error)

DescribeContents calls android.content.pm.ServiceInfo.describeContents.

func (*ServiceInfo) Dump added in v0.0.7

func (m *ServiceInfo) Dump(arg0 *jni.Object, arg1 string) error

Dump calls android.content.pm.ServiceInfo.dump.

func (*ServiceInfo) GetForegroundServiceType added in v0.0.7

func (m *ServiceInfo) GetForegroundServiceType() (int32, error)

GetForegroundServiceType calls android.content.pm.ServiceInfo.getForegroundServiceType.

func (*ServiceInfo) ToString added in v0.0.7

func (m *ServiceInfo) ToString() (string, error)

ToString calls android.content.pm.ServiceInfo.toString.

func (*ServiceInfo) WriteToParcel added in v0.0.7

func (m *ServiceInfo) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.content.pm.ServiceInfo.writeToParcel.

type SharedLibraryInfo added in v0.0.7

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

SharedLibraryInfo wraps android.content.pm.SharedLibraryInfo.

func (*SharedLibraryInfo) DescribeContents added in v0.0.7

func (m *SharedLibraryInfo) DescribeContents() (int32, error)

DescribeContents calls android.content.pm.SharedLibraryInfo.describeContents.

func (*SharedLibraryInfo) GetDeclaringPackage added in v0.0.7

func (m *SharedLibraryInfo) GetDeclaringPackage() (*jni.Object, error)

GetDeclaringPackage calls android.content.pm.SharedLibraryInfo.getDeclaringPackage.

func (*SharedLibraryInfo) GetLongVersion added in v0.0.7

func (m *SharedLibraryInfo) GetLongVersion() (int64, error)

GetLongVersion calls android.content.pm.SharedLibraryInfo.getLongVersion.

func (*SharedLibraryInfo) GetName added in v0.0.7

func (m *SharedLibraryInfo) GetName() (string, error)

GetName calls android.content.pm.SharedLibraryInfo.getName.

func (*SharedLibraryInfo) GetType added in v0.0.7

func (m *SharedLibraryInfo) GetType() (int32, error)

GetType calls android.content.pm.SharedLibraryInfo.getType.

func (*SharedLibraryInfo) GetVersion added in v0.0.7

func (m *SharedLibraryInfo) GetVersion() (int32, error)

GetVersion calls android.content.pm.SharedLibraryInfo.getVersion.

func (*SharedLibraryInfo) ToString added in v0.0.7

func (m *SharedLibraryInfo) ToString() (string, error)

ToString calls android.content.pm.SharedLibraryInfo.toString.

func (*SharedLibraryInfo) WriteToParcel added in v0.0.7

func (m *SharedLibraryInfo) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.content.pm.SharedLibraryInfo.writeToParcel.

type ShortcutInfo added in v0.0.7

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

ShortcutInfo wraps android.content.pm.ShortcutInfo.

func (*ShortcutInfo) CreateFromGenericDocument added in v0.0.7

func (m *ShortcutInfo) CreateFromGenericDocument(arg0 *jni.Object, arg1 *jni.Object) (*jni.Object, error)

CreateFromGenericDocument calls android.content.pm.ShortcutInfo.createFromGenericDocument.

func (*ShortcutInfo) DescribeContents added in v0.0.7

func (m *ShortcutInfo) DescribeContents() (int32, error)

DescribeContents calls android.content.pm.ShortcutInfo.describeContents.

func (*ShortcutInfo) GetActivity added in v0.0.7

func (m *ShortcutInfo) GetActivity() (*jni.Object, error)

GetActivity calls android.content.pm.ShortcutInfo.getActivity.

func (*ShortcutInfo) GetDisabledMessage added in v0.0.7

func (m *ShortcutInfo) GetDisabledMessage() (*jni.Object, error)

GetDisabledMessage calls android.content.pm.ShortcutInfo.getDisabledMessage.

func (*ShortcutInfo) GetDisabledReason added in v0.0.7

func (m *ShortcutInfo) GetDisabledReason() (int32, error)

GetDisabledReason calls android.content.pm.ShortcutInfo.getDisabledReason.

func (*ShortcutInfo) GetExcludedFromSurfaces added in v0.0.7

func (m *ShortcutInfo) GetExcludedFromSurfaces() (int32, error)

GetExcludedFromSurfaces calls android.content.pm.ShortcutInfo.getExcludedFromSurfaces.

func (*ShortcutInfo) GetExtras added in v0.0.7

func (m *ShortcutInfo) GetExtras() (*jni.Object, error)

GetExtras calls android.content.pm.ShortcutInfo.getExtras.

func (*ShortcutInfo) GetId added in v0.0.7

func (m *ShortcutInfo) GetId() (string, error)

GetId calls android.content.pm.ShortcutInfo.getId.

func (*ShortcutInfo) GetIntent added in v0.0.7

func (m *ShortcutInfo) GetIntent() (*jni.Object, error)

GetIntent calls android.content.pm.ShortcutInfo.getIntent.

func (*ShortcutInfo) GetIntents added in v0.0.7

func (m *ShortcutInfo) GetIntents() (*jni.Object, error)

GetIntents calls android.content.pm.ShortcutInfo.getIntents.

func (*ShortcutInfo) GetLastChangedTimestamp added in v0.0.7

func (m *ShortcutInfo) GetLastChangedTimestamp() (int64, error)

GetLastChangedTimestamp calls android.content.pm.ShortcutInfo.getLastChangedTimestamp.

func (*ShortcutInfo) GetLocusId added in v0.0.7

func (m *ShortcutInfo) GetLocusId() (*jni.Object, error)

GetLocusId calls android.content.pm.ShortcutInfo.getLocusId.

func (*ShortcutInfo) GetLongLabel added in v0.0.7

func (m *ShortcutInfo) GetLongLabel() (*jni.Object, error)

GetLongLabel calls android.content.pm.ShortcutInfo.getLongLabel.

func (*ShortcutInfo) GetPackage added in v0.0.7

func (m *ShortcutInfo) GetPackage() (string, error)

GetPackage calls android.content.pm.ShortcutInfo.getPackage.

func (*ShortcutInfo) GetRank added in v0.0.7

func (m *ShortcutInfo) GetRank() (int32, error)

GetRank calls android.content.pm.ShortcutInfo.getRank.

func (*ShortcutInfo) GetShortLabel added in v0.0.7

func (m *ShortcutInfo) GetShortLabel() (*jni.Object, error)

GetShortLabel calls android.content.pm.ShortcutInfo.getShortLabel.

func (*ShortcutInfo) GetUserHandle added in v0.0.7

func (m *ShortcutInfo) GetUserHandle() (*jni.Object, error)

GetUserHandle calls android.content.pm.ShortcutInfo.getUserHandle.

func (*ShortcutInfo) HasKeyFieldsOnly added in v0.0.7

func (m *ShortcutInfo) HasKeyFieldsOnly() (bool, error)

HasKeyFieldsOnly calls android.content.pm.ShortcutInfo.hasKeyFieldsOnly.

func (*ShortcutInfo) IsCached added in v0.0.7

func (m *ShortcutInfo) IsCached() (bool, error)

IsCached calls android.content.pm.ShortcutInfo.isCached.

func (*ShortcutInfo) IsDeclaredInManifest added in v0.0.7

func (m *ShortcutInfo) IsDeclaredInManifest() (bool, error)

IsDeclaredInManifest calls android.content.pm.ShortcutInfo.isDeclaredInManifest.

func (*ShortcutInfo) IsDynamic added in v0.0.7

func (m *ShortcutInfo) IsDynamic() (bool, error)

IsDynamic calls android.content.pm.ShortcutInfo.isDynamic.

func (*ShortcutInfo) IsEnabled added in v0.0.7

func (m *ShortcutInfo) IsEnabled() (bool, error)

IsEnabled calls android.content.pm.ShortcutInfo.isEnabled.

func (*ShortcutInfo) IsExcludedFromSurfaces added in v0.0.7

func (m *ShortcutInfo) IsExcludedFromSurfaces(arg0 int32) (bool, error)

IsExcludedFromSurfaces calls android.content.pm.ShortcutInfo.isExcludedFromSurfaces.

func (*ShortcutInfo) IsImmutable added in v0.0.7

func (m *ShortcutInfo) IsImmutable() (bool, error)

IsImmutable calls android.content.pm.ShortcutInfo.isImmutable.

func (*ShortcutInfo) IsPinned added in v0.0.7

func (m *ShortcutInfo) IsPinned() (bool, error)

IsPinned calls android.content.pm.ShortcutInfo.isPinned.

func (*ShortcutInfo) ToString added in v0.0.7

func (m *ShortcutInfo) ToString() (string, error)

ToString calls android.content.pm.ShortcutInfo.toString.

func (*ShortcutInfo) WriteToParcel added in v0.0.7

func (m *ShortcutInfo) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.content.pm.ShortcutInfo.writeToParcel.

type ShortcutInfoBuilder added in v0.0.7

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

ShortcutInfoBuilder wraps android.content.pm.ShortcutInfo$Builder.

func (*ShortcutInfoBuilder) AddCapabilityBinding added in v0.0.7

func (m *ShortcutInfoBuilder) AddCapabilityBinding(arg0 *jni.Object, arg1 *jni.Object) (*jni.Object, error)

AddCapabilityBinding calls android.content.pm.ShortcutInfo$Builder.addCapabilityBinding.

func (*ShortcutInfoBuilder) Build added in v0.0.7

func (m *ShortcutInfoBuilder) Build() (*jni.Object, error)

Build calls android.content.pm.ShortcutInfo$Builder.build.

func (*ShortcutInfoBuilder) SetActivity added in v0.0.7

func (m *ShortcutInfoBuilder) SetActivity(arg0 *jni.Object) (*jni.Object, error)

SetActivity calls android.content.pm.ShortcutInfo$Builder.setActivity.

func (*ShortcutInfoBuilder) SetDisabledMessage added in v0.0.7

func (m *ShortcutInfoBuilder) SetDisabledMessage(arg0 string) (*jni.Object, error)

SetDisabledMessage calls android.content.pm.ShortcutInfo$Builder.setDisabledMessage.

func (*ShortcutInfoBuilder) SetExcludedFromSurfaces added in v0.0.7

func (m *ShortcutInfoBuilder) SetExcludedFromSurfaces(arg0 int32) (*jni.Object, error)

SetExcludedFromSurfaces calls android.content.pm.ShortcutInfo$Builder.setExcludedFromSurfaces.

func (*ShortcutInfoBuilder) SetExtras added in v0.0.7

func (m *ShortcutInfoBuilder) SetExtras(arg0 *jni.Object) (*jni.Object, error)

SetExtras calls android.content.pm.ShortcutInfo$Builder.setExtras.

func (*ShortcutInfoBuilder) SetIcon added in v0.0.7

func (m *ShortcutInfoBuilder) SetIcon(arg0 *jni.Object) (*jni.Object, error)

SetIcon calls android.content.pm.ShortcutInfo$Builder.setIcon.

func (*ShortcutInfoBuilder) SetIntent added in v0.0.7

func (m *ShortcutInfoBuilder) SetIntent(arg0 *jni.Object) (*jni.Object, error)

SetIntent calls android.content.pm.ShortcutInfo$Builder.setIntent.

func (*ShortcutInfoBuilder) SetIntents added in v0.0.7

func (m *ShortcutInfoBuilder) SetIntents(arg0 *jni.Object) (*jni.Object, error)

SetIntents calls android.content.pm.ShortcutInfo$Builder.setIntents.

func (*ShortcutInfoBuilder) SetLocusId added in v0.0.7

func (m *ShortcutInfoBuilder) SetLocusId(arg0 *jni.Object) (*jni.Object, error)

SetLocusId calls android.content.pm.ShortcutInfo$Builder.setLocusId.

func (*ShortcutInfoBuilder) SetLongLabel added in v0.0.7

func (m *ShortcutInfoBuilder) SetLongLabel(arg0 string) (*jni.Object, error)

SetLongLabel calls android.content.pm.ShortcutInfo$Builder.setLongLabel.

func (*ShortcutInfoBuilder) SetLongLived added in v0.0.7

func (m *ShortcutInfoBuilder) SetLongLived(arg0 bool) (*jni.Object, error)

SetLongLived calls android.content.pm.ShortcutInfo$Builder.setLongLived.

func (*ShortcutInfoBuilder) SetPerson added in v0.0.7

func (m *ShortcutInfoBuilder) SetPerson(arg0 *jni.Object) (*jni.Object, error)

SetPerson calls android.content.pm.ShortcutInfo$Builder.setPerson.

func (*ShortcutInfoBuilder) SetPersons added in v0.0.7

func (m *ShortcutInfoBuilder) SetPersons(arg0 *jni.Object) (*jni.Object, error)

SetPersons calls android.content.pm.ShortcutInfo$Builder.setPersons.

func (*ShortcutInfoBuilder) SetRank added in v0.0.7

func (m *ShortcutInfoBuilder) SetRank(arg0 int32) (*jni.Object, error)

SetRank calls android.content.pm.ShortcutInfo$Builder.setRank.

func (*ShortcutInfoBuilder) SetShortLabel added in v0.0.7

func (m *ShortcutInfoBuilder) SetShortLabel(arg0 string) (*jni.Object, error)

SetShortLabel calls android.content.pm.ShortcutInfo$Builder.setShortLabel.

func (*ShortcutInfoBuilder) SetStartingTheme added in v0.0.7

func (m *ShortcutInfoBuilder) SetStartingTheme(arg0 int32) (*jni.Object, error)

SetStartingTheme calls android.content.pm.ShortcutInfo$Builder.setStartingTheme.

type ShortcutManager added in v0.0.7

type ShortcutManager struct {
	VM  *jni.VM
	Ctx *app.Context
	Obj *jni.GlobalRef
}

ShortcutManager wraps android.content.pm.ShortcutManager.

func NewShortcutManager added in v0.0.7

func NewShortcutManager(ctx *app.Context) (*ShortcutManager, error)

NewShortcutManager obtains android.content.pm.ShortcutManager from the Android system service manager.

func (*ShortcutManager) Close added in v0.0.7

func (m *ShortcutManager) Close()

Close releases the global reference to the underlying Java object. After Close, the ShortcutManager must not be used.

func (*ShortcutManager) CreateShortcutResultIntent added in v0.0.7

func (m *ShortcutManager) CreateShortcutResultIntent(arg0 *jni.Object) (*jni.Object, error)

CreateShortcutResultIntent calls android.content.pm.ShortcutManager.createShortcutResultIntent.

func (*ShortcutManager) GetIconMaxHeight added in v0.0.7

func (m *ShortcutManager) GetIconMaxHeight() (int32, error)

GetIconMaxHeight calls android.content.pm.ShortcutManager.getIconMaxHeight.

func (*ShortcutManager) GetIconMaxWidth added in v0.0.7

func (m *ShortcutManager) GetIconMaxWidth() (int32, error)

GetIconMaxWidth calls android.content.pm.ShortcutManager.getIconMaxWidth.

func (*ShortcutManager) GetMaxShortcutCountPerActivity added in v0.0.7

func (m *ShortcutManager) GetMaxShortcutCountPerActivity() (int32, error)

GetMaxShortcutCountPerActivity calls android.content.pm.ShortcutManager.getMaxShortcutCountPerActivity.

func (*ShortcutManager) IsRateLimitingActive added in v0.0.7

func (m *ShortcutManager) IsRateLimitingActive() (bool, error)

IsRateLimitingActive calls android.content.pm.ShortcutManager.isRateLimitingActive.

func (*ShortcutManager) IsRequestPinShortcutSupported added in v0.0.7

func (m *ShortcutManager) IsRequestPinShortcutSupported() (bool, error)

IsRequestPinShortcutSupported calls android.content.pm.ShortcutManager.isRequestPinShortcutSupported.

func (*ShortcutManager) PushDynamicShortcut added in v0.0.7

func (m *ShortcutManager) PushDynamicShortcut(arg0 *jni.Object) error

PushDynamicShortcut calls android.content.pm.ShortcutManager.pushDynamicShortcut.

func (*ShortcutManager) RemoveAllDynamicShortcuts added in v0.0.7

func (m *ShortcutManager) RemoveAllDynamicShortcuts() error

RemoveAllDynamicShortcuts calls android.content.pm.ShortcutManager.removeAllDynamicShortcuts.

func (*ShortcutManager) ReportShortcutUsed added in v0.0.7

func (m *ShortcutManager) ReportShortcutUsed(arg0 string) error

ReportShortcutUsed calls android.content.pm.ShortcutManager.reportShortcutUsed.

func (*ShortcutManager) RequestPinShortcut added in v0.0.7

func (m *ShortcutManager) RequestPinShortcut(arg0 *jni.Object, arg1 *jni.Object) (bool, error)

RequestPinShortcut calls android.content.pm.ShortcutManager.requestPinShortcut.

type Signature added in v0.0.7

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

Signature wraps android.content.pm.Signature.

func NewSignature added in v0.0.7

func NewSignature(vm *jni.VM, arg0 *jni.Object) (*Signature, error)

NewSignature creates a new android.content.pm.Signature instance.

func (*Signature) DescribeContents added in v0.0.7

func (m *Signature) DescribeContents() (int32, error)

DescribeContents calls android.content.pm.Signature.describeContents.

func (*Signature) Equals added in v0.0.7

func (m *Signature) Equals(arg0 *jni.Object) (bool, error)

Equals calls android.content.pm.Signature.equals.

func (*Signature) HashCode added in v0.0.7

func (m *Signature) HashCode() (int32, error)

HashCode calls android.content.pm.Signature.hashCode.

func (*Signature) ToByteArray added in v0.0.7

func (m *Signature) ToByteArray() (*jni.Object, error)

ToByteArray calls android.content.pm.Signature.toByteArray.

func (*Signature) ToChars0 added in v0.0.7

func (m *Signature) ToChars0() (*jni.Object, error)

ToChars0 calls android.content.pm.Signature.toChars.

func (*Signature) ToChars2_1 added in v0.0.7

func (m *Signature) ToChars2_1(arg0 *jni.Object, arg1 *jni.Object) (*jni.Object, error)

ToChars2_1 calls android.content.pm.Signature.toChars.

func (*Signature) ToCharsString added in v0.0.7

func (m *Signature) ToCharsString() (string, error)

ToCharsString calls android.content.pm.Signature.toCharsString.

func (*Signature) WriteToParcel added in v0.0.7

func (m *Signature) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.content.pm.Signature.writeToParcel.

type SigningInfo added in v0.0.7

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

SigningInfo wraps android.content.pm.SigningInfo.

func NewSigningInfo added in v0.0.7

func NewSigningInfo(vm *jni.VM) (*SigningInfo, error)

NewSigningInfo creates a new android.content.pm.SigningInfo instance.

func (*SigningInfo) DescribeContents added in v0.0.7

func (m *SigningInfo) DescribeContents() (int32, error)

DescribeContents calls android.content.pm.SigningInfo.describeContents.

func (*SigningInfo) GetApkContentsSigners added in v0.0.7

func (m *SigningInfo) GetApkContentsSigners() (*jni.Object, error)

GetApkContentsSigners calls android.content.pm.SigningInfo.getApkContentsSigners.

func (*SigningInfo) GetSchemeVersion added in v0.0.7

func (m *SigningInfo) GetSchemeVersion() (int32, error)

GetSchemeVersion calls android.content.pm.SigningInfo.getSchemeVersion.

func (*SigningInfo) GetSigningCertificateHistory added in v0.0.7

func (m *SigningInfo) GetSigningCertificateHistory() (*jni.Object, error)

GetSigningCertificateHistory calls android.content.pm.SigningInfo.getSigningCertificateHistory.

func (*SigningInfo) HasMultipleSigners added in v0.0.7

func (m *SigningInfo) HasMultipleSigners() (bool, error)

HasMultipleSigners calls android.content.pm.SigningInfo.hasMultipleSigners.

func (*SigningInfo) HasPastSigningCertificates added in v0.0.7

func (m *SigningInfo) HasPastSigningCertificates() (bool, error)

HasPastSigningCertificates calls android.content.pm.SigningInfo.hasPastSigningCertificates.

func (*SigningInfo) SignersMatchExactly added in v0.0.7

func (m *SigningInfo) SignersMatchExactly(arg0 *jni.Object) (bool, error)

SignersMatchExactly calls android.content.pm.SigningInfo.signersMatchExactly.

func (*SigningInfo) WriteToParcel added in v0.0.7

func (m *SigningInfo) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.content.pm.SigningInfo.writeToParcel.

type SigningInfoException added in v0.0.7

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

SigningInfoException wraps android.content.pm.SigningInfoException.

func (*SigningInfoException) GetCode added in v0.0.7

func (m *SigningInfoException) GetCode() (int32, error)

GetCode calls android.content.pm.SigningInfoException.getCode.

type VersionedPackage added in v0.0.7

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

VersionedPackage wraps android.content.pm.VersionedPackage.

func NewVersionedPackage added in v0.0.7

func NewVersionedPackage(vm *jni.VM, arg0 string, arg1 int32) (*VersionedPackage, error)

NewVersionedPackage creates a new android.content.pm.VersionedPackage instance.

func (*VersionedPackage) DescribeContents added in v0.0.7

func (m *VersionedPackage) DescribeContents() (int32, error)

DescribeContents calls android.content.pm.VersionedPackage.describeContents.

func (*VersionedPackage) Equals added in v0.0.7

func (m *VersionedPackage) Equals(arg0 *jni.Object) (bool, error)

Equals calls android.content.pm.VersionedPackage.equals.

func (*VersionedPackage) GetLongVersionCode added in v0.0.7

func (m *VersionedPackage) GetLongVersionCode() (int64, error)

GetLongVersionCode calls android.content.pm.VersionedPackage.getLongVersionCode.

func (*VersionedPackage) GetPackageName added in v0.0.7

func (m *VersionedPackage) GetPackageName() (string, error)

GetPackageName calls android.content.pm.VersionedPackage.getPackageName.

func (*VersionedPackage) GetVersionCode added in v0.0.7

func (m *VersionedPackage) GetVersionCode() (int32, error)

GetVersionCode calls android.content.pm.VersionedPackage.getVersionCode.

func (*VersionedPackage) HashCode added in v0.0.7

func (m *VersionedPackage) HashCode() (int32, error)

HashCode calls android.content.pm.VersionedPackage.hashCode.

func (*VersionedPackage) ToString added in v0.0.7

func (m *VersionedPackage) ToString() (string, error)

ToString calls android.content.pm.VersionedPackage.toString.

func (*VersionedPackage) WriteToParcel added in v0.0.7

func (m *VersionedPackage) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.content.pm.VersionedPackage.writeToParcel.

Source Files

Directories

Path Synopsis
verify
domain
Package domain provides Go bindings for android.content.pm.verify.domain.
Package domain provides Go bindings for android.content.pm.verify.domain.

Jump to

Keyboard shortcuts

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