Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/common/captiveportal/src/android/net/captiveportal/
DCaptivePortalProbeSpec.java146 public abstract CaptivePortalProbeResult getResult(int status, @Nullable String locationHeader); in getResult() argument
187 public CaptivePortalProbeResult getResult(int status, String locationHeader) { in getResult() argument
189 final boolean locationMatch = safeMatch(locationHeader, mLocationHeaderRegex); in getResult()
192 returnCode, locationHeader, getUrl().toString(), this, PROBE_HTTP); in getResult()
/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/
DCaptivePortalLoginActivity.java499 String locationHeader = null; in testForCaptivePortal()
514 locationHeader = urlConnection.getHeaderField(HTTP_LOCATION_HEADER_NAME); in testForCaptivePortal()
525 if (isDismissed(httpResponseCode, locationHeader, mProbeSpec)) { in testForCaptivePortal()
533 int httpResponseCode, String locationHeader, CaptivePortalProbeSpec probeSpec) { in isDismissed() argument
535 ? probeSpec.getResult(httpResponseCode, locationHeader).isSuccessful() in isDismissed()