Home
last modified time | relevance | path

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

/frameworks/base/tests/net/common/java/android/net/
DNetworkCapabilitiesTest.java20 import static android.net.NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL;
346 nc.addCapability(NET_CAPABILITY_CAPTIVE_PORTAL); in testConnectivityManagedCapabilities()
348 nc.removeCapability(NET_CAPABILITY_CAPTIVE_PORTAL); in testConnectivityManagedCapabilities()
410 nc1.addUnwantedCapability(NET_CAPABILITY_CAPTIVE_PORTAL); in testCombineCapabilities()
416 assertTrue(nc2.hasUnwantedCapability(NET_CAPABILITY_CAPTIVE_PORTAL)); in testCombineCapabilities()
562 nc1.addUnwantedCapability(NET_CAPABILITY_CAPTIVE_PORTAL); in testSet()
568 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;
159 if (networkCapabilities.hasCapability(NET_CAPABILITY_CAPTIVE_PORTAL)) { in updateStatusLabel()
DAccessPoint.java1564 if (nc.hasCapability(nc.NET_CAPABILITY_CAPTIVE_PORTAL)) { in getSummary()
/frameworks/base/core/java/android/net/
DNetworkCapabilities.java141 NET_CAPABILITY_CAPTIVE_PORTAL,
262 public static final int NET_CAPABILITY_CAPTIVE_PORTAL = 17; field in NetworkCapabilities
328 | (1 << NET_CAPABILITY_CAPTIVE_PORTAL)
392 | (1 << NET_CAPABILITY_CAPTIVE_PORTAL)
1650 case NET_CAPABILITY_CAPTIVE_PORTAL: return "CAPTIVE_PORTAL"; in capabilityNameOf()
/frameworks/base/services/core/java/com/android/server/connectivity/
DLingerMonitor.java250 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.java40 import static android.net.NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL;
2583 .addCapability(NET_CAPABILITY_CAPTIVE_PORTAL) in testNoMutableNetworkRequests()
2788 .addCapability(NET_CAPABILITY_CAPTIVE_PORTAL).build(); in testCaptivePortalOnPartialConnectivity()
2837 .addCapability(NET_CAPABILITY_CAPTIVE_PORTAL).build(); in testCaptivePortal()
2889 .addCapability(NET_CAPABILITY_CAPTIVE_PORTAL).build(); in testCaptivePortalApp()
2947 .addCapability(NET_CAPABILITY_CAPTIVE_PORTAL).build(); in testAvoidOrIgnoreCaptivePortals()
4990 mCellNetworkAgent.addCapability(NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL); in testStatsIfacesChanged()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java31 import static android.net.NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL;
3478 if (!nai.networkCapabilities.hasCapability(NET_CAPABILITY_CAPTIVE_PORTAL)) return; in startCaptivePortalApp()
5767 newNc.addCapability(NET_CAPABILITY_CAPTIVE_PORTAL); in mixInCapabilities()
5769 newNc.removeCapability(NET_CAPABILITY_CAPTIVE_PORTAL); in mixInCapabilities()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...