Home
last modified time | relevance | path

Searched refs:statsWrite (Results 1 – 17 of 17) sorted by relevance

/packages/modules/Connectivity/service-t/src/com/android/metrics/
DNetworkNsdReportedMetrics.java61 public void statsWrite(NetworkNsdReported event) { in statsWrite() method in NetworkNsdReportedMetrics.Dependencies
111 mDependencies.statsWrite(builder.build()); in reportServiceRegistrationSucceeded()
127 mDependencies.statsWrite(builder.build()); in reportServiceRegistrationFailed()
152 mDependencies.statsWrite(builder.build()); in reportServiceUnregistration()
165 mDependencies.statsWrite(builder.build()); in reportServiceDiscoveryStarted()
181 mDependencies.statsWrite(builder.build()); in reportServiceDiscoveryFailed()
207 mDependencies.statsWrite(builder.build()); in reportServiceDiscoveryStop()
227 mDependencies.statsWrite(builder.build()); in reportServiceResolved()
243 mDependencies.statsWrite(builder.build()); in reportServiceResolutionFailed()
261 mDependencies.statsWrite(builder.build()); in reportServiceResolutionStop()
[all …]
/packages/modules/Connectivity/tests/unit/java/com/android/metrics/
DNetworkNsdReportedMetricsTest.kt56 verify(deps).statsWrite(eventCaptor.capture()) in testReportServiceRegistrationSucceeded()
76 verify(deps).statsWrite(eventCaptor.capture()) in testReportServiceRegistrationFailed()
102 verify(deps).statsWrite(eventCaptor.capture()) in testReportServiceUnregistration()
125 verify(deps).statsWrite(eventCaptor.capture()) in testReportServiceDiscoveryStarted()
144 verify(deps).statsWrite(eventCaptor.capture()) in testReportServiceDiscoveryFailed()
170 verify(deps).statsWrite(eventCaptor.capture()) in testReportServiceDiscoveryStop()
198 verify(deps).statsWrite(eventCaptor.capture()) in testReportServiceResolved()
220 verify(deps).statsWrite(eventCaptor.capture()) in testReportServiceResolutionFailed()
242 verify(deps).statsWrite(eventCaptor.capture()) in testReportServiceResolutionStop()
262 verify(deps).statsWrite(eventCaptor.capture()) in testReportServiceInfoCallbackRegistered()
[all …]
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/metrics/
DNetworkIpProvisioningMetricsTest.java51 mStats = mMetrics.statsWrite(); in testIpProvisioningMetrics_setHostnameTransinfo()
56 mStats = mMetrics.statsWrite(); in testIpProvisioningMetrics_setHostnameTransinfo()
61 mStats = mMetrics.statsWrite(); in testIpProvisioningMetrics_setHostnameTransinfo()
79 mStats = mMetrics.statsWrite(); in testIpProvisioningMetrics_addDhcpErrorCode()
133 mStats = mMetrics.statsWrite(); in testIpProvisioningMetrics_CollectMetrics()
157 NetworkIpProvisioningReported mStats = metrics.statsWrite(); in testIpProvisioningMetrics_VerifyConsecutiveMetricsLatency()
177 final NetworkIpProvisioningReported stats = metrics.statsWrite(); in testIpProvisioningMetrics_setIpv6ProvisioningMode()
DNetworkIpReachabilityMonitorMetricsTest.java44 mStats = mMetrics.statsWrite(); in testIpReachabilityMonitorMetrics_setIpType()
56 mStats = mMetrics.statsWrite(); in testIpReachabilityMonitorMetrics_setNeighborType()
68 mStats = mMetrics.statsWrite(); in testIpReachabilityMonitorMetrics_setEventType()
DApfSessionInfoMetricsTest.java48 mStats = mMetrics.statsWrite(); in testApfSessionInfoMetrics_VerifyCollectMetrics()
83 mStats = mMetrics.statsWrite(); in testApfSessionInfoMetrics_VerifyMaxApfCounter()
DIpClientRaInfoMetricsTest.java44 mStats = mMetrics.statsWrite(); in testIpClientRaInfoMetrics_VerifyCollectMetrics()
/packages/modules/NetworkStack/src/com/android/networkstack/metrics/
DNetworkQuirkMetrics.java67 public NetworkStackQuirkReported statsWrite() { in statsWrite() method in NetworkQuirkMetrics
DIpReachabilityMonitorMetrics.java58 public NetworkIpReachabilityMonitorReported statsWrite() { in statsWrite() method in IpReachabilityMonitorMetrics
DIpClientRaInfoMetrics.java82 public IpClientRaInfoReported statsWrite() { in statsWrite() method in IpClientRaInfoMetrics
DApfSessionInfoMetrics.java88 public ApfSessionInfoReported statsWrite() { in statsWrite() method in ApfSessionInfoMetrics
DIpProvisioningMetrics.java164 public NetworkIpProvisioningReported statsWrite() { in statsWrite() method in IpProvisioningMetrics
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/
DLegacyApfTest.java1782 verify(mNetworkQuirkMetrics).statsWrite(); in testInstallPacketFilterFailure_LegacyApfFilter()
1788 verify(mNetworkQuirkMetrics).statsWrite(); in testInstallPacketFilterFailure_LegacyApfFilter()
1804 verify(mNetworkQuirkMetrics).statsWrite(); in testApfProgramOverSize_LegacyApfFilter()
1819 verify(mNetworkQuirkMetrics).statsWrite(); in testGenerateApfProgramException_LegacyApfFilter()
1899 verify(mApfSessionInfoMetrics).statsWrite(); in testApfSessionInfoMetrics_LegacyApfFilter()
1977 verify(mIpClientRaInfoMetrics).statsWrite(); in testIpClientRaInfoMetrics_LegacyApfFilter()
1992 verify(mApfSessionInfoMetrics, never()).statsWrite(); in testNoMetricsWrittenForShortDuration_LegacyApfFilter()
1993 verify(mIpClientRaInfoMetrics, never()).statsWrite(); in testNoMetricsWrittenForShortDuration_LegacyApfFilter()
2003 verify(mApfSessionInfoMetrics).statsWrite(); in testNoMetricsWrittenForShortDuration_LegacyApfFilter()
2004 verify(mIpClientRaInfoMetrics).statsWrite(); in testNoMetricsWrittenForShortDuration_LegacyApfFilter()
DApfTest.java3149 verify(mNetworkQuirkMetrics).statsWrite(); in testInstallPacketFilterFailure()
3155 verify(mNetworkQuirkMetrics).statsWrite(); in testInstallPacketFilterFailure()
3172 verify(mNetworkQuirkMetrics).statsWrite(); in testApfProgramOverSize()
3186 verify(mNetworkQuirkMetrics).statsWrite(); in testGenerateApfProgramException()
3266 verify(mApfSessionInfoMetrics).statsWrite(); in testApfSessionInfoMetrics()
3341 verify(mIpClientRaInfoMetrics).statsWrite(); in testIpClientRaInfoMetrics()
3355 verify(mApfSessionInfoMetrics, never()).statsWrite(); in verifyNoMetricsWrittenForShortDuration()
3356 verify(mIpClientRaInfoMetrics, never()).statsWrite(); in verifyNoMetricsWrittenForShortDuration()
3366 verify(mApfSessionInfoMetrics).statsWrite(); in verifyNoMetricsWrittenForShortDuration()
3367 verify(mIpClientRaInfoMetrics).statsWrite(); in verifyNoMetricsWrittenForShortDuration()
/packages/modules/NetworkStack/src/android/net/apf/
DLegacyApfFilter.java2108 mIpClientRaInfoMetrics.statsWrite(); in collectAndSendMetrics()
2122 mApfSessionInfoMetrics.statsWrite(); in collectAndSendMetrics()
2405 mNetworkQuirkMetrics.statsWrite(); in sendNetworkQuirkMetrics()
DApfFilter.java2543 mIpClientRaInfoMetrics.statsWrite(); in collectAndSendMetrics()
2557 mApfSessionInfoMetrics.statsWrite(); in collectAndSendMetrics()
2899 mNetworkQuirkMetrics.statsWrite(); in sendNetworkQuirkMetrics()
/packages/modules/NetworkStack/src/android/net/ip/
DIpReachabilityMonitor.java797 mIpReachabilityMetrics.statsWrite();
DIpClient.java1783 mNetworkQuirkMetrics.statsWrite(); in compareProvisioning()
3025 mIpProvisioningMetrics.statsWrite(); in exit()