Home
last modified time | relevance | path

Searched refs:locationHeader (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/net/captiveportal/
DCaptivePortalProbeSpec.java137 public abstract CaptivePortalProbeResult getResult(int status, @Nullable String locationHeader); in getResult() argument
167 public CaptivePortalProbeResult getResult(int status, String locationHeader) { in getResult() argument
169 final boolean locationMatch = safeMatch(locationHeader, mLocationHeaderRegex); in getResult()
172 returnCode, locationHeader, getUrl().toString(), this); in getResult()
/frameworks/base/packages/CaptivePortalLogin/src/com/android/captiveportallogin/
DCaptivePortalLoginActivity.java345 String locationHeader = null; in testForCaptivePortal()
360 locationHeader = urlConnection.getHeaderField(HTTP_LOCATION_HEADER_NAME); in testForCaptivePortal()
371 if (isDismissed(httpResponseCode, locationHeader, mProbeSpec)) { in testForCaptivePortal()
379 int httpResponseCode, String locationHeader, CaptivePortalProbeSpec probeSpec) { in isDismissed() argument
381 ? probeSpec.getResult(httpResponseCode, locationHeader).isSuccessful() in isDismissed()