Home
last modified time | relevance | path

Searched refs:validationProbeEvent (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/tests/net/common/java/android/net/metrics/
DValidationProbeEventTest.kt38 var validationProbeEvent = ValidationProbeEvent.Builder() in hasType() variable
41 assertTrue(validationProbeEvent.probeType hasType REVALIDATION) in hasType()
43 validationProbeEvent = ValidationProbeEvent.Builder() in hasType()
49 assertEquals(Long.MAX_VALUE, validationProbeEvent.durationMs) in hasType()
50 assertTrue(validationProbeEvent.probeType hasType ValidationProbeEvent.PROBE_DNS) in hasType()
51 assertTrue(validationProbeEvent.probeType hasType FIRST_VALIDATION) in hasType()
52 assertEquals(ValidationProbeEvent.DNS_SUCCESS, validationProbeEvent.returnCode) in hasType()
54 assertParcelSane(validationProbeEvent, 3) in hasType()
/frameworks/base/services/core/java/com/android/server/connectivity/
DIpConnectivityEventBuilder.java255 IpConnectivityLogClass.ValidationProbeEvent validationProbeEvent = in setValidationProbeEvent() local
257 validationProbeEvent.latencyMs = (int) in.durationMs; in setValidationProbeEvent()
258 validationProbeEvent.probeType = in.probeType; in setValidationProbeEvent()
259 validationProbeEvent.probeResult = in.returnCode; in setValidationProbeEvent()
260 out.setValidationProbeEvent(validationProbeEvent); in setValidationProbeEvent()