Searched refs:mUsageStatsManager (Results 1 – 1 of 1) sorted by relevance
69 private UsageStatsManager mUsageStatsManager; field in UsageStatsTest75 mUsageStatsManager = (UsageStatsManager) getInstrumentation().getContext() in setUp()141 UsageEvents events = mUsageStatsManager.queryEvents(startTime, endTime); in testOrderedActivityLaunchSequenceInEventLog()201 …Map<String, UsageStats> statsMap = mUsageStatsManager.queryAndAggregateUsageStats(startTime, endTi… in ignore_testStatsAreShiftedInTimeWhenSystemTimeChanges()210 statsMap = mUsageStatsManager.queryAndAggregateUsageStats(startTime, endTime); in ignore_testStatsAreShiftedInTimeWhenSystemTimeChanges()242 UsageEvents events = mUsageStatsManager.queryEvents(startTime, endTime); in testUsageEventsParceling()287 …final List<UsageStats> statsList = mUsageStatsManager.queryUsageStats(intervalType, startTime, end… in testPackageUsageStatsIntervals()311 List<UsageStats> stats = mUsageStatsManager.queryUsageStats(UsageStatsManager.INTERVAL_BEST, in testNoAccessSilentlyFails()317 stats = mUsageStatsManager.queryUsageStats(UsageStatsManager.INTERVAL_BEST, in testNoAccessSilentlyFails()