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;523 private final NetworkValidationMetrics mNetworkValidationMetrics =524 new NetworkValidationMetrics();2363 recordProbeEventMetrics(NetworkValidationMetrics.probeTypeToEnum(probeType), in sendDnsAndHttpProbes()2523 recordProbeEventMetrics(NetworkValidationMetrics.probeTypeToEnum(probeType), in sendHttpProbe()2524 probeTimer.stop(), NetworkValidationMetrics.httpProbeResultToEnum(probeResult), in sendHttpProbe()
52 public class NetworkValidationMetrics { class