/packages/modules/Connectivity/tests/common/java/android/net/ |
D | NetworkCapabilitiesTest.java | 22 import static android.net.NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL; 492 nc.addCapability(NET_CAPABILITY_CAPTIVE_PORTAL); in testConnectivityManagedCapabilities() 494 nc.removeCapability(NET_CAPABILITY_CAPTIVE_PORTAL); in testConnectivityManagedCapabilities() 585 nc1.addForbiddenCapability(NET_CAPABILITY_CAPTIVE_PORTAL); in testCombineCapabilities() 593 assertTrue(nc2.hasForbiddenCapability(NET_CAPABILITY_CAPTIVE_PORTAL)); in testCombineCapabilities() 779 nc1.addForbiddenCapability(NET_CAPABILITY_CAPTIVE_PORTAL); in testSet() 787 assertTrue(nc2.hasForbiddenCapability(NET_CAPABILITY_CAPTIVE_PORTAL)); in testSet()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | CaptivePortalTest.kt | 29 import android.net.NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL 169 if (nc.hasCapability(NET_CAPABILITY_CAPTIVE_PORTAL)) { in testCaptivePortalIsNotDefaultNetwork()
|
D | NetworkValidationTest.kt | 26 import android.net.NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL 189 it.caps.hasCapability(NET_CAPABILITY_CAPTIVE_PORTAL) in testCapportApiCallbacks()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | NetworkRequest.java | 19 import static android.net.NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL; 186 NET_CAPABILITY_CAPTIVE_PORTAL,
|
D | NetworkCapabilities.java | 250 NET_CAPABILITY_CAPTIVE_PORTAL, 379 public static final int NET_CAPABILITY_CAPTIVE_PORTAL = 17; field in NetworkCapabilities 516 | (1 << NET_CAPABILITY_CAPTIVE_PORTAL) 556 | (1 << NET_CAPABILITY_CAPTIVE_PORTAL) 2125 case NET_CAPABILITY_CAPTIVE_PORTAL: return "CAPTIVE_PORTAL"; in capabilityNameOf()
|
/packages/modules/Connectivity/tests/integration/src/com/android/server/net/integrationtests/ |
D | ConnectivityServiceIntegrationTest.kt | 32 import android.net.NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL in <lambda>() 293 val nc = testCb.expectCapabilitiesWith(NET_CAPABILITY_CAPTIVE_PORTAL, na, TEST_TIMEOUT_MS) in <lambda>()
|
/packages/apps/Settings/src/com/android/settings/wifi/slice/ |
D | ContextualWifiSlice.java | 147 && !nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL) in hasInternetAccess()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiUtils.java | 134 && capabilities.hasCapability(NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL)); in canSignIntoNetwork()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/ |
D | ConnectivityFragment.java | 178 || c == NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL in isRequestableCapability() 263 sCapabilityNames.put(NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL, "[CAPTIVE PORTAL]"); in sCapabilityNames.put() argument
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | LingerMonitor.java | 273 NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL); in noteLingerDefaultNetwork()
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/ |
D | WifiUtil.java | 185 && capabilities.hasCapability(NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL)); in canSignIntoNetwork()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
D | ConnectState.java | 227 NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL)) { in inferConnectionStatus()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/service/network/ |
D | NetworkMainState.java | 348 return nc != null && nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL); in isCaptivePortal()
|
/packages/apps/Settings/src/com/android/settings/wifi/details2/ |
D | WifiDetailPreferenceController2.java | 18 import static android.net.NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL; 273 || hasCapabilityChanged(nc, NET_CAPABILITY_CAPTIVE_PORTAL)
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details2/ |
D | WifiDetailPreferenceController2Test.java | 1411 .addCapability(NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL).build(); in captivePortal_shouldShowSignInButton() 1419 .removeCapability(NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL).build(); in captivePortal_shouldShowSignInButton() 1472 .addCapability(NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL).build(); in testSignInButton_shouldHideSignInButtonForDisconnectedNetwork()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | NetworkFragment.java | 435 return nc != null && nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL); in isCaptivePortal()
|
/packages/modules/Connectivity/framework/api/ |
D | current.txt | 305 field public static final int NET_CAPABILITY_CAPTIVE_PORTAL = 17; // 0x11
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | ConnectivityServiceTest.java | 74 import static android.net.NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL; 3424 .addCapability(NET_CAPABILITY_CAPTIVE_PORTAL) in testNoMutableNetworkRequests() 3631 .addCapability(NET_CAPABILITY_CAPTIVE_PORTAL).build(); in testCaptivePortalOnPartialConnectivity() 3680 .addCapability(NET_CAPABILITY_CAPTIVE_PORTAL).build(); in testCaptivePortal() 3729 .addCapability(NET_CAPABILITY_CAPTIVE_PORTAL).build(); in testCaptivePortalApp() 3787 .addCapability(NET_CAPABILITY_CAPTIVE_PORTAL).build(); in testAvoidOrIgnoreCaptivePortals() 3814 .addCapability(NET_CAPABILITY_CAPTIVE_PORTAL).build(); in testCaptivePortalApi() 3848 .addCapability(NET_CAPABILITY_CAPTIVE_PORTAL).build(); in setupNetworkCallbackAndConnectToWifi()
|
/packages/modules/Connectivity/service/src/com/android/server/ |
D | ConnectivityService.java | 60 import static android.net.NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL; 4510 if (!nai.networkCapabilities.hasCapability(NET_CAPABILITY_CAPTIVE_PORTAL)) return; in startCaptivePortalApp() 7325 newNc.addCapability(NET_CAPABILITY_CAPTIVE_PORTAL); in mixInCapabilities() 7327 newNc.removeCapability(NET_CAPABILITY_CAPTIVE_PORTAL); in mixInCapabilities()
|
/packages/modules/Connectivity/Tethering/apex/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 668 Landroid/net/NetworkCapabilitiesProto;->NET_CAPABILITY_CAPTIVE_PORTAL:I
|