Home
last modified time | relevance | path

Searched refs:COUNTS (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DLongSamplingCounterArrayTest.java64 private static final long[] COUNTS = {1111, 2222, 3333, 4444}; field in LongSamplingCounterArrayTest
80 updateCounts(COUNTS); in testReadWriteParcel()
87 assertArrayEquals(COUNTS, mCounterArray.mCounts); in testReadWriteParcel()
94 updateCounts(COUNTS); in testReadWriteSummaryParcel()
101 assertArrayEquals(COUNTS, mCounterArray.mCounts); in testReadWriteSummaryParcel()
107 updateCounts(COUNTS); in testOnTimeStarted()
109 assertArrayEquals(COUNTS, mCounterArray.mCounts); in testOnTimeStarted()
114 updateCounts(COUNTS); in testOnTimeStopped()
116 assertArrayEquals(COUNTS, mCounterArray.mCounts); in testOnTimeStopped()
121 updateCounts(COUNTS); in testGetCountsLocked()
[all …]
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsProto.java201 case (int) IntervalStatsProto.UsageStats.ChooserAction.COUNTS: in loadChooserCounts()
203 IntervalStatsProto.UsageStats.ChooserAction.COUNTS); in loadChooserCounts()
390 final long token = proto.start(IntervalStatsProto.UsageStats.ChooserAction.COUNTS); in writeCountsForAction()