Home
last modified time | relevance | path

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

/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DFakeSystemFacade.java3 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_METERED;
112 caps.setCapability(NET_CAPABILITY_NOT_METERED, !mIsMetered); in getNetworkCapabilities()
/packages/services/Car/tests/GarageModeTestApp/src/com/google/android/car/garagemode/testapp/
DJobInfoRowArrayAdapter.java19 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_METERED;
142 } else if (networkRequest.networkCapabilities.hasCapability(NET_CAPABILITY_NOT_METERED)) { in getNetworkType()
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
DNetworkMonitorTest.java30 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()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadThread.java19 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_METERED;
729 if (!caps.hasCapability(NET_CAPABILITY_NOT_METERED) in checkConnectivity()
/packages/modules/NetworkStack/tests/unit/src/android/net/testutils/
DTestableNetworkCallbackTest.kt30 const val NOT_METERED = NetworkCapabilities.NET_CAPABILITY_NOT_METERED in <lambda>()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/
DConnectivityFragment.java272 sCapabilityNames.put(NetworkCapabilities.NET_CAPABILITY_NOT_METERED, "[NOT METERED]"); in sCapabilityNames.put() argument
/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java37 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()