Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/people/prediction/
DSharesheetModelScorerTest.java272 when(mDataManager.queryAppUsageStats(anyInt(), anyLong(), anyLong(), anySet())) in testComputeScoreForAppShare_promoteFrequentlyChosenApps()
283 verify(mDataManager, times(1)).queryAppUsageStats(anyInt(), anyLong(), anyLong(), in testComputeScoreForAppShare_promoteFrequentlyChosenApps()
305 when(mDataManager.queryAppUsageStats(anyInt(), anyLong(), anyLong(), anySet())) in testComputeScoreForAppShare_promoteFrequentlyUsedApps()
316 verify(mDataManager, times(1)).queryAppUsageStats(anyInt(), anyLong(), anyLong(), in testComputeScoreForAppShare_promoteFrequentlyUsedApps()
343 when(mDataManager.queryAppUsageStats(anyInt(), anyLong(), anyLong(), anySet())) in testComputeScoreForAppShare_skipPromoteFrequentlyUsedAppsWhenReachesLimit()
354 verify(mDataManager, never()).queryAppUsageStats(anyInt(), anyLong(), anyLong(), in testComputeScoreForAppShare_skipPromoteFrequentlyUsedAppsWhenReachesLimit()
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DUsageStatsQueryHelperTest.java211 mHelper.queryAppUsageStats(USER_ID_PRIMARY, 90_000L, in testQueryAppUsageStats()
231 mHelper.queryAppUsageStats(USER_ID_PRIMARY, 90_000L, in testQueryAppUsageStats_packageNameFiltered()
246 mHelper.queryAppUsageStats(USER_ID_PRIMARY, 90_000L, in testQueryAppUsageStats_nullUsageStats()
/frameworks/base/services/people/java/com/android/server/people/data/
DUsageStatsQueryHelper.java145 static Map<String, AppUsageStatsData> queryAppUsageStats(@UserIdInt int userId, long startTime, in queryAppUsageStats() method in UsageStatsQueryHelper
DDataManager.java265 public Map<String, AppUsageStatsData> queryAppUsageStats( in queryAppUsageStats() method in DataManager
268 return UsageStatsQueryHelper.queryAppUsageStats(callingUserId, startTime, endTime, in queryAppUsageStats()
/frameworks/base/services/people/java/com/android/server/people/prediction/
DSharesheetModelScorer.java224 dataManager.queryAppUsageStats( in promoteMostChosenAndFrequentlyUsedApps()