Searched refs:NET_CAPABILITY_NOT_METERED (Results 1 – 15 of 15) sorted by relevance
22 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_METERED;67 netCap.addCapability(NET_CAPABILITY_NOT_METERED); in testMaybeMarkCapabilitiesRestricted()72 netCap.removeCapability(NET_CAPABILITY_NOT_METERED); in testMaybeMarkCapabilitiesRestricted()80 netCap.addCapability(NET_CAPABILITY_NOT_METERED); in testMaybeMarkCapabilitiesRestricted()86 netCap.removeCapability(NET_CAPABILITY_NOT_METERED); in testMaybeMarkCapabilitiesRestricted()93 netCap.addCapability(NET_CAPABILITY_NOT_METERED); in testMaybeMarkCapabilitiesRestricted()98 netCap.removeCapability(NET_CAPABILITY_NOT_METERED); in testMaybeMarkCapabilitiesRestricted()106 netCap.addCapability(NET_CAPABILITY_NOT_METERED); in testMaybeMarkCapabilitiesRestricted()112 netCap.removeCapability(NET_CAPABILITY_NOT_METERED); in testMaybeMarkCapabilitiesRestricted()
298 .hasCapability(NetworkCapabilities.NET_CAPABILITY_NOT_METERED)); in testMeteredCapability()314 .hasCapability(NetworkCapabilities.NET_CAPABILITY_NOT_METERED)); in testNonMeteredCapability()
148 public static final int NET_CAPABILITY_NOT_METERED = 11; field in NetworkCapabilities859 case NET_CAPABILITY_NOT_METERED: capabilities += "NOT_METERED"; break; in toString()
194 NetworkCapabilities.NET_CAPABILITY_NOT_METERED); in buildNetworkIdentity()
1398 .clearCapabilities().addCapability(NET_CAPABILITY_NOT_METERED) in testMultipleLingering()1410 mCellNetworkAgent.addCapability(NET_CAPABILITY_NOT_METERED); in testMultipleLingering()1411 mWiFiNetworkAgent.addCapability(NET_CAPABILITY_NOT_METERED); in testMultipleLingering()1412 mEthernetNetworkAgent.addCapability(NET_CAPABILITY_NOT_METERED); in testMultipleLingering()1464 mWiFiNetworkAgent.removeCapability(NET_CAPABILITY_NOT_METERED); in testMultipleLingering()1466 defaultCallback.expectCapabilitiesWithout(NET_CAPABILITY_NOT_METERED, mWiFiNetworkAgent); in testMultipleLingering()1712 tryNetworkFactoryRequests(NET_CAPABILITY_NOT_METERED); in testNetworkFactoryRequests()
703 NetworkCapabilities.NET_CAPABILITY_NOT_METERED); in getSessionNetworkRequest()741 NetworkCapabilities.NET_CAPABILITY_NOT_METERED); in getDirectNetworkRequest()
109 .addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_METERED) in start()
939 result.addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_METERED); in getNetworkCapabilities()942 result.removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_METERED); in getNetworkCapabilities()
964 NetworkCapabilities.NET_CAPABILITY_NOT_METERED))) { in reevaluateDataConnections()
1151 capabilities.addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_METERED); in buildWifiState()
29 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_METERED;4117 if (networkCapabilities.hasCapability(NET_CAPABILITY_NOT_METERED)) { in enforceMeteredApnPolicy()4123 networkCapabilities.addCapability(NET_CAPABILITY_NOT_METERED); in enforceMeteredApnPolicy()
941 mNetworkCapabilitiesFilter.addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_METERED); in WifiStateMachine()5330 networkCapabilities.removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_METERED); in updateCapabilities()
17124 field public static final int NET_CAPABILITY_NOT_METERED = 11; // 0xb
25578 field public static final int NET_CAPABILITY_NOT_METERED = 11; // 0xb
27774 field public static final int NET_CAPABILITY_NOT_METERED = 11; // 0xb