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()
52 public class NetworkValidationMetrics { class
171 import com.android.networkstack.metrics.NetworkValidationMetrics;527 private final NetworkValidationMetrics mNetworkValidationMetrics =528 new NetworkValidationMetrics();2398 recordProbeEventMetrics(NetworkValidationMetrics.probeTypeToEnum(probeType), in sendDnsAndHttpProbes()2567 recordProbeEventMetrics(NetworkValidationMetrics.probeTypeToEnum(probeType), in sendHttpProbe()2568 probeTimer.stop(), NetworkValidationMetrics.httpProbeResultToEnum(probeResult), in sendHttpProbe()