Home
last modified time | relevance | path

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

/packages/modules/Connectivity/tests/integration/util/com/android/server/
DNetworkAgentWrapper.java19 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED;
89 mNetworkCapabilities.addCapability(NET_CAPABILITY_NOT_SUSPENDED); in NetworkAgentWrapper()
109 mNetworkCapabilities.removeCapability(NET_CAPABILITY_NOT_SUSPENDED); in NetworkAgentWrapper()
278 removeCapability(NET_CAPABILITY_NOT_SUSPENDED); in suspend()
282 addCapability(NET_CAPABILITY_NOT_SUSPENDED); in resume()
/packages/modules/Connectivity/framework/src/android/net/
DNetworkRequest.java27 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED;
194 NET_CAPABILITY_NOT_SUSPENDED,
DNetworkCapabilities.java254 NET_CAPABILITY_NOT_SUSPENDED,
410 public static final int NET_CAPABILITY_NOT_SUSPENDED = 21; field in NetworkCapabilities
520 | (1 << NET_CAPABILITY_NOT_SUSPENDED)
573 | (1 << NET_CAPABILITY_NOT_SUSPENDED)
2129 case NET_CAPABILITY_NOT_SUSPENDED: return "NOT_SUSPENDED"; in capabilityNameOf()
DConnectivityManager.java3562 NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED)) { in onAvailable()
/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkProviderTest.kt160 addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED) in <lambda>()
310 addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED) in <lambda>()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java89 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED;
4391 cellNetworkCallback.expectCapabilitiesWithout(NET_CAPABILITY_NOT_SUSPENDED, in testAdditionalStateCallbacks()
4407 cellNetworkCallback.expectCapabilitiesWith(NET_CAPABILITY_NOT_SUSPENDED, in testAdditionalStateCallbacks()
6892 .addCapability(NET_CAPABILITY_NOT_SUSPENDED) in testApplyUnderlyingCapabilities()
6911 withNoUnderlying.addCapability(NET_CAPABILITY_NOT_SUSPENDED); in testApplyUnderlyingCapabilities()
6918 withMobileUnderlying.removeCapability(NET_CAPABILITY_NOT_SUSPENDED); in testApplyUnderlyingCapabilities()
7050 nc -> nc.hasCapability(NET_CAPABILITY_NOT_SUSPENDED) in testVpnUnderlyingNetworkSuspended()
7055 .hasCapability(NET_CAPABILITY_NOT_SUSPENDED)); in testVpnUnderlyingNetworkSuspended()
7065 nc -> !nc.hasCapability(NET_CAPABILITY_NOT_SUSPENDED) in testVpnUnderlyingNetworkSuspended()
7071 .hasCapability(NET_CAPABILITY_NOT_SUSPENDED)); in testVpnUnderlyingNetworkSuspended()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/
DBluetoothTetheringNetworkFactory.java253 .addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED) in initNetworkCapabilities()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/
DConnectivityFragment.java182 || c == NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED) { in isRequestableCapability()
277 sCapabilityNames.put(NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED, "[NOT SUSPENDED]"); in sCapabilityNames.put() argument
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkScoreTest.kt111 addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED) in <lambda>()
DNetworkAgentTest.kt40 import android.net.NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED in <lambda>()
407 addCapability(NET_CAPABILITY_NOT_SUSPENDED) in createNetworkAgent()
718 NET_CAPABILITY_NOT_SUSPENDED)) { in testSetUnderlyingNetworksAndVpnSpecifier()
DConnectivityManagerTest.java2906 .addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED)
/packages/modules/Connectivity/service/src/com/android/server/
DTestNetworkService.java249 nc.addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED); in registerTestNetworkAgent()
DConnectivityService.java68 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED;
7273 suspended &= !underlyingCaps.hasCapability(NET_CAPABILITY_NOT_SUSPENDED); in applyUnderlyingCapabilities()
7290 newNc.setCapability(NET_CAPABILITY_NOT_SUSPENDED, !suspended); in applyUnderlyingCapabilities()
7343 newNc.addCapability(NET_CAPABILITY_NOT_SUSPENDED); in mixInCapabilities()
7357 final boolean prevSuspended = !prevNc.hasCapability(NET_CAPABILITY_NOT_SUSPENDED); in updateNetworkInfoForRoamingAndSuspended()
7358 final boolean suspended = !newNc.hasCapability(NET_CAPABILITY_NOT_SUSPENDED); in updateNetworkInfoForRoamingAndSuspended()
8438 !nai.networkCapabilities.hasCapability(NET_CAPABILITY_NOT_SUSPENDED); in mixInInfo()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiInjector.java100 .addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED) in makeBaseNetworkCapatibilitiesFilterBuilder()
/packages/modules/Connectivity/framework/api/
Dcurrent.txt322 field public static final int NET_CAPABILITY_NOT_SUSPENDED = 21; // 0x15