Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/com/android/server/connectivity/
DVpnTest.java25 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_CONGESTED;
557 .addCapability(NET_CAPABILITY_NOT_CONGESTED) in testCapabilities()
566 .addCapability(NET_CAPABILITY_NOT_CONGESTED) in testCapabilities()
581 assertTrue(caps.hasCapability(NET_CAPABILITY_NOT_CONGESTED)); in testCapabilities()
595 assertTrue(caps.hasCapability(NET_CAPABILITY_NOT_CONGESTED)); in testCapabilities()
606 assertTrue(caps.hasCapability(NET_CAPABILITY_NOT_CONGESTED)); in testCapabilities()
617 assertTrue(caps.hasCapability(NET_CAPABILITY_NOT_CONGESTED)); in testCapabilities()
631 assertTrue(caps.hasCapability(NET_CAPABILITY_NOT_CONGESTED)); in testCapabilities()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDataConnectionTest.java19 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_CONGESTED;
576 assertTrue(getNetworkCapabilities().hasCapability(NET_CAPABILITY_NOT_CONGESTED)); in testOverrideUnmetered()
581 assertTrue(getNetworkCapabilities().hasCapability(NET_CAPABILITY_NOT_CONGESTED)); in testOverrideUnmetered()
586 assertTrue(getNetworkCapabilities().hasCapability(NET_CAPABILITY_NOT_CONGESTED)); in testOverrideUnmetered()
597 assertTrue(getNetworkCapabilities().hasCapability(NET_CAPABILITY_NOT_CONGESTED)); in testOverrideCongested()
602 assertFalse(getNetworkCapabilities().hasCapability(NET_CAPABILITY_NOT_CONGESTED)); in testOverrideCongested()
607 assertTrue(getNetworkCapabilities().hasCapability(NET_CAPABILITY_NOT_CONGESTED)); in testOverrideCongested()
/frameworks/base/core/java/android/net/
DNetworkCapabilities.java144 NET_CAPABILITY_NOT_CONGESTED,
281 public static final int NET_CAPABILITY_NOT_CONGESTED = 20; field in NetworkCapabilities
331 | (1 << NET_CAPABILITY_NOT_CONGESTED)
1653 case NET_CAPABILITY_NOT_CONGESTED: return "NOT_CONGESTED"; in capabilityNameOf()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DConnectivityControllerTest.java20 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_CONGESTED;
163 .addCapability(NET_CAPABILITY_NOT_CONGESTED); in testCongestion()
194 .addCapability(NET_CAPABILITY_NOT_CONGESTED) in testRelaxed()
206 .addCapability(NET_CAPABILITY_NOT_CONGESTED); in testRelaxed()
/frameworks/base/services/core/java/com/android/server/job/controllers/
DConnectivityController.java20 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_CONGESTED;
357 if (!capabilities.hasCapability(NET_CAPABILITY_NOT_CONGESTED)) { in isCongestionDelayed()
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetTracker.java325 nc.addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_CONGESTED); in createDefaultNetworkCapabilities()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java21 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_CONGESTED;
337 congested |= !underlyingCaps.hasCapability(NET_CAPABILITY_NOT_CONGESTED); in applyUnderlyingCapabilities()
352 caps.setCapability(NET_CAPABILITY_NOT_CONGESTED, !congested); in applyUnderlyingCapabilities()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataConnection.java1283 result.addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_CONGESTED); in getNetworkCapabilities()
1290 result.removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_CONGESTED); in getNetworkCapabilities()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDataPathStateManager.java152 .addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_CONGESTED) in start()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareDataPathStateManagerTest.java1710 .addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_CONGESTED); in getDirectNetworkRequestMore()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DClientModeImpl.java832 mNetworkCapabilitiesFilter.addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_CONGESTED); in ClientModeImpl()
/frameworks/base/api/
Dcurrent.txt28791 field public static final int NET_CAPABILITY_NOT_CONGESTED = 20; // 0x14