consts

package
v0.0.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

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