Searched refs:NET_CAPABILITY_NOT_METERED (Results 1 – 7 of 7) sorted by relevance
3 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_METERED;112 caps.setCapability(NET_CAPABILITY_NOT_METERED, !mIsMetered); in getNetworkCapabilities()
19 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_METERED;142 } else if (networkRequest.networkCapabilities.hasCapability(NET_CAPABILITY_NOT_METERED)) { in getNetworkType()
30 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_METERED;300 .addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_METERED);306 .addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_METERED);691 nc.addCapability(NET_CAPABILITY_NOT_METERED); in testNeedEvaluatingBandwidth()707 nc.removeCapability(NET_CAPABILITY_NOT_METERED); in testNeedEvaluatingBandwidth()711 nc.addCapability(NET_CAPABILITY_NOT_METERED); in testNeedEvaluatingBandwidth()744 .addCapability(NET_CAPABILITY_NOT_METERED); in testEvaluatingBandwidthState_nonMeteredNetworkWithWrongConfig()
19 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_METERED;729 if (!caps.hasCapability(NET_CAPABILITY_NOT_METERED) in checkConnectivity()
30 const val NOT_METERED = NetworkCapabilities.NET_CAPABILITY_NOT_METERED in <lambda>()
272 sCapabilityNames.put(NetworkCapabilities.NET_CAPABILITY_NOT_METERED, "[NOT METERED]"); in sCapabilityNames.put() argument
37 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_METERED;1778 || !mNetworkCapabilities.hasCapability(NET_CAPABILITY_NOT_METERED) in needEvaluatingBandwidth()3335 if (!mNetworkCapabilities.hasCapability(NET_CAPABILITY_NOT_METERED) in isDataStall()