Home
last modified time | relevance | path

Searched refs:getScore (Results 1 – 25 of 48) sorted by relevance

12

/frameworks/base/services/tests/servicestests/src/com/android/server/people/prediction/
DSharesheetModelScorerTest.java203 assertEquals(0.514f, mShareTarget1.getScore(), DELTA); in testComputeScore()
204 assertEquals(0.475125f, mShareTarget2.getScore(), DELTA); in testComputeScore()
205 assertEquals(0.33f, mShareTarget3.getScore(), DELTA); in testComputeScore()
206 assertEquals(0.4411f, mShareTarget4.getScore(), DELTA); in testComputeScore()
207 assertEquals(0f, mShareTarget5.getScore(), DELTA); in testComputeScore()
208 assertEquals(0f, mShareTarget6.getScore(), DELTA); in testComputeScore()
253 assertEquals(0.514f, mShareTarget1.getScore(), DELTA); in testComputeScoreForAppShare()
254 assertEquals(0.475125f, mShareTarget2.getScore(), DELTA); in testComputeScoreForAppShare()
255 assertEquals(0.33f, mShareTarget3.getScore(), DELTA); in testComputeScoreForAppShare()
256 assertEquals(0.4411f, mShareTarget4.getScore(), DELTA); in testComputeScoreForAppShare()
[all …]
/frameworks/base/core/java/com/android/internal/app/
DNoOpResolverComparator.java63 Comparator<ResolveInfo> c = Comparator.comparingDouble(r -> getScore((ResolveInfo) r)); in compare()
69 public float getScore(TargetInfo targetInfo) { in getScore() method in NoOpResolverComparator
70 return getScore(targetInfo.getResolveInfo()); in getScore()
77 public float getScore(ResolveInfo resolveInfo) { in getScore() method in NoOpResolverComparator
DAppPredictionServiceResolverComparator.java110 float getScore(TargetInfo targetInfo) { in getScore() method in AppPredictionServiceResolverComparator
111 return mComparatorModel.getScore(targetInfo); in getScore()
243 public float getScore(TargetInfo targetInfo) { in adaptLegacyResolverComparatorToComparatorModel() method in AppPredictionServiceResolverComparator.ModelBuilder
244 return comparator.getScore(targetInfo); in adaptLegacyResolverComparatorToComparatorModel()
290 public float getScore(TargetInfo targetInfo) {
DResolverComparatorModel.java48 float getScore(TargetInfo targetInfo); in getScore() method
DResolverListController.java406 public float getScore(DisplayResolveInfo target) { in getScore() method in ResolverListController
407 return mResolverComparator.getScore(target); in getScore()
413 public float getScore(TargetInfo targetInfo) { in getScore() method in ResolverListController
414 return mResolverComparator.getScore(targetInfo); in getScore()
DResolverRankerServiceResolverComparator.java268 public float getScore(TargetInfo targetInfo) { in getScore() method in ResolverRankerServiceResolverComparator
269 return mComparatorModel.getScore(targetInfo); in getScore()
589 public float getScore(TargetInfo targetInfo) { in getScore() method in ResolverRankerServiceResolverComparator
610 final float selectedProbability = getScore(targetInfo); in notifyOnTargetSelected()
DResolverListAdapter.java160 public float getScore(DisplayResolveInfo target) { in getScore() method in ResolverListAdapter
161 return mResolverListController.getScore(target); in getScore()
167 public float getScore(TargetInfo targetInfo) { in getScore() method in ResolverListAdapter
168 return mResolverListController.getScore(targetInfo); in getScore()
DChooserListAdapter.java579 float targetScore = target.getScore(); in addServiceResults()
607 + " base=" + target.getScore() in addServiceResults()
646 float score = super.getScore(target); in getBaseScore()
DAbstractResolverComparator.java248 abstract float getScore(TargetInfo targetInfo); in getScore() method in AbstractResolverComparator
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/
DTimestampedScoredNetworkTest.java53 assertThat(impl.getScore()).isEqualTo(updated); in testUpdate()
65 assertThat(fromParcel.getScore()).isEqualTo(impl.getScore()); in testParcel()
/frameworks/base/services/people/java/com/android/server/people/prediction/
DSharesheetModelScorer.java186 if (shareTarget.getScore() > targetsList.get(index).getScore()) { in postProcess()
210 if (target.getScore() > 0f) { in promoteMostChosenAndFrequentlyUsedApps()
212 minValidScore = Math.min(target.getScore(), minValidScore); in promoteMostChosenAndFrequentlyUsedApps()
246 if (target.getScore() > 0f) { in promoteApp()
260 target.getScore())); in promoteApp()
280 target.setScore(probOR(target.getScore(), FOREGROUND_APP_WEIGHT)); in promoteForegroundApp()
287 target.getScore())); in promoteForegroundApp()
DShareTargetPredictor.java122 Comparator.comparing(ShareTarget::getScore, reverseOrder()) in predictTargets()
148 Collections.sort(shareTargets, (t1, t2) -> -Float.compare(t1.getScore(), t2.getScore())); in sortTargets()
155 .setRank(shareTarget.getScore() > 0 ? (int) (shareTarget.getScore() in sortTargets()
260 float getScore() { in getScore() method in ShareTargetPredictor.ShareTarget
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DNoOpResolverComparatorTest.java93 float score1 = mComparator.getScore(resolution1.getResolveInfoAt(0)); in testKnownItemsGetNonZeroScoresInOrder()
94 float score2 = mComparator.getScore(resolution2.getResolveInfoAt(0)); in testKnownItemsGetNonZeroScoresInOrder()
106 assertThat(mComparator.getScore(resolution3.getResolveInfoAt(0))).isEqualTo(0.0f); in testUnknownItemsGetZeroScore()
DFakeResolverComparatorModel.java50 public float getScore(TargetInfo targetInfo) { in getScore() method in FakeResolverComparatorModel
DAbstractResolverComparatorTest.java118 float getScore(TargetInfo targetInfo) { in getTestComparator()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DHistoryTracker.java123 .map(CombinedResult::getScore) in falseConfidence()
128 .map(result -> Math.pow(result.getScore() - mean, 2)) in falseConfidence()
196 double getScore() { in getScore() method in HistoryTracker.CombinedResult
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DTimestampedScoredNetwork.java45 public ScoredNetwork getScore() { in getScore() method in TimestampedScoredNetwork
/frameworks/base/core/java/android/view/textclassifier/
DExtrasUtils.java121 public static float getScore(Bundle extra) { in getScore() method in ExtrasUtils
/frameworks/base/core/java/android/service/chooser/
DChooserTarget.java160 public float getScore() { in getScore() method in ChooserTarget
/frameworks/base/core/java/android/app/cloudsearch/
DSearchResult.java150 public float getScore() { in getScore() method in SearchResult
/frameworks/base/core/java/android/service/autofill/
DFieldClassification.java143 public float getScore() { in getScore() method in FieldClassification.Match
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/results/
DGlobalResultsStore.java122 Toast.makeText(mContext, "Score: " + result.getScore() in storeRunResults()
303 int score = result.getScore(); in exportToCsv()
DUiBenchmarkResult.java125 public int getScore() { in getScore() method in UiBenchmarkResult
/frameworks/base/core/java/android/hardware/camera2/params/
DFace.java178 public int getScore() { in getScore() method in Face
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/
DUiResultsFragment.java108 double score = mResults.get(i).getScore();

12