Home
last modified time | relevance | path

Searched refs:NET_CAPABILITY_NOT_METERED (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/tests/net/java/android/net/
DNetworkCapabilitiesTest.java22 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()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDataConnectionTest.java298 .hasCapability(NetworkCapabilities.NET_CAPABILITY_NOT_METERED)); in testMeteredCapability()
314 .hasCapability(NetworkCapabilities.NET_CAPABILITY_NOT_METERED)); in testNonMeteredCapability()
/frameworks/base/core/java/android/net/
DNetworkCapabilities.java148 public static final int NET_CAPABILITY_NOT_METERED = 11; field in NetworkCapabilities
859 case NET_CAPABILITY_NOT_METERED: capabilities += "NOT_METERED"; break; in toString()
DNetworkIdentity.java194 NetworkCapabilities.NET_CAPABILITY_NOT_METERED); in buildNetworkIdentity()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java1398 .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()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareDataPathStateManagerTest.java703 NetworkCapabilities.NET_CAPABILITY_NOT_METERED); in getSessionNetworkRequest()
741 NetworkCapabilities.NET_CAPABILITY_NOT_METERED); in getDirectNetworkRequest()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDataPathStateManager.java109 .addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_METERED) in start()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataConnection.java939 result.addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_METERED); in getNetworkCapabilities()
942 result.removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_METERED); in getNetworkCapabilities()
DDcTracker.java964 NetworkCapabilities.NET_CAPABILITY_NOT_METERED))) { in reevaluateDataConnections()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkStatsServiceTest.java1151 capabilities.addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_METERED); in buildWifiState()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java29 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()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiStateMachine.java941 mNetworkCapabilitiesFilter.addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_METERED); in WifiStateMachine()
5330 networkCapabilities.removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_METERED); in updateCapabilities()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt17124 field public static final int NET_CAPABILITY_NOT_METERED = 11; // 0xb
/frameworks/base/api/
Dcurrent.txt25578 field public static final int NET_CAPABILITY_NOT_METERED = 11; // 0xb
Dsystem-current.txt27774 field public static final int NET_CAPABILITY_NOT_METERED = 11; // 0xb