Home
last modified time | relevance | path

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

/cts/tests/tests/app.usage/src/android/app/usage/cts/
DUsageStatsTest.java810 Map<String, UsageStats> statsMap = mUsageStatsManager.queryAndAggregateUsageStats(startTime, in ignore_testStatsAreShiftedInTimeWhenSystemTimeChanges() local
812 assertFalse(statsMap.isEmpty()); in ignore_testStatsAreShiftedInTimeWhenSystemTimeChanges()
813 assertTrue(statsMap.containsKey(mTargetPackage)); in ignore_testStatsAreShiftedInTimeWhenSystemTimeChanges()
814 final UsageStats before = statsMap.get(mTargetPackage); in ignore_testStatsAreShiftedInTimeWhenSystemTimeChanges()
820 statsMap = mUsageStatsManager.queryAndAggregateUsageStats(startTime, endTime); in ignore_testStatsAreShiftedInTimeWhenSystemTimeChanges()
821 assertFalse(statsMap.isEmpty()); in ignore_testStatsAreShiftedInTimeWhenSystemTimeChanges()
822 assertTrue(statsMap.containsKey(mTargetPackage)); in ignore_testStatsAreShiftedInTimeWhenSystemTimeChanges()
823 final UsageStats after = statsMap.get(mTargetPackage); in ignore_testStatsAreShiftedInTimeWhenSystemTimeChanges()