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.java482 String locationHeader = null; in testForCaptivePortal()
497 locationHeader = urlConnection.getHeaderField(HTTP_LOCATION_HEADER_NAME); in testForCaptivePortal()
508 if (isDismissed(httpResponseCode, locationHeader, mProbeSpec)) { in testForCaptivePortal()
516 int httpResponseCode, String locationHeader, CaptivePortalProbeSpec probeSpec) { in isDismissed() argument
518 ? probeSpec.getResult(httpResponseCode, locationHeader).isSuccessful() in isDismissed()