Searched refs:CaptivePortalProbeResult (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/connectivity/
H A DNetworkMonitor.java237 private CaptivePortalProbeResult mLastPortalProbeResult = CaptivePortalProbeResult.FAILED;
428 public static final class CaptivePortalProbeResult { class in class:NetworkMonitor
429 static final CaptivePortalProbeResult FAILED = new CaptivePortalProbeResult(599);
436 public CaptivePortalProbeResult( method in class:NetworkMonitor.CaptivePortalProbeResult
443 public CaptivePortalProbeResult(int httpResponseCode) { method in class:NetworkMonitor.CaptivePortalProbeResult
512 CaptivePortalProbeResult probeResult = isCaptivePortal();
634 protected CaptivePortalProbeResult isCaptivePortal() {
635 if (!mIsCaptivePortalCheckEnabled) return new CaptivePortalProbeResult(20
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DConnectivityServiceTest.java81 import com.android.server.connectivity.NetworkMonitor.CaptivePortalProbeResult;
599 protected CaptivePortalProbeResult isCaptivePortal() {
600 return new CaptivePortalProbeResult(gen204ProbeResult, gen204ProbeRedirectUrl, null);

Completed in 60 milliseconds