Home
last modified time | relevance | path

Searched refs:NET_CAPABILITY_TEMPORARILY_NOT_METERED (Results 1 – 12 of 12) sorted by relevance

/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkRequestTest.java28 import static android.net.NetworkCapabilities.NET_CAPABILITY_TEMPORARILY_NOT_METERED;
136 .addCapability(NET_CAPABILITY_TEMPORARILY_NOT_METERED).build() in testTemporarilyNotMeteredCapability()
137 .hasCapability(NET_CAPABILITY_TEMPORARILY_NOT_METERED)); in testTemporarilyNotMeteredCapability()
139 .removeCapability(NET_CAPABILITY_TEMPORARILY_NOT_METERED).build() in testTemporarilyNotMeteredCapability()
140 .hasCapability(NET_CAPABILITY_TEMPORARILY_NOT_METERED)); in testTemporarilyNotMeteredCapability()
DNetworkAgentTest.kt48 import android.net.NetworkCapabilities.NET_CAPABILITY_TEMPORARILY_NOT_METERED in <lambda>()
1074 .addCapability(NET_CAPABILITY_TEMPORARILY_NOT_METERED) in testTemporarilyUnmeteredCapability()
1077 it.hasCapability(NET_CAPABILITY_TEMPORARILY_NOT_METERED) in testTemporarilyUnmeteredCapability()
1082 .removeCapability(NET_CAPABILITY_TEMPORARILY_NOT_METERED) in testTemporarilyUnmeteredCapability()
1085 !it.hasCapability(NET_CAPABILITY_TEMPORARILY_NOT_METERED) in testTemporarilyUnmeteredCapability()
1203 ncAgent1.addCapability(NET_CAPABILITY_TEMPORARILY_NOT_METERED) in testRegisterBestMatchingNetworkCallback()
1731 nc.addCapability(NET_CAPABILITY_TEMPORARILY_NOT_METERED) in doTestNativeNetworkCreation()
1756 NET_CAPABILITY_TEMPORARILY_NOT_METERED) } in doTestNativeNetworkCreation()
1758 NET_CAPABILITY_TEMPORARILY_NOT_METERED) } in doTestNativeNetworkCreation()
DEthernetManagerTest.kt46 import android.net.NetworkCapabilities.NET_CAPABILITY_TEMPORARILY_NOT_METERED in <lambda>()
120 .addCapability(NET_CAPABILITY_TEMPORARILY_NOT_METERED) in <lambda>()
/packages/modules/Connectivity/tests/unit/java/com/android/metrics/
DConnectivitySampleMetricsTest.kt13 import android.net.NetworkCapabilities.NET_CAPABILITY_TEMPORARILY_NOT_METERED in <lambda>()
73 hasCapability(NET_CAPABILITY_TEMPORARILY_NOT_METERED) -> in Number()
/packages/modules/Connectivity/framework/src/android/net/
DNetworkRequest.java32 import static android.net.NetworkCapabilities.NET_CAPABILITY_TEMPORARILY_NOT_METERED;
288 NET_CAPABILITY_TEMPORARILY_NOT_METERED,
DNetworkCapabilities.java453 NET_CAPABILITY_TEMPORARILY_NOT_METERED,
643 public static final int NET_CAPABILITY_TEMPORARILY_NOT_METERED = 25; field in NetworkCapabilities
787 (1L << NET_CAPABILITY_TEMPORARILY_NOT_METERED) |
842 (1L << NET_CAPABILITY_TEMPORARILY_NOT_METERED) |
2626 case NET_CAPABILITY_TEMPORARILY_NOT_METERED: return "TEMPORARILY_NOT_METERED"; in capabilityNameOf()
/packages/modules/Connectivity/tests/unit/java/android/net/
DNetworkIdentityTest.kt107 setCapability(NetworkCapabilities.NET_CAPABILITY_TEMPORARILY_NOT_METERED, true) in <lambda>()
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/
DQnsUtils.java393 case NetworkCapabilities.NET_CAPABILITY_TEMPORARILY_NOT_METERED: in networkCapabilityToString()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java124 import static android.net.NetworkCapabilities.NET_CAPABILITY_TEMPORARILY_NOT_METERED;
3394 nc.addCapability(NET_CAPABILITY_TEMPORARILY_NOT_METERED);
3402 .hasCapability(NET_CAPABILITY_TEMPORARILY_NOT_METERED));
7974 mCellAgent.addCapability(NET_CAPABILITY_TEMPORARILY_NOT_METERED);
15712 mCellAgent.addCapability(NET_CAPABILITY_TEMPORARILY_NOT_METERED);
15714 c -> c.hasCapability(NET_CAPABILITY_TEMPORARILY_NOT_METERED));
15716 c -> c.hasCapability(NET_CAPABILITY_TEMPORARILY_NOT_METERED));
15909 mCellAgent.addCapability(NET_CAPABILITY_TEMPORARILY_NOT_METERED);
16126 workAgent.addCapability(NET_CAPABILITY_TEMPORARILY_NOT_METERED);
16128 c -> c.hasCapability(NET_CAPABILITY_TEMPORARILY_NOT_METERED));
[all …]
/packages/modules/Connectivity/framework/api/
Dcurrent.txt351 field public static final int NET_CAPABILITY_TEMPORARILY_NOT_METERED = 25; // 0x19
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/
DNetworkStatsServiceTest.java2762 capabilities.setCapability(NetworkCapabilities.NET_CAPABILITY_TEMPORARILY_NOT_METERED, in buildStateOfTransport()
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java91 import static android.net.NetworkCapabilities.NET_CAPABILITY_TEMPORARILY_NOT_METERED;
2741 if (nc.hasCapability(NET_CAPABILITY_TEMPORARILY_NOT_METERED)) {