Documentation
¶
Index ¶
Constants ¶
View Source
const ( Creator int = 0 NetworkProbeDns int = 4 NetworkProbeFallback int = 32 NetworkProbeHttp int = 8 NetworkProbeHttps int = 16 NetworkProbePrivateDns int = 64 NetworkValidationResultInvalid int = 0 NetworkValidationResultPartiallyValid int = 2 NetworkValidationResultSkipped int = 3 NetworkValidationResultValid int = 1 DetectionMethodDnsEvents int = 1 DetectionMethodTcpMetrics int = 2 RtnThrow int = 9 RtnUnicast int = 1 RtnUnreachable int = 7 BroadcastAddress int = 0 TypeBroadcast int = 3 TypeMulticast int = 2 TypeUnicast int = 1 HeaderCompression6lowpan int = 2 HeaderCompressionAny int = 0 HeaderCompressionNone int = 1 PsmAny int = 0 RoleAny int = 0 RoleClient int = 1 RoleServer int = 2 ErrorClassNotRecoverable int = 1 ErrorClassRecoverable int = 2 ErrorCodeNetworkIo int = 3 ErrorCodeNetworkLost int = 2 ErrorCodeNetworkProtocolTimeout int = 1 ErrorCodeNetworkUnknownHost int = 0 NetCapabilityCaptivePortal int = 17 NetCapabilityCbs int = 5 NetCapabilityDun int = 2 NetCapabilityEims int = 10 NetCapabilityEnterprise int = 29 NetCapabilityForeground int = 19 NetCapabilityFota int = 3 NetCapabilityHeadUnit int = 32 NetCapabilityIa int = 7 NetCapabilityIms int = 4 NetCapabilityInternet int = 12 NetCapabilityLocalNetwork int = 36 NetCapabilityMcx int = 23 NetCapabilityMms int = 0 NetCapabilityMmtel int = 33 NetCapabilityNotBandwidthConstrained int = 37 NetCapabilityNotCongested int = 20 NetCapabilityNotMetered int = 11 NetCapabilityNotRestricted int = 13 NetCapabilityNotRoaming int = 18 NetCapabilityNotSuspended int = 21 NetCapabilityNotVpn int = 15 NetCapabilityPrioritizeBandwidth int = 35 NetCapabilityPrioritizeLatency int = 34 NetCapabilityRcs int = 8 NetCapabilitySupl int = 1 NetCapabilityTemporarilyNotMetered int = 25 NetCapabilityTrusted int = 14 NetCapabilityValidated int = 16 NetCapabilityWifiP2p int = 6 NetCapabilityXcap int = 9 NetEnterpriseId1 int = 1 NetEnterpriseId2 int = 2 NetEnterpriseId3 int = 3 NetEnterpriseId4 int = 4 NetEnterpriseId5 int = 5 SignalStrengthUnspecified int = -2147483648 TransportBluetooth int = 2 TransportCellular int = 0 TransportEthernet int = 3 TransportLowpan int = 6 TransportSatellite int = 10 TransportThread int = 9 TransportUsb int = 8 TransportVpn int = 4 TransportWifi int = 1 TransportWifiAware int = 5 SocketDgram int = 1 SocketSeqpacket int = 3 SocketStream int = 2 ErrorHardwareError int = -31 ErrorInsufficientResources int = -32 ErrorInvalidInterval int = -24 ErrorInvalidIpAddress int = -21 ErrorInvalidLength int = -23 ErrorInvalidNetwork int = -20 ErrorInvalidPort int = -22 ErrorInvalidSocket int = -25 ErrorSocketNotIdle int = -26 ErrorUnsupported int = -30 DirectionIn int = 0 DirectionOut int = 1 ClassIn int = 1 ErrorParse int = 0 ErrorSystem int = 1 FlagEmpty int = 0 FlagNoCacheLookup int = 4 FlagNoCacheStore int = 2 FlagNoRetry int = 1 TypeA int = 1 TypeAaaa int = 28 Unsupported int = -1 Abstract int = 0 Filesystem int = 0 Reserved int = 0 TypeIkev2IpsecPsk int = 7 TypeIkev2IpsecRsa int = 8 TypeIkev2IpsecUserPass int = 6 ConnectivityScopeGlobal int = 1 TetheringWifi int = 0 TetherErrorDhcpserverError int = 12 TetherErrorDisableForwardingError int = 9 TetherErrorDuplicateRequest int = 18 TetherErrorEnableForwardingError int = 8 TetherErrorEntitlementUnknown int = 13 TetherErrorIfaceCfgError int = 10 TetherErrorInternalError int = 5 TetherErrorNoAccessTetheringPermission int = 15 TetherErrorNoChangeTetheringPermission int = 14 TetherErrorNoError int = 0 TetherErrorProvisioningFailed int = 11 TetherErrorTetherIfaceError int = 6 TetherErrorUnknownIface int = 1 TetherErrorUnknownRequest int = 17 TetherErrorUnknownType int = 16 TetherErrorUnsupported int = 3 TetherErrorUntetherIfaceError int = 7 DefaultNetworkPreference int = 1 MultipathPreferenceHandover int = 1 MultipathPreferencePerformance int = 4 MultipathPreferenceReliability int = 2 RestrictBackgroundStatusDisabled int = 1 RestrictBackgroundStatusEnabled int = 3 RestrictBackgroundStatusWhitelisted int = 2 TypeBluetooth int = 7 TypeDummy int = 8 TypeEthernet int = 9 TypeMobile int = 0 TypeMobileDun int = 4 TypeMobileHipri int = 5 TypeMobileMms int = 2 TypeMobileSupl int = 3 TypeVpn int = 17 TypeWifi int = 1 TypeWimax int = 6 FlagIncludeLocationInfo int = 1 Authenticating int = 0 Blocked int = 0 CaptivePortalCheck int = 0 Connected int = 0 Connecting int = 0 Disconnected int = 0 Disconnecting int = 0 Failed int = 0 Idle int = 0 ObtainingIpaddr int = 0 Scanning int = 0 Suspended int = 0 VerifyingPoorLink int = 0 Unknown int = 0 AllButNulAndAngleBracketsLegal int = 1439 AllButNulLegal int = 1535 AllButWhitespaceLegal int = 1532 AllIllegal int = 0 AllOk int = 2047 AllWhitespaceOk int = 3 AmpAndSpaceLegal int = 129 AmpLegal int = 128 AmpOk int = 128 DquoteOk int = 8 GtOk int = 64 LtOk int = 32 Non7BitAsciiOk int = 4 NulOk int = 512 OtherWhitespaceOk int = 2 PctOk int = 256 ScriptUrlOk int = 1024 SpaceLegal int = 1 SpaceOk int = 1 SquoteOk int = 16 UrlAndSpaceLegal int = 405 UrlLegal int = 404 StateConnected int = 2 StateConnecting int = 1 StateDisconnected int = 0 StateFailed int = 3 )
View Source
const ( KeyNetworkProbesAttemptedBitmask string = "networkProbesAttempted" KeyNetworkProbesSucceededBitmask string = "networkProbesSucceeded" KeyNetworkValidationResult string = "networkValidationResult" KeyDnsConsecutiveTimeouts string = "dnsConsecutiveTimeouts" KeyTcpMetricsCollectionPeriodMillis string = "tcpMetricsCollectionPeriodMillis" KeyTcpPacketFailRate string = "tcpPacketFailRate" MailtoScheme string = "mailto:" ActionVpnManagerEvent string = "android.net.action.VPN_MANAGER_EVENT" CategoryEventAlwaysOnStateChanged string = "android.net.category.EVENT_ALWAYS_ON_STATE_CHANGED" CategoryEventDeactivatedByUser string = "android.net.category.EVENT_DEACTIVATED_BY_USER" CategoryEventIkeError string = "android.net.category.EVENT_IKE_ERROR" CategoryEventNetworkError string = "android.net.category.EVENT_NETWORK_ERROR" ExtraErrorClass string = "android.net.extra.ERROR_CLASS" ExtraErrorCode string = "android.net.extra.ERROR_CODE" ExtraSessionKey string = "android.net.extra.SESSION_KEY" ExtraTimestampMillis string = "android.net.extra.TIMESTAMP_MILLIS" ExtraUnderlyingLinkProperties string = "android.net.extra.UNDERLYING_LINK_PROPERTIES" ExtraUnderlyingNetwork string = "android.net.extra.UNDERLYING_NETWORK" ExtraUnderlyingNetworkCapabilities string = "android.net.extra.UNDERLYING_NETWORK_CAPABILITIES" ExtraVpnProfileState string = "android.net.extra.VPN_PROFILE_STATE" ActionBackgroundDataSettingChanged string = "android.net.conn.BACKGROUND_DATA_SETTING_CHANGED" ActionCaptivePortalSignIn string = "android.net.conn.CAPTIVE_PORTAL" ActionRestrictBackgroundChanged string = "android.net.conn.RESTRICT_BACKGROUND_CHANGED" ConnectivityAction string = "android.net.conn.CONNECTIVITY_CHANGE" ExtraCaptivePortal string = "android.net.extra.CAPTIVE_PORTAL" ExtraCaptivePortalUrl string = "android.net.extra.CAPTIVE_PORTAL_URL" ExtraExtraInfo string = "extraInfo" ExtraIsFailover string = "isFailover" ExtraNetwork string = "android.net.extra.NETWORK" ExtraNetworkInfo string = "networkInfo" ExtraNetworkRequest string = "android.net.extra.NETWORK_REQUEST" ExtraNetworkType string = "networkType" ExtraNoConnectivity string = "noConnectivity" ExtraOtherNetworkInfo string = "otherNetwork" ExtraReason string = "reason" AuthAesCmac string = "cmac(aes)" AuthAesXcbc string = "xcbc(aes)" AuthCryptAesGcm string = "rfc4106(gcm(aes))" AuthCryptChacha20Poly1305 string = "rfc7539esp(chacha20,poly1305)" AuthHmacMd5 string = "hmac(md5)" AuthHmacSha1 string = "hmac(sha1)" AuthHmacSha256 string = "hmac(sha256)" AuthHmacSha384 string = "hmac(sha384)" AuthHmacSha512 string = "hmac(sha512)" CryptAesCbc string = "cbc(aes)" CryptAesCtr string = "rfc3686(ctr(aes))" ProxyChangeAction string = "android.intent.action.PROXY_CHANGE" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.