Searched refs:probeType (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/core/java/android/net/metrics/
H A DValidationProbeEvent.java59 public final @ProbeType int probeType; field in class:ValidationProbeEvent
64 int netId, long durationMs, @ProbeType int probeType, @ReturnCode int returnCode) {
67 this.probeType = probeType;
74 probeType = in.readInt();
82 out.writeInt(probeType);
103 public static String getProbeName(int probeType) { argument
104 return Decoder.constants.get(probeType, "PROBE_???");
107 public static void logEvent(int netId, long durationMs, int probeType, int returnCode) { argument
113 netId, getProbeName(probeType), returnCod
63 ValidationProbeEvent( int netId, long durationMs, @ProbeType int probeType, @ReturnCode int returnCode) argument
[all...]
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DNetworkMonitor.java733 protected CaptivePortalProbeResult sendHttpProbe(URL url, int probeType) { argument
740 urlConnection.setInstanceFollowRedirects(probeType == ValidationProbeEvent.PROBE_PAC);
758 validationLog(ValidationProbeEvent.getProbeName(probeType) + " " + url +
778 if (httpResponseCode == 200 && probeType == ValidationProbeEvent.PROBE_PAC) {
792 logValidationProbe(probeTimer.stop(), probeType, httpResponseCode);
977 private void logValidationProbe(long durationMs, int probeType, int probeResult) { argument
978 mMetricsLog.log(new ValidationProbeEvent(mNetId, durationMs, probeType, probeResult));
H A DIpConnectivityEventBuilder.java187 out.validationProbeEvent.probeType = in.probeType;
/frameworks/base/services/net/java/android/net/ip/
H A DIpReachabilityMonitor.java434 private void logEvent(int probeType, int errorCode) { argument
435 int eventType = probeType | (errorCode & 0xff);

Completed in 251 milliseconds