Home
last modified time | relevance | path

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

12

/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/
DCSNetworkActivityTest.kt28 import android.net.NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED in <lambda>()
98 .addCapability(NET_CAPABILITY_NOT_SUSPENDED) in <lambda>()
163 .addCapability(NET_CAPABILITY_NOT_SUSPENDED) in <lambda>()
181 .addCapability(NET_CAPABILITY_NOT_SUSPENDED) in <lambda>()
DCSCaptivePortalAppTest.kt34 import android.net.NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED
68 addCapability(NET_CAPABILITY_NOT_SUSPENDED) in keepScore()
DCSSatelliteNetworkTest.kt30 import android.net.NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED
218 addCapability(NET_CAPABILITY_NOT_SUSPENDED) in satelliteNc()
DCSBlockedReasonsTest.kt36 import android.net.NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED
56 .addCapability(NET_CAPABILITY_NOT_SUSPENDED) in cellNc()
DCSDestroySocketTest.kt51 .addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED) in cellNc()
/packages/modules/Connectivity/tests/unit/java/com/android/metrics/
DConnectivitySampleMetricsTest.kt11 import android.net.NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED in <lambda>()
97 .addCapability(NET_CAPABILITY_NOT_SUSPENDED) in testSampleConnectivityState_Network()
109 .addCapability(NET_CAPABILITY_NOT_SUSPENDED) in testSampleConnectivityState_Network()
123 .addCapability(NET_CAPABILITY_NOT_SUSPENDED) in testSampleConnectivityState_Network()
/packages/modules/Connectivity/tests/integration/util/com/android/server/
DNetworkAgentWrapper.java19 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED;
128 mNetworkCapabilities.addCapability(NET_CAPABILITY_NOT_SUSPENDED); in NetworkAgentWrapper()
155 mNetworkCapabilities.removeCapability(NET_CAPABILITY_NOT_SUSPENDED); in NetworkAgentWrapper()
358 removeCapability(NET_CAPABILITY_NOT_SUSPENDED); in suspend()
362 addCapability(NET_CAPABILITY_NOT_SUSPENDED); in resume()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/base/
DCSAgentWrapper.kt32 import android.net.NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED
152 if (!nc.hasCapability(NET_CAPABILITY_NOT_SUSPENDED) && in ArgumentCaptor()
DCSTest.kt36 import android.net.NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED
545 }.addCapability(NET_CAPABILITY_NOT_SUSPENDED) in waitForIdle()
DCSTestHelpers.kt78 .addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED) in <lambda>()
/packages/services/Mms/tests/robotests/src/com/android/mms/service/
DMmsNetworkManagerTest.java19 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED;
66 new NetworkCapabilities.Builder().addCapability(NET_CAPABILITY_NOT_SUSPENDED).build();
/packages/modules/Connectivity/framework/src/android/net/
DNetworkRequest.java28 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED;
285 NET_CAPABILITY_NOT_SUSPENDED,
DNetworkCapabilities.java449 NET_CAPABILITY_NOT_SUSPENDED,
610 public static final int NET_CAPABILITY_NOT_SUSPENDED = 21; field in NetworkCapabilities
785 (1L << NET_CAPABILITY_NOT_SUSPENDED) |
847 (1L << NET_CAPABILITY_NOT_SUSPENDED) |
2622 case NET_CAPABILITY_NOT_SUSPENDED: return "NOT_SUSPENDED"; in capabilityNameOf()
/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkProviderTest.kt161 addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED) in <lambda>()
310 addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED) in <lambda>()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pan/
DBluetoothTetheringNetworkFactory.java274 .addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED) in initNetworkCapabilities()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/
DConnectivityFragment.java181 || c == NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED); in isRequestableCapability()
273 sCapabilityNames.put(NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED, "[NOT SUSPENDED]"); in sCapabilityNames.put() argument
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkScoreTest.kt130 addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED) in <lambda>()
DNetworkAgentTest.kt45 import android.net.NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED in <lambda>()
308 addCapability(NET_CAPABILITY_NOT_SUSPENDED) in makeTestNetworkRequest()
591 addCapability(NET_CAPABILITY_NOT_SUSPENDED) in doTestAllowedUids()
972 NET_CAPABILITY_NOT_SUSPENDED)) { in testSetUnderlyingNetworksAndVpnSpecifier()
DDscpPolicyTest.kt38 import android.net.NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED in <lambda>()
265 addCapability(NET_CAPABILITY_NOT_SUSPENDED) in <lambda>()
/packages/modules/Connectivity/tests/unit/java/com/android/server/ethernet/
DEthernetTrackerTest.java175 .addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED); in makeEthernetCapabilitiesBuilder()
/packages/services/Mms/src/com/android/mms/service/
DMmsNetworkManager.java241 nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED); in onCapabilitiesChanged()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java116 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED;
5590 c -> !c.hasCapability(NET_CAPABILITY_NOT_SUSPENDED));
5606 c -> c.hasCapability(NET_CAPABILITY_NOT_SUSPENDED));
8599 .addCapability(NET_CAPABILITY_NOT_SUSPENDED)
8627 withNoUnderlying.addCapability(NET_CAPABILITY_NOT_SUSPENDED);
8635 withMobileUnderlying.removeCapability(NET_CAPABILITY_NOT_SUSPENDED);
8814 callback.expectCaps(mMockVpn, c -> c.hasCapability(NET_CAPABILITY_NOT_SUSPENDED)
8819 .hasCapability(NET_CAPABILITY_NOT_SUSPENDED));
8828 callback.expectCaps(mMockVpn, c -> !c.hasCapability(NET_CAPABILITY_NOT_SUSPENDED)
8834 .hasCapability(NET_CAPABILITY_NOT_SUSPENDED));
[all …]
/packages/modules/Connectivity/service/src/com/android/server/
DTestNetworkService.java266 nc.addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED); in registerTestNetworkAgent()
/packages/modules/Connectivity/service-t/src/com/android/server/ethernet/
DEthernetTracker.java783 .addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED) in createDefaultNetworkCapabilities()
868 builder.addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED); in createNetworkCapabilities()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/qc/
DDataSubscriptionController.java370 NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED); in isSuspendedNetwork()

12