Home
last modified time | relevance | path

Searched refs:httpResponseCode (Results 1 – 5 of 5) sorted by relevance

/packages/modules/NetworkStack/common/
DCaptivePortalProbeResult.java56 public CaptivePortalProbeResult(int httpResponseCode) { in CaptivePortalProbeResult() argument
57 this(httpResponseCode, null, null); in CaptivePortalProbeResult()
60 public CaptivePortalProbeResult(int httpResponseCode, @Nullable String redirectUrl, in CaptivePortalProbeResult() argument
62 this(httpResponseCode, redirectUrl, detectUrl, null); in CaptivePortalProbeResult()
65 public CaptivePortalProbeResult(int httpResponseCode, @Nullable String redirectUrl, in CaptivePortalProbeResult() argument
67 mHttpResponseCode = httpResponseCode; in CaptivePortalProbeResult()
/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/
DCaptivePortalLoginActivity.java360 int httpResponseCode = 500; in testForCaptivePortal()
375 httpResponseCode = urlConnection.getResponseCode(); in testForCaptivePortal()
379 " ret=" + httpResponseCode + 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()
398 : (httpResponseCode == 204); in isDismissed()
/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java1599 int httpResponseCode = CaptivePortalProbeResult.FAILED_CODE; in sendHttpProbe() local
1620 httpResponseCode = urlConnection.getResponseCode(); in sendHttpProbe()
1627 + " ret=" + httpResponseCode in sendHttpProbe()
1636 if (httpResponseCode == 200) { in sendHttpProbe()
1641 httpResponseCode = CaptivePortalProbeResult.SUCCESS_CODE; in sendHttpProbe()
1649 httpResponseCode = CaptivePortalProbeResult.FAILED_CODE; in sendHttpProbe()
1658 httpResponseCode = CaptivePortalProbeResult.FAILED_CODE; in sendHttpProbe()
1663 if (httpResponseCode == CaptivePortalProbeResult.FAILED_CODE) { in sendHttpProbe()
1672 logValidationProbe(probeTimer.stop(), probeType, httpResponseCode); in sendHttpProbe() local
1675 return new CaptivePortalProbeResult(httpResponseCode, redirectUrl, url.toString()); in sendHttpProbe()
[all …]
/packages/apps/Dialer/java/com/android/dialer/logging/
DLoggingBindingsStub.java61 long latency, int httpResponseCode, PeopleApiLookupError.Type errorType) {} in logPeopleApiLookupReportWithError() argument
64 public void logSuccessfulPeopleApiLookupReport(long latency, int httpResponseCode) {} in logSuccessfulPeopleApiLookupReport() argument
DLoggingBindings.java88 long latency, int httpResponseCode, PeopleApiLookupError.Type errorType); in logPeopleApiLookupReportWithError() argument
91 void logSuccessfulPeopleApiLookupReport(long latency, int httpResponseCode); in logSuccessfulPeopleApiLookupReport() argument