Home
last modified time | relevance | path

Searched refs:NET_CAPABILITY_CAPTIVE_PORTAL (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/tests/net/common/java/android/net/
DNetworkCapabilitiesTest.java22 import static android.net.NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL;
405 nc.addCapability(NET_CAPABILITY_CAPTIVE_PORTAL); in testConnectivityManagedCapabilities()
407 nc.removeCapability(NET_CAPABILITY_CAPTIVE_PORTAL); in testConnectivityManagedCapabilities()
486 nc1.addUnwantedCapability(NET_CAPABILITY_CAPTIVE_PORTAL); in testCombineCapabilities()
492 assertTrue(nc2.hasUnwantedCapability(NET_CAPABILITY_CAPTIVE_PORTAL)); in testCombineCapabilities()
653 nc1.addUnwantedCapability(NET_CAPABILITY_CAPTIVE_PORTAL); in testSet()
659 assertTrue(nc2.hasUnwantedCapability(NET_CAPABILITY_CAPTIVE_PORTAL)); in testSet()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiStatusTracker.java13 import static android.net.NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL;
160 if (networkCapabilities.hasCapability(NET_CAPABILITY_CAPTIVE_PORTAL)) { in updateStatusLabel()
DAccessPoint.java1641 if (nc.hasCapability(nc.NET_CAPABILITY_CAPTIVE_PORTAL)) { in getSummary()
/frameworks/base/tests/net/integration/src/com/android/server/net/integrationtests/
DConnectivityServiceIntegrationTest.kt31 import android.net.NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL
257 val nc = testCb.expectCapabilitiesWith(NET_CAPABILITY_CAPTIVE_PORTAL, na, TEST_TIMEOUT_MS) in testCapportApi()
/frameworks/base/core/java/android/net/
DNetworkCapabilities.java164 NET_CAPABILITY_CAPTIVE_PORTAL,
286 public static final int NET_CAPABILITY_CAPTIVE_PORTAL = 17; field in NetworkCapabilities
360 | (1 << NET_CAPABILITY_CAPTIVE_PORTAL)
425 | (1 << NET_CAPABILITY_CAPTIVE_PORTAL)
1908 case NET_CAPABILITY_CAPTIVE_PORTAL: return "CAPTIVE_PORTAL"; in capabilityNameOf()
/frameworks/base/services/core/java/com/android/server/connectivity/
DLingerMonitor.java268 NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL); in noteLingerDefaultNetwork()
/frameworks/base/core/proto/android/net/
Dnetworkcapabilities.proto108 NET_CAPABILITY_CAPTIVE_PORTAL = 17; enumerator
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java47 import static android.net.NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL;
2487 .addCapability(NET_CAPABILITY_CAPTIVE_PORTAL) in testNoMutableNetworkRequests()
2694 .addCapability(NET_CAPABILITY_CAPTIVE_PORTAL).build(); in testCaptivePortalOnPartialConnectivity()
2743 .addCapability(NET_CAPABILITY_CAPTIVE_PORTAL).build(); in testCaptivePortal()
2792 .addCapability(NET_CAPABILITY_CAPTIVE_PORTAL).build(); in testCaptivePortalApp()
2850 .addCapability(NET_CAPABILITY_CAPTIVE_PORTAL).build(); in testAvoidOrIgnoreCaptivePortals()
2878 .addCapability(NET_CAPABILITY_CAPTIVE_PORTAL).build(); in testCaptivePortalApi()
4830 mCellNetworkAgent.addCapability(NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL); in testStatsIfacesChanged()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java40 import static android.net.NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL;
3795 if (!nai.networkCapabilities.hasCapability(NET_CAPABILITY_CAPTIVE_PORTAL)) return; in startCaptivePortalApp()
6279 newNc.addCapability(NET_CAPABILITY_CAPTIVE_PORTAL); in mixInCapabilities()
6281 newNc.removeCapability(NET_CAPABILITY_CAPTIVE_PORTAL); in mixInCapabilities()
/frameworks/base/non-updatable-api/
Dcurrent.txt29029 field public static final int NET_CAPABILITY_CAPTIVE_PORTAL = 17; // 0x11
/frameworks/base/api/
Dcurrent.txt29159 field public static final int NET_CAPABILITY_CAPTIVE_PORTAL = 17; // 0x11
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt44368 Landroid/net/NetworkCapabilitiesProto;->NET_CAPABILITY_CAPTIVE_PORTAL:I