Methods Summary |
---|
public boolean | addVpnAddress(java.lang.String address, int prefixLength)
|
public void | captivePortalCheckCompleted(android.net.NetworkInfo info, boolean isCaptivePortal)
|
public int | checkMobileProvisioning(int suggestedTimeOutMs)
|
public android.os.ParcelFileDescriptor | establishVpn(com.android.internal.net.VpnConfig config)
|
public int | findConnectionTypeForIface(java.lang.String iface)
|
public android.net.LinkProperties | getActiveLinkProperties()
|
public android.net.NetworkInfo | getActiveNetworkInfo()
|
public android.net.NetworkInfo | getActiveNetworkInfoForUid(int uid)
|
public android.net.NetworkQuotaInfo | getActiveNetworkQuotaInfo()
|
public android.net.NetworkInfo[] | getAllNetworkInfo()
|
public android.net.NetworkState[] | getAllNetworkState()
|
public android.net.Network[] | getAllNetworks()
|
public android.net.NetworkCapabilities[] | getDefaultNetworkCapabilitiesForUser(int userId)
|
public android.net.ProxyInfo | getDefaultProxy()
|
public android.net.ProxyInfo | getGlobalProxy()
|
public int | getLastTetherError(java.lang.String iface)
|
public com.android.internal.net.LegacyVpnInfo | getLegacyVpnInfo()
|
public android.net.LinkProperties | getLinkProperties(android.net.Network network)
|
public android.net.LinkProperties | getLinkPropertiesForType(int networkType)
|
public java.lang.String | getMobileProvisioningUrl()
|
public java.lang.String | getMobileRedirectedProvisioningUrl()
|
public android.net.NetworkCapabilities | getNetworkCapabilities(android.net.Network network)
|
public android.net.Network | getNetworkForType(int networkType)
|
public android.net.NetworkInfo | getNetworkInfo(int networkType)
|
public android.net.NetworkInfo | getNetworkInfoForNetwork(android.net.Network network)
|
public android.net.NetworkInfo | getProvisioningOrActiveNetworkInfo()
|
public int | getRestoreDefaultNetworkDelay(int networkType)
|
public java.lang.String[] | getTetherableBluetoothRegexs()
|
public java.lang.String[] | getTetherableIfaces()
|
public java.lang.String[] | getTetherableUsbRegexs()
|
public java.lang.String[] | getTetherableWifiRegexs()
|
public java.lang.String[] | getTetheredDhcpRanges()
|
public java.lang.String[] | getTetheredIfaces()
|
public java.lang.String[] | getTetheringErroredIfaces()
|
public com.android.internal.net.VpnConfig | getVpnConfig()
|
public boolean | isActiveNetworkMetered()
|
public boolean | isNetworkSupported(int networkType)
|
public boolean | isTetheringSupported()
|
public android.net.NetworkRequest | listenForNetwork(android.net.NetworkCapabilities networkCapabilities, android.os.Messenger messenger, android.os.IBinder binder)
|
public void | pendingListenForNetwork(android.net.NetworkCapabilities networkCapabilities, android.app.PendingIntent operation)
|
public android.net.NetworkRequest | pendingRequestForNetwork(android.net.NetworkCapabilities networkCapabilities, android.app.PendingIntent operation)
|
public boolean | prepareVpn(java.lang.String oldPackage, java.lang.String newPackage)
|
public void | registerNetworkAgent(android.os.Messenger messenger, android.net.NetworkInfo ni, android.net.LinkProperties lp, android.net.NetworkCapabilities nc, int score, android.net.NetworkMisc misc)
|
public void | registerNetworkFactory(android.os.Messenger messenger, java.lang.String name)
|
public void | releaseNetworkRequest(android.net.NetworkRequest networkRequest)
|
public void | releasePendingNetworkRequest(android.app.PendingIntent operation)
|
public boolean | removeVpnAddress(java.lang.String address, int prefixLength)
|
public void | reportBadNetwork(android.net.Network network)
|
public void | reportInetCondition(int networkType, int percentage)
|
public android.net.NetworkRequest | requestNetwork(android.net.NetworkCapabilities networkCapabilities, android.os.Messenger messenger, int timeoutSec, android.os.IBinder binder, int legacy)
|
public boolean | requestRouteToHostAddress(int networkType, byte[] hostAddress)
|
public void | setAirplaneMode(boolean enable)
|
public void | setDataDependency(int networkType, boolean met)
|
public void | setGlobalProxy(android.net.ProxyInfo p)
|
public void | setProvisioningNotificationVisible(boolean visible, int networkType, java.lang.String action)
|
public boolean | setUnderlyingNetworksForVpn(android.net.Network[] networks)
|
public int | setUsbTethering(boolean enable)
|
public void | setVpnPackageAuthorization(boolean authorized)
|
public void | startLegacyVpn(com.android.internal.net.VpnProfile profile)
|
public void | supplyMessenger(int networkType, android.os.Messenger messenger)
|
public int | tether(java.lang.String iface)
|
public void | unregisterNetworkFactory(android.os.Messenger messenger)
|
public int | untether(java.lang.String iface)
|
public boolean | updateLockdownVpn()
|