META-INF/
META-INF/MANIFEST.MF
android/
android/net/
android/net/CaptivePortal.class
CaptivePortal.java
package android.net
public android.net.CaptivePortal extends java.lang.Object implements android.os.Parcelable {
public static final int APP_REQUEST_REEVALUATION_REQUIRED
public static final int APP_RETURN_DISMISSED
public static final int APP_RETURN_UNWANTED
public static final int APP_RETURN_WANTED_AS_IS
public static final android.os.Parcelable$Creator CREATOR
void <init> ()
public int describeContents ()
public void ignoreNetwork ()
public void logEvent (int, java.lang.String)
int eventId
String packageName
public void reevaluateNetwork ()
public void reportCaptivePortalDismissed ()
public void useNetwork ()
public void writeToParcel (android.os.Parcel, int)
android.os.Parcel out
int flags
static void <clinit> ()
}
android/net/CaptivePortalData$Builder.class
CaptivePortalData.java
package android.net
public android.net.CaptivePortalData$Builder extends java.lang.Object {
public void <init> ()
public void <init> (android.net.CaptivePortalData)
android.net.CaptivePortalData data
public android.net.CaptivePortalData build ()
public android.net.CaptivePortalData$Builder setBytesRemaining (long)
long bytesRemaining
public android.net.CaptivePortalData$Builder setCaptive (boolean)
boolean captive
public android.net.CaptivePortalData$Builder setExpiryTime (long)
long expiryTime
public android.net.CaptivePortalData$Builder setRefreshTime (long)
long refreshTime
public android.net.CaptivePortalData$Builder setSessionExtendable (boolean)
boolean sessionExtendable
public android.net.CaptivePortalData$Builder setUserPortalUrl (android.net.Uri)
android.net.Uri userPortalUrl
public android.net.CaptivePortalData$Builder setUserPortalUrl (android.net.Uri, int)
android.net.Uri userPortalUrl
int source
public android.net.CaptivePortalData$Builder setVenueFriendlyName (java.lang.CharSequence)
CharSequence venueFriendlyName
public android.net.CaptivePortalData$Builder setVenueInfoUrl (android.net.Uri)
android.net.Uri venueInfoUrl
public android.net.CaptivePortalData$Builder setVenueInfoUrl (android.net.Uri, int)
android.net.Uri venueInfoUrl
int source
}
android/net/CaptivePortalData.class
CaptivePortalData.java
package android.net
public final android.net.CaptivePortalData extends java.lang.Object implements android.os.Parcelable {
public static final int CAPTIVE_PORTAL_DATA_SOURCE_OTHER
public static final int CAPTIVE_PORTAL_DATA_SOURCE_PASSPOINT
public static final android.os.Parcelable$Creator CREATOR
void <init> ()
public int describeContents ()
public boolean equals (java.lang.Object)
Object obj
public long getByteLimit ()
public long getExpiryTimeMillis ()
public long getRefreshTimeMillis ()
public android.net.Uri getUserPortalUrl ()
public int getUserPortalUrlSource ()
public java.lang.CharSequence getVenueFriendlyName ()
public android.net.Uri getVenueInfoUrl ()
public int getVenueInfoUrlSource ()
public int hashCode ()
public boolean isCaptive ()
public boolean isSessionExtendable ()
public java.lang.String toString ()
public void writeToParcel (android.os.Parcel, int)
android.os.Parcel dest
int flags
static void <clinit> ()
}
android/net/ConnectivityDiagnosticsManager$ConnectivityDiagnosticsCallback.class
ConnectivityDiagnosticsManager.java
package android.net
public abstract android.net.ConnectivityDiagnosticsManager$ConnectivityDiagnosticsCallback extends java.lang.Object {
public void <init> ()
public void onConnectivityReportAvailable (android.net.ConnectivityDiagnosticsManager$ConnectivityReport)
android.net.ConnectivityDiagnosticsManager$ConnectivityReport report
public void onDataStallSuspected (android.net.ConnectivityDiagnosticsManager$DataStallReport)
android.net.ConnectivityDiagnosticsManager$DataStallReport report
public void onNetworkConnectivityReported (android.net.Network, boolean)
android.net.Network network
boolean hasConnectivity
}
android/net/ConnectivityDiagnosticsManager$ConnectivityReport.class
ConnectivityDiagnosticsManager.java
package android.net
public final android.net.ConnectivityDiagnosticsManager$ConnectivityReport extends java.lang.Object implements android.os.Parcelable {
public static final android.os.Parcelable$Creator CREATOR
public static final String KEY_NETWORK_PROBES_ATTEMPTED_BITMASK
public static final String KEY_NETWORK_PROBES_SUCCEEDED_BITMASK
public static final String KEY_NETWORK_VALIDATION_RESULT
public static final int NETWORK_PROBE_DNS
public static final int NETWORK_PROBE_FALLBACK
public static final int NETWORK_PROBE_HTTP
public static final int NETWORK_PROBE_HTTPS
public static final int NETWORK_PROBE_PRIVATE_DNS
public static final int NETWORK_VALIDATION_RESULT_INVALID
public static final int NETWORK_VALIDATION_RESULT_PARTIALLY_VALID
public static final int NETWORK_VALIDATION_RESULT_SKIPPED
public static final int NETWORK_VALIDATION_RESULT_VALID
public void <init> (android.net.Network, long, android.net.LinkProperties, android.net.NetworkCapabilities, android.os.PersistableBundle)
android.net.Network network
long reportTimestamp
android.net.LinkProperties linkProperties
android.net.NetworkCapabilities networkCapabilities
android.os.PersistableBundle additionalInfo
public int describeContents ()
public boolean equals (java.lang.Object)
Object o
public android.os.PersistableBundle getAdditionalInfo ()
public android.net.LinkProperties getLinkProperties ()
public android.net.Network getNetwork ()
public android.net.NetworkCapabilities getNetworkCapabilities ()
public long getReportTimestamp ()
public int hashCode ()
public void writeToParcel (android.os.Parcel, int)
android.os.Parcel dest
int flags
static void <clinit> ()
}
android/net/ConnectivityDiagnosticsManager$DataStallReport.class
ConnectivityDiagnosticsManager.java
package android.net
public final android.net.ConnectivityDiagnosticsManager$DataStallReport extends java.lang.Object implements android.os.Parcelable {
public static final android.os.Parcelable$Creator CREATOR
public static final int DETECTION_METHOD_DNS_EVENTS
public static final int DETECTION_METHOD_TCP_METRICS
public static final String KEY_DNS_CONSECUTIVE_TIMEOUTS
public static final String KEY_TCP_METRICS_COLLECTION_PERIOD_MILLIS
public static final String KEY_TCP_PACKET_FAIL_RATE
public void <init> (android.net.Network, long, int, android.net.LinkProperties, android.net.NetworkCapabilities, android.os.PersistableBundle)
android.net.Network network
long reportTimestamp
int detectionMethod
android.net.LinkProperties linkProperties
android.net.NetworkCapabilities networkCapabilities
android.os.PersistableBundle stallDetails
public int describeContents ()
public boolean equals (java.lang.Object)
Object o
public int getDetectionMethod ()
public android.net.LinkProperties getLinkProperties ()
public android.net.Network getNetwork ()
public android.net.NetworkCapabilities getNetworkCapabilities ()
public long getReportTimestamp ()
public android.os.PersistableBundle getStallDetails ()
public int hashCode ()
public void writeToParcel (android.os.Parcel, int)
android.os.Parcel dest
int flags
static void <clinit> ()
}
android/net/ConnectivityDiagnosticsManager.class
ConnectivityDiagnosticsManager.java
package android.net
public android.net.ConnectivityDiagnosticsManager extends java.lang.Object {
void <init> ()
public void registerConnectivityDiagnosticsCallback (android.net.NetworkRequest, java.util.concurrent.Executor, android.net.ConnectivityDiagnosticsManager$ConnectivityDiagnosticsCallback)
android.net.NetworkRequest request
java.util.concurrent.Executor e
android.net.ConnectivityDiagnosticsManager$ConnectivityDiagnosticsCallback callback
public void unregisterConnectivityDiagnosticsCallback (android.net.ConnectivityDiagnosticsManager$ConnectivityDiagnosticsCallback)
android.net.ConnectivityDiagnosticsManager$ConnectivityDiagnosticsCallback callback
}
android/net/ConnectivityFrameworkInitializer.class
ConnectivityFrameworkInitializer.java
package android.net
public final android.net.ConnectivityFrameworkInitializer extends java.lang.Object {
void <init> ()
public static void registerServiceWrappers ()
}
android/net/ConnectivityManager$NetworkCallback.class
ConnectivityManager.java
package android.net
public android.net.ConnectivityManager$NetworkCallback extends java.lang.Object {
public static final int FLAG_INCLUDE_LOCATION_INFO
public void <init> ()
public void <init> (int)
int flags
public void onAvailable (android.net.Network)
android.net.Network network
public void onBlockedStatusChanged (android.net.Network, boolean)
android.net.Network network
boolean blocked
public void onBlockedStatusChanged (android.net.Network, int)
android.net.Network network
int blocked
public void onCapabilitiesChanged (android.net.Network, android.net.NetworkCapabilities)
android.net.Network network
android.net.NetworkCapabilities networkCapabilities
public void onLinkPropertiesChanged (android.net.Network, android.net.LinkProperties)
android.net.Network network
android.net.LinkProperties linkProperties
public void onLosing (android.net.Network, int)
android.net.Network network
int maxMsToLive
public void onLost (android.net.Network)
android.net.Network network
public void onUnavailable ()
}
android/net/ConnectivityManager$OnNetworkActiveListener.class
ConnectivityManager.java
package android.net
public abstract android.net.ConnectivityManager$OnNetworkActiveListener extends java.lang.Object {
public abstract void onNetworkActive ()
}
android/net/ConnectivityManager$OnStartTetheringCallback.class
ConnectivityManager.java
package android.net
public abstract android.net.ConnectivityManager$OnStartTetheringCallback extends java.lang.Object {
public void <init> ()
public void onTetheringFailed ()
public void onTetheringStarted ()
}
android/net/ConnectivityManager$OnTetheringEntitlementResultListener.class
ConnectivityManager.java
package android.net
public abstract android.net.ConnectivityManager$OnTetheringEntitlementResultListener extends java.lang.Object {
public abstract void onTetheringEntitlementResult (int)
}
android/net/ConnectivityManager$OnTetheringEventCallback.class
ConnectivityManager.java
package android.net
public abstract android.net.ConnectivityManager$OnTetheringEventCallback extends java.lang.Object {
public void <init> ()
public void onUpstreamChanged (android.net.Network)
android.net.Network network
}
android/net/ConnectivityManager.class
ConnectivityManager.java
package android.net
public android.net.ConnectivityManager extends java.lang.Object {
public static final String ACTION_BACKGROUND_DATA_SETTING_CHANGED
public static final String ACTION_CAPTIVE_PORTAL_SIGN_IN
public static final String ACTION_CLEAR_DNS_CACHE
public static final String ACTION_PROMPT_LOST_VALIDATION
public static final String ACTION_PROMPT_PARTIAL_CONNECTIVITY
public static final String ACTION_PROMPT_UNVALIDATED
public static final String ACTION_RESTRICT_BACKGROUND_CHANGED
public static final int BLOCKED_METERED_REASON_ADMIN_DISABLED
public static final int BLOCKED_METERED_REASON_DATA_SAVER
public static final int BLOCKED_METERED_REASON_MASK
public static final int BLOCKED_METERED_REASON_USER_RESTRICTED
public static final int BLOCKED_REASON_APP_BACKGROUND
public static final int BLOCKED_REASON_APP_STANDBY
public static final int BLOCKED_REASON_BATTERY_SAVER
public static final int BLOCKED_REASON_DOZE
public static final int BLOCKED_REASON_LOCKDOWN_VPN
public static final int BLOCKED_REASON_LOW_POWER_STANDBY
public static final int BLOCKED_REASON_NONE
public static final int BLOCKED_REASON_RESTRICTED_MODE
public static final String CONNECTIVITY_ACTION
public static final int DEFAULT_NETWORK_PREFERENCE
public static final String EXTRA_CAPTIVE_PORTAL
public static final String EXTRA_CAPTIVE_PORTAL_PROBE_SPEC
public static final String EXTRA_CAPTIVE_PORTAL_URL
public static final String EXTRA_CAPTIVE_PORTAL_USER_AGENT
public static final String EXTRA_EXTRA_INFO
public static final String EXTRA_IS_FAILOVER
public static final String EXTRA_NETWORK
public static final String EXTRA_NETWORK_INFO
public static final String EXTRA_NETWORK_REQUEST
public static final String EXTRA_NETWORK_TYPE
public static final String EXTRA_NO_CONNECTIVITY
public static final String EXTRA_OTHER_NETWORK_INFO
public static final String EXTRA_REASON
public static final int FIREWALL_CHAIN_BACKGROUND
public static final int FIREWALL_CHAIN_DOZABLE
public static final int FIREWALL_CHAIN_LOW_POWER_STANDBY
public static final int FIREWALL_CHAIN_OEM_DENY_1
public static final int FIREWALL_CHAIN_OEM_DENY_2
public static final int FIREWALL_CHAIN_OEM_DENY_3
public static final int FIREWALL_CHAIN_POWERSAVE
public static final int FIREWALL_CHAIN_RESTRICTED
public static final int FIREWALL_CHAIN_STANDBY
public static final int FIREWALL_RULE_ALLOW
public static final int FIREWALL_RULE_DEFAULT
public static final int FIREWALL_RULE_DENY
public static final int MULTIPATH_PREFERENCE_HANDOVER
public static final int MULTIPATH_PREFERENCE_PERFORMANCE
public static final int MULTIPATH_PREFERENCE_RELIABILITY
public static final int PROFILE_NETWORK_PREFERENCE_DEFAULT
public static final int PROFILE_NETWORK_PREFERENCE_ENTERPRISE
public static final int PROFILE_NETWORK_PREFERENCE_ENTERPRISE_BLOCKING
public static final int PROFILE_NETWORK_PREFERENCE_ENTERPRISE_NO_FALLBACK
public static final int RESTRICT_BACKGROUND_STATUS_DISABLED
public static final int RESTRICT_BACKGROUND_STATUS_ENABLED
public static final int RESTRICT_BACKGROUND_STATUS_WHITELISTED
public static final int TETHERING_BLUETOOTH
public static final int TETHERING_USB
public static final int TETHERING_WIFI
public static final int TETHER_ERROR_ENTITLEMENT_UNKONWN
public static final int TETHER_ERROR_NO_ERROR
public static final int TETHER_ERROR_PROVISION_FAILED
public static final int TYPE_BLUETOOTH
public static final int TYPE_DUMMY
public static final int TYPE_ETHERNET
public static final int TYPE_MOBILE
public static final int TYPE_MOBILE_DUN
public static final int TYPE_MOBILE_HIPRI
public static final int TYPE_MOBILE_MMS
public static final int TYPE_MOBILE_SUPL
public static final int TYPE_NONE
public static final int TYPE_PROXY
public static final int TYPE_VPN
public static final int TYPE_WIFI
public static final int TYPE_WIFI_P2P
public static final int TYPE_WIMAX
void <init> ()
public void addDefaultNetworkActiveListener (android.net.ConnectivityManager$OnNetworkActiveListener)
android.net.ConnectivityManager$OnNetworkActiveListener l
public void addUidToMeteredNetworkAllowList (int)
int uid
public void addUidToMeteredNetworkDenyList (int)
int uid
public boolean bindProcessToNetwork (android.net.Network)
android.net.Network network
public android.net.SocketKeepalive createNattKeepalive (android.net.Network, android.os.ParcelFileDescriptor, java.net.InetAddress, java.net.InetAddress, java.util.concurrent.Executor, android.net.SocketKeepalive$Callback)
android.net.Network network
android.os.ParcelFileDescriptor pfd
java.net.InetAddress source
java.net.InetAddress destination
java.util.concurrent.Executor executor
android.net.SocketKeepalive$Callback callback
public android.net.SocketKeepalive createSocketKeepalive (android.net.Network, android.net.IpSecManager$UdpEncapsulationSocket, java.net.InetAddress, java.net.InetAddress, java.util.concurrent.Executor, android.net.SocketKeepalive$Callback)
android.net.Network network
android.net.IpSecManager$UdpEncapsulationSocket socket
java.net.InetAddress source
java.net.InetAddress destination
java.util.concurrent.Executor executor
android.net.SocketKeepalive$Callback callback
public android.net.SocketKeepalive createSocketKeepalive (android.net.Network, java.net.Socket, java.util.concurrent.Executor, android.net.SocketKeepalive$Callback)
android.net.Network network
java.net.Socket socket
java.util.concurrent.Executor executor
android.net.SocketKeepalive$Callback callback
public void factoryReset ()
public android.net.Network getActiveNetwork ()
public android.net.NetworkInfo getActiveNetworkInfo ()
public android.net.NetworkInfo[] getAllNetworkInfo ()
public java.util.List getAllNetworkStateSnapshots ()
public android.net.Network[] getAllNetworks ()
public boolean getBackgroundDataSetting ()
public android.net.Network getBoundNetworkForProcess ()
public java.lang.String getCaptivePortalServerUrl ()
public int getConnectionOwnerUid (int, java.net.InetSocketAddress, java.net.InetSocketAddress)
int protocol
java.net.InetSocketAddress local
java.net.InetSocketAddress remote
public android.net.ProxyInfo getDefaultProxy ()
public android.net.ProxyInfo getGlobalProxy ()
public static android.util.Range getIpSecNetIdRange ()
public void getLatestTetheringEntitlementResult (int, boolean, java.util.concurrent.Executor, android.net.ConnectivityManager$OnTetheringEntitlementResultListener)
int type
boolean showEntitlementUi
java.util.concurrent.Executor executor
android.net.ConnectivityManager$OnTetheringEntitlementResultListener listener
public android.net.LinkProperties getLinkProperties (android.net.Network)
android.net.Network network
public int getMultipathPreference (android.net.Network)
android.net.Network network
public android.net.NetworkCapabilities getNetworkCapabilities (android.net.Network)
android.net.Network network
public android.net.NetworkInfo getNetworkInfo (android.net.Network)
android.net.Network network
public android.net.NetworkInfo getNetworkInfo (int)
int networkType
public int getNetworkPreference ()
public byte[] getNetworkWatchlistConfigHash ()
public static android.net.Network getProcessDefaultNetwork ()
public android.net.LinkProperties getRedactedLinkPropertiesForPackage (android.net.LinkProperties, int, java.lang.String)
android.net.LinkProperties lp
int uid
String packageName
public android.net.NetworkCapabilities getRedactedNetworkCapabilitiesForPackage (android.net.NetworkCapabilities, int, java.lang.String)
android.net.NetworkCapabilities nc
int uid
String packageName
public int getRestrictBackgroundStatus ()
public boolean isActiveNetworkMetered ()
public boolean isDefaultNetworkActive ()
public static boolean isNetworkTypeValid (int)
int networkType
public boolean isTetheringSupported ()
public boolean isUidNetworkingBlocked (int, boolean)
int uid
boolean isNetworkMetered
public void registerBestMatchingNetworkCallback (android.net.NetworkRequest, android.net.ConnectivityManager$NetworkCallback, android.os.Handler)
android.net.NetworkRequest request
android.net.ConnectivityManager$NetworkCallback networkCallback
android.os.Handler handler
public void registerDefaultNetworkCallback (android.net.ConnectivityManager$NetworkCallback)
android.net.ConnectivityManager$NetworkCallback networkCallback
public void registerDefaultNetworkCallback (android.net.ConnectivityManager$NetworkCallback, android.os.Handler)
android.net.ConnectivityManager$NetworkCallback networkCallback
android.os.Handler handler
public void registerDefaultNetworkCallbackForUid (int, android.net.ConnectivityManager$NetworkCallback, android.os.Handler)
int uid
android.net.ConnectivityManager$NetworkCallback networkCallback
android.os.Handler handler
public void registerNetworkCallback (android.net.NetworkRequest, android.app.PendingIntent)
android.net.NetworkRequest request
android.app.PendingIntent operation
public void registerNetworkCallback (android.net.NetworkRequest, android.net.ConnectivityManager$NetworkCallback)
android.net.NetworkRequest request
android.net.ConnectivityManager$NetworkCallback networkCallback
public void registerNetworkCallback (android.net.NetworkRequest, android.net.ConnectivityManager$NetworkCallback, android.os.Handler)
android.net.NetworkRequest request
android.net.ConnectivityManager$NetworkCallback networkCallback
android.os.Handler handler
public int registerNetworkProvider (android.net.NetworkProvider)
android.net.NetworkProvider provider
public void registerQosCallback (android.net.QosSocketInfo, java.util.concurrent.Executor, android.net.QosCallback)
android.net.QosSocketInfo socketInfo
java.util.concurrent.Executor executor
android.net.QosCallback callback
public void registerSystemDefaultNetworkCallback (android.net.ConnectivityManager$NetworkCallback, android.os.Handler)
android.net.ConnectivityManager$NetworkCallback networkCallback
android.os.Handler handler
public void registerTetheringEventCallback (java.util.concurrent.Executor, android.net.ConnectivityManager$OnTetheringEventCallback)
java.util.concurrent.Executor executor
android.net.ConnectivityManager$OnTetheringEventCallback callback
public void releaseNetworkRequest (android.app.PendingIntent)
android.app.PendingIntent operation
public void removeDefaultNetworkActiveListener (android.net.ConnectivityManager$OnNetworkActiveListener)
android.net.ConnectivityManager$OnNetworkActiveListener l
public void removeUidFromMeteredNetworkAllowList (int)
int uid
public void removeUidFromMeteredNetworkDenyList (int)
int uid
public void replaceFirewallChain (int, int[])
int chain
int[] uids
public void reportBadNetwork (android.net.Network)
android.net.Network network
public void reportNetworkConnectivity (android.net.Network, boolean)
android.net.Network network
boolean hasConnectivity
public void requestBackgroundNetwork (android.net.NetworkRequest, android.net.ConnectivityManager$NetworkCallback, android.os.Handler)
android.net.NetworkRequest request
android.net.ConnectivityManager$NetworkCallback networkCallback
android.os.Handler handler
public boolean requestBandwidthUpdate (android.net.Network)
android.net.Network network
public void requestNetwork (android.net.NetworkRequest, android.app.PendingIntent)
android.net.NetworkRequest request
android.app.PendingIntent operation
public void requestNetwork (android.net.NetworkRequest, android.net.ConnectivityManager$NetworkCallback)
android.net.NetworkRequest request
android.net.ConnectivityManager$NetworkCallback networkCallback
public void requestNetwork (android.net.NetworkRequest, android.net.ConnectivityManager$NetworkCallback, android.os.Handler)
android.net.NetworkRequest request
android.net.ConnectivityManager$NetworkCallback networkCallback
android.os.Handler handler
public void requestNetwork (android.net.NetworkRequest, android.net.ConnectivityManager$NetworkCallback, android.os.Handler, int)
android.net.NetworkRequest request
android.net.ConnectivityManager$NetworkCallback networkCallback
android.os.Handler handler
int timeoutMs
public void requestNetwork (android.net.NetworkRequest, android.net.ConnectivityManager$NetworkCallback, int)
android.net.NetworkRequest request
android.net.ConnectivityManager$NetworkCallback networkCallback
int timeoutMs
public void requestNetwork (android.net.NetworkRequest, int, int, android.os.Handler, android.net.ConnectivityManager$NetworkCallback)
android.net.NetworkRequest request
int timeoutMs
int legacyType
android.os.Handler handler
android.net.ConnectivityManager$NetworkCallback networkCallback
public boolean requestRouteToHostAddress (int, java.net.InetAddress)
int networkType
java.net.InetAddress hostAddress
public void setAcceptPartialConnectivity (android.net.Network, boolean, boolean)
android.net.Network network
boolean accept
boolean always
public void setAcceptUnvalidated (android.net.Network, boolean, boolean)
android.net.Network network
boolean accept
boolean always
public void setAirplaneMode (boolean)
boolean enable
public void setAvoidUnvalidated (android.net.Network)
android.net.Network network
public void setDataSaverEnabled (boolean)
boolean enable
public void setFirewallChainEnabled (int, boolean)
int chain
boolean enable
public void setGlobalProxy (android.net.ProxyInfo)
android.net.ProxyInfo p
public void setLegacyLockdownVpnEnabled (boolean)
boolean enabled
public void setNetworkPreference (int)
int preference
public void setOemNetworkPreference (android.net.OemNetworkPreferences, java.util.concurrent.Executor, java.lang.Runnable)
android.net.OemNetworkPreferences preference
java.util.concurrent.Executor executor
Runnable listener
public static boolean setProcessDefaultNetwork (android.net.Network)
android.net.Network network
public void setProfileNetworkPreference (android.os.UserHandle, int, java.util.concurrent.Executor, java.lang.Runnable)
android.os.UserHandle profile
int preference
java.util.concurrent.Executor executor
Runnable listener
public void setProfileNetworkPreferences (android.os.UserHandle, java.util.List, java.util.concurrent.Executor, java.lang.Runnable)
android.os.UserHandle profile
java.util.List profileNetworkPreferences
java.util.concurrent.Executor executor
Runnable listener
public void setRequireVpnForUids (boolean, java.util.Collection)
boolean requireVpn
java.util.Collection ranges
public void setUidFirewallRule (int, int, int)
int chain
int uid
int rule
public void setVpnDefaultForUids (java.lang.String, java.util.Collection)
String session
java.util.Collection ranges
public boolean shouldAvoidBadWifi ()
public void simulateDataStall (int, long, android.net.Network, android.os.PersistableBundle)
int detectionMethod
long timestampMillis
android.net.Network network
android.os.PersistableBundle extras
public void startCaptivePortalApp (android.net.Network)
android.net.Network network
public void startCaptivePortalApp (android.net.Network, android.os.Bundle)
android.net.Network network
android.os.Bundle appExtras
public void startTethering (int, boolean, android.net.ConnectivityManager$OnStartTetheringCallback)
int type
boolean showProvisioningUi
android.net.ConnectivityManager$OnStartTetheringCallback callback
public void startTethering (int, boolean, android.net.ConnectivityManager$OnStartTetheringCallback, android.os.Handler)
int type
boolean showProvisioningUi
android.net.ConnectivityManager$OnStartTetheringCallback callback
android.os.Handler handler
public void stopTethering (int)
int type
public void systemReady ()
public void unregisterNetworkCallback (android.app.PendingIntent)
android.app.PendingIntent operation
public void unregisterNetworkCallback (android.net.ConnectivityManager$NetworkCallback)
android.net.ConnectivityManager$NetworkCallback networkCallback
public void unregisterNetworkProvider (android.net.NetworkProvider)
android.net.NetworkProvider provider
public void unregisterQosCallback (android.net.QosCallback)
android.net.QosCallback callback
public void unregisterTetheringEventCallback (android.net.ConnectivityManager$OnTetheringEventCallback)
android.net.ConnectivityManager$OnTetheringEventCallback callback
}
android/net/ConnectivitySettingsManager.class
ConnectivitySettingsManager.java
package android.net
public android.net.ConnectivitySettingsManager extends java.lang.Object {
public static final int CAPTIVE_PORTAL_MODE_AVOID
public static final int CAPTIVE_PORTAL_MODE_IGNORE
public static final int CAPTIVE_PORTAL_MODE_PROMPT
public static final int NETWORK_AVOID_BAD_WIFI_AVOID
public static final int NETWORK_AVOID_BAD_WIFI_IGNORE
public static final int NETWORK_AVOID_BAD_WIFI_PROMPT
public static final int PRIVATE_DNS_MODE_OFF
public static final int PRIVATE_DNS_MODE_OPPORTUNISTIC
public static final int PRIVATE_DNS_MODE_PROVIDER_HOSTNAME
void <init> ()
public static void clearGlobalProxy (android.content.Context)
android.content.Context context
public static java.lang.String getCaptivePortalHttpUrl (android.content.Context)
android.content.Context context
public static int getCaptivePortalMode (android.content.Context, int)
android.content.Context context
int def
public static java.time.Duration getConnectivityKeepPendingIntentDuration (android.content.Context, java.time.Duration)
android.content.Context context
java.time.Duration def
public static android.util.Range getDnsResolverSampleRanges (android.content.Context)
android.content.Context context
public static java.time.Duration getDnsResolverSampleValidityDuration (android.content.Context, java.time.Duration)
android.content.Context context
java.time.Duration def
public static int getDnsResolverSuccessThresholdPercent (android.content.Context, int)
android.content.Context context
int def
public static android.net.ProxyInfo getGlobalProxy (android.content.Context)
android.content.Context context
public static long getIngressRateLimitInBytesPerSecond (android.content.Context)
android.content.Context context
public static java.time.Duration getMobileDataActivityTimeout (android.content.Context, java.time.Duration)
android.content.Context context
java.time.Duration def
public static boolean getMobileDataAlwaysOn (android.content.Context, boolean)
android.content.Context context
boolean def
public static java.util.Set getMobileDataPreferredUids (android.content.Context)
android.content.Context context
public static int getNetworkAvoidBadWifi (android.content.Context)
android.content.Context context
public static java.lang.String getNetworkMeteredMultipathPreference (android.content.Context)
android.content.Context context
public static int getNetworkSwitchNotificationMaximumDailyCount (android.content.Context, int)
android.content.Context context
int def
public static java.time.Duration getNetworkSwitchNotificationRateDuration (android.content.Context, java.time.Duration)
android.content.Context context
java.time.Duration def
public static java.lang.String getPrivateDnsDefaultMode (android.content.Context)
android.content.Context context
public static java.lang.String getPrivateDnsHostname (android.content.Context)
android.content.Context context
public static int getPrivateDnsMode (android.content.Context)
android.content.Context context
public static java.util.Set getUidsAllowedOnRestrictedNetworks (android.content.Context)
android.content.Context context
public static boolean getWifiAlwaysRequested (android.content.Context, boolean)
android.content.Context context
boolean def
public static java.time.Duration getWifiDataActivityTimeout (android.content.Context, java.time.Duration)
android.content.Context context
java.time.Duration def
public static void setCaptivePortalHttpUrl (android.content.Context, java.lang.String)
android.content.Context context
String url
public static void setCaptivePortalMode (android.content.Context, int)
android.content.Context context
int mode
public static void setConnectivityKeepPendingIntentDuration (android.content.Context, java.time.Duration)
android.content.Context context
java.time.Duration duration
public static void setDnsResolverSampleRanges (android.content.Context, android.util.Range)
android.content.Context context
android.util.Range range
public static void setDnsResolverSampleValidityDuration (android.content.Context, java.time.Duration)
android.content.Context context
java.time.Duration duration
public static void setDnsResolverSuccessThresholdPercent (android.content.Context, int)
android.content.Context context
int percent
public static void setGlobalProxy (android.content.Context, android.net.ProxyInfo)
android.content.Context context
android.net.ProxyInfo proxyInfo
public static void setIngressRateLimitInBytesPerSecond (android.content.Context, long)
android.content.Context context
long rateLimitInBytesPerSec
public static void setMobileDataActivityTimeout (android.content.Context, java.time.Duration)
android.content.Context context
java.time.Duration timeout
public static void setMobileDataAlwaysOn (android.content.Context, boolean)
android.content.Context context
boolean enable
public static void setMobileDataPreferredUids (android.content.Context, java.util.Set)
android.content.Context context
java.util.Set uidList
public static void setNetworkAvoidBadWifi (android.content.Context, int)
android.content.Context context
int value
public static void setNetworkMeteredMultipathPreference (android.content.Context, java.lang.String)
android.content.Context context
String preference
public static void setNetworkSwitchNotificationMaximumDailyCount (android.content.Context, int)
android.content.Context context
int count
public static void setNetworkSwitchNotificationRateDuration (android.content.Context, java.time.Duration)
android.content.Context context
java.time.Duration duration
public static void setPrivateDnsDefaultMode (android.content.Context, int)
android.content.Context context
int mode
public static void setPrivateDnsHostname (android.content.Context, java.lang.String)
android.content.Context context
String specifier
public static void setPrivateDnsMode (android.content.Context, int)
android.content.Context context
int mode
public static void setUidsAllowedOnRestrictedNetworks (android.content.Context, java.util.Set)
android.content.Context context
java.util.Set uidList
public static void setWifiAlwaysRequested (android.content.Context, boolean)
android.content.Context context
boolean enable
public static void setWifiDataActivityTimeout (android.content.Context, java.time.Duration)
android.content.Context context
java.time.Duration timeout
}
android/net/DhcpInfo.class
DhcpInfo.java
package android.net
public android.net.DhcpInfo extends java.lang.Object implements android.os.Parcelable {
public static final android.os.Parcelable$Creator CREATOR
public int dns1
public int dns2
public int gateway
public int ipAddress
public int leaseDuration
public int netmask
public int serverAddress
public void <init> ()
public int describeContents ()
public java.lang.String toString ()
public void writeToParcel (android.os.Parcel, int)
android.os.Parcel dest
int flags
static void <clinit> ()
}
android/net/DhcpOption.class
DhcpOption.java
package android.net
public final android.net.DhcpOption extends java.lang.Object implements android.os.Parcelable {
public static final android.os.Parcelable$Creator CREATOR
public void <init> (byte, byte[])
byte type
byte[] value
public int describeContents ()
public byte getType ()
public byte[] getValue ()
public void writeToParcel (android.os.Parcel, int)
android.os.Parcel dest
int flags
static void <clinit> ()
}
android/net/DnsResolver$Callback.class
DnsResolver.java
package android.net
public abstract android.net.DnsResolver$Callback extends java.lang.Object {
public abstract void onAnswer (java.lang.Object, int)
public abstract void onError (android.net.DnsResolver$DnsException)
}
android/net/DnsResolver$DnsException.class
DnsResolver.java
package android.net
public android.net.DnsResolver$DnsException extends java.lang.Exception {
public final int code
public void <init> (int, java.lang.Throwable)
int code
Throwable cause
}
android/net/DnsResolver.class
DnsResolver.java
package android.net
public final android.net.DnsResolver extends java.lang.Object {
public static final int CLASS_IN
public static final int ERROR_PARSE
public static final int ERROR_SYSTEM
public static final int FLAG_EMPTY
public static final int FLAG_NO_CACHE_LOOKUP
public static final int FLAG_NO_CACHE_STORE
public static final int FLAG_NO_RETRY
public static final int TYPE_A
public static final int TYPE_AAAA
void <init> ()
public static android.net.DnsResolver getInstance ()
public void query (android.net.Network, java.lang.String, int, int, java.util.concurrent.Executor, android.os.CancellationSignal, android.net.DnsResolver$Callback)
android.net.Network network
String domain
int nsType
int flags
java.util.concurrent.Executor executor
android.os.CancellationSignal cancellationSignal
android.net.DnsResolver$Callback callback
public void query (android.net.Network, java.lang.String, int, java.util.concurrent.Executor, android.os.CancellationSignal, android.net.DnsResolver$Callback)
android.net.Network network
String domain
int flags
java.util.concurrent.Executor executor
android.os.CancellationSignal cancellationSignal
android.net.DnsResolver$Callback callback
public void rawQuery (android.net.Network, byte[], int, java.util.concurrent.Executor, android.os.CancellationSignal, android.net.DnsResolver$Callback)
android.net.Network network
byte[] query
int flags
java.util.concurrent.Executor executor
android.os.CancellationSignal cancellationSignal
android.net.DnsResolver$Callback callback
public void rawQuery (android.net.Network, java.lang.String, int, int, int, java.util.concurrent.Executor, android.os.CancellationSignal, android.net.DnsResolver$Callback)
android.net.Network network
String domain
int nsClass
int nsType
int flags
java.util.concurrent.Executor executor
android.os.CancellationSignal cancellationSignal
android.net.DnsResolver$Callback callback
}
android/net/DscpPolicy$Builder.class
DscpPolicy.java
package android.net
public final android.net.DscpPolicy$Builder extends java.lang.Object {
public void <init> (int, int)
int policyId
int dscpValue
public android.net.DscpPolicy build ()
public android.net.DscpPolicy$Builder setDestinationAddress (java.net.InetAddress)
java.net.InetAddress value
public android.net.DscpPolicy$Builder setDestinationPortRange (android.util.Range)
android.util.Range range
public android.net.DscpPolicy$Builder setProtocol (int)
int value
public android.net.DscpPolicy$Builder setSourceAddress (java.net.InetAddress)
java.net.InetAddress value
public android.net.DscpPolicy$Builder setSourcePort (int)
int value
}
android/net/DscpPolicy.class
DscpPolicy.java
package android.net
public final android.net.DscpPolicy extends java.lang.Object implements android.os.Parcelable {
public static final android.os.Parcelable$Creator CREATOR
public static final int PROTOCOL_ANY
public static final int SOURCE_PORT_ANY
void <init> ()
public int describeContents ()
public boolean equals (java.lang.Object)
Object o
public java.net.InetAddress getDestinationAddress ()
public android.util.Range getDestinationPortRange ()
public int getDscpValue ()
public int getPolicyId ()
public int getProtocol ()
public java.net.InetAddress getSourceAddress ()
public int getSourcePort ()
public int hashCode ()
public java.lang.String toString ()
public void writeToParcel (android.os.Parcel, int)
android.os.Parcel dest
int flags
static void <clinit> ()
}
android/net/InetAddresses.class
InetAddresses.java
package android.net
public android.net.InetAddresses extends java.lang.Object {
void <init> ()
public static boolean isNumericAddress (java.lang.String)
String address
public static java.net.InetAddress parseNumericAddress (java.lang.String)
String address
}
android/net/InvalidPacketException.class
InvalidPacketException.java
package android.net
public final android.net.InvalidPacketException extends java.lang.Exception {
public static final int ERROR_INVALID_IP_ADDRESS
public static final int ERROR_INVALID_LENGTH
public static final int ERROR_INVALID_PORT
public void <init> (int)
int error
public int getError ()
}
android/net/IpConfiguration$Builder.class
IpConfiguration.java
package android.net
public final android.net.IpConfiguration$Builder extends java.lang.Object {
public void <init> ()
public android.net.IpConfiguration build ()
public android.net.IpConfiguration$Builder setHttpProxy (android.net.ProxyInfo)
android.net.ProxyInfo proxyInfo
public android.net.IpConfiguration$Builder setStaticIpConfiguration (android.net.StaticIpConfiguration)
android.net.StaticIpConfiguration config
}
android/net/IpConfiguration$IpAssignment.class
IpConfiguration.java
package android.net
public final enum android.net.IpConfiguration$IpAssignment extends java.lang.Enum {
public static final enum android.net.IpConfiguration$IpAssignment DHCP
public static final enum android.net.IpConfiguration$IpAssignment STATIC
public static final enum android.net.IpConfiguration$IpAssignment UNASSIGNED
private static final synthetic android.net.IpConfiguration$IpAssignment[] $VALUES
public static android.net.IpConfiguration$IpAssignment[] values ()
public static android.net.IpConfiguration$IpAssignment valueOf (java.lang.String)
String name
private void <init> (java.lang.String, int)
private static synthetic android.net.IpConfiguration$IpAssignment[] $values ()
static void <clinit> ()
}
android/net/IpConfiguration$ProxySettings.class
IpConfiguration.java
package android.net
public final enum android.net.IpConfiguration$ProxySettings extends java.lang.Enum {
public static final enum android.net.IpConfiguration$ProxySettings NONE
public static final enum android.net.IpConfiguration$ProxySettings PAC
public static final enum android.net.IpConfiguration$ProxySettings STATIC
public static final enum android.net.IpConfiguration$ProxySettings UNASSIGNED
private static final synthetic android.net.IpConfiguration$ProxySettings[] $VALUES
public static android.net.IpConfiguration$ProxySettings[] values ()
public static android.net.IpConfiguration$ProxySettings valueOf (java.lang.String)
String name
private void <init> (java.lang.String, int)
private static synthetic android.net.IpConfiguration$ProxySettings[] $values ()
static void <clinit> ()
}
android/net/IpConfiguration.class
IpConfiguration.java
package android.net
public final android.net.IpConfiguration extends java.lang.Object implements android.os.Parcelable {
public static final android.os.Parcelable$Creator CREATOR
public void <init> ()
public void <init> (android.net.IpConfiguration)
android.net.IpConfiguration source
public int describeContents ()
public boolean equals (java.lang.Object)
Object o
public android.net.ProxyInfo getHttpProxy ()
public android.net.IpConfiguration$IpAssignment getIpAssignment ()
public android.net.IpConfiguration$ProxySettings getProxySettings ()
public android.net.StaticIpConfiguration getStaticIpConfiguration ()
public int hashCode ()
public void setHttpProxy (android.net.ProxyInfo)
android.net.ProxyInfo httpProxy
public void setIpAssignment (android.net.IpConfiguration$IpAssignment)
android.net.IpConfiguration$IpAssignment ipAssignment
public void setProxySettings (android.net.IpConfiguration$ProxySettings)
android.net.IpConfiguration$ProxySettings proxySettings
public void setStaticIpConfiguration (android.net.StaticIpConfiguration)
android.net.StaticIpConfiguration staticIpConfiguration
public java.lang.String toString ()
public void writeToParcel (android.os.Parcel, int)
android.os.Parcel dest
int flags
static void <clinit> ()
}
android/net/IpPrefix.class
IpPrefix.java
package android.net
public final android.net.IpPrefix extends java.lang.Object implements android.os.Parcelable {
public static final android.os.Parcelable$Creator CREATOR
public void <init> (java.lang.String)
String prefix
public void <init> (java.net.InetAddress, int)
java.net.InetAddress address
int prefixLength
public boolean contains (java.net.InetAddress)
java.net.InetAddress address
public int describeContents ()
public boolean equals (java.lang.Object)
Object obj
public java.net.InetAddress getAddress ()
public int getPrefixLength ()
public byte[] getRawAddress ()
public int hashCode ()
public java.lang.String toString ()
public void writeToParcel (android.os.Parcel, int)
android.os.Parcel dest
int flags
static void <clinit> ()
}
android/net/KeepalivePacketData.class
KeepalivePacketData.java
package android.net
public android.net.KeepalivePacketData extends java.lang.Object {
protected void <init> (java.net.InetAddress, int, java.net.InetAddress, int, byte[]) throws android.net.InvalidPacketException
java.net.InetAddress srcAddress
int srcPort
java.net.InetAddress dstAddress
int dstPort
byte[] data
public java.net.InetAddress getDstAddress ()
public int getDstPort ()
public byte[] getPacket ()
public java.net.InetAddress getSrcAddress ()
public int getSrcPort ()
public java.lang.String toString ()
}
android/net/LinkAddress.class
LinkAddress.java
package android.net
public android.net.LinkAddress extends java.lang.Object implements android.os.Parcelable {
public static final android.os.Parcelable$Creator CREATOR
public static final long LIFETIME_PERMANENT
public static final long LIFETIME_UNKNOWN
public void <init> (java.lang.String)
String address
public void <init> (java.lang.String, int, int)
String address
int flags
int scope
public void <init> (java.net.InetAddress, int)
java.net.InetAddress address
int prefixLength
public void <init> (java.net.InetAddress, int, int, int)
java.net.InetAddress address
int prefixLength
int flags
int scope
public void <init> (java.net.InetAddress, int, int, int, long, long)
java.net.InetAddress address
int prefixLength
int flags
int scope
long deprecationTime
long expirationTime
public int describeContents ()
public boolean equals (java.lang.Object)
Object obj
public java.net.InetAddress getAddress ()
public long getDeprecationTime ()
public long getExpirationTime ()
public int getFlags ()
public int getPrefixLength ()
public int getScope ()
public int hashCode ()
public boolean isGlobalPreferred ()
public boolean isIpv4 ()
public boolean isIpv6 ()
public boolean isSameAddressAs (android.net.LinkAddress)
android.net.LinkAddress other
public java.lang.String toString ()
public void writeToParcel (android.os.Parcel, int)
android.os.Parcel dest
int flags
static void <clinit> ()
}
android/net/LinkProperties.class
LinkProperties.java
package android.net
public final android.net.LinkProperties extends java.lang.Object implements android.os.Parcelable {
public static final android.os.Parcelable$Creator CREATOR
public void <init> ()
public void <init> (android.net.LinkProperties)
android.net.LinkProperties source
public void <init> (android.net.LinkProperties, boolean)
android.net.LinkProperties source
boolean parcelSensitiveFields
public boolean addDnsServer (java.net.InetAddress)
java.net.InetAddress dnsServer
public boolean addLinkAddress (android.net.LinkAddress)
android.net.LinkAddress address
public boolean addPcscfServer (java.net.InetAddress)
java.net.InetAddress pcscfServer
public boolean addRoute (android.net.RouteInfo)
android.net.RouteInfo route
public void clear ()
public int describeContents ()
public boolean equals (java.lang.Object)
Object obj
public java.util.List getAddresses ()
public java.util.List getAllInterfaceNames ()
public java.util.List getAllLinkAddresses ()
public java.util.List getAllRoutes ()
public android.net.Uri getCaptivePortalApiUrl ()
public android.net.CaptivePortalData getCaptivePortalData ()
public java.net.Inet4Address getDhcpServerAddress ()
public java.util.List getDnsServers ()
public java.lang.String getDomains ()
public android.net.ProxyInfo getHttpProxy ()
public java.lang.String getInterfaceName ()
public java.util.List getLinkAddresses ()
public int getMtu ()
public android.net.IpPrefix getNat64Prefix ()
public java.util.List getPcscfServers ()
public java.lang.String getPrivateDnsServerName ()
public java.util.List getRoutes ()
public java.lang.String getTcpBufferSizes ()
public java.util.List getValidatedPrivateDnsServers ()
public boolean hasGlobalIpv6Address ()
public boolean hasIpv4Address ()
public boolean hasIpv4DefaultRoute ()
public boolean hasIpv4DnsServer ()
public boolean hasIpv6DefaultRoute ()
public boolean hasIpv6DnsServer ()
public int hashCode ()
public boolean isIpv4Provisioned ()
public boolean isIpv6Provisioned ()
public boolean isPrivateDnsActive ()
public boolean isProvisioned ()
public boolean isReachable (java.net.InetAddress)
java.net.InetAddress ip
public boolean isWakeOnLanSupported ()
public boolean removeDnsServer (java.net.InetAddress)
java.net.InetAddress dnsServer
public boolean removeLinkAddress (android.net.LinkAddress)
android.net.LinkAddress toRemove
public boolean removeRoute (android.net.RouteInfo)
android.net.RouteInfo route
public void setCaptivePortalApiUrl (android.net.Uri)
android.net.Uri url
public void setCaptivePortalData (android.net.CaptivePortalData)
android.net.CaptivePortalData data
public void setDhcpServerAddress (java.net.Inet4Address)
java.net.Inet4Address serverAddress
public void setDnsServers (java.util.Collection)
java.util.Collection dnsServers
public void setDomains (java.lang.String)
String domains
public void setHttpProxy (android.net.ProxyInfo)
android.net.ProxyInfo proxy
public void setInterfaceName (java.lang.String)
String iface
public void setLinkAddresses (java.util.Collection)
java.util.Collection addresses
public void setMtu (int)
int mtu
public void setNat64Prefix (android.net.IpPrefix)
android.net.IpPrefix prefix
public void setPcscfServers (java.util.Collection)
java.util.Collection pcscfServers
public void setPrivateDnsServerName (java.lang.String)
String privateDnsServerName
public void setTcpBufferSizes (java.lang.String)
String tcpBufferSizes
public void setUsePrivateDns (boolean)
boolean usePrivateDns
public void setValidatedPrivateDnsServers (java.util.Collection)
java.util.Collection dnsServers
public java.lang.String toString ()
public void writeToParcel (android.os.Parcel, int)
android.os.Parcel dest
int flags
static void <clinit> ()
}
android/net/MacAddress.class
MacAddress.java
package android.net
public final android.net.MacAddress extends java.lang.Object implements android.os.Parcelable {
public static final android.net.MacAddress BROADCAST_ADDRESS
public static final android.os.Parcelable$Creator CREATOR
public static final int TYPE_BROADCAST
public static final int TYPE_MULTICAST
public static final int TYPE_UNICAST
void <init> ()
public int describeContents ()
public boolean equals (java.lang.Object)
Object o
public static android.net.MacAddress fromBytes (byte[])
byte[] addr
public static android.net.MacAddress fromString (java.lang.String)
String addr
public int getAddressType ()
public java.net.Inet6Address getLinkLocalIpv6FromEui48Mac ()
public int hashCode ()
public boolean isLocallyAssigned ()
public boolean matches (android.net.MacAddress, android.net.MacAddress)
android.net.MacAddress baseAddress
android.net.MacAddress mask
public byte[] toByteArray ()
public java.lang.String toOuiString ()
public java.lang.String toString ()
public void writeToParcel (android.os.Parcel, int)
android.os.Parcel out
int flags
static void <clinit> ()
}
android/net/NattKeepalivePacketData.class
NattKeepalivePacketData.java
package android.net
public final android.net.NattKeepalivePacketData extends android.net.KeepalivePacketData implements android.os.Parcelable {
public static final android.os.Parcelable$Creator CREATOR
public void <init> (java.net.InetAddress, int, java.net.InetAddress, int, byte[]) throws android.net.InvalidPacketException
java.net.InetAddress srcAddress
int srcPort
java.net.InetAddress dstAddress
int dstPort
byte[] data
public int describeContents ()
public boolean equals (java.lang.Object)
Object o
public int hashCode ()
public void writeToParcel (android.os.Parcel, int)
android.os.Parcel out
int flags
static void <clinit> ()
}
android/net/Network.class
Network.java
package android.net
public android.net.Network extends java.lang.Object implements android.os.Parcelable {
public static final android.os.Parcelable$Creator CREATOR
public void <init> (android.net.Network)
android.net.Network that
public void bindSocket (java.io.FileDescriptor) throws java.io.IOException
java.io.FileDescriptor fd
public void bindSocket (java.net.DatagramSocket) throws java.io.IOException
java.net.DatagramSocket socket
public void bindSocket (java.net.Socket) throws java.io.IOException
java.net.Socket socket
public int describeContents ()
public boolean equals (java.lang.Object)
Object obj
public static android.net.Network fromNetworkHandle (long)
long networkHandle
public java.net.InetAddress[] getAllByName (java.lang.String) throws java.net.UnknownHostException
String host
public java.net.InetAddress getByName (java.lang.String) throws java.net.UnknownHostException
String host
public int getNetId ()
public long getNetworkHandle ()
public android.net.Network getPrivateDnsBypassingCopy ()
public javax.net.SocketFactory getSocketFactory ()
public int hashCode ()
public java.net.URLConnection openConnection (java.net.URL) throws java.io.IOException
java.net.URL url
public java.net.URLConnection openConnection (java.net.URL, java.net.Proxy) throws java.io.IOException
java.net.URL url
java.net.Proxy proxy
public java.lang.String toString ()
public void writeToParcel (android.os.Parcel, int)
android.os.Parcel dest
int flags
static void <clinit> ()
}
android/net/NetworkAgent.class
NetworkAgent.java
package android.net
public abstract android.net.NetworkAgent extends java.lang.Object {
public static final int DSCP_POLICY_STATUS_DELETED
public static final int DSCP_POLICY_STATUS_INSUFFICIENT_PROCESSING_RESOURCES
public static final int DSCP_POLICY_STATUS_POLICY_NOT_FOUND
public static final int DSCP_POLICY_STATUS_REQUESTED_CLASSIFIER_NOT_SUPPORTED
public static final int DSCP_POLICY_STATUS_REQUEST_DECLINED
public static final int DSCP_POLICY_STATUS_SUCCESS
public static final int VALIDATION_STATUS_NOT_VALID
public static final int VALIDATION_STATUS_VALID
public void <init> (android.content.Context, android.os.Looper, java.lang.String, android.net.NetworkCapabilities, android.net.LinkProperties, android.net.NetworkScore, android.net.NetworkAgentConfig, android.net.NetworkProvider)
android.content.Context context
android.os.Looper looper
String logTag
android.net.NetworkCapabilities nc
android.net.LinkProperties lp
android.net.NetworkScore score
android.net.NetworkAgentConfig config
android.net.NetworkProvider provider
public void <init> (android.content.Context, android.os.Looper, java.lang.String, android.net.NetworkCapabilities, android.net.LinkProperties, int, android.net.NetworkAgentConfig, android.net.NetworkProvider)
android.content.Context context
android.os.Looper looper
String logTag
android.net.NetworkCapabilities nc
android.net.LinkProperties lp
int score
android.net.NetworkAgentConfig config
android.net.NetworkProvider provider
public android.net.Network getNetwork ()
public void markConnected ()
public void onAddKeepalivePacketFilter (int, android.net.KeepalivePacketData)
int slot
android.net.KeepalivePacketData packet
public void onAutomaticReconnectDisabled ()
public void onBandwidthUpdateRequested ()
public void onDscpPolicyStatusUpdated (int, int)
int policyId
int status
public void onNetworkCreated ()
public void onNetworkDestroyed ()
public void onNetworkUnwanted ()
public void onQosCallbackRegistered (int, android.net.QosFilter)
int qosCallbackId
android.net.QosFilter filter
public void onQosCallbackUnregistered (int)
int qosCallbackId
public void onRemoveKeepalivePacketFilter (int)
int slot
public void onSaveAcceptUnvalidated (boolean)
boolean accept
public void onSignalStrengthThresholdsUpdated (int[])
int[] thresholds
public void onStartSocketKeepalive (int, java.time.Duration, android.net.KeepalivePacketData)
int slot
java.time.Duration interval
android.net.KeepalivePacketData packet
public void onStopSocketKeepalive (int)
int slot
public void onValidationStatus (int, android.net.Uri)
int status
android.net.Uri redirectUri
public android.net.Network register ()
public void sendAddDscpPolicy (android.net.DscpPolicy)
android.net.DscpPolicy policy
public void sendLinkProperties (android.net.LinkProperties)
android.net.LinkProperties linkProperties
public void sendNetworkCapabilities (android.net.NetworkCapabilities)
android.net.NetworkCapabilities networkCapabilities
public void sendNetworkScore (android.net.NetworkScore)
android.net.NetworkScore score
public void sendNetworkScore (int)
int score
public final void sendQosCallbackError (int, int)
int qosCallbackId
int exceptionType
public final void sendQosSessionAvailable (int, int, android.net.QosSessionAttributes)
int qosCallbackId
int sessionId
android.net.QosSessionAttributes attributes
public final void sendQosSessionLost (int, int, int)
int qosCallbackId
int sessionId
int qosSessionType
public void sendRemoveAllDscpPolicies ()
public void sendRemoveDscpPolicy (int)
int policyId
public final void sendSocketKeepaliveEvent (int, int)
int slot
int event
public void setLegacySubtype (int, java.lang.String)
int legacySubtype
String legacySubtypeName
public void setLingerDuration (java.time.Duration)
java.time.Duration duration
public void setTeardownDelayMillis (int)
int teardownDelayMillis
public void setUnderlyingNetworks (java.util.List)
java.util.List underlyingNetworks
public void unregister ()
public void unregisterAfterReplacement (int)
int timeoutMillis
}
android/net/NetworkAgentConfig$Builder.class
NetworkAgentConfig.java
package android.net
public final android.net.NetworkAgentConfig$Builder extends java.lang.Object {
public void <init> ()
public android.net.NetworkAgentConfig build ()
public android.net.NetworkAgentConfig$Builder setBypassableVpn (boolean)
boolean allowBypass
public android.net.NetworkAgentConfig$Builder setExplicitlySelected (boolean)
boolean explicitlySelected
public android.net.NetworkAgentConfig$Builder setLegacyExtraInfo (java.lang.String)
String legacyExtraInfo
public android.net.NetworkAgentConfig$Builder setLegacySubType (int)
int legacySubType
public android.net.NetworkAgentConfig$Builder setLegacySubTypeName (java.lang.String)
String legacySubTypeName
public android.net.NetworkAgentConfig$Builder setLegacyType (int)
int legacyType
public android.net.NetworkAgentConfig$Builder setLegacyTypeName (java.lang.String)
String legacyTypeName
public android.net.NetworkAgentConfig$Builder setLocalRoutesExcludedForVpn (boolean)
boolean excludeLocalRoutes
public android.net.NetworkAgentConfig$Builder setNat64DetectionEnabled (boolean)
boolean enabled
public android.net.NetworkAgentConfig$Builder setPartialConnectivityAcceptable (boolean)
boolean partialConnectivityAcceptable
public android.net.NetworkAgentConfig$Builder setProvisioningNotificationEnabled (boolean)
boolean enabled
public android.net.NetworkAgentConfig$Builder setSubscriberId (java.lang.String)
String subscriberId
public android.net.NetworkAgentConfig$Builder setUnvalidatedConnectivityAcceptable (boolean)
boolean unvalidatedConnectivityAcceptable
public android.net.NetworkAgentConfig$Builder setVpnRequiresValidation (boolean)
boolean vpnRequiresValidation
}
android/net/NetworkAgentConfig.class
NetworkAgentConfig.java
package android.net
public final android.net.NetworkAgentConfig extends java.lang.Object implements android.os.Parcelable {
public static final android.os.Parcelable$Creator CREATOR
void <init> ()
public int describeContents ()
public boolean equals (java.lang.Object)
Object o
public int getLegacyType ()
public java.lang.String getLegacyTypeName ()
public java.lang.String getSubscriberId ()
public int hashCode ()
public boolean isBypassableVpn ()
public boolean isExplicitlySelected ()
public boolean isPartialConnectivityAcceptable ()
public boolean isUnvalidatedConnectivityAcceptable ()
public boolean isVpnValidationRequired ()
public java.lang.String toString ()
public void writeToParcel (android.os.Parcel, int)
android.os.Parcel out
int flags
static void <clinit> ()
}
android/net/NetworkCapabilities$Builder.class
NetworkCapabilities.java
package android.net
public final android.net.NetworkCapabilities$Builder extends java.lang.Object {
public void <init> ()
public void <init> (android.net.NetworkCapabilities)
android.net.NetworkCapabilities nc
public android.net.NetworkCapabilities$Builder addCapability (int)
int capability
public android.net.NetworkCapabilities$Builder addEnterpriseId (int)
int enterpriseId
public android.net.NetworkCapabilities$Builder addTransportType (int)
int transportType
public android.net.NetworkCapabilities build ()
public android.net.NetworkCapabilities$Builder removeCapability (int)
int capability
public android.net.NetworkCapabilities$Builder removeEnterpriseId (int)
int enterpriseId
public android.net.NetworkCapabilities$Builder removeTransportType (int)
int transportType
public android.net.NetworkCapabilities$Builder setAdministratorUids (int[])
int[] administratorUids
public android.net.NetworkCapabilities$Builder setAllowedUids (java.util.Set)
java.util.Set uids
public android.net.NetworkCapabilities$Builder setLinkDownstreamBandwidthKbps (int)
int downKbps
public android.net.NetworkCapabilities$Builder setLinkUpstreamBandwidthKbps (int)
int upKbps
public android.net.NetworkCapabilities$Builder setNetworkSpecifier (android.net.NetworkSpecifier)
android.net.NetworkSpecifier specifier
public android.net.NetworkCapabilities$Builder setOwnerUid (int)
int ownerUid
public android.net.NetworkCapabilities$Builder setRequestorPackageName (java.lang.String)
String packageName
public android.net.NetworkCapabilities$Builder setRequestorUid (int)
int uid
public android.net.NetworkCapabilities$Builder setSignalStrength (int)
int signalStrength
public android.net.NetworkCapabilities$Builder setSsid (java.lang.String)
String ssid
public android.net.NetworkCapabilities$Builder setSubscriptionIds (java.util.Set)
java.util.Set subIds
public android.net.NetworkCapabilities$Builder setTransportInfo (android.net.TransportInfo)
android.net.TransportInfo info
public android.net.NetworkCapabilities$Builder setUids (java.util.Set)
java.util.Set uids
public android.net.NetworkCapabilities$Builder setUnderlyingNetworks (java.util.List)
java.util.List networks
public static android.net.NetworkCapabilities$Builder withoutDefaultCapabilities ()
}
android/net/NetworkCapabilities.class
NetworkCapabilities.java
package android.net
public final android.net.NetworkCapabilities extends java.lang.Object implements android.os.Parcelable {
public static final android.os.Parcelable$Creator CREATOR
public static final int NET_CAPABILITY_BIP
public static final int NET_CAPABILITY_CAPTIVE_PORTAL
public static final int NET_CAPABILITY_CBS
public static final int NET_CAPABILITY_DUN
public static final int NET_CAPABILITY_EIMS
public static final int NET_CAPABILITY_ENTERPRISE
public static final int NET_CAPABILITY_FOREGROUND
public static final int NET_CAPABILITY_FOTA
public static final int NET_CAPABILITY_HEAD_UNIT
public static final int NET_CAPABILITY_IA
public static final int NET_CAPABILITY_IMS
public static final int NET_CAPABILITY_INTERNET
public static final int NET_CAPABILITY_LOCAL_NETWORK
public static final int NET_CAPABILITY_MCX
public static final int NET_CAPABILITY_MMS
public static final int NET_CAPABILITY_MMTEL
public static final int NET_CAPABILITY_NOT_BANDWIDTH_CONSTRAINED
public static final int NET_CAPABILITY_NOT_CONGESTED
public static final int NET_CAPABILITY_NOT_METERED
public static final int NET_CAPABILITY_NOT_RESTRICTED
public static final int NET_CAPABILITY_NOT_ROAMING
public static final int NET_CAPABILITY_NOT_SUSPENDED
public static final int NET_CAPABILITY_NOT_VCN_MANAGED
public static final int NET_CAPABILITY_NOT_VPN
public static final int NET_CAPABILITY_OEM_PAID
public static final int NET_CAPABILITY_OEM_PRIVATE
public static final int NET_CAPABILITY_PARTIAL_CONNECTIVITY
public static final int NET_CAPABILITY_PRIORITIZE_BANDWIDTH
public static final int NET_CAPABILITY_PRIORITIZE_LATENCY
public static final int NET_CAPABILITY_RCS
public static final int NET_CAPABILITY_SUPL
public static final int NET_CAPABILITY_TEMPORARILY_NOT_METERED
public static final int NET_CAPABILITY_TRUSTED
public static final int NET_CAPABILITY_VALIDATED
public static final int NET_CAPABILITY_VEHICLE_INTERNAL
public static final int NET_CAPABILITY_VSIM
public static final int NET_CAPABILITY_WIFI_P2P
public static final int NET_CAPABILITY_XCAP
public static final int NET_ENTERPRISE_ID_1
public static final int NET_ENTERPRISE_ID_2
public static final int NET_ENTERPRISE_ID_3
public static final int NET_ENTERPRISE_ID_4
public static final int NET_ENTERPRISE_ID_5
public static final long REDACT_ALL
public static final long REDACT_FOR_ACCESS_FINE_LOCATION
public static final long REDACT_FOR_LOCAL_MAC_ADDRESS
public static final long REDACT_FOR_NETWORK_SETTINGS
public static final long REDACT_NONE
public static final int SIGNAL_STRENGTH_UNSPECIFIED
public static final int TRANSPORT_BLUETOOTH
public static final int TRANSPORT_CELLULAR
public static final int TRANSPORT_ETHERNET
public static final int TRANSPORT_LOWPAN
public static final int TRANSPORT_SATELLITE
public static final int TRANSPORT_TEST
public static final int TRANSPORT_THREAD
public static final int TRANSPORT_USB
public static final int TRANSPORT_VPN
public static final int TRANSPORT_WIFI
public static final int TRANSPORT_WIFI_AWARE
public void <init> ()
public void <init> (android.net.NetworkCapabilities)
android.net.NetworkCapabilities nc
public int describeContents ()
public boolean equals (java.lang.Object)
Object obj
public int[] getAdministratorUids ()
public java.util.Set getAllowedUids ()
public int[] getCapabilities ()
public static java.lang.String getCapabilityCarrierName (int)
int capability
public int[] getEnterpriseIds ()
public int getLinkDownstreamBandwidthKbps ()
public int getLinkUpstreamBandwidthKbps ()
public android.net.NetworkSpecifier getNetworkSpecifier ()
public int getOwnerUid ()
public int getSignalStrength ()
public java.lang.String getSsid ()
public java.util.Set getSubscriptionIds ()
public android.net.TransportInfo getTransportInfo ()
public int[] getTransportTypes ()
public java.util.Set getUids ()
public java.util.List getUnderlyingNetworks ()
public boolean hasCapability (int)
int capability
public boolean hasEnterpriseId (int)
int enterpriseId
public boolean hasForbiddenCapability (int)
int capability
public boolean hasTransport (int)
int transportType
public int hashCode ()
public boolean isPrivateDnsBroken ()
public boolean satisfiedByNetworkCapabilities (android.net.NetworkCapabilities)
android.net.NetworkCapabilities nc
public java.lang.String toString ()
public void writeToParcel (android.os.Parcel, int)
android.os.Parcel dest
int flags
static void <clinit> ()
}
android/net/NetworkInfo$DetailedState.class
NetworkInfo.java
package android.net
public final enum android.net.NetworkInfo$DetailedState extends java.lang.Enum {
public static final enum android.net.NetworkInfo$DetailedState AUTHENTICATING
public static final enum android.net.NetworkInfo$DetailedState BLOCKED
public static final enum android.net.NetworkInfo$DetailedState CAPTIVE_PORTAL_CHECK
public static final enum android.net.NetworkInfo$DetailedState CONNECTED
public static final enum android.net.NetworkInfo$DetailedState CONNECTING
public static final enum android.net.NetworkInfo$DetailedState DISCONNECTED
public static final enum android.net.NetworkInfo$DetailedState DISCONNECTING
public static final enum android.net.NetworkInfo$DetailedState FAILED
public static final enum android.net.NetworkInfo$DetailedState IDLE
public static final enum android.net.NetworkInfo$DetailedState OBTAINING_IPADDR
public static final enum android.net.NetworkInfo$DetailedState SCANNING
public static final enum android.net.NetworkInfo$DetailedState SUSPENDED
public static final enum android.net.NetworkInfo$DetailedState VERIFYING_POOR_LINK
private static final synthetic android.net.NetworkInfo$DetailedState[] $VALUES
public static android.net.NetworkInfo$DetailedState[] values ()
public static android.net.NetworkInfo$DetailedState valueOf (java.lang.String)
String name
private void <init> (java.lang.String, int)
private static synthetic android.net.NetworkInfo$DetailedState[] $values ()
static void <clinit> ()
}
android/net/NetworkInfo$State.class
NetworkInfo.java
package android.net
public final enum android.net.NetworkInfo$State extends java.lang.Enum {
public static final enum android.net.NetworkInfo$State CONNECTED
public static final enum android.net.NetworkInfo$State CONNECTING
public static final enum android.net.NetworkInfo$State DISCONNECTED
public static final enum android.net.NetworkInfo$State DISCONNECTING
public static final enum android.net.NetworkInfo$State SUSPENDED
public static final enum android.net.NetworkInfo$State UNKNOWN
private static final synthetic android.net.NetworkInfo$State[] $VALUES
public static android.net.NetworkInfo$State[] values ()
public static android.net.NetworkInfo$State valueOf (java.lang.String)
String name
private void <init> (java.lang.String, int)
private static synthetic android.net.NetworkInfo$State[] $values ()
static void <clinit> ()
}
android/net/NetworkInfo.class
NetworkInfo.java
package android.net
public android.net.NetworkInfo extends java.lang.Object implements android.os.Parcelable {
public static final android.os.Parcelable$Creator CREATOR
public void <init> (int, int, java.lang.String, java.lang.String)
int type
int subtype
String typeName
String subtypeName
public int describeContents ()
public android.net.NetworkInfo$DetailedState getDetailedState ()
public java.lang.String getExtraInfo ()
public java.lang.String getReason ()
public android.net.NetworkInfo$State getState ()
public int getSubtype ()
public java.lang.String getSubtypeName ()
public int getType ()
public java.lang.String getTypeName ()
public boolean isAvailable ()
public boolean isConnected ()
public boolean isConnectedOrConnecting ()
public boolean isFailover ()
public boolean isRoaming ()
public void setDetailedState (android.net.NetworkInfo$DetailedState, java.lang.String, java.lang.String)
android.net.NetworkInfo$DetailedState detailedState
String reason
String extraInfo
public java.lang.String toString ()
public void writeToParcel (android.os.Parcel, int)
android.os.Parcel dest
int flags
static void <clinit> ()
}
android/net/NetworkProvider$NetworkOfferCallback.class
NetworkProvider.java
package android.net
public abstract android.net.NetworkProvider$NetworkOfferCallback extends java.lang.Object {
public abstract void onNetworkNeeded (android.net.NetworkRequest)
public abstract void onNetworkUnneeded (android.net.NetworkRequest)
}
android/net/NetworkProvider.class
NetworkProvider.java
package android.net
public android.net.NetworkProvider extends java.lang.Object {
public static final int ID_NONE
public void <init> (android.content.Context, android.os.Looper, java.lang.String)
android.content.Context context
android.os.Looper looper
String name
public void declareNetworkRequestUnfulfillable (android.net.NetworkRequest)
android.net.NetworkRequest request
public int getProviderId ()
public void onNetworkRequestWithdrawn (android.net.NetworkRequest)
android.net.NetworkRequest request
public void onNetworkRequested (android.net.NetworkRequest, int, int)
android.net.NetworkRequest request
int score
int providerId
public void registerNetworkOffer (android.net.NetworkScore, android.net.NetworkCapabilities, java.util.concurrent.Executor, android.net.NetworkProvider$NetworkOfferCallback)
android.net.NetworkScore score
android.net.NetworkCapabilities caps
java.util.concurrent.Executor executor
android.net.NetworkProvider$NetworkOfferCallback callback
public void unregisterNetworkOffer (android.net.NetworkProvider$NetworkOfferCallback)
android.net.NetworkProvider$NetworkOfferCallback callback
}
android/net/NetworkReleasedException.class
NetworkReleasedException.java
package android.net
public android.net.NetworkReleasedException extends java.lang.Exception {
public void <init> ()
}
android/net/NetworkRequest$Builder.class
NetworkRequest.java
package android.net
public android.net.NetworkRequest$Builder extends java.lang.Object {
public void <init> ()
public void <init> (android.net.NetworkRequest)
android.net.NetworkRequest request
public android.net.NetworkRequest$Builder addCapability (int)
int capability
public android.net.NetworkRequest$Builder addForbiddenCapability (int)
int capability
public android.net.NetworkRequest$Builder addTransportType (int)
int transportType
public android.net.NetworkRequest build ()
public android.net.NetworkRequest$Builder clearCapabilities ()
public android.net.NetworkRequest$Builder removeCapability (int)
int capability
public android.net.NetworkRequest$Builder removeForbiddenCapability (int)
int capability
public android.net.NetworkRequest$Builder removeTransportType (int)
int transportType
public android.net.NetworkRequest$Builder setIncludeOtherUidNetworks (boolean)
boolean include
public android.net.NetworkRequest$Builder setNetworkSpecifier (android.net.NetworkSpecifier)
android.net.NetworkSpecifier networkSpecifier
public android.net.NetworkRequest$Builder setNetworkSpecifier (java.lang.String)
String networkSpecifier
public android.net.NetworkRequest$Builder setSignalStrength (int)
int signalStrength
public android.net.NetworkRequest$Builder setSubscriptionIds (java.util.Set)
java.util.Set subIds
public android.net.NetworkRequest$Builder setUids (java.util.Set)
java.util.Set uids
}
android/net/NetworkRequest.class
NetworkRequest.java
package android.net
public android.net.NetworkRequest extends java.lang.Object implements android.os.Parcelable {
public static final android.os.Parcelable$Creator CREATOR
void <init> ()
public boolean canBeSatisfiedBy (android.net.NetworkCapabilities)
android.net.NetworkCapabilities nc
public int describeContents ()
public boolean equals (java.lang.Object)
Object obj
public int[] getCapabilities ()
public int[] getEnterpriseIds ()
public int[] getForbiddenCapabilities ()
public android.net.NetworkSpecifier getNetworkSpecifier ()
public java.lang.String getRequestorPackageName ()
public int getRequestorUid ()
public java.util.Set getSubscriptionIds ()
public int[] getTransportTypes ()
public boolean hasCapability (int)
int capability
public boolean hasEnterpriseId (int)
int enterpriseId
public boolean hasForbiddenCapability (int)
int capability
public boolean hasTransport (int)
int transportType
public int hashCode ()
public java.lang.String toString ()
public void writeToParcel (android.os.Parcel, int)
android.os.Parcel dest
int flags
static void <clinit> ()
}
android/net/NetworkScore$Builder.class
NetworkScore.java
package android.net
public final android.net.NetworkScore$Builder extends java.lang.Object {
public void <init> ()
public android.net.NetworkScore build ()
public android.net.NetworkScore$Builder setExiting (boolean)
boolean val
public android.net.NetworkScore$Builder setKeepConnectedReason (int)
int reason
public android.net.NetworkScore$Builder setLegacyInt (int)
int score
public android.net.NetworkScore$Builder setTransportPrimary (boolean)
boolean val
}
android/net/NetworkScore.class
NetworkScore.java
package android.net
public final android.net.NetworkScore extends java.lang.Object implements android.os.Parcelable {
public static final android.os.Parcelable$Creator CREATOR
public static final int KEEP_CONNECTED_FOR_HANDOVER
public static final int KEEP_CONNECTED_NONE
void <init> ()
public int describeContents ()
public int getKeepConnectedReason ()
public int getLegacyInt ()
public boolean isExiting ()
public boolean isTransportPrimary ()
public java.lang.String toString ()
public void writeToParcel (android.os.Parcel, int)
android.os.Parcel dest
int flags
static void <clinit> ()
}
android/net/OemNetworkPreferences$Builder.class
OemNetworkPreferences.java
package android.net
public final android.net.OemNetworkPreferences$Builder extends java.lang.Object {
public void <init> ()
public void <init> (android.net.OemNetworkPreferences)
android.net.OemNetworkPreferences preferences
public android.net.OemNetworkPreferences$Builder addNetworkPreference (java.lang.String, int)
String packageName
int preference
public android.net.OemNetworkPreferences build ()
public android.net.OemNetworkPreferences$Builder clearNetworkPreference (java.lang.String)
String packageName
}
android/net/OemNetworkPreferences.class
OemNetworkPreferences.java
package android.net
public final android.net.OemNetworkPreferences extends java.lang.Object implements android.os.Parcelable {
public static final android.os.Parcelable$Creator CREATOR
public static final int OEM_NETWORK_PREFERENCE_OEM_PAID
public static final int OEM_NETWORK_PREFERENCE_OEM_PAID_NO_FALLBACK
public static final int OEM_NETWORK_PREFERENCE_OEM_PAID_ONLY
public static final int OEM_NETWORK_PREFERENCE_OEM_PRIVATE_ONLY
public static final int OEM_NETWORK_PREFERENCE_UNINITIALIZED
void <init> ()
public int describeContents ()
public boolean equals (java.lang.Object)
Object o
public java.util.Map getNetworkPreferences ()
public int hashCode ()
public java.lang.String toString ()
public void writeToParcel (android.os.Parcel, int)
android.os.Parcel dest
int flags
static void <clinit> ()
}
android/net/ParseException.class
ParseException.java
package android.net
public android.net.ParseException extends java.lang.RuntimeException {
public String response
public void <init> (java.lang.String)
String response
public void <init> (java.lang.String, java.lang.Throwable)
String response
Throwable cause
}
android/net/ProfileNetworkPreference$Builder.class
ProfileNetworkPreference.java
package android.net
public final android.net.ProfileNetworkPreference$Builder extends java.lang.Object {
public void <init> ()
public android.net.ProfileNetworkPreference build ()
public android.net.ProfileNetworkPreference$Builder setExcludedUids (int[])
int[] uids
public android.net.ProfileNetworkPreference$Builder setIncludedUids (int[])
int[] uids
public android.net.ProfileNetworkPreference$Builder setPreference (int)
int preference
public android.net.ProfileNetworkPreference$Builder setPreferenceEnterpriseId (int)
int preferenceId
}
android/net/ProfileNetworkPreference.class
ProfileNetworkPreference.java
package android.net
public final android.net.ProfileNetworkPreference extends java.lang.Object implements android.os.Parcelable {
public static final android.os.Parcelable$Creator CREATOR
void <init> ()
public int describeContents ()
public boolean equals (java.lang.Object)
Object o
public int[] getExcludedUids ()
public int[] getIncludedUids ()
public int getPreference ()
public int getPreferenceEnterpriseId ()
public int hashCode ()
public java.lang.String toString ()
public void writeToParcel (android.os.Parcel, int)
android.os.Parcel dest
int flags
static void <clinit> ()
}
android/net/ProxyInfo.class
ProxyInfo.java
package android.net
public android.net.ProxyInfo extends java.lang.Object implements android.os.Parcelable {
public static final android.os.Parcelable$Creator CREATOR
public void <init> (android.net.ProxyInfo)
android.net.ProxyInfo source
public static android.net.ProxyInfo buildDirectProxy (java.lang.String, int)
String host
int port
public static android.net.ProxyInfo buildDirectProxy (java.lang.String, int, java.util.List)
String host
int port
java.util.List exclList
public static android.net.ProxyInfo buildPacProxy (android.net.Uri)
android.net.Uri pacUri
public static android.net.ProxyInfo buildPacProxy (android.net.Uri, int)
android.net.Uri pacUrl
int port
public int describeContents ()
public boolean equals (java.lang.Object)
Object o
public java.lang.String[] getExclusionList ()
public java.lang.String getHost ()
public android.net.Uri getPacFileUrl ()
public int getPort ()
public int hashCode ()
public boolean isValid ()
public java.lang.String toString ()
public void writeToParcel (android.os.Parcel, int)
android.os.Parcel dest
int flags
static void <clinit> ()
}
android/net/QosCallback$QosCallbackRegistrationException.class
QosCallback.java
package android.net
public android.net.QosCallback$QosCallbackRegistrationException extends java.lang.RuntimeException {
void <init> ()
}
android/net/QosCallback.class
QosCallback.java
package android.net
public abstract android.net.QosCallback extends java.lang.Object {
public void <init> ()
public void onError (android.net.QosCallbackException)
android.net.QosCallbackException exception
public void onQosSessionAvailable (android.net.QosSession, android.net.QosSessionAttributes)
android.net.QosSession session
android.net.QosSessionAttributes sessionAttributes
public void onQosSessionLost (android.net.QosSession)
android.net.QosSession session
}
android/net/QosCallbackException.class
QosCallbackException.java
package android.net
public final android.net.QosCallbackException extends java.lang.Exception {
public void <init> (java.lang.String)
String message
public void <init> (java.lang.Throwable)
Throwable cause
}
android/net/QosFilter.class
QosFilter.java
package android.net
public abstract android.net.QosFilter extends java.lang.Object {
void <init> ()
public abstract android.net.Network getNetwork ()
public abstract boolean matchesLocalAddress (java.net.InetAddress, int, int)
public boolean matchesProtocol (int)
int protocol
public abstract boolean matchesRemoteAddress (java.net.InetAddress, int, int)
}
android/net/QosSession.class
QosSession.java
package android.net
public final android.net.QosSession extends java.lang.Object implements android.os.Parcelable {
public static final android.os.Parcelable$Creator CREATOR
public static final int TYPE_EPS_BEARER
public static final int TYPE_NR_BEARER
public void <init> (int, int)
int sessionId
int sessionType
public int describeContents ()
public int getSessionId ()
public int getSessionType ()
public long getUniqueId ()
public java.lang.String toString ()
public void writeToParcel (android.os.Parcel, int)
android.os.Parcel dest
int flags
static void <clinit> ()
}
android/net/QosSessionAttributes.class
QosSessionAttributes.java
package android.net
public abstract android.net.QosSessionAttributes extends java.lang.Object {
}
android/net/QosSocketInfo.class
QosSocketInfo.java
package android.net
public final android.net.QosSocketInfo extends java.lang.Object implements android.os.Parcelable {
public static final android.os.Parcelable$Creator CREATOR
public void <init> (android.net.Network, java.net.DatagramSocket) throws java.io.IOException
android.net.Network network
java.net.DatagramSocket socket
public void <init> (android.net.Network, java.net.Socket) throws java.io.IOException
android.net.Network network
java.net.Socket socket
public int describeContents ()
public java.net.InetSocketAddress getLocalSocketAddress ()
public android.net.Network getNetwork ()
public java.net.InetSocketAddress getRemoteSocketAddress ()
public void writeToParcel (android.os.Parcel, int)
android.os.Parcel dest
int flags
static void <clinit> ()
}
android/net/RouteInfo.class
RouteInfo.java
package android.net
public final android.net.RouteInfo extends java.lang.Object implements android.os.Parcelable {
public static final android.os.Parcelable$Creator CREATOR
public static final int RTN_THROW
public static final int RTN_UNICAST
public static final int RTN_UNREACHABLE
public void <init> (android.net.IpPrefix, java.net.InetAddress, java.lang.String, int)
android.net.IpPrefix destination
java.net.InetAddress gateway
String iface
int type
public void <init> (android.net.IpPrefix, java.net.InetAddress, java.lang.String, int, int)
android.net.IpPrefix destination
java.net.InetAddress gateway
String iface
int type
int mtu
public int describeContents ()
public boolean equals (java.lang.Object)
Object obj
public android.net.IpPrefix getDestination ()
public java.net.InetAddress getGateway ()
public java.lang.String getInterface ()
public int getMtu ()
public int getType ()
public boolean hasGateway ()
public int hashCode ()
public boolean isDefaultRoute ()
public boolean matches (java.net.InetAddress)
java.net.InetAddress destination
public java.lang.String toString ()
public void writeToParcel (android.os.Parcel, int)
android.os.Parcel dest
int flags
static void <clinit> ()
}
android/net/SocketKeepalive$Callback.class
SocketKeepalive.java
package android.net
public android.net.SocketKeepalive$Callback extends java.lang.Object {
public void <init> ()
public void onDataReceived ()
public void onError (int)
int error
public void onStarted ()
public void onStopped ()
}
android/net/SocketKeepalive.class
SocketKeepalive.java
package android.net
public abstract android.net.SocketKeepalive extends java.lang.Object implements java.lang.AutoCloseable {
public static final int ERROR_HARDWARE_ERROR
public static final int ERROR_INSUFFICIENT_RESOURCES
public static final int ERROR_INVALID_INTERVAL
public static final int ERROR_INVALID_IP_ADDRESS
public static final int ERROR_INVALID_LENGTH
public static final int ERROR_INVALID_NETWORK
public static final int ERROR_INVALID_PORT
public static final int ERROR_INVALID_SOCKET
public static final int ERROR_NO_SUCH_SLOT
public static final int ERROR_SOCKET_NOT_IDLE
public static final int ERROR_UNSUPPORTED
public static final int FLAG_AUTOMATIC_ON_OFF
public static final int SUCCESS
void <init> ()
public final void close ()
public final void start (int)
int intervalSec
public final void start (int, int, android.net.Network)
int intervalSec
int flags
android.net.Network underpinnedNetwork
public final void stop ()
}
android/net/SocketLocalAddressChangedException.class
SocketLocalAddressChangedException.java
package android.net
public android.net.SocketLocalAddressChangedException extends java.lang.Exception {
public void <init> ()
}
android/net/SocketNotBoundException.class
SocketNotBoundException.java
package android.net
public android.net.SocketNotBoundException extends java.lang.Exception {
public void <init> ()
}
android/net/SocketNotConnectedException.class
SocketNotConnectedException.java
package android.net
public android.net.SocketNotConnectedException extends java.lang.Exception {
public void <init> ()
}
android/net/SocketRemoteAddressChangedException.class
SocketRemoteAddressChangedException.java
package android.net
public android.net.SocketRemoteAddressChangedException extends java.lang.Exception {
public void <init> ()
}
android/net/StaticIpConfiguration$Builder.class
StaticIpConfiguration.java
package android.net
public final android.net.StaticIpConfiguration$Builder extends java.lang.Object {
public void <init> ()
public android.net.StaticIpConfiguration build ()
public android.net.StaticIpConfiguration$Builder setDnsServers (java.lang.Iterable)
Iterable dnsServers
public android.net.StaticIpConfiguration$Builder setDomains (java.lang.String)
String newDomains
public android.net.StaticIpConfiguration$Builder setGateway (java.net.InetAddress)
java.net.InetAddress gateway
public android.net.StaticIpConfiguration$Builder setIpAddress (android.net.LinkAddress)
android.net.LinkAddress ipAddress
}
android/net/StaticIpConfiguration.class
StaticIpConfiguration.java
package android.net
public final android.net.StaticIpConfiguration extends java.lang.Object implements android.os.Parcelable {
public static final android.os.Parcelable$Creator CREATOR
public void <init> ()
public void <init> (android.net.StaticIpConfiguration)
android.net.StaticIpConfiguration source
public void addDnsServer (java.net.InetAddress)
java.net.InetAddress server
public void clear ()
public int describeContents ()
public boolean equals (java.lang.Object)
Object obj
public java.util.List getDnsServers ()
public java.lang.String getDomains ()
public java.net.InetAddress getGateway ()
public android.net.LinkAddress getIpAddress ()
public java.util.List getRoutes (java.lang.String)
String iface
public int hashCode ()
public java.lang.String toString ()
public void writeToParcel (android.os.Parcel, int)
android.os.Parcel dest
int flags
static void <clinit> ()
}
android/net/TcpKeepalivePacketData.class
TcpKeepalivePacketData.java
package android.net
public final android.net.TcpKeepalivePacketData extends android.net.KeepalivePacketData implements android.os.Parcelable {
public static final android.os.Parcelable$Creator CREATOR
public void <init> (java.net.InetAddress, int, java.net.InetAddress, int, byte[], int, int, int, int, int, int) throws android.net.InvalidPacketException
java.net.InetAddress srcAddress
int srcPort
java.net.InetAddress dstAddress
int dstPort
byte[] data
int tcpSeq
int tcpAck
int tcpWindow
int tcpWindowScale
int ipTos
int ipTtl
public int describeContents ()
public boolean equals (java.lang.Object)
Object o
public int getIpTos ()
public int getIpTtl ()
public int getTcpAck ()
public int getTcpSeq ()
public int getTcpWindow ()
public int getTcpWindowScale ()
public int hashCode ()
public java.lang.String toString ()
public void writeToParcel (android.os.Parcel, int)
android.os.Parcel out
int flags
static void <clinit> ()
}
android/net/TestNetworkInterface.class
TestNetworkInterface.java
package android.net
public final android.net.TestNetworkInterface extends java.lang.Object implements android.os.Parcelable {
public static final android.os.Parcelable$Creator CREATOR
public void <init> (android.os.ParcelFileDescriptor, java.lang.String)
android.os.ParcelFileDescriptor pfd
String intf
public int describeContents ()
public android.os.ParcelFileDescriptor getFileDescriptor ()
public java.lang.String getInterfaceName ()
public android.net.MacAddress getMacAddress ()
public int getMtu ()
public void writeToParcel (android.os.Parcel, int)
android.os.Parcel out
int flags
static void <clinit> ()
}
android/net/TestNetworkManager.class
TestNetworkManager.java
package android.net
public android.net.TestNetworkManager extends java.lang.Object {
public static final String TEST_TAP_PREFIX
void <init> ()
public android.net.TestNetworkInterface createTapInterface ()
public android.net.TestNetworkInterface createTunInterface (java.util.Collection)
java.util.Collection linkAddrs
public void setupTestNetwork (java.lang.String, android.os.IBinder)
String iface
android.os.IBinder binder
public void teardownTestNetwork (android.net.Network)
android.net.Network network
}
android/net/TestNetworkSpecifier.class
TestNetworkSpecifier.java
package android.net
public final android.net.TestNetworkSpecifier extends android.net.NetworkSpecifier implements android.os.Parcelable {
public static final android.os.Parcelable$Creator CREATOR
public void <init> (java.lang.String)
String interfaceName
public boolean canBeSatisfiedBy (android.net.NetworkSpecifier)
android.net.NetworkSpecifier other
public int describeContents ()
public boolean equals (java.lang.Object)
Object o
public java.lang.String getInterfaceName ()
public int hashCode ()
public java.lang.String toString ()
public void writeToParcel (android.os.Parcel, int)
android.os.Parcel dest
int flags
static void <clinit> ()
}
android/net/TransportInfo.class
TransportInfo.java
package android.net
public abstract android.net.TransportInfo extends java.lang.Object {
public long getApplicableRedactions ()
public android.net.TransportInfo makeCopy (long)
long redactions
}
android/net/VpnTransportInfo.class
VpnTransportInfo.java
package android.net
public final android.net.VpnTransportInfo extends java.lang.Object implements android.os.Parcelable android.net.TransportInfo {
public static final android.os.Parcelable$Creator CREATOR
public void <init> (int, java.lang.String)
int type
String sessionId
public void <init> (int, java.lang.String, boolean, boolean)
int type
String sessionId
boolean bypassable
boolean longLivedTcpConnectionsExpensive
public boolean areLongLivedTcpConnectionsExpensive ()
public int describeContents ()
public boolean equals (java.lang.Object)
Object o
public long getApplicableRedactions ()
public java.lang.String getSessionId ()
public int getType ()
public int hashCode ()
public boolean isBypassable ()
public android.net.VpnTransportInfo makeCopy (long)
long redactions
public java.lang.String toString ()
public void writeToParcel (android.os.Parcel, int)
android.os.Parcel dest
int flags
public volatile synthetic android.net.TransportInfo makeCopy (long)
static void <clinit> ()
}
android/net/apf/
android/net/apf/ApfCapabilities.class
ApfCapabilities.java
package android.net.apf
public final android.net.apf.ApfCapabilities extends java.lang.Object implements android.os.Parcelable {
public static final android.os.Parcelable$Creator CREATOR
public final int apfPacketFormat
public final int apfVersionSupported
public final int maximumApfProgramSize
public void <init> (int, int, int)
int apfVersionSupported
int maximumApfProgramSize
int apfPacketFormat
public int describeContents ()
public boolean equals (java.lang.Object)
Object obj
public static boolean getApfDrop8023Frames ()
public static int[] getApfEtherTypeBlackList ()
public boolean hasDataAccess ()
public int hashCode ()
public java.lang.String toString ()
public void writeToParcel (android.os.Parcel, int)
android.os.Parcel dest
int flags
static void <clinit> ()
}
android/net/http/
android/net/http/BidirectionalStream$Builder.class
BidirectionalStream.java
package android.net.http
public abstract android.net.http.BidirectionalStream$Builder extends java.lang.Object {
public void <init> ()
public abstract android.net.http.BidirectionalStream$Builder addHeader (java.lang.String, java.lang.String)
public abstract android.net.http.BidirectionalStream build ()
public abstract android.net.http.BidirectionalStream$Builder setDelayRequestHeadersUntilFirstFlushEnabled (boolean)
public abstract android.net.http.BidirectionalStream$Builder setHttpMethod (java.lang.String)
public abstract android.net.http.BidirectionalStream$Builder setPriority (int)
public abstract android.net.http.BidirectionalStream$Builder setTrafficStatsTag (int)
public abstract android.net.http.BidirectionalStream$Builder setTrafficStatsUid (int)
}
android/net/http/BidirectionalStream$Callback.class
BidirectionalStream.java
package android.net.http
public abstract android.net.http.BidirectionalStream$Callback extends java.lang.Object {
public abstract void onCanceled (android.net.http.BidirectionalStream, android.net.http.UrlResponseInfo)
public abstract void onFailed (android.net.http.BidirectionalStream, android.net.http.UrlResponseInfo, android.net.http.HttpException)
public abstract void onReadCompleted (android.net.http.BidirectionalStream, android.net.http.UrlResponseInfo, java.nio.ByteBuffer, boolean)
public abstract void onResponseHeadersReceived (android.net.http.BidirectionalStream, android.net.http.UrlResponseInfo)
public abstract void onResponseTrailersReceived (android.net.http.BidirectionalStream, android.net.http.UrlResponseInfo, android.net.http.HeaderBlock)
public abstract void onStreamReady (android.net.http.BidirectionalStream)
public abstract void onSucceeded (android.net.http.BidirectionalStream, android.net.http.UrlResponseInfo)
public abstract void onWriteCompleted (android.net.http.BidirectionalStream, android.net.http.UrlResponseInfo, java.nio.ByteBuffer, boolean)
}
android/net/http/BidirectionalStream.class
BidirectionalStream.java
package android.net.http
public abstract android.net.http.BidirectionalStream extends java.lang.Object {
public static final int STREAM_PRIORITY_HIGHEST
public static final int STREAM_PRIORITY_IDLE
public static final int STREAM_PRIORITY_LOW
public static final int STREAM_PRIORITY_LOWEST
public static final int STREAM_PRIORITY_MEDIUM
public void <init> ()
public abstract void cancel ()
public abstract void flush ()
public abstract android.net.http.HeaderBlock getHeaders ()
public abstract java.lang.String getHttpMethod ()
public abstract int getPriority ()
public abstract int getTrafficStatsTag ()
public abstract int getTrafficStatsUid ()
public abstract boolean hasTrafficStatsTag ()
public abstract boolean hasTrafficStatsUid ()
public abstract boolean isDelayRequestHeadersUntilFirstFlushEnabled ()
public abstract boolean isDone ()
public abstract void read (java.nio.ByteBuffer)
public abstract void start ()
public abstract void write (java.nio.ByteBuffer, boolean)
}
android/net/http/CallbackException.class
CallbackException.java
package android.net.http
public abstract android.net.http.CallbackException extends android.net.http.HttpException {
protected void <init> (java.lang.String, java.lang.Throwable)
String message
Throwable cause
}
android/net/http/ConnectionMigrationOptions$Builder.class
ConnectionMigrationOptions.java
package android.net.http
public final android.net.http.ConnectionMigrationOptions$Builder extends java.lang.Object {
public void <init> ()
public android.net.http.ConnectionMigrationOptions build ()
public android.net.http.ConnectionMigrationOptions$Builder setAllowNonDefaultNetworkUsage (int)
int state
public android.net.http.ConnectionMigrationOptions$Builder setDefaultNetworkMigration (int)
int state
public android.net.http.ConnectionMigrationOptions$Builder setPathDegradationMigration (int)
int state
}
android/net/http/ConnectionMigrationOptions.class
ConnectionMigrationOptions.java
package android.net.http
public android.net.http.ConnectionMigrationOptions extends java.lang.Object {
public static final int MIGRATION_OPTION_DISABLED
public static final int MIGRATION_OPTION_ENABLED
public static final int MIGRATION_OPTION_UNSPECIFIED
void <init> ()
public int getAllowNonDefaultNetworkUsage ()
public int getDefaultNetworkMigration ()
public int getPathDegradationMigration ()
}
android/net/http/DnsOptions$Builder.class
DnsOptions.java
package android.net.http
public final android.net.http.DnsOptions$Builder extends java.lang.Object {
public void <init> ()
public android.net.http.DnsOptions build ()
public android.net.http.DnsOptions$Builder setPersistHostCache (int)
int state
public android.net.http.DnsOptions$Builder setPersistHostCachePeriod (java.time.Duration)
java.time.Duration persistHostCachePeriod
public android.net.http.DnsOptions$Builder setPreestablishConnectionsToStaleDnsResults (int)
int state
public android.net.http.DnsOptions$Builder setStaleDns (int)
int state
public android.net.http.DnsOptions$Builder setStaleDnsOptions (android.net.http.DnsOptions$StaleDnsOptions)
android.net.http.DnsOptions$StaleDnsOptions staleDnsOptions
public android.net.http.DnsOptions$Builder setUseHttpStackDnsResolver (int)
int state
}
android/net/http/DnsOptions$StaleDnsOptions$Builder.class
DnsOptions.java
package android.net.http
public final android.net.http.DnsOptions$StaleDnsOptions$Builder extends java.lang.Object {
public void <init> ()
public android.net.http.DnsOptions$StaleDnsOptions build ()
public android.net.http.DnsOptions$StaleDnsOptions$Builder setAllowCrossNetworkUsage (int)
int state
public android.net.http.DnsOptions$StaleDnsOptions$Builder setFreshLookupTimeout (java.time.Duration)
java.time.Duration freshLookupTimeout
public android.net.http.DnsOptions$StaleDnsOptions$Builder setMaxExpiredDelay (java.time.Duration)
java.time.Duration maxExpiredDelay
public android.net.http.DnsOptions$StaleDnsOptions$Builder setUseStaleOnNameNotResolved (int)
int state
}
android/net/http/DnsOptions$StaleDnsOptions.class
DnsOptions.java
package android.net.http
public android.net.http.DnsOptions$StaleDnsOptions extends java.lang.Object {
void <init> ()
public int getAllowCrossNetworkUsage ()
public java.time.Duration getFreshLookupTimeout ()
public java.time.Duration getMaxExpiredDelay ()
public int getUseStaleOnNameNotResolved ()
}
android/net/http/DnsOptions.class
DnsOptions.java
package android.net.http
public final android.net.http.DnsOptions extends java.lang.Object {
public static final int DNS_OPTION_DISABLED
public static final int DNS_OPTION_ENABLED
public static final int DNS_OPTION_UNSPECIFIED
void <init> ()
public int getPersistHostCache ()
public java.time.Duration getPersistHostCachePeriod ()
public int getPreestablishConnectionsToStaleDnsResults ()
public int getStaleDns ()
public android.net.http.DnsOptions$StaleDnsOptions getStaleDnsOptions ()
public int getUseHttpStackDnsResolver ()
}
android/net/http/HeaderBlock.class
HeaderBlock.java
package android.net.http
public abstract android.net.http.HeaderBlock extends java.lang.Object {
public void <init> ()
public abstract java.util.List getAsList ()
public abstract java.util.Map getAsMap ()
}
android/net/http/HttpEngine$Builder.class
HttpEngine.java
package android.net.http
public android.net.http.HttpEngine$Builder extends java.lang.Object {
public static final int HTTP_CACHE_DISABLED
public static final int HTTP_CACHE_DISK
public static final int HTTP_CACHE_DISK_NO_HTTP
public static final int HTTP_CACHE_IN_MEMORY
public void <init> (android.content.Context)
android.content.Context context
public android.net.http.HttpEngine$Builder addPublicKeyPins (java.lang.String, java.util.Set, boolean, java.time.Instant)
String hostName
java.util.Set pinsSha256
boolean includeSubdomains
java.time.Instant expirationInstant
public android.net.http.HttpEngine$Builder addQuicHint (java.lang.String, int, int)
String host
int port
int alternatePort
public android.net.http.HttpEngine build ()
public java.lang.String getDefaultUserAgent ()
public android.net.http.HttpEngine$Builder setConnectionMigrationOptions (android.net.http.ConnectionMigrationOptions)
android.net.http.ConnectionMigrationOptions connectionMigrationOptions
public android.net.http.HttpEngine$Builder setDnsOptions (android.net.http.DnsOptions)
android.net.http.DnsOptions dnsOptions
public android.net.http.HttpEngine$Builder setEnableBrotli (boolean)
boolean value
public android.net.http.HttpEngine$Builder setEnableHttp2 (boolean)
boolean value
public android.net.http.HttpEngine$Builder setEnableHttpCache (int, long)
int cacheMode
long maxSize
public android.net.http.HttpEngine$Builder setEnablePublicKeyPinningBypassForLocalTrustAnchors (boolean)
boolean value
public android.net.http.HttpEngine$Builder setEnableQuic (boolean)
boolean value
public android.net.http.HttpEngine$Builder setQuicOptions (android.net.http.QuicOptions)
android.net.http.QuicOptions quicOptions
public android.net.http.HttpEngine$Builder setStoragePath (java.lang.String)
String value
public android.net.http.HttpEngine$Builder setUserAgent (java.lang.String)
String userAgent
}
android/net/http/HttpEngine.class
HttpEngine.java
package android.net.http
public abstract android.net.http.HttpEngine extends java.lang.Object {
void <init> ()
public void bindToNetwork (android.net.Network)
android.net.Network network
public abstract java.net.URLStreamHandlerFactory createUrlStreamHandlerFactory ()
public static java.lang.String getVersionString ()
public abstract android.net.http.BidirectionalStream$Builder newBidirectionalStreamBuilder (java.lang.String, java.util.concurrent.Executor, android.net.http.BidirectionalStream$Callback)
public abstract android.net.http.UrlRequest$Builder newUrlRequestBuilder (java.lang.String, java.util.concurrent.Executor, android.net.http.UrlRequest$Callback)
public abstract java.net.URLConnection openConnection (java.net.URL) throws java.io.IOException
public abstract void shutdown ()
}
android/net/http/HttpException.class
HttpException.java
package android.net.http
public android.net.http.HttpException extends java.io.IOException {
public void <init> (java.lang.String, java.lang.Throwable)
String message
Throwable cause
}
android/net/http/InlineExecutionProhibitedException.class
InlineExecutionProhibitedException.java
package android.net.http
public final android.net.http.InlineExecutionProhibitedException extends java.util.concurrent.RejectedExecutionException {
public void <init> ()
}
android/net/http/NetworkException.class
NetworkException.java
package android.net.http
public abstract android.net.http.NetworkException extends android.net.http.HttpException {
public static final int ERROR_ADDRESS_UNREACHABLE
public static final int ERROR_CONNECTION_CLOSED
public static final int ERROR_CONNECTION_REFUSED
public static final int ERROR_CONNECTION_RESET
public static final int ERROR_CONNECTION_TIMED_OUT
public static final int ERROR_HOSTNAME_NOT_RESOLVED
public static final int ERROR_INTERNET_DISCONNECTED
public static final int ERROR_NETWORK_CHANGED
public static final int ERROR_OTHER
public static final int ERROR_QUIC_PROTOCOL_FAILED
public static final int ERROR_TIMED_OUT
public void <init> (java.lang.String, java.lang.Throwable)
String message
Throwable cause
public abstract int getErrorCode ()
public abstract boolean isImmediatelyRetryable ()
}
android/net/http/QuicException.class
QuicException.java
package android.net.http
public abstract android.net.http.QuicException extends android.net.http.NetworkException {
protected void <init> (java.lang.String, java.lang.Throwable)
String message
Throwable cause
}
android/net/http/QuicOptions$Builder.class
QuicOptions.java
package android.net.http
public final android.net.http.QuicOptions$Builder extends java.lang.Object {
public void <init> ()
public android.net.http.QuicOptions$Builder addAllowedQuicHost (java.lang.String)
String quicHost
public android.net.http.QuicOptions build ()
public android.net.http.QuicOptions$Builder setHandshakeUserAgent (java.lang.String)
String handshakeUserAgent
public android.net.http.QuicOptions$Builder setIdleConnectionTimeout (java.time.Duration)
java.time.Duration idleConnectionTimeout
public android.net.http.QuicOptions$Builder setInMemoryServerConfigsCacheSize (int)
int inMemoryServerConfigsCacheSize
}
android/net/http/QuicOptions.class
QuicOptions.java
package android.net.http
public android.net.http.QuicOptions extends java.lang.Object {
void <init> ()
public java.util.Set getAllowedQuicHosts ()
public java.lang.String getHandshakeUserAgent ()
public java.time.Duration getIdleConnectionTimeout ()
public int getInMemoryServerConfigsCacheSize ()
public boolean hasInMemoryServerConfigsCacheSize ()
}
android/net/http/UploadDataProvider.class
UploadDataProvider.java
package android.net.http
public abstract android.net.http.UploadDataProvider extends java.lang.Object implements java.io.Closeable {
public void <init> ()
public void close () throws java.io.IOException
public abstract long getLength () throws java.io.IOException
public abstract void read (android.net.http.UploadDataSink, java.nio.ByteBuffer) throws java.io.IOException
public abstract void rewind (android.net.http.UploadDataSink) throws java.io.IOException
}
android/net/http/UploadDataSink.class
UploadDataSink.java
package android.net.http
public abstract android.net.http.UploadDataSink extends java.lang.Object {
public void <init> ()
public abstract void onReadError (java.lang.Exception)
public abstract void onReadSucceeded (boolean)
public abstract void onRewindError (java.lang.Exception)
public abstract void onRewindSucceeded ()
}
android/net/http/UrlRequest$Builder.class
UrlRequest.java
package android.net.http
public abstract android.net.http.UrlRequest$Builder extends java.lang.Object {
void <init> ()
public abstract android.net.http.UrlRequest$Builder addHeader (java.lang.String, java.lang.String)
public abstract android.net.http.UrlRequest$Builder bindToNetwork (android.net.Network)
public abstract android.net.http.UrlRequest build ()
public abstract android.net.http.UrlRequest$Builder setCacheDisabled (boolean)
public abstract android.net.http.UrlRequest$Builder setDirectExecutorAllowed (boolean)
public abstract android.net.http.UrlRequest$Builder setHttpMethod (java.lang.String)
public abstract android.net.http.UrlRequest$Builder setPriority (int)
public abstract android.net.http.UrlRequest$Builder setTrafficStatsTag (int)
public abstract android.net.http.UrlRequest$Builder setTrafficStatsUid (int)
public abstract android.net.http.UrlRequest$Builder setUploadDataProvider (android.net.http.UploadDataProvider, java.util.concurrent.Executor)
}
android/net/http/UrlRequest$Callback.class
UrlRequest.java
package android.net.http
public abstract android.net.http.UrlRequest$Callback extends java.lang.Object {
public abstract void onCanceled (android.net.http.UrlRequest, android.net.http.UrlResponseInfo)
public abstract void onFailed (android.net.http.UrlRequest, android.net.http.UrlResponseInfo, android.net.http.HttpException)
public abstract void onReadCompleted (android.net.http.UrlRequest, android.net.http.UrlResponseInfo, java.nio.ByteBuffer) throws java.lang.Exception
public abstract void onRedirectReceived (android.net.http.UrlRequest, android.net.http.UrlResponseInfo, java.lang.String) throws java.lang.Exception
public abstract void onResponseStarted (android.net.http.UrlRequest, android.net.http.UrlResponseInfo) throws java.lang.Exception
public abstract void onSucceeded (android.net.http.UrlRequest, android.net.http.UrlResponseInfo)
}
android/net/http/UrlRequest$Status.class
UrlRequest.java
package android.net.http
public android.net.http.UrlRequest$Status extends java.lang.Object {
public static final int CONNECTING
public static final int DOWNLOADING_PAC_FILE
public static final int ESTABLISHING_PROXY_TUNNEL
public static final int IDLE
public static final int INVALID
public static final int READING_RESPONSE
public static final int RESOLVING_HOST
public static final int RESOLVING_HOST_IN_PAC_FILE
public static final int RESOLVING_PROXY_FOR_URL
public static final int SENDING_REQUEST
public static final int SSL_HANDSHAKE
public static final int WAITING_FOR_AVAILABLE_SOCKET
public static final int WAITING_FOR_CACHE
public static final int WAITING_FOR_DELEGATE
public static final int WAITING_FOR_RESPONSE
public static final int WAITING_FOR_STALLED_SOCKET_POOL
void <init> ()
}
android/net/http/UrlRequest$StatusListener.class
UrlRequest.java
package android.net.http
public abstract android.net.http.UrlRequest$StatusListener extends java.lang.Object {
public abstract void onStatus (int)
}
android/net/http/UrlRequest.class
UrlRequest.java
package android.net.http
public abstract android.net.http.UrlRequest extends java.lang.Object {
public static final int REQUEST_PRIORITY_HIGHEST
public static final int REQUEST_PRIORITY_IDLE
public static final int REQUEST_PRIORITY_LOW
public static final int REQUEST_PRIORITY_LOWEST
public static final int REQUEST_PRIORITY_MEDIUM
void <init> ()
public abstract void cancel ()
public abstract void followRedirect ()
public abstract android.net.http.HeaderBlock getHeaders ()
public abstract java.lang.String getHttpMethod ()
public abstract int getPriority ()
public abstract void getStatus (android.net.http.UrlRequest$StatusListener)
public abstract int getTrafficStatsTag ()
public abstract int getTrafficStatsUid ()
public abstract boolean hasTrafficStatsTag ()
public abstract boolean hasTrafficStatsUid ()
public abstract boolean isCacheDisabled ()
public abstract boolean isDirectExecutorAllowed ()
public abstract boolean isDone ()
public abstract void read (java.nio.ByteBuffer)
public abstract void start ()
}
android/net/http/UrlResponseInfo.class
UrlResponseInfo.java
package android.net.http
public abstract android.net.http.UrlResponseInfo extends java.lang.Object {
public void <init> ()
public abstract android.net.http.HeaderBlock getHeaders ()
public abstract int getHttpStatusCode ()
public abstract java.lang.String getHttpStatusText ()
public abstract java.lang.String getNegotiatedProtocol ()
public abstract long getReceivedByteCount ()
public abstract java.lang.String getUrl ()
public abstract java.util.List getUrlChain ()
public abstract boolean wasCached ()
}