Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDataConnectionTest.java19 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_CONGESTED;
649 assertTrue(getNetworkCapabilities().hasCapability(NET_CAPABILITY_NOT_CONGESTED)); in testOverrideUnmetered()
655 assertTrue(getNetworkCapabilities().hasCapability(NET_CAPABILITY_NOT_CONGESTED)); in testOverrideUnmetered()
660 assertTrue(getNetworkCapabilities().hasCapability(NET_CAPABILITY_NOT_CONGESTED)); in testOverrideUnmetered()
671 assertTrue(getNetworkCapabilities().hasCapability(NET_CAPABILITY_NOT_CONGESTED)); in testOverrideCongested()
677 assertFalse(getNetworkCapabilities().hasCapability(NET_CAPABILITY_NOT_CONGESTED)); in testOverrideCongested()
682 assertTrue(getNetworkCapabilities().hasCapability(NET_CAPABILITY_NOT_CONGESTED)); in testOverrideCongested()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DVpnTest.java25 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_CONGESTED;
602 .addCapability(NET_CAPABILITY_NOT_CONGESTED) in testCapabilities()
611 .addCapability(NET_CAPABILITY_NOT_CONGESTED) in testCapabilities()
627 assertTrue(caps.hasCapability(NET_CAPABILITY_NOT_CONGESTED)); in testCapabilities()
642 assertTrue(caps.hasCapability(NET_CAPABILITY_NOT_CONGESTED)); in testCapabilities()
654 assertTrue(caps.hasCapability(NET_CAPABILITY_NOT_CONGESTED)); in testCapabilities()
666 assertTrue(caps.hasCapability(NET_CAPABILITY_NOT_CONGESTED)); in testCapabilities()
681 assertTrue(caps.hasCapability(NET_CAPABILITY_NOT_CONGESTED)); in testCapabilities()
/frameworks/base/core/java/android/net/
DNetworkCapabilities.java167 NET_CAPABILITY_NOT_CONGESTED,
305 public static final int NET_CAPABILITY_NOT_CONGESTED = 20; field in NetworkCapabilities
363 | (1 << NET_CAPABILITY_NOT_CONGESTED)
441 | (1 << NET_CAPABILITY_NOT_CONGESTED)
1911 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/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetTracker.java468 nc.addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_CONGESTED); in createDefaultNetworkCapabilities()
557 nc.addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_CONGESTED); in createNetworkCapabilities()
/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/base/services/core/java/com/android/server/connectivity/
DVpn.java21 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_CONGESTED;
384 congested |= !underlyingCaps.hasCapability(NET_CAPABILITY_NOT_CONGESTED); in applyUnderlyingCapabilities()
403 caps.setCapability(NET_CAPABILITY_NOT_CONGESTED, !congested); in applyUnderlyingCapabilities()
/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.java1714 .addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_CONGESTED); in getDirectNetworkRequestMore()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataConnection.java1441 result.addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_CONGESTED); in getNetworkCapabilities()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DClientModeImpl.java845 mNetworkCapabilitiesFilter.addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_CONGESTED); in ClientModeImpl()
/frameworks/base/non-updatable-api/
Dcurrent.txt29040 field public static final int NET_CAPABILITY_NOT_CONGESTED = 20; // 0x14
/frameworks/base/api/
Dcurrent.txt29170 field public static final int NET_CAPABILITY_NOT_CONGESTED = 20; // 0x14