Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DNetworkCapabilities.java172 NET_CAPABILITY_TEMPORARILY_NOT_METERED,
346 public static final int NET_CAPABILITY_TEMPORARILY_NOT_METERED = 25; field in NetworkCapabilities
349 private static final int MAX_NET_CAPABILITY = NET_CAPABILITY_TEMPORARILY_NOT_METERED;
366 | (1 << NET_CAPABILITY_TEMPORARILY_NOT_METERED));
437 | (1 << NET_CAPABILITY_TEMPORARILY_NOT_METERED)
1916 case NET_CAPABILITY_TEMPORARILY_NOT_METERED: return "TEMPORARILY_NOT_METERED"; in capabilityNameOf()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDataConnectionTest.java21 import static android.net.NetworkCapabilities.NET_CAPABILITY_TEMPORARILY_NOT_METERED;
620 assertFalse(getNetworkCapabilities().hasCapability(NET_CAPABILITY_TEMPORARILY_NOT_METERED)); in testMeteredCapability()
644 assertFalse(getNetworkCapabilities().hasCapability(NET_CAPABILITY_TEMPORARILY_NOT_METERED)); in testOverrideUnmetered()
650 assertTrue(getNetworkCapabilities().hasCapability(NET_CAPABILITY_TEMPORARILY_NOT_METERED)); in testOverrideUnmetered()
655 assertFalse(getNetworkCapabilities().hasCapability(NET_CAPABILITY_TEMPORARILY_NOT_METERED)); in testOverrideUnmetered()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcNetworkAgent.java238 NetworkCapabilities.NET_CAPABILITY_TEMPORARILY_NOT_METERED) in sendNetworkCapabilities()
240 NetworkCapabilities.NET_CAPABILITY_TEMPORARILY_NOT_METERED)) { in sendNetworkCapabilities()
DDataConnection.java1432 result.addCapability(NetworkCapabilities.NET_CAPABILITY_TEMPORARILY_NOT_METERED); in getNetworkCapabilities()
1434 result.removeCapability(NetworkCapabilities.NET_CAPABILITY_TEMPORARILY_NOT_METERED); in getNetworkCapabilities()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DTelephonyMetricsTest.java316 caps.addCapability(NetworkCapabilities.NET_CAPABILITY_TEMPORARILY_NOT_METERED); in testWriteNetworkCapabilitiesChangedEvent()
319 caps.removeCapability(NetworkCapabilities.NET_CAPABILITY_TEMPORARILY_NOT_METERED); in testWriteNetworkCapabilitiesChangedEvent()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DTelephonyMetrics.java2620 NetworkCapabilities.NET_CAPABILITY_TEMPORARILY_NOT_METERED); in writeNetworkCapabilitiesChangedEvent()
/frameworks/base/api/
Dcurrent.txt30279 field public static final int NET_CAPABILITY_TEMPORARILY_NOT_METERED = 25; // 0x19