Searched refs:probeType (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/android/net/metrics/ |
D | ValidationProbeEvent.java | 57 public int probeType; field in ValidationProbeEvent 65 probeType = in.readInt(); in ValidationProbeEvent() 72 out.writeInt(probeType); in writeToParcel() 92 public static int makeProbeType(int probeType, boolean firstValidation) { in makeProbeType() argument 93 return (probeType & 0xff) | (firstValidation ? FIRST_VALIDATION : REVALIDATION); in makeProbeType() 96 public static String getProbeName(int probeType) { in getProbeName() argument 97 return Decoder.constants.get(probeType & 0xff, "PROBE_???"); in getProbeName() 100 public static String getValidationStage(int probeType) { in getValidationStage() argument 101 return Decoder.constants.get(probeType & 0xff00, "UNKNOWN"); in getValidationStage() 107 getProbeName(probeType), returnCode, getValidationStage(probeType), durationMs); in toString()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | NetworkMonitor.java | 366 private void validationLog(int probeType, Object url, String msg) { in validationLog() argument 367 String probeName = ValidationProbeEvent.getProbeName(probeType); in validationLog() 1029 private CaptivePortalProbeResult sendDnsAndHttpProbes(ProxyInfo proxy, URL url, int probeType) { in sendDnsAndHttpProbes() argument 1035 return sendHttpProbe(url, probeType, null); in sendDnsAndHttpProbes() 1071 protected CaptivePortalProbeResult sendHttpProbe(URL url, int probeType, in sendHttpProbe() argument 1080 urlConnection.setInstanceFollowRedirects(probeType == ValidationProbeEvent.PROBE_PAC); in sendHttpProbe() 1099 validationLog(probeType, url, "time=" + (responseTimestamp - requestTimestamp) + "ms" + in sendHttpProbe() 1110 if (probeType == ValidationProbeEvent.PROBE_PAC) { in sendHttpProbe() 1112 probeType, url, "PAC fetch 200 response interpreted as 204 response."); in sendHttpProbe() 1119 validationLog(probeType, url, in sendHttpProbe() [all …]
|
D | IpConnectivityEventBuilder.java | 258 validationProbeEvent.probeType = in.probeType; in setValidationProbeEvent()
|
/frameworks/base/services/net/java/android/net/ip/ |
D | IpReachabilityMonitor.java | 374 private void logEvent(int probeType, int errorCode) { 375 int eventType = probeType | (errorCode & 0xff);
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | IpConnectivityMetricsTest.java | 321 validationEv.probeType = ValidationProbeEvent.PROBE_HTTP; in testEndToEndLogging()
|