Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/tests/src/com/android/providers/media/metrics/
DTranscodeMetricsTest.java34 private static final TranscodeMetrics.TranscodingStatsData EMPTY_STATS_DATA =
35 new TranscodeMetrics.TranscodingStatsData(
48 TranscodeMetrics.pullStatsEvents(); in tearDown()
53 for (int i = 0; i < TranscodeMetrics.getStatsDataCountHardLimit() + 5; ++i) { in testSaveStatsData_doesNotGoBeyondHardLimit()
54 TranscodeMetrics.saveStatsData(EMPTY_STATS_DATA); in testSaveStatsData_doesNotGoBeyondHardLimit()
56 assertThat(TranscodeMetrics.getSavedStatsDataCount()).isEqualTo( in testSaveStatsData_doesNotGoBeyondHardLimit()
57 TranscodeMetrics.getStatsDataCountHardLimit()); in testSaveStatsData_doesNotGoBeyondHardLimit()
62 int totalRequestsToPass = TranscodeMetrics.getStatsDataCountHardLimit() + 5; in testSaveStatsData_totalStatsDataCountEqualsPassedData()
64 TranscodeMetrics.saveStatsData(EMPTY_STATS_DATA); in testSaveStatsData_totalStatsDataCountEqualsPassedData()
66 assertThat(TranscodeMetrics.getTotalStatsDataCount()).isEqualTo(totalRequestsToPass); in testSaveStatsData_totalStatsDataCountEqualsPassedData()
[all …]
/packages/providers/MediaProvider/src/com/android/providers/media/metrics/
DTranscodeMetrics.java33 final class TranscodeMetrics { class
46 private TranscodeMetrics() { in TranscodeMetrics() method in TranscodeMetrics
DPulledMetrics.java141 return TranscodeMetrics.pullStatsEvents(); in pullEvents()