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.java583 Map<String, UsageStats> statsMap = mUsageStatsManager.queryAndAggregateUsageStats(startTime, in ignore_testStatsAreShiftedInTimeWhenSystemTimeChanges() local
585 assertFalse(statsMap.isEmpty()); in ignore_testStatsAreShiftedInTimeWhenSystemTimeChanges()
586 assertTrue(statsMap.containsKey(mTargetPackage)); in ignore_testStatsAreShiftedInTimeWhenSystemTimeChanges()
587 final UsageStats before = statsMap.get(mTargetPackage); in ignore_testStatsAreShiftedInTimeWhenSystemTimeChanges()
593 statsMap = mUsageStatsManager.queryAndAggregateUsageStats(startTime, endTime); in ignore_testStatsAreShiftedInTimeWhenSystemTimeChanges()
594 assertFalse(statsMap.isEmpty()); in ignore_testStatsAreShiftedInTimeWhenSystemTimeChanges()
595 assertTrue(statsMap.containsKey(mTargetPackage)); in ignore_testStatsAreShiftedInTimeWhenSystemTimeChanges()
596 final UsageStats after = statsMap.get(mTargetPackage); in ignore_testStatsAreShiftedInTimeWhenSystemTimeChanges()