Home
last modified time | relevance | path

Searched refs:NET_CAPABILITY_CAPTIVE_PORTAL (Results 1 – 10 of 10) 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.java43 import static android.net.NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL;
2594 .addCapability(NET_CAPABILITY_CAPTIVE_PORTAL) in testNoMutableNetworkRequests()
2799 .addCapability(NET_CAPABILITY_CAPTIVE_PORTAL).build(); in testCaptivePortalOnPartialConnectivity()
2848 .addCapability(NET_CAPABILITY_CAPTIVE_PORTAL).build(); in testCaptivePortal()
2900 .addCapability(NET_CAPABILITY_CAPTIVE_PORTAL).build(); in testCaptivePortalApp()
2958 .addCapability(NET_CAPABILITY_CAPTIVE_PORTAL).build(); in testAvoidOrIgnoreCaptivePortals()
5003 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/api/
Dcurrent.txt28780 field public static final int NET_CAPABILITY_CAPTIVE_PORTAL = 17; // 0x11
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt47612 Landroid/net/NetworkCapabilitiesProto;->NET_CAPABILITY_CAPTIVE_PORTAL:I