Searched refs:shareTargetMap (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/services/people/java/com/android/server/people/prediction/ |
D | SharesheetModelScorer.java | 181 Map<String, List<ShareTargetPredictor.ShareTarget>> shareTargetMap = new ArrayMap<>(); in postProcess() local 184 shareTargetMap.computeIfAbsent(packageName, key -> new ArrayList<>()); in postProcess() 185 List<ShareTargetPredictor.ShareTarget> targetsList = shareTargetMap.get(packageName); in postProcess() 195 promoteForegroundApp(shareTargetMap, dataManager, callingUserId); in postProcess() 196 promoteMostChosenAndFrequentlyUsedApps(shareTargetMap, targetsLimit, dataManager, in postProcess() 206 Map<String, List<ShareTargetPredictor.ShareTarget>> shareTargetMap, int targetsLimit, in promoteMostChosenAndFrequentlyUsedApps() argument 210 for (List<ShareTargetPredictor.ShareTarget> targets : shareTargetMap.values()) { in promoteMostChosenAndFrequentlyUsedApps() 225 callingUserId, now - ONE_MONTH_WINDOW, now, shareTargetMap.keySet()); in promoteMostChosenAndFrequentlyUsedApps() 227 minValidScore = promoteApp(shareTargetMap, appStatsMap, AppUsageStatsData::getChosenCount, in promoteMostChosenAndFrequentlyUsedApps() 230 promoteApp(shareTargetMap, appStatsMap, AppUsageStatsData::getLaunchCount, in promoteMostChosenAndFrequentlyUsedApps() [all …]
|