Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/metrics/
DNetworkValidationMetricsTest.java141 metrics.addProbeEvent(ProbeType.PT_DNS, 1234, ProbeResult.PR_SUCCESS, null); in testNetworkValidationMetrics_VerifyConsecutiveProbeFailure()
144 metrics.addProbeEvent(ProbeType.PT_HTTP, 1234, ProbeResult.PR_FAILURE, null); in testNetworkValidationMetrics_VerifyConsecutiveProbeFailure()
175 metrics.addProbeEvent(ProbeType.PT_CAPPORT_API, 1234, ProbeResult.PR_SUCCESS, in testNetworkValidationMetrics_VerifyCollectMetrics()
178 metrics.addProbeEvent(ProbeType.PT_CAPPORT_API, 1234, ProbeResult.PR_FAILURE, null); in testNetworkValidationMetrics_VerifyCollectMetrics()
181 metrics.addProbeEvent(ProbeType.PT_DNS, 5678, ProbeResult.PR_FAILURE, null); in testNetworkValidationMetrics_VerifyCollectMetrics()
184 metrics.addProbeEvent(ProbeType.PT_HTTP, longlatency, ProbeResult.PR_PORTAL, null); in testNetworkValidationMetrics_VerifyCollectMetrics()
/packages/modules/NetworkStack/src/com/android/networkstack/metrics/
DNetworkValidationMetrics.java190 public void addProbeEvent(final ProbeType type, final long durationUs, final ProbeResult result, in addProbeEvent() method in NetworkValidationMetrics
218 mProbeEventsBuilder.addProbeEvent(probeEventBuilder); in addProbeEvent()
/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java831 mNetworkValidationMetrics.addProbeEvent(type, latencyMicros, result, capportData); in recordProbeEventMetrics()