Home
last modified time | relevance | path

Searched refs:NetworkValidationMetrics (Results 1 – 3 of 3) sorted by relevance

/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/metrics/
DNetworkValidationMetricsTest.java71 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()
/packages/modules/NetworkStack/src/com/android/networkstack/metrics/
DNetworkValidationMetrics.java52 public class NetworkValidationMetrics { class
/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java171 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()