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.java546 Map<String, UsageStats> statsMap = mUsageStatsManager.queryAndAggregateUsageStats(startTime, in ignore_testStatsAreShiftedInTimeWhenSystemTimeChanges() local
548 assertFalse(statsMap.isEmpty()); in ignore_testStatsAreShiftedInTimeWhenSystemTimeChanges()
549 assertTrue(statsMap.containsKey(mTargetPackage)); in ignore_testStatsAreShiftedInTimeWhenSystemTimeChanges()
550 final UsageStats before = statsMap.get(mTargetPackage); in ignore_testStatsAreShiftedInTimeWhenSystemTimeChanges()
556 statsMap = mUsageStatsManager.queryAndAggregateUsageStats(startTime, endTime); in ignore_testStatsAreShiftedInTimeWhenSystemTimeChanges()
557 assertFalse(statsMap.isEmpty()); in ignore_testStatsAreShiftedInTimeWhenSystemTimeChanges()
558 assertTrue(statsMap.containsKey(mTargetPackage)); in ignore_testStatsAreShiftedInTimeWhenSystemTimeChanges()
559 final UsageStats after = statsMap.get(mTargetPackage); in ignore_testStatsAreShiftedInTimeWhenSystemTimeChanges()