Searched refs:NET_CAPABILITY_CAPTIVE_PORTAL (Results 1 – 16 of 16) sorted by relevance
19 import static android.net.NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL;226 mIsCaptivePortal = nc.hasCapability(NET_CAPABILITY_CAPTIVE_PORTAL); in onCapabilitiesChanged()
176 && !nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL) in hasInternetAccess()
19 import static android.net.NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL;172 || hasCapabilityChanged(nc, NET_CAPABILITY_CAPTIVE_PORTAL)) {
178 || c == NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL in isRequestableCapability()263 sCapabilityNames.put(NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL, "[CAPTIVE PORTAL]"); in sCapabilityNames.put() argument
130 && capabilities.hasCapability(NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL)); in canSignIntoNetwork()
114 && capabilities.hasCapability(NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL)); in canSignIntoNetwork()
164 && capabilities.hasCapability(NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL)); in canSignIntoNetwork()
18 import static android.net.NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL;232 || hasCapabilityChanged(nc, NET_CAPABILITY_CAPTIVE_PORTAL)
207 NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL)) { in inferConnectionStatus()
18 import static android.net.NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL;250 || hasCapabilityChanged(nc, NET_CAPABILITY_CAPTIVE_PORTAL)
258 nc.addCapability(NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL); in makeCaptivePortalNetworkCapabilities()
1301 nc.addCapability(NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL); in captivePortal_shouldShowSignInButton()1308 nc.removeCapability(NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL); in captivePortal_shouldShowSignInButton()1360 nc.addCapability(NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL); in testSignInButton_shouldHideSignInButtonForDisconnectedNetwork()
18 import static android.net.NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL;283 || hasCapabilityChanged(nc, NET_CAPABILITY_CAPTIVE_PORTAL)
361 return nc != null && nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL); in isCaptivePortal()
1333 nc.addCapability(NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL); in captivePortal_shouldShowSignInButton()1339 nc.removeCapability(NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL); in captivePortal_shouldShowSignInButton()1388 nc.addCapability(NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL); in testSignInButton_shouldHideSignInButtonForDisconnectedNetwork()
190 capabilities.addCapability(NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL); in makeCaptivePortalNetworkCapabilities()