Home
last modified time | relevance | path

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

/frameworks/base/services/people/java/com/android/server/people/prediction/
DSharesheetModelScorer.java69 static void computeScore(List<ShareTargetPredictor.ShareTarget> shareTargets, in computeScore()
83 for (ShareTargetPredictor.ShareTarget target : shareTargets) { in computeScore()
138 ShareTargetPredictor.ShareTarget target = shareTargets.get(i); in computeScore()
170 static void computeScoreForAppShare(List<ShareTargetPredictor.ShareTarget> shareTargets, in computeScoreForAppShare()
177 private static void postProcess(List<ShareTargetPredictor.ShareTarget> shareTargets, in postProcess()
181 Map<String, List<ShareTargetPredictor.ShareTarget>> shareTargetMap = new ArrayMap<>(); in postProcess()
182 for (ShareTargetPredictor.ShareTarget shareTarget : shareTargets) { in postProcess()
185 List<ShareTargetPredictor.ShareTarget> targetsList = shareTargetMap.get(packageName); in postProcess()
206 Map<String, List<ShareTargetPredictor.ShareTarget>> shareTargetMap, int targetsLimit, in promoteMostChosenAndFrequentlyUsedApps()
210 for (List<ShareTargetPredictor.ShareTarget> targets : shareTargetMap.values()) { in promoteMostChosenAndFrequentlyUsedApps()
[all …]
DShareTargetPredictor.java51 class ShareTargetPredictor extends AppTargetPredictor { class
57 ShareTargetPredictor(@NonNull AppPredictionContext predictionContext, in ShareTargetPredictor() method in ShareTargetPredictor
DAppTargetPredictor.java48 return new ShareTargetPredictor( in create()
/frameworks/base/services/tests/servicestests/src/com/android/server/people/prediction/
DSharesheetModelScorerTest.java117 private ShareTargetPredictor.ShareTarget mShareTarget1;
118 private ShareTargetPredictor.ShareTarget mShareTarget2;
119 private ShareTargetPredictor.ShareTarget mShareTarget3;
120 private ShareTargetPredictor.ShareTarget mShareTarget4;
121 private ShareTargetPredictor.ShareTarget mShareTarget5;
122 private ShareTargetPredictor.ShareTarget mShareTarget6;
128 mShareTarget1 = new ShareTargetPredictor.ShareTarget( in setUp()
133 mShareTarget2 = new ShareTargetPredictor.ShareTarget( in setUp()
137 mShareTarget3 = new ShareTargetPredictor.ShareTarget( in setUp()
142 mShareTarget4 = new ShareTargetPredictor.ShareTarget( in setUp()
[all …]
DShareTargetPredictorTest.java96 private ShareTargetPredictor mPredictor;
114 mPredictor = new ShareTargetPredictor( in setUp()
242 mPredictor = new ShareTargetPredictor( in testPredictTargets_nullIntentFilter()
351 mPredictor = new ShareTargetPredictor( in testSortTargets_nullIntentFilter()