Home
last modified time | relevance | path

Searched refs:NET_CAPABILITY_NOT_SUSPENDED (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/tests/net/integration/util/com/android/server/
DNetworkAgentWrapper.java19 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED;
78 mNetworkCapabilities.addCapability(NET_CAPABILITY_NOT_SUSPENDED); in NetworkAgentWrapper()
97 mNetworkCapabilities.removeCapability(NET_CAPABILITY_NOT_SUSPENDED); in NetworkAgentWrapper()
214 removeCapability(NET_CAPABILITY_NOT_SUSPENDED); in suspend()
218 addCapability(NET_CAPABILITY_NOT_SUSPENDED); in resume()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DVpnTest.java28 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED;
612 .addCapability(NET_CAPABILITY_NOT_SUSPENDED) in testCapabilities()
628 assertTrue(caps.hasCapability(NET_CAPABILITY_NOT_SUSPENDED)); in testCapabilities()
643 assertFalse(caps.hasCapability(NET_CAPABILITY_NOT_SUSPENDED)); in testCapabilities()
655 assertTrue(caps.hasCapability(NET_CAPABILITY_NOT_SUSPENDED)); in testCapabilities()
667 assertTrue(caps.hasCapability(NET_CAPABILITY_NOT_SUSPENDED)); in testCapabilities()
682 assertTrue(caps.hasCapability(NET_CAPABILITY_NOT_SUSPENDED)); in testCapabilities()
/frameworks/base/core/java/android/net/
DNetworkCapabilities.java168 NET_CAPABILITY_NOT_SUSPENDED,
317 public static final int NET_CAPABILITY_NOT_SUSPENDED = 21; field in NetworkCapabilities
364 | (1 << NET_CAPABILITY_NOT_SUSPENDED)
442 | (1 << NET_CAPABILITY_NOT_SUSPENDED);
1912 case NET_CAPABILITY_NOT_SUSPENDED: return "NOT_SUSPENDED"; in capabilityNameOf()
DConnectivityManager.java3324 NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED)) { in onAvailable()
/frameworks/base/tests/net/common/java/android/net/
DNetworkProviderTest.kt119 addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED) in <lambda>()
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetTracker.java469 nc.addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED); in createDefaultNetworkCapabilities()
558 nc.addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED); in createNetworkCapabilities()
/frameworks/base/services/core/java/com/android/server/
DTestNetworkService.java250 nc.addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED);
DConnectivityService.java46 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED;
6312 newNc.addCapability(NET_CAPABILITY_NOT_SUSPENDED); in mixInCapabilities()
6350 final boolean prevSuspended = !prevNc.hasCapability(NET_CAPABILITY_NOT_SUSPENDED); in updateCapabilities()
6351 final boolean suspended = !newNc.hasCapability(NET_CAPABILITY_NOT_SUSPENDED); in updateCapabilities()
7125 !nai.networkCapabilities.hasCapability(NET_CAPABILITY_NOT_SUSPENDED); in mixInInfo()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java59 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED;
3248 cellNetworkCallback.expectCapabilitiesWithout(NET_CAPABILITY_NOT_SUSPENDED, in testAdditionalStateCallbacks()
3264 cellNetworkCallback.expectCapabilitiesWith(NET_CAPABILITY_NOT_SUSPENDED, in testAdditionalStateCallbacks()
5436 mCellNetworkAgent.addCapability(NET_CAPABILITY_NOT_SUSPENDED); in testVpnStartsWithUnderlyingCaps()
5459 assertTrue(nc.hasCapability(NET_CAPABILITY_NOT_SUSPENDED)); in testVpnStartsWithUnderlyingCaps()
5493 assertTrue(nc.hasCapability(NET_CAPABILITY_NOT_SUSPENDED)); in testVpnSetUnderlyingNetworks()
5497 mCellNetworkAgent.addCapability(NET_CAPABILITY_NOT_SUSPENDED); in testVpnSetUnderlyingNetworks()
5507 && caps.hasCapability(NET_CAPABILITY_NOT_SUSPENDED)); in testVpnSetUnderlyingNetworks()
5511 mWiFiNetworkAgent.addCapability(NET_CAPABILITY_NOT_SUSPENDED); in testVpnSetUnderlyingNetworks()
5521 && caps.hasCapability(NET_CAPABILITY_NOT_SUSPENDED)); in testVpnSetUnderlyingNetworks()
[all …]
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java24 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED;
387 suspended &= !underlyingCaps.hasCapability(NET_CAPABILITY_NOT_SUSPENDED); in applyUnderlyingCapabilities()
404 caps.setCapability(NET_CAPABILITY_NOT_SUSPENDED, !suspended); in applyUnderlyingCapabilities()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataConnection.java1439 result.setCapability(NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED, !suspended); in getNetworkCapabilities()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DClientModeImpl.java823 .addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED) 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.txt30275 field public static final int NET_CAPABILITY_NOT_SUSPENDED = 21; // 0x15