Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/common/captiveportal/src/android/net/captiveportal/
DCaptivePortalProbeResult.java86 public CaptivePortalProbeResult(int httpResponseCode, @ProbeType int probeType) { in CaptivePortalProbeResult() argument
87 this(httpResponseCode, null, null, null, probeType); in CaptivePortalProbeResult()
90 public CaptivePortalProbeResult(int httpResponseCode, @Nullable String redirectUrl, in CaptivePortalProbeResult() argument
92 this(httpResponseCode, redirectUrl, detectUrl, null, probeType); in CaptivePortalProbeResult()
95 public CaptivePortalProbeResult(int httpResponseCode, @Nullable String redirectUrl, in CaptivePortalProbeResult() argument
98 mHttpResponseCode = httpResponseCode; in CaptivePortalProbeResult()
/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/
DCaptivePortalLoginActivity.java481 int httpResponseCode = 500; in testForCaptivePortal()
496 httpResponseCode = urlConnection.getResponseCode(); in testForCaptivePortal()
500 " ret=" + httpResponseCode + 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()
519 : (httpResponseCode == 204); in isDismissed()
/packages/modules/NetworkStack/src/android/net/captiveportal/
DCapportApiProbeResult.java38 public CapportApiProbeResult(int httpResponseCode, @Nullable String redirectUrl, in CapportApiProbeResult() argument
41 super(httpResponseCode, redirectUrl, detectUrl, probeType); in CapportApiProbeResult()
/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
/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java2427 int httpResponseCode = CaptivePortalProbeResult.FAILED_CODE; in sendHttpProbe() local
2443 httpResponseCode = urlConnection.getResponseCode(); in sendHttpProbe()
2450 + " ret=" + httpResponseCode in sendHttpProbe()
2459 if (httpResponseCode == 200) { in sendHttpProbe()
2464 httpResponseCode = CaptivePortalProbeResult.SUCCESS_CODE; in sendHttpProbe()
2472 httpResponseCode = CaptivePortalProbeResult.FAILED_CODE; in sendHttpProbe()
2480 httpResponseCode = CaptivePortalProbeResult.FAILED_CODE; in sendHttpProbe()
2483 httpResponseCode = CaptivePortalProbeResult.SUCCESS_CODE; in sendHttpProbe()
2486 if (httpResponseCode != 200) { in sendHttpProbe()
2489 + " as " + httpResponseCode in sendHttpProbe()
[all …]