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 (
	ActionCarrierMessagingClientService              string = "android.telephony.action.CARRIER_MESSAGING_CLIENT_SERVICE"
	ActionCarrierSignalDefaultNetworkAvailable       string = "android.telephony.action.CARRIER_SIGNAL_DEFAULT_NETWORK_AVAILABLE"
	ActionCarrierSignalPcoValue                      string = "android.telephony.action.CARRIER_SIGNAL_PCO_VALUE"
	ActionCarrierSignalRedirected                    string = "android.telephony.action.CARRIER_SIGNAL_REDIRECTED"
	ActionCarrierSignalRequestNetworkFailed          string = "android.telephony.action.CARRIER_SIGNAL_REQUEST_NETWORK_FAILED"
	ActionCarrierSignalReset                         string = "android.telephony.action.CARRIER_SIGNAL_RESET"
	ActionConfigureVoicemail                         string = "android.telephony.action.CONFIGURE_VOICEMAIL"
	ActionMultiSimConfigChanged                      string = "android.telephony.action.MULTI_SIM_CONFIG_CHANGED"
	ActionNetworkCountryChanged                      string = "android.telephony.action.NETWORK_COUNTRY_CHANGED"
	ActionPhoneStateChanged                          string = "android.intent.action.PHONE_STATE"
	ActionResetMobileNetworkSettings                 string = "android.telephony.action.RESET_MOBILE_NETWORK_SETTINGS"
	ActionRespondViaMessage                          string = "android.intent.action.RESPOND_VIA_MESSAGE"
	ActionSecretCode                                 string = "android.telephony.action.SECRET_CODE"
	ActionShowVoicemailNotification                  string = "android.telephony.action.SHOW_VOICEMAIL_NOTIFICATION"
	ActionSubscriptionCarrierIdentityChanged         string = "android.telephony.action.SUBSCRIPTION_CARRIER_IDENTITY_CHANGED"
	ActionSubscriptionSpecificCarrierIdentityChanged string = "android.telephony.action.SUBSCRIPTION_SPECIFIC_CARRIER_IDENTITY_CHANGED"
	CapabilitySlicingConfigSupported                 string = "CAPABILITY_SLICING_CONFIG_SUPPORTED"
	EventDisplayEmergencyMessage                     string = "android.telephony.event.DISPLAY_EMERGENCY_MESSAGE"
	ExtraActiveSimSupportedCount                     string = "android.telephony.extra.ACTIVE_SIM_SUPPORTED_COUNT"
	ExtraApnProtocol                                 string = "android.telephony.extra.APN_PROTOCOL"
	ExtraApnType                                     string = "android.telephony.extra.APN_TYPE"
	ExtraCallVoicemailIntent                         string = "android.telephony.extra.CALL_VOICEMAIL_INTENT"
	ExtraCarrierId                                   string = "android.telephony.extra.CARRIER_ID"
	ExtraCarrierName                                 string = "android.telephony.extra.CARRIER_NAME"
	ExtraDataFailCause                               string = "android.telephony.extra.DATA_FAIL_CAUSE"
	ExtraDefaultNetworkAvailable                     string = "android.telephony.extra.DEFAULT_NETWORK_AVAILABLE"
	ExtraEmergencyCallToSatelliteHandoverType        string = "android.telephony.extra.EMERGENCY_CALL_TO_SATELLITE_HANDOVER_TYPE"
	ExtraEmergencyCallToSatelliteLaunchIntent        string = "android.telephony.extra.EMERGENCY_CALL_TO_SATELLITE_LAUNCH_INTENT"
	ExtraHidePublicSettings                          string = "android.telephony.extra.HIDE_PUBLIC_SETTINGS"
	ExtraIncomingNumber                              string = "incoming_number"
	ExtraIsRefresh                                   string = "android.telephony.extra.IS_REFRESH"
	ExtraLastKnownNetworkCountry                     string = "android.telephony.extra.LAST_KNOWN_NETWORK_COUNTRY"
	ExtraLaunchVoicemailSettingsIntent               string = "android.telephony.extra.LAUNCH_VOICEMAIL_SETTINGS_INTENT"
	ExtraNetworkCountry                              string = "android.telephony.extra.NETWORK_COUNTRY"
	ExtraNotificationCount                           string = "android.telephony.extra.NOTIFICATION_COUNT"
	ExtraPcoId                                       string = "android.telephony.extra.PCO_ID"
	ExtraPcoValue                                    string = "android.telephony.extra.PCO_VALUE"
	ExtraPhoneAccountHandle                          string = "android.telephony.extra.PHONE_ACCOUNT_HANDLE"
	ExtraRedirectionUrl                              string = "android.telephony.extra.REDIRECTION_URL"
	ExtraSpecificCarrierId                           string = "android.telephony.extra.SPECIFIC_CARRIER_ID"
	ExtraSpecificCarrierName                         string = "android.telephony.extra.SPECIFIC_CARRIER_NAME"
	ExtraState                                       string = "state"
	ExtraStateIdle                                   string = ""
	ExtraStateOffhook                                string = ""
	ExtraStateRinging                                string = ""
	ExtraSubscriptionId                              string = "android.telephony.extra.SUBSCRIPTION_ID"
	ExtraVoicemailNumber                             string = "android.telephony.extra.VOICEMAIL_NUMBER"
	MetadataHideVoicemailSettingsMenu                string = "android.telephony.HIDE_VOICEMAIL_SETTINGS_MENU"
	VvmTypeCvvm                                      string = "vvm_type_cvvm"
	VvmTypeOmtp                                      string = "vvm_type_omtp"
)
View Source
const (
	AllowedNetworkTypesReasonCarrier                          int = 2
	AllowedNetworkTypesReasonUser                             int = 0
	ApptypeCsim                                               int = 4
	ApptypeIsim                                               int = 5
	ApptypeRuim                                               int = 3
	ApptypeSim                                                int = 1
	ApptypeUnknown                                            int = 0
	ApptypeUsim                                               int = 2
	AuthtypeEapAka                                            int = 129
	AuthtypeEapSim                                            int = 128
	AuthtypeGbaBootstrap                                      int = 132
	AuthtypeGbaNafKeyExternal                                 int = 133
	CallComposerStatusBusinessOnly                            int = 2
	CallComposerStatusOff                                     int = 0
	CallComposerStatusOn                                      int = 1
	CallStateIdle                                             int = 0
	CallStateOffhook                                          int = 2
	CallStateRinging                                          int = 1
	CarrierRestrictionStatusNotRestricted                     int = 1
	CarrierRestrictionStatusRestricted                        int = 2
	CarrierRestrictionStatusRestrictedToCaller                int = 3
	CarrierRestrictionStatusUnknown                           int = 0
	CdmaRoamingModeAffiliated                                 int = 1
	CdmaRoamingModeAny                                        int = 2
	CdmaRoamingModeHome                                       int = 0
	CdmaRoamingModeRadioDefault                               int = -1
	DataActivityDormant                                       int = 4
	DataActivityIn                                            int = 1
	DataActivityInout                                         int = 3
	DataActivityNone                                          int = 0
	DataActivityOut                                           int = 2
	DataConnected                                             int = 2
	DataConnecting                                            int = 1
	DataDisconnected                                          int = 0
	DataDisconnecting                                         int = 4
	DataEnabledReasonCarrier                                  int = 2
	DataEnabledReasonOverride                                 int = 4
	DataEnabledReasonPolicy                                   int = 1
	DataEnabledReasonThermal                                  int = 3
	DataEnabledReasonUnknown                                  int = -1
	DataEnabledReasonUser                                     int = 0
	DataHandoverInProgress                                    int = 5
	DataSuspended                                             int = 3
	DataUnknown                                               int = -1
	DefaultPortIndex                                          int = 0
	EriFlash                                                  int = 2
	EriOff                                                    int = 1
	EriOn                                                     int = 0
	IncludeLocationDataCoarse                                 int = 1
	IncludeLocationDataFine                                   int = 2
	IncludeLocationDataNone                                   int = 0
	MultisimAllowed                                           int = 0
	MultisimNotSupportedByCarrier                             int = 2
	MultisimNotSupportedByHardware                            int = 1
	NetworkSelectionModeAuto                                  int = 1
	NetworkSelectionModeManual                                int = 2
	NetworkSelectionModeUnknown                               int = 0
	NetworkType1xrtt                                          int = 7
	NetworkTypeCdma                                           int = 4
	NetworkTypeEdge                                           int = 2
	NetworkTypeEhrpd                                          int = 14
	NetworkTypeEvdo0                                          int = 5
	NetworkTypeEvdoA                                          int = 6
	NetworkTypeEvdoB                                          int = 12
	NetworkTypeGprs                                           int = 1
	NetworkTypeGsm                                            int = 16
	NetworkTypeHsdpa                                          int = 8
	NetworkTypeHspa                                           int = 10
	NetworkTypeHspap                                          int = 15
	NetworkTypeHsupa                                          int = 9
	NetworkTypeIden                                           int = 11
	NetworkTypeIwlan                                          int = 18
	NetworkTypeLte                                            int = 13
	NetworkTypeNr                                             int = 20
	NetworkTypeTdScdma                                        int = 17
	NetworkTypeUmts                                           int = 3
	NetworkTypeUnknown                                        int = 0
	PhoneTypeCdma                                             int = 2
	PhoneTypeGsm                                              int = 1
	PhoneTypeNone                                             int = 0
	PhoneTypeSip                                              int = 3
	PremiumCapabilityPrioritizeLatency                        int = 34
	PurchasePremiumCapabilityResultAlreadyInProgress          int = 4
	PurchasePremiumCapabilityResultAlreadyPurchased           int = 3
	PurchasePremiumCapabilityResultCarrierDisabled            int = 7
	PurchasePremiumCapabilityResultCarrierError               int = 8
	PurchasePremiumCapabilityResultEntitlementCheckFailed     int = 13
	PurchasePremiumCapabilityResultFeatureNotSupported        int = 10
	PurchasePremiumCapabilityResultNetworkNotAvailable        int = 12
	PurchasePremiumCapabilityResultNotDefaultDataSubscription int = 14
	PurchasePremiumCapabilityResultNotForeground              int = 5
	PurchasePremiumCapabilityResultPendingNetworkSetup        int = 15
	PurchasePremiumCapabilityResultRequestFailed              int = 11
	PurchasePremiumCapabilityResultSuccess                    int = 1
	PurchasePremiumCapabilityResultThrottled                  int = 2
	PurchasePremiumCapabilityResultTimeout                    int = 9
	PurchasePremiumCapabilityResultUserCanceled               int = 6
	PurchasePremiumCapabilityResultUserDisabled               int = 16
	SetOpportunisticSubInactiveSubscription                   int = 2
	SetOpportunisticSubNoOpportunisticSubAvailable            int = 3
	SetOpportunisticSubRemoteServiceException                 int = 4
	SetOpportunisticSubSuccess                                int = 0
	SetOpportunisticSubValidationFailed                       int = 1
	SimStateAbsent                                            int = 1
	SimStateCardIoError                                       int = 8
	SimStateCardRestricted                                    int = 9
	SimStateNetworkLocked                                     int = 4
	SimStateNotReady                                          int = 6
	SimStatePermDisabled                                      int = 7
	SimStatePinRequired                                       int = 2
	SimStatePukRequired                                       int = 3
	SimStateReady                                             int = 5
	SimStateUnknown                                           int = 0
	UninitializedCardId                                       int = -2
	UnknownCarrierId                                          int = -1
	UnsupportedCardId                                         int = -1
	UpdateAvailableNetworksAborted                            int = 2
	UpdateAvailableNetworksDisableModemFail                   int = 5
	UpdateAvailableNetworksEnableModemFail                    int = 6
	UpdateAvailableNetworksInvalidArguments                   int = 3
	UpdateAvailableNetworksMultipleNetworksNotSupported       int = 7
	UpdateAvailableNetworksNoCarrierPrivilege                 int = 4
	UpdateAvailableNetworksNoOpportunisticSubAvailable        int = 8
	UpdateAvailableNetworksRemoteServiceException             int = 9
	UpdateAvailableNetworksServiceIsDisabled                  int = 10
	UpdateAvailableNetworksSuccess                            int = 0
	UpdateAvailableNetworksUnknownFailure                     int = 1
	UssdErrorServiceUnavail                                   int = -2
	UssdReturnFailure                                         int = -1
)
View Source
const (
	NetworkTypeBitmask1xrtt   int = 64
	NetworkTypeBitmaskCdma    int = 8
	NetworkTypeBitmaskEdge    int = 2
	NetworkTypeBitmaskEhrpd   int = 8192
	NetworkTypeBitmaskEvdo0   int = 16
	NetworkTypeBitmaskEvdoA   int = 32
	NetworkTypeBitmaskEvdoB   int = 2048
	NetworkTypeBitmaskGprs    int = 1
	NetworkTypeBitmaskGsm     int = 32768
	NetworkTypeBitmaskHsdpa   int = 128
	NetworkTypeBitmaskHspa    int = 512
	NetworkTypeBitmaskHspap   int = 16384
	NetworkTypeBitmaskHsupa   int = 256
	NetworkTypeBitmaskIwlan   int = 131072
	NetworkTypeBitmaskLte     int = 4096
	NetworkTypeBitmaskLteCa   int = 262144
	NetworkTypeBitmaskNr      int = 524288
	NetworkTypeBitmaskTdScdma int = 65536
	NetworkTypeBitmaskUmts    int = 4
	NetworkTypeBitmaskUnknown int = 0
)

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