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/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.java2597 int httpResponseCode = CaptivePortalProbeResult.FAILED_CODE; in sendHttpProbe() local
2613 httpResponseCode = urlConnection.getResponseCode(); in sendHttpProbe()
2620 + " ret=" + httpResponseCode in sendHttpProbe()
2629 if (httpResponseCode == 200) { in sendHttpProbe()
2634 httpResponseCode = CaptivePortalProbeResult.SUCCESS_CODE; in sendHttpProbe()
2642 httpResponseCode = CaptivePortalProbeResult.FAILED_CODE; in sendHttpProbe()
2650 httpResponseCode = CaptivePortalProbeResult.FAILED_CODE; in sendHttpProbe()
2653 httpResponseCode = CaptivePortalProbeResult.SUCCESS_CODE; in sendHttpProbe()
2656 if (httpResponseCode != 200) { in sendHttpProbe()
2659 + " as " + httpResponseCode in sendHttpProbe()
[all …]
/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/
DCaptivePortalLoginActivity.java698 int httpResponseCode = 500; in testForCaptivePortal()
713 httpResponseCode = urlConnection.getResponseCode(); in testForCaptivePortal()
717 " ret=" + httpResponseCode + in testForCaptivePortal()
725 if (isDismissed(httpResponseCode, locationHeader, mProbeSpec)) { in testForCaptivePortal()
733 int httpResponseCode, String locationHeader, CaptivePortalProbeSpec probeSpec) { in isDismissed() argument
735 ? probeSpec.getResult(httpResponseCode, locationHeader).isSuccessful() in isDismissed()
736 : (httpResponseCode == 204); in isDismissed()