Searched refs:NetworkValidationMetrics (Results 1 – 3 of 3) sorted by relevance
71 assertEquals(expectedEnumType, NetworkValidationMetrics.probeTypeToEnum(inputProbeType)); in verifyProbeType()87 assertEquals(expectedResult, NetworkValidationMetrics.httpProbeResultToEnum(inputResult)); in verifyProbeType()102 assertEquals(expectedResult, NetworkValidationMetrics.validationResultToEnum(inputResult, in verifyProbeType()108 final NetworkValidationMetrics metrics = new NetworkValidationMetrics(); in testNetworkValidationMetrics_VerifyTransportTypeToEnum()138 final NetworkValidationMetrics metrics = new NetworkValidationMetrics(); in testNetworkValidationMetrics_VerifyConsecutiveProbeFailure()152 assertEquals(NetworkValidationMetrics.MAX_PROBE_EVENTS_COUNT, in testNetworkValidationMetrics_VerifyConsecutiveProbeFailure()165 final NetworkValidationMetrics metrics = new NetworkValidationMetrics(); in testNetworkValidationMetrics_VerifyCollectMetrics()
174 import com.android.networkstack.metrics.NetworkValidationMetrics;525 private final NetworkValidationMetrics mNetworkValidationMetrics =526 new NetworkValidationMetrics();2362 recordProbeEventMetrics(NetworkValidationMetrics.probeTypeToEnum(probeType), in sendDnsAndHttpProbes()2522 recordProbeEventMetrics(NetworkValidationMetrics.probeTypeToEnum(probeType), in sendHttpProbe()2523 probeTimer.stop(), NetworkValidationMetrics.httpProbeResultToEnum(probeResult), in sendHttpProbe()
52 public class NetworkValidationMetrics { class