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;
645 assertTrue(getNetworkCapabilities().hasCapability(NET_CAPABILITY_NOT_CONGESTED)); in testOverrideUnmetered()
651 assertTrue(getNetworkCapabilities().hasCapability(NET_CAPABILITY_NOT_CONGESTED)); in testOverrideUnmetered()
656 assertTrue(getNetworkCapabilities().hasCapability(NET_CAPABILITY_NOT_CONGESTED)); in testOverrideUnmetered()
667 assertTrue(getNetworkCapabilities().hasCapability(NET_CAPABILITY_NOT_CONGESTED)); in testOverrideCongested()
673 assertFalse(getNetworkCapabilities().hasCapability(NET_CAPABILITY_NOT_CONGESTED)); in testOverrideCongested()
678 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;
211 .addCapability(NET_CAPABILITY_NOT_CONGESTED); in testCongestion()
245 .addCapability(NET_CAPABILITY_NOT_CONGESTED) in testRelaxed()
257 .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/apex/jobscheduler/service/java/com/android/server/job/controllers/
DConnectivityController.java20 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_CONGESTED;
367 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.java136 .addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_CONGESTED) in makeNetworkCapabilitiesFilter()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareDataPathStateManagerTest.java1752 .addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_CONGESTED); in getDirectNetworkRequestMore()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataConnection.java1423 result.addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_CONGESTED); in getNetworkCapabilities()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DClientModeImpl.java821 .addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_CONGESTED) in ClientModeImpl()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/base/api/
Dcurrent.txt30271 field public static final int NET_CAPABILITY_NOT_CONGESTED = 20; // 0x14