Searched refs:probeType (Results 1 – 5 of 5) sorted by relevance
/packages/modules/NetworkStack/common/captiveportal/src/android/net/captiveportal/ |
D | CaptivePortalProbeResult.java | 75 public final int probeType; field in CaptivePortalProbeResult 86 public CaptivePortalProbeResult(int httpResponseCode, @ProbeType int probeType) { in CaptivePortalProbeResult() argument 87 this(httpResponseCode, null, null, null, probeType); in CaptivePortalProbeResult() 91 @Nullable String detectUrl, @ProbeType int probeType) { in CaptivePortalProbeResult() argument 92 this(httpResponseCode, redirectUrl, detectUrl, null, probeType); in CaptivePortalProbeResult() 97 @ProbeType int probeType) { in CaptivePortalProbeResult() argument 102 this.probeType = probeType; in CaptivePortalProbeResult() 130 public static CaptivePortalProbeResult failed(@ProbeType int probeType) { in failed() argument 131 return new CaptivePortalProbeResult(FAILED_CODE, probeType); in failed() 139 public static CaptivePortalProbeResult success(@ProbeType int probeType) { in success() argument [all …]
|
/packages/modules/NetworkStack/src/android/net/captiveportal/ |
D | CapportApiProbeResult.java | 35 result.probeType); in CapportApiProbeResult() 40 int probeType) { in CapportApiProbeResult() argument 41 super(httpResponseCode, redirectUrl, detectUrl, probeType); in CapportApiProbeResult()
|
/packages/modules/NetworkStack/src/com/android/server/connectivity/ |
D | NetworkMonitor.java | 712 private void validationLog(int probeType, Object url, String msg) { in validationLog() argument 713 String probeName = ValidationProbeEvent.getProbeName(probeType); in validationLog() 2349 private CaptivePortalProbeResult sendDnsAndHttpProbes(ProxyInfo proxy, URL url, int probeType) { in sendDnsAndHttpProbes() argument 2361 if (mPrivateIpNoInternetEnabled && probeType == ValidationProbeEvent.PROBE_HTTP in sendDnsAndHttpProbes() 2363 recordProbeEventMetrics(NetworkValidationMetrics.probeTypeToEnum(probeType), in sendDnsAndHttpProbes() 2367 return sendHttpProbe(url, probeType, null); in sendDnsAndHttpProbes() 2425 protected CaptivePortalProbeResult sendHttpProbe(URL url, int probeType, in sendHttpProbe() argument 2436 final boolean followRedirect = probeType == ValidationProbeEvent.PROBE_PAC; in sendHttpProbe() 2450 validationLog(probeType, url, "time=" + (responseTimestamp - requestTimestamp) + "ms" in sendHttpProbe() 2462 if (probeType == ValidationProbeEvent.PROBE_PAC) { in sendHttpProbe() [all …]
|
/packages/modules/NetworkStack/src/com/android/networkstack/metrics/ |
D | NetworkValidationMetrics.java | 131 public static ProbeType probeTypeToEnum(final int probeType) { in probeTypeToEnum() argument 132 switch(probeType) { in probeTypeToEnum()
|
/packages/modules/NetworkStack/src/android/net/ip/ |
D | IpReachabilityMonitor.java | 473 private void logEvent(int probeType, int errorCode) { 474 int eventType = probeType | (errorCode & 0xff);
|