Searched refs:httpResponseCode (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/java/android/net/captiveportal/ |
D | CaptivePortalProbeResult.java | 41 public CaptivePortalProbeResult(int httpResponseCode) { in CaptivePortalProbeResult() argument 42 this(httpResponseCode, null, null); in CaptivePortalProbeResult() 45 public CaptivePortalProbeResult(int httpResponseCode, String redirectUrl, String detectUrl) { in CaptivePortalProbeResult() argument 46 this(httpResponseCode, redirectUrl, detectUrl, null); in CaptivePortalProbeResult() 49 public CaptivePortalProbeResult(int httpResponseCode, String redirectUrl, String detectUrl, in CaptivePortalProbeResult() argument 51 mHttpResponseCode = httpResponseCode; in CaptivePortalProbeResult()
|
/frameworks/base/packages/CaptivePortalLogin/src/com/android/captiveportallogin/ |
D | CaptivePortalLoginActivity.java | 344 int httpResponseCode = 500; in testForCaptivePortal() 359 httpResponseCode = urlConnection.getResponseCode(); in testForCaptivePortal() 363 " ret=" + httpResponseCode + 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() 382 : (httpResponseCode == 204); in isDismissed()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | NetworkMonitor.java | 1074 int httpResponseCode = CaptivePortalProbeResult.FAILED_CODE; in sendHttpProbe() local 1093 httpResponseCode = urlConnection.getResponseCode(); in sendHttpProbe() 1100 " ret=" + httpResponseCode + in sendHttpProbe() 1109 if (httpResponseCode == 200) { in sendHttpProbe() 1113 httpResponseCode = CaptivePortalProbeResult.SUCCESS_CODE; in sendHttpProbe() 1121 httpResponseCode = CaptivePortalProbeResult.SUCCESS_CODE; in sendHttpProbe() 1128 httpResponseCode = CaptivePortalProbeResult.SUCCESS_CODE; in sendHttpProbe() 1134 if (httpResponseCode == CaptivePortalProbeResult.FAILED_CODE) { in sendHttpProbe() 1143 logValidationProbe(probeTimer.stop(), probeType, httpResponseCode); in sendHttpProbe() local 1146 return new CaptivePortalProbeResult(httpResponseCode, redirectUrl, url.toString()); in sendHttpProbe() [all …]
|
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/ |
D | CaptivePortalLoginActivity.java | 253 int httpResponseCode = 500; in testForCaptivePortal() 263 httpResponseCode = urlConnection.getResponseCode(); in testForCaptivePortal() 270 if (httpResponseCode == 204) { in testForCaptivePortal()
|