Searched refs:locationHeader (Results 1 – 2 of 2) sorted by relevance
/packages/modules/NetworkStack/common/ |
D | CaptivePortalProbeSpec.java | 144 public abstract CaptivePortalProbeResult getResult(int status, @Nullable String locationHeader); in getResult() argument 176 public CaptivePortalProbeResult getResult(int status, String locationHeader) { in getResult() argument 178 final boolean locationMatch = safeMatch(locationHeader, mLocationHeaderRegex); in getResult() 181 returnCode, locationHeader, getUrl().toString(), this); in getResult()
|
/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/ |
D | CaptivePortalLoginActivity.java | 361 String locationHeader = null; in testForCaptivePortal() 376 locationHeader = urlConnection.getHeaderField(HTTP_LOCATION_HEADER_NAME); in testForCaptivePortal() 387 if (isDismissed(httpResponseCode, locationHeader, mProbeSpec)) { in testForCaptivePortal() 395 int httpResponseCode, String locationHeader, CaptivePortalProbeSpec probeSpec) { in isDismissed() argument 397 ? probeSpec.getResult(httpResponseCode, locationHeader).isSuccessful() in isDismissed()
|