Home
last modified time | relevance | path

Searched refs:SUCCESS_CODE (Results 1 – 4 of 4) sorted by relevance

/packages/modules/NetworkStack/common/captiveportal/src/android/net/captiveportal/
DCaptivePortalProbeResult.java33 public static final int SUCCESS_CODE = 204; field in CaptivePortalProbeResult
114 return responseCode == SUCCESS_CODE; in isSuccessCode()
151 return new CaptivePortalProbeResult(SUCCESS_CODE, probeType); in success()
DCaptivePortalProbeSpec.java20 import static android.net.captiveportal.CaptivePortalProbeResult.SUCCESS_CODE;
190 final int returnCode = statusMatch && locationMatch ? SUCCESS_CODE : PORTAL_CODE; in getResult()
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/metrics/
DNetworkValidationMetricsTest.java76 verifyProbeType(new CaptivePortalProbeResult(CaptivePortalProbeResult.SUCCESS_CODE, in testNetworkValidationMetrics_VerifyHttpProbeResultToEnum()
/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java2500 httpResponseCode = CaptivePortalProbeResult.SUCCESS_CODE; in sendHttpProbe()
2519 httpResponseCode = CaptivePortalProbeResult.SUCCESS_CODE; in sendHttpProbe()