consts

package
v0.0.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	CertInputRawX509                       = 0
	CertInputSha256                        = 1
	ComponentEnabledStateDefault           = 0
	ComponentEnabledStateDisabled          = 2
	ComponentEnabledStateDisabledUntilUsed = 4
	ComponentEnabledStateDisabledUser      = 3
	ComponentEnabledStateEnabled           = 1
	DeleteArchive                          = 16
	DontKillApp                            = 1
	FlagPermissionWhitelistInstaller       = 2
	FlagPermissionWhitelistSystem          = 1
	FlagPermissionWhitelistUpgrade         = 4
	GetActivities                          = 1
	GetAttributions                        = -2147483648
	GetConfigurations                      = 16384
	GetDisabledComponents                  = 512
	GetDisabledUntilUsedComponents         = 32768
	GetGids                                = 256
	GetInstrumentation                     = 16
	GetIntentFilters                       = 32
	GetMetaData                            = 128
	GetPermissions                         = 4096
	GetProviders                           = 8
	GetReceivers                           = 2
	GetResolvedFilter                      = 64
	GetServices                            = 4
	GetSharedLibraryFiles                  = 1024
	GetSignatures                          = 64
	GetSigningCertificates                 = 134217728
	GetUninstalledPackages                 = 8192
	GetUriPermissionPatterns               = 2048
	InstallReasonDeviceRestore             = 2
	InstallReasonDeviceSetup               = 3
	InstallReasonPolicy                    = 1
	InstallReasonUnknown                   = 0
	InstallReasonUser                      = 4
	InstallScenarioBulk                    = 2
	InstallScenarioBulkSecondary           = 3
	InstallScenarioDefault                 = 0
	InstallScenarioFast                    = 1
	MatchAll                               = 131072
	MatchApex                              = 1073741824
	MatchDefaultOnly                       = 65536
	MatchDirectBootAuto                    = 268435456
	MatchDirectBootAware                   = 524288
	MatchDirectBootUnaware                 = 262144
	MatchDisabledComponents                = 512
	MatchDisabledUntilUsedComponents       = 32768
	MatchSystemOnly                        = 1048576
	MatchUninstalledPackages               = 8192
	PermissionDenied                       = -1
	PermissionGranted                      = 0
	SignatureFirstNotSigned                = -1
	SignatureMatch                         = 0
	SignatureNeitherSigned                 = 1
	SignatureNoMatch                       = -3
	SignatureSecondNotSigned               = -2
	SignatureUnknownPackage                = -4
	Synchronous                            = 2
	TrustAll                               = 0
	TrustNone                              = 0
	VerificationAllow                      = 1
	VerificationReject                     = -1
	VersionCodeHighest                     = -1
	Creator                                = 0
	InstallLocationAuto                    = 0
	InstallLocationInternalOnly            = 1
	InstallLocationPreferExternal          = 2
	RequestedPermissionGranted             = 2
	RequestedPermissionImplicit            = 4
	RequestedPermissionNeverForLocation    = 65536
)
View Source
const (
	ExtraVerificationId                               = "android.content.pm.extra.VERIFICATION_ID"
	ExtraVerificationResult                           = "android.content.pm.extra.VERIFICATION_RESULT"
	FeatureActivitiesOnSecondaryDisplays              = "android.software.activities_on_secondary_displays"
	FeatureAppWidgets                                 = "android.software.app_widgets"
	FeatureAudioLowLatency                            = "android.hardware.audio.low_latency"
	FeatureAudioOutput                                = "android.hardware.audio.output"
	FeatureAudioPro                                   = "android.hardware.audio.pro"
	FeatureAudioSpatialHeadtrackingLowLatency         = "android.hardware.audio.spatial.headtracking.low_latency"
	FeatureAutofill                                   = "android.software.autofill"
	FeatureAutomotive                                 = "android.hardware.type.automotive"
	FeatureBackup                                     = "android.software.backup"
	FeatureBluetooth                                  = "android.hardware.bluetooth"
	FeatureBluetoothLe                                = "android.hardware.bluetooth_le"
	FeatureBluetoothLeChannelSounding                 = "android.hardware.bluetooth_le.channel_sounding"
	FeatureCamera                                     = "android.hardware.camera"
	FeatureCameraAny                                  = "android.hardware.camera.any"
	FeatureCameraAr                                   = "android.hardware.camera.ar"
	FeatureCameraAutofocus                            = "android.hardware.camera.autofocus"
	FeatureCameraCapabilityManualPostProcessing       = "android.hardware.camera.capability.manual_post_processing"
	FeatureCameraCapabilityManualSensor               = "android.hardware.camera.capability.manual_sensor"
	FeatureCameraCapabilityRaw                        = "android.hardware.camera.capability.raw"
	FeatureCameraConcurrent                           = "android.hardware.camera.concurrent"
	FeatureCameraExternal                             = "android.hardware.camera.external"
	FeatureCameraFlash                                = "android.hardware.camera.flash"
	FeatureCameraFront                                = "android.hardware.camera.front"
	FeatureCameraLevelFull                            = "android.hardware.camera.level.full"
	FeatureCantSaveState                              = "android.software.cant_save_state"
	FeatureCompanionDeviceSetup                       = "android.software.companion_device_setup"
	FeatureConnectionService                          = "android.software.connectionservice"
	FeatureConsumerIr                                 = "android.hardware.consumerir"
	FeatureControls                                   = "android.software.controls"
	FeatureCredentials                                = "android.software.credentials"
	FeatureDeviceAdmin                                = "android.software.device_admin"
	FeatureDeviceLock                                 = "android.software.device_lock"
	FeatureEmbedded                                   = "android.hardware.type.embedded"
	FeatureEthernet                                   = "android.hardware.ethernet"
	FeatureExpandedPictureInPicture                   = "android.software.expanded_picture_in_picture"
	FeatureFace                                       = "android.hardware.biometrics.face"
	FeatureFaketouch                                  = "android.hardware.faketouch"
	FeatureFaketouchMultitouchDistinct                = "android.hardware.faketouch.multitouch.distinct"
	FeatureFaketouchMultitouchJazzhand                = "android.hardware.faketouch.multitouch.jazzhand"
	FeatureFingerprint                                = "android.hardware.fingerprint"
	FeatureFreeformWindowManagement                   = "android.software.freeform_window_management"
	FeatureGamepad                                    = "android.hardware.gamepad"
	FeatureHardwareKeystore                           = "android.hardware.hardware_keystore"
	FeatureHifiSensors                                = "android.hardware.sensor.hifi_sensors"
	FeatureHomeScreen                                 = "android.software.home_screen"
	FeatureIdentityCredentialHardware                 = "android.hardware.identity_credential"
	FeatureIdentityCredentialHardwareDirectAccess     = "android.hardware.identity_credential_direct_access"
	FeatureInputMethods                               = "android.software.input_methods"
	FeatureIpsecTunnels                               = "android.software.ipsec_tunnels"
	FeatureIpsecTunnelMigration                       = "android.software.ipsec_tunnel_migration"
	FeatureIris                                       = "android.hardware.biometrics.iris"
	FeatureKeystoreAppAttestKey                       = "android.hardware.keystore.app_attest_key"
	FeatureKeystoreLimitedUseKey                      = "android.hardware.keystore.limited_use_key"
	FeatureKeystoreSingleUseKey                       = "android.hardware.keystore.single_use_key"
	FeatureLeanback                                   = "android.software.leanback"
	FeatureLeanbackOnly                               = "android.software.leanback_only"
	FeatureLiveTv                                     = "android.software.live_tv"
	FeatureLiveWallpaper                              = "android.software.live_wallpaper"
	FeatureLocation                                   = "android.hardware.location"
	FeatureLocationGps                                = "android.hardware.location.gps"
	FeatureLocationNetwork                            = "android.hardware.location.network"
	FeatureManagedUsers                               = "android.software.managed_users"
	FeatureMicrophone                                 = "android.hardware.microphone"
	FeatureMidi                                       = "android.software.midi"
	FeatureNfc                                        = "android.hardware.nfc"
	FeatureNfcBeam                                    = "android.sofware.nfc.beam"
	FeatureNfcHostCardEmulation                       = "android.hardware.nfc.hce"
	FeatureNfcHostCardEmulationNfcf                   = "android.hardware.nfc.hcef"
	FeatureNfcOffHostCardEmulationEse                 = "android.hardware.nfc.ese"
	FeatureNfcOffHostCardEmulationUicc                = "android.hardware.nfc.uicc"
	FeatureOpenglesDeqpLevel                          = "android.software.opengles.deqp.level"
	FeatureOpenglesExtensionPack                      = "android.hardware.opengles.aep"
	FeaturePc                                         = "android.hardware.type.pc"
	FeaturePictureInPicture                           = "android.software.picture_in_picture"
	FeaturePrinting                                   = "android.software.print"
	FeatureRamLow                                     = "android.hardware.ram.low"
	FeatureRamNormal                                  = "android.hardware.ram.normal"
	FeatureScreenLandscape                            = "android.hardware.screen.landscape"
	FeatureScreenPortrait                             = "android.hardware.screen.portrait"
	FeatureSecurelyRemovesUsers                       = "android.software.securely_removes_users"
	FeatureSecureLockScreen                           = "android.software.secure_lock_screen"
	FeatureSecurityModelCompatible                    = "android.hardware.security.model.compatible"
	FeatureSensorAccelerometer                        = "android.hardware.sensor.accelerometer"
	FeatureSensorAccelerometerLimitedAxes             = "android.hardware.sensor.accelerometer_limited_axes"
	FeatureSensorAccelerometerLimitedAxesUncalibrated = "android.hardware.sensor.accelerometer_limited_axes_uncalibrated"
	FeatureSensorAmbientTemperature                   = "android.hardware.sensor.ambient_temperature"
	FeatureSensorBarometer                            = "android.hardware.sensor.barometer"
	FeatureSensorCompass                              = "android.hardware.sensor.compass"
	FeatureSensorDynamicHeadTracker                   = "android.hardware.sensor.dynamic.head_tracker"
	FeatureSensorGyroscope                            = "android.hardware.sensor.gyroscope"
	FeatureSensorGyroscopeLimitedAxes                 = "android.hardware.sensor.gyroscope_limited_axes"
	FeatureSensorGyroscopeLimitedAxesUncalibrated     = "android.hardware.sensor.gyroscope_limited_axes_uncalibrated"
	FeatureSensorHeading                              = "android.hardware.sensor.heading"
	FeatureSensorHeartRate                            = "android.hardware.sensor.heartrate"
	FeatureSensorHeartRateEcg                         = "android.hardware.sensor.heartrate.ecg"
	FeatureSensorHingeAngle                           = "android.hardware.sensor.hinge_angle"
	FeatureSensorLight                                = "android.hardware.sensor.light"
	FeatureSensorProximity                            = "android.hardware.sensor.proximity"
	FeatureSensorRelativeHumidity                     = "android.hardware.sensor.relative_humidity"
	FeatureSensorStepCounter                          = "android.hardware.sensor.stepcounter"
	FeatureSensorStepDetector                         = "android.hardware.sensor.stepdetector"
	FeatureSeOmapiEse                                 = "android.hardware.se.omapi.ese"
	FeatureSeOmapiSd                                  = "android.hardware.se.omapi.sd"
	FeatureSeOmapiUicc                                = "android.hardware.se.omapi.uicc"
	FeatureSip                                        = "android.software.sip"
	FeatureSipVoip                                    = "android.software.sip.voip"
	FeatureStrongboxKeystore                          = "android.hardware.strongbox_keystore"
	FeatureTelecom                                    = "android.software.telecom"
	FeatureTelephony                                  = "android.hardware.telephony"
	FeatureTelephonyCalling                           = "android.hardware.telephony.calling"
	FeatureTelephonyCdma                              = "android.hardware.telephony.cdma"
	FeatureTelephonyData                              = "android.hardware.telephony.data"
	FeatureTelephonyEuicc                             = "android.hardware.telephony.euicc"
	FeatureTelephonyEuiccMep                          = "android.hardware.telephony.euicc.mep"
	FeatureTelephonyGsm                               = "android.hardware.telephony.gsm"
	FeatureTelephonyIms                               = "android.hardware.telephony.ims"
	FeatureTelephonyMbms                              = "android.hardware.telephony.mbms"
	FeatureTelephonyMessaging                         = "android.hardware.telephony.messaging"
	FeatureTelephonyRadioAccess                       = "android.hardware.telephony.radio.access"
	FeatureTelephonySubscription                      = "android.hardware.telephony.subscription"
	FeatureTelevision                                 = "android.hardware.type.television"
	FeatureThreadNetwork                              = "android.hardware.thread_network"
	FeatureTouchscreen                                = "android.hardware.touchscreen"
	FeatureTouchscreenMultitouch                      = "android.hardware.touchscreen.multitouch"
	FeatureTouchscreenMultitouchDistinct              = "android.hardware.touchscreen.multitouch.distinct"
	FeatureTouchscreenMultitouchJazzhand              = "android.hardware.touchscreen.multitouch.jazzhand"
	FeatureUsbAccessory                               = "android.hardware.usb.accessory"
	FeatureUsbHost                                    = "android.hardware.usb.host"
	FeatureUwb                                        = "android.hardware.uwb"
	FeatureVerifiedBoot                               = "android.software.verified_boot"
	FeatureVrHeadtracking                             = "android.hardware.vr.headtracking"
	FeatureVrMode                                     = "android.software.vr.mode"
	FeatureVrModeHighPerformance                      = "android.hardware.vr.high_performance"
	FeatureVulkanDeqpLevel                            = "android.software.vulkan.deqp.level"
	FeatureVulkanHardwareCompute                      = "android.hardware.vulkan.compute"
	FeatureVulkanHardwareLevel                        = "android.hardware.vulkan.level"
	FeatureVulkanHardwareVersion                      = "android.hardware.vulkan.version"
	FeatureWalletLocationBasedSuggestions             = "android.software.wallet_location_based_suggestions"
	FeatureWatch                                      = "android.hardware.type.watch"
	FeatureWebview                                    = "android.software.webview"
	FeatureWifi                                       = "android.hardware.wifi"
	FeatureWifiAware                                  = "android.hardware.wifi.aware"
	FeatureWifiDirect                                 = "android.hardware.wifi.direct"
	FeatureWifiPasspoint                              = "android.hardware.wifi.passpoint"
	FeatureWifiRtt                                    = "android.hardware.wifi.rtt"
	FeatureWindowMagnification                        = "android.software.window_magnification"
	PropertyCompatOverrideLandscapeToPortrait         = "android.camera.PROPERTY_COMPAT_OVERRIDE_LANDSCAPE_TO_PORTRAIT"
	PropertyMediaCapabilities                         = "android.media.PROPERTY_MEDIA_CAPABILITIES"
	PropertySelfCertifiedNetworkCapabilities          = "android.net.PROPERTY_SELF_CERTIFIED_NETWORK_CAPABILITIES"
	PropertySpecialUseFgsSubtype                      = "android.app.PROPERTY_SPECIAL_USE_FGS_SUBTYPE"
	PropertyUseRestrictedBackupMode                   = "android.app.backup.PROPERTY_USE_RESTRICTED_BACKUP_MODE"
)
View Source
const (
	GetAttributionsLong        = 2147483648
	MatchArchivedPackages      = 4294967296
	MaximumVerificationTimeout = 3600000
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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