Searched refs:queryAppUsageStats (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/people/prediction/ |
D | SharesheetModelScorerTest.java | 272 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/ |
D | UsageStatsQueryHelperTest.java | 211 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/ |
D | UsageStatsQueryHelper.java | 145 static Map<String, AppUsageStatsData> queryAppUsageStats(@UserIdInt int userId, long startTime, in queryAppUsageStats() method in UsageStatsQueryHelper
|
D | DataManager.java | 265 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/ |
D | SharesheetModelScorer.java | 224 dataManager.queryAppUsageStats( in promoteMostChosenAndFrequentlyUsedApps()
|