Home
last modified time | relevance | path

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

/frameworks/base/services/people/java/com/android/server/people/prediction/
DSharesheetModelScorer.java179 Map<String, List<ShareTargetPredictor.ShareTarget>> shareTargetMap = new ArrayMap<>(); in postProcess() local
182 shareTargetMap.computeIfAbsent(packageName, key -> new ArrayList<>()); in postProcess()
183 List<ShareTargetPredictor.ShareTarget> targetsList = shareTargetMap.get(packageName); in postProcess()
193 promoteForegroundApp(shareTargetMap, dataManager, callingUserId, chooserActivity); in postProcess()
194 promoteMostChosenAndFrequentlyUsedApps(shareTargetMap, targetsLimit, dataManager, in postProcess()
204 Map<String, List<ShareTargetPredictor.ShareTarget>> shareTargetMap, int targetsLimit, in promoteMostChosenAndFrequentlyUsedApps() argument
208 for (List<ShareTargetPredictor.ShareTarget> targets : shareTargetMap.values()) { in promoteMostChosenAndFrequentlyUsedApps()
223 callingUserId, now - ONE_MONTH_WINDOW, now, shareTargetMap.keySet()); in promoteMostChosenAndFrequentlyUsedApps()
225 minValidScore = promoteApp(shareTargetMap, appStatsMap, AppUsageStatsData::getChosenCount, in promoteMostChosenAndFrequentlyUsedApps()
228 promoteApp(shareTargetMap, appStatsMap, AppUsageStatsData::getLaunchCount, in promoteMostChosenAndFrequentlyUsedApps()
[all …]