Home
last modified time | relevance | path

Searched refs:NET_CAPABILITY_PARTIAL_CONNECTIVITY (Results 1 – 10 of 10) sorted by relevance

/packages/modules/Connectivity/framework/src/android/net/
DNetworkRequest.java30 import static android.net.NetworkCapabilities.NET_CAPABILITY_PARTIAL_CONNECTIVITY;
196 NET_CAPABILITY_PARTIAL_CONNECTIVITY,
DNetworkCapabilities.java257 NET_CAPABILITY_PARTIAL_CONNECTIVITY,
431 public static final int NET_CAPABILITY_PARTIAL_CONNECTIVITY = 24; field in NetworkCapabilities
521 | (1 << NET_CAPABILITY_PARTIAL_CONNECTIVITY)
558 | (1 << NET_CAPABILITY_PARTIAL_CONNECTIVITY);
2132 case NET_CAPABILITY_PARTIAL_CONNECTIVITY: return "PARTIAL_CONNECTIVITY"; in capabilityNameOf()
/packages/apps/Settings/src/com/android/settings/wifi/slice/
DContextualWifiSlice.java148 && !nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_PARTIAL_CONNECTIVITY) in hasInternetAccess()
/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkCapabilitiesTest.java35 import static android.net.NetworkCapabilities.NET_CAPABILITY_PARTIAL_CONNECTIVITY;
498 nc.addCapability(NET_CAPABILITY_PARTIAL_CONNECTIVITY); in testConnectivityManagedCapabilities()
500 nc.removeCapability(NET_CAPABILITY_PARTIAL_CONNECTIVITY); in testConnectivityManagedCapabilities()
/packages/apps/Settings/src/com/android/settings/wifi/details2/
DWifiDetailPreferenceController2.java19 import static android.net.NetworkCapabilities.NET_CAPABILITY_PARTIAL_CONNECTIVITY;
274 || hasCapabilityChanged(nc, NET_CAPABILITY_PARTIAL_CONNECTIVITY)) {
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DConnectivityManagerTest.java54 import static android.net.NetworkCapabilities.NET_CAPABILITY_PARTIAL_CONNECTIVITY;
2736 return expectNetworkHasCapability(network, NET_CAPABILITY_PARTIAL_CONNECTIVITY,
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java94 import static android.net.NetworkCapabilities.NET_CAPABILITY_PARTIAL_CONNECTIVITY;
3518 callback.expectCapabilitiesWith(NET_CAPABILITY_PARTIAL_CONNECTIVITY, mWiFiNetworkAgent); in testPartialConnectivity()
3542 assertTrue(nc.hasCapability(NET_CAPABILITY_PARTIAL_CONNECTIVITY)); in testPartialConnectivity()
3551 callback.expectCapabilitiesWith(NET_CAPABILITY_PARTIAL_CONNECTIVITY, mWiFiNetworkAgent); in testPartialConnectivity()
3577 assertFalse(nc.hasCapability(NET_CAPABILITY_PARTIAL_CONNECTIVITY)); in testPartialConnectivity()
3598 callback.expectCapabilitiesWith(NET_CAPABILITY_PARTIAL_CONNECTIVITY, mWiFiNetworkAgent); in testPartialConnectivity()
3622 NET_CAPABILITY_PARTIAL_CONNECTIVITY | NET_CAPABILITY_VALIDATED, mWiFiNetworkAgent); in testPartialConnectivity()
3657 captivePortalCallback.expectCapabilitiesWith(NET_CAPABILITY_PARTIAL_CONNECTIVITY, in testCaptivePortalOnPartialConnectivity()
3669 validatedCallback.expectCapabilitiesWith(NET_CAPABILITY_PARTIAL_CONNECTIVITY, in testCaptivePortalOnPartialConnectivity()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details2/
DWifiDetailPreferenceController2Test.java1175 .addCapability(NetworkCapabilities.NET_CAPABILITY_PARTIAL_CONNECTIVITY).build(); in onCapabilitiesChanged_callsRefreshIfNecessary()
/packages/modules/Connectivity/framework/api/
Dsystem-current.txt288 field public static final int NET_CAPABILITY_PARTIAL_CONNECTIVITY = 24; // 0x18
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java73 import static android.net.NetworkCapabilities.NET_CAPABILITY_PARTIAL_CONNECTIVITY;
7335 newNc.addCapability(NET_CAPABILITY_PARTIAL_CONNECTIVITY); in mixInCapabilities()
7337 newNc.removeCapability(NET_CAPABILITY_PARTIAL_CONNECTIVITY); in mixInCapabilities()