FileDocCategorySizeDatePackage
IConnectivityManager.javaAPI DocAndroid 5.1 API72499Sat Mar 14 05:48:02 GMT 2015android.net

IConnectivityManager

public interface IConnectivityManager implements android.os.IInterface
{@hide}

Fields Summary
Constructors Summary
Methods Summary
public booleanaddVpnAddress(java.lang.String address, int prefixLength)

public voidcaptivePortalCheckCompleted(android.net.NetworkInfo info, boolean isCaptivePortal)

public intcheckMobileProvisioning(int suggestedTimeOutMs)

public android.os.ParcelFileDescriptorestablishVpn(com.android.internal.net.VpnConfig config)

public intfindConnectionTypeForIface(java.lang.String iface)

public android.net.LinkPropertiesgetActiveLinkProperties()

public android.net.NetworkInfogetActiveNetworkInfo()

public android.net.NetworkInfogetActiveNetworkInfoForUid(int uid)

public android.net.NetworkQuotaInfogetActiveNetworkQuotaInfo()

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.ProxyInfogetDefaultProxy()

public android.net.ProxyInfogetGlobalProxy()

public intgetLastTetherError(java.lang.String iface)

public com.android.internal.net.LegacyVpnInfogetLegacyVpnInfo()

public android.net.LinkPropertiesgetLinkProperties(android.net.Network network)

public android.net.LinkPropertiesgetLinkPropertiesForType(int networkType)

public java.lang.StringgetMobileProvisioningUrl()

public java.lang.StringgetMobileRedirectedProvisioningUrl()

public android.net.NetworkCapabilitiesgetNetworkCapabilities(android.net.Network network)

public android.net.NetworkgetNetworkForType(int networkType)

public android.net.NetworkInfogetNetworkInfo(int networkType)

public android.net.NetworkInfogetNetworkInfoForNetwork(android.net.Network network)

public android.net.NetworkInfogetProvisioningOrActiveNetworkInfo()

public intgetRestoreDefaultNetworkDelay(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.VpnConfiggetVpnConfig()

public booleanisActiveNetworkMetered()

public booleanisNetworkSupported(int networkType)

public booleanisTetheringSupported()

public android.net.NetworkRequestlistenForNetwork(android.net.NetworkCapabilities networkCapabilities, android.os.Messenger messenger, android.os.IBinder binder)

public voidpendingListenForNetwork(android.net.NetworkCapabilities networkCapabilities, android.app.PendingIntent operation)

public android.net.NetworkRequestpendingRequestForNetwork(android.net.NetworkCapabilities networkCapabilities, android.app.PendingIntent operation)

public booleanprepareVpn(java.lang.String oldPackage, java.lang.String newPackage)

public voidregisterNetworkAgent(android.os.Messenger messenger, android.net.NetworkInfo ni, android.net.LinkProperties lp, android.net.NetworkCapabilities nc, int score, android.net.NetworkMisc misc)

public voidregisterNetworkFactory(android.os.Messenger messenger, java.lang.String name)

public voidreleaseNetworkRequest(android.net.NetworkRequest networkRequest)

public voidreleasePendingNetworkRequest(android.app.PendingIntent operation)

public booleanremoveVpnAddress(java.lang.String address, int prefixLength)

public voidreportBadNetwork(android.net.Network network)

public voidreportInetCondition(int networkType, int percentage)

public android.net.NetworkRequestrequestNetwork(android.net.NetworkCapabilities networkCapabilities, android.os.Messenger messenger, int timeoutSec, android.os.IBinder binder, int legacy)

public booleanrequestRouteToHostAddress(int networkType, byte[] hostAddress)

public voidsetAirplaneMode(boolean enable)

public voidsetDataDependency(int networkType, boolean met)

public voidsetGlobalProxy(android.net.ProxyInfo p)

public voidsetProvisioningNotificationVisible(boolean visible, int networkType, java.lang.String action)

public booleansetUnderlyingNetworksForVpn(android.net.Network[] networks)

public intsetUsbTethering(boolean enable)

public voidsetVpnPackageAuthorization(boolean authorized)

public voidstartLegacyVpn(com.android.internal.net.VpnProfile profile)

public voidsupplyMessenger(int networkType, android.os.Messenger messenger)

public inttether(java.lang.String iface)

public voidunregisterNetworkFactory(android.os.Messenger messenger)

public intuntether(java.lang.String iface)

public booleanupdateLockdownVpn()