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.java3363 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;
6297 newNc.addCapability(NET_CAPABILITY_NOT_SUSPENDED); in mixInCapabilities()
6335 final boolean prevSuspended = !prevNc.hasCapability(NET_CAPABILITY_NOT_SUSPENDED); in updateCapabilities()
6336 final boolean suspended = !newNc.hasCapability(NET_CAPABILITY_NOT_SUSPENDED); in updateCapabilities()
7110 !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;
3256 cellNetworkCallback.expectCapabilitiesWithout(NET_CAPABILITY_NOT_SUSPENDED, in testAdditionalStateCallbacks()
3272 cellNetworkCallback.expectCapabilitiesWith(NET_CAPABILITY_NOT_SUSPENDED, in testAdditionalStateCallbacks()
5444 mCellNetworkAgent.addCapability(NET_CAPABILITY_NOT_SUSPENDED); in testVpnStartsWithUnderlyingCaps()
5467 assertTrue(nc.hasCapability(NET_CAPABILITY_NOT_SUSPENDED)); in testVpnStartsWithUnderlyingCaps()
5501 assertTrue(nc.hasCapability(NET_CAPABILITY_NOT_SUSPENDED)); in testVpnSetUnderlyingNetworks()
5505 mCellNetworkAgent.addCapability(NET_CAPABILITY_NOT_SUSPENDED); in testVpnSetUnderlyingNetworks()
5515 && caps.hasCapability(NET_CAPABILITY_NOT_SUSPENDED)); in testVpnSetUnderlyingNetworks()
5519 mWiFiNetworkAgent.addCapability(NET_CAPABILITY_NOT_SUSPENDED); in testVpnSetUnderlyingNetworks()
5529 && 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.java1457 result.setCapability(NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED, !suspended); in getNetworkCapabilities()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DClientModeImpl.java847 mNetworkCapabilitiesFilter.addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED); in ClientModeImpl()
/frameworks/base/non-updatable-api/
Dcurrent.txt29044 field public static final int NET_CAPABILITY_NOT_SUSPENDED = 21; // 0x15
/frameworks/base/api/
Dcurrent.txt29174 field public static final int NET_CAPABILITY_NOT_SUSPENDED = 21; // 0x15