Searched refs:mApfSessionInfoMetrics (Results 1 – 4 of 4) sorted by relevance
352 private final ApfSessionInfoMetrics mApfSessionInfoMetrics; field in LegacyApfFilter407 mApfSessionInfoMetrics = dependencies.getApfSessionInfoMetrics(); in LegacyApfFilter()2096 if (mIpClientRaInfoMetrics == null || mApfSessionInfoMetrics == null) return; in collectAndSendMetrics()2111 mApfSessionInfoMetrics.setVersion(mApfCapabilities.apfVersionSupported); in collectAndSendMetrics()2112 mApfSessionInfoMetrics.setMemorySize(mApfCapabilities.maximumApfProgramSize); in collectAndSendMetrics()2113 mApfSessionInfoMetrics.setApfSessionDurationSeconds( in collectAndSendMetrics()2115 mApfSessionInfoMetrics.setNumOfTimesApfProgramUpdated(mNumProgramUpdates); in collectAndSendMetrics()2116 mApfSessionInfoMetrics.setMaxProgramSize(mMaxProgramSize); in collectAndSendMetrics()2119 mApfSessionInfoMetrics.addApfCounter(entry.getKey(), entry.getValue()); in collectAndSendMetrics()2122 mApfSessionInfoMetrics.statsWrite(); in collectAndSendMetrics()
295 private final ApfSessionInfoMetrics mApfSessionInfoMetrics; field in ApfFilter399 mApfSessionInfoMetrics = dependencies.getApfSessionInfoMetrics(); in ApfFilter()2531 if (mIpClientRaInfoMetrics == null || mApfSessionInfoMetrics == null) return; in collectAndSendMetrics()2546 mApfSessionInfoMetrics.setVersion(mApfCapabilities.apfVersionSupported); in collectAndSendMetrics()2547 mApfSessionInfoMetrics.setMemorySize(mApfCapabilities.maximumApfProgramSize); in collectAndSendMetrics()2548 mApfSessionInfoMetrics.setApfSessionDurationSeconds( in collectAndSendMetrics()2550 mApfSessionInfoMetrics.setNumOfTimesApfProgramUpdated(mNumProgramUpdates); in collectAndSendMetrics()2551 mApfSessionInfoMetrics.setMaxProgramSize(mMaxProgramSize); in collectAndSendMetrics()2554 mApfSessionInfoMetrics.addApfCounter(entry.getKey(), entry.getValue()); in collectAndSendMetrics()2557 mApfSessionInfoMetrics.statsWrite(); in collectAndSendMetrics()
141 @Mock private ApfSessionInfoMetrics mApfSessionInfoMetrics; field in LegacyApfTest153 doReturn(mApfSessionInfoMetrics).when(mDependencies).getApfSessionInfoMetrics(); in setUp()1877 verify(mApfSessionInfoMetrics).setVersion(4); in testApfSessionInfoMetrics_LegacyApfFilter()1878 verify(mApfSessionInfoMetrics).setMemorySize(4096); in testApfSessionInfoMetrics_LegacyApfFilter()1885 verify(mApfSessionInfoMetrics, times(expectedCounters.size())).addApfCounter( in testApfSessionInfoMetrics_LegacyApfFilter()1895 verify(mApfSessionInfoMetrics).setApfSessionDurationSeconds( in testApfSessionInfoMetrics_LegacyApfFilter()1897 verify(mApfSessionInfoMetrics).setNumOfTimesApfProgramUpdated(numProgramUpdated); in testApfSessionInfoMetrics_LegacyApfFilter()1898 verify(mApfSessionInfoMetrics).setMaxProgramSize(maxProgramSize); in testApfSessionInfoMetrics_LegacyApfFilter()1899 verify(mApfSessionInfoMetrics).statsWrite(); in testApfSessionInfoMetrics_LegacyApfFilter()1992 verify(mApfSessionInfoMetrics, never()).statsWrite(); in testNoMetricsWrittenForShortDuration_LegacyApfFilter()[all …]
165 @Mock private ApfSessionInfoMetrics mApfSessionInfoMetrics; field in ApfTest177 doReturn(mApfSessionInfoMetrics).when(mDependencies).getApfSessionInfoMetrics(); in setUp()3244 verify(mApfSessionInfoMetrics).setVersion(4); in testApfSessionInfoMetrics()3245 verify(mApfSessionInfoMetrics).setMemorySize(4096); in testApfSessionInfoMetrics()3252 verify(mApfSessionInfoMetrics, times(expectedCounters.size())).addApfCounter( in testApfSessionInfoMetrics()3262 verify(mApfSessionInfoMetrics).setApfSessionDurationSeconds( in testApfSessionInfoMetrics()3264 verify(mApfSessionInfoMetrics).setNumOfTimesApfProgramUpdated(numProgramUpdated); in testApfSessionInfoMetrics()3265 verify(mApfSessionInfoMetrics).setMaxProgramSize(maxProgramSize); in testApfSessionInfoMetrics()3266 verify(mApfSessionInfoMetrics).statsWrite(); in testApfSessionInfoMetrics()3355 verify(mApfSessionInfoMetrics, never()).statsWrite(); in verifyNoMetricsWrittenForShortDuration()[all …]