Home
last modified time | relevance | path

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

/aosp12/packages/modules/NetworkStack/common/captiveportal/src/android/net/captiveportal/
H A 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()
/aosp12/packages/modules/NetworkStack/src/android/net/captiveportal/
H A DCapportApiProbeResult.java38 public CapportApiProbeResult(int httpResponseCode, @Nullable String redirectUrl, in CapportApiProbeResult() argument
41 super(httpResponseCode, redirectUrl, detectUrl, probeType); in CapportApiProbeResult()
/aosp12/packages/apps/Dialer/java/com/android/dialer/logging/
H A DLoggingBindingsStub.java61 long latency, int httpResponseCode, PeopleApiLookupError.Type errorType) {} in logPeopleApiLookupReportWithError() argument
64 public void logSuccessfulPeopleApiLookupReport(long latency, int httpResponseCode) {} in logSuccessfulPeopleApiLookupReport() argument
H A DLoggingBindings.java88 long latency, int httpResponseCode, PeopleApiLookupError.Type errorType); in logPeopleApiLookupReportWithError() argument
91 void logSuccessfulPeopleApiLookupReport(long latency, int httpResponseCode); in logSuccessfulPeopleApiLookupReport() argument
/aosp12/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/
H A DCaptivePortalLoginActivity.java498 int httpResponseCode = 500; in testForCaptivePortal()
513 httpResponseCode = urlConnection.getResponseCode(); in testForCaptivePortal()
517 " ret=" + httpResponseCode + in testForCaptivePortal()
525 if (isDismissed(httpResponseCode, locationHeader, mProbeSpec)) { in testForCaptivePortal()
533 int httpResponseCode, String locationHeader, CaptivePortalProbeSpec probeSpec) { in isDismissed() argument
535 ? probeSpec.getResult(httpResponseCode, locationHeader).isSuccessful() in isDismissed()
536 : (httpResponseCode == 204); in isDismissed()
/aosp12/packages/modules/NetworkStack/src/com/android/server/connectivity/
H A DNetworkMonitor.java2463 int httpResponseCode = CaptivePortalProbeResult.FAILED_CODE; in sendHttpProbe() local
2479 httpResponseCode = urlConnection.getResponseCode(); in sendHttpProbe()
2486 + " ret=" + httpResponseCode in sendHttpProbe()
2495 if (httpResponseCode == 200) { in sendHttpProbe()
2500 httpResponseCode = CaptivePortalProbeResult.SUCCESS_CODE; in sendHttpProbe()
2522 if (httpResponseCode != 200) { in sendHttpProbe()
2525 + " as " + httpResponseCode in sendHttpProbe()
2535 httpResponseCode = CaptivePortalProbeResult.FAILED_CODE; in sendHttpProbe()
2540 if (httpResponseCode == CaptivePortalProbeResult.FAILED_CODE) { in sendHttpProbe()
2549 logValidationProbe(probeTimer.stop(), probeType, httpResponseCode); in sendHttpProbe() local
[all …]
/aosp12/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
H A DCaptivePortalLoginActivity.java239 int httpResponseCode = 500; in testForCaptivePortal()
250 httpResponseCode = urlConnection.getResponseCode(); in testForCaptivePortal()
257 if (httpResponseCode == 204) { in testForCaptivePortal()