Searched refs:NET_CAPABILITY_CAPTIVE_PORTAL (Results 1 – 11 of 11) sorted by relevance
19 import static android.net.NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL;221 mIsCaptivePortal = nc.hasCapability(NET_CAPABILITY_CAPTIVE_PORTAL); in onCapabilitiesChanged()
89 && !nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL) in hasInternetAccess()
19 import static android.net.NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL;132 || hasCapabilityChanged(nc, NET_CAPABILITY_CAPTIVE_PORTAL)) {
176 || c == NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL in isRequestableCapability()261 sCapabilityNames.put(NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL, "[CAPTIVE PORTAL]"); in sCapabilityNames.put() argument
114 && capabilities.hasCapability(NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL)); in canSignIntoNetwork()
153 && capabilities.hasCapability(NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL)); in canSignIntoNetwork()
18 import static android.net.NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL;260 || hasCapabilityChanged(nc, NET_CAPABILITY_CAPTIVE_PORTAL)
18 import static android.net.NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL;247 || hasCapabilityChanged(nc, NET_CAPABILITY_CAPTIVE_PORTAL)
255 nc.addCapability(NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL); in makeCaptivePortalNetworkCapabilities()
1293 nc.addCapability(NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL); in captivePortal_shouldShowSignInButton()1297 nc.removeCapability(NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL); in captivePortal_shouldShowSignInButton()1320 nc.addCapability(NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL); in testSignInButton_shouldHideSignInButtonForDisconnectedNetwork()