/frameworks/base/services/tests/servicestests/src/com/android/server/people/prediction/ |
D | SharesheetModelScorerTest.java | 203 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/ |
D | NoOpResolverComparator.java | 63 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
|
D | AppPredictionServiceResolverComparator.java | 110 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) {
|
D | ResolverComparatorModel.java | 48 float getScore(TargetInfo targetInfo); in getScore() method
|
D | ResolverListController.java | 406 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()
|
D | ResolverRankerServiceResolverComparator.java | 268 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()
|
D | ResolverListAdapter.java | 160 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()
|
D | ChooserListAdapter.java | 579 float targetScore = target.getScore(); in addServiceResults() 607 + " base=" + target.getScore() in addServiceResults() 646 float score = super.getScore(target); in getBaseScore()
|
D | AbstractResolverComparator.java | 248 abstract float getScore(TargetInfo targetInfo); in getScore() method in AbstractResolverComparator
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/ |
D | TimestampedScoredNetworkTest.java | 53 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/ |
D | SharesheetModelScorer.java | 186 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()
|
D | ShareTargetPredictor.java | 122 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/ |
D | NoOpResolverComparatorTest.java | 93 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()
|
D | FakeResolverComparatorModel.java | 50 public float getScore(TargetInfo targetInfo) { in getScore() method in FakeResolverComparatorModel
|
D | AbstractResolverComparatorTest.java | 118 float getScore(TargetInfo targetInfo) { in getTestComparator()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
D | HistoryTracker.java | 123 .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/ |
D | TimestampedScoredNetwork.java | 45 public ScoredNetwork getScore() { in getScore() method in TimestampedScoredNetwork
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | ExtrasUtils.java | 121 public static float getScore(Bundle extra) { in getScore() method in ExtrasUtils
|
/frameworks/base/core/java/android/service/chooser/ |
D | ChooserTarget.java | 160 public float getScore() { in getScore() method in ChooserTarget
|
/frameworks/base/core/java/android/app/cloudsearch/ |
D | SearchResult.java | 150 public float getScore() { in getScore() method in SearchResult
|
/frameworks/base/core/java/android/service/autofill/ |
D | FieldClassification.java | 143 public float getScore() { in getScore() method in FieldClassification.Match
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/results/ |
D | GlobalResultsStore.java | 122 Toast.makeText(mContext, "Score: " + result.getScore() in storeRunResults() 303 int score = result.getScore(); in exportToCsv()
|
D | UiBenchmarkResult.java | 125 public int getScore() { in getScore() method in UiBenchmarkResult
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | Face.java | 178 public int getScore() { in getScore() method in Face
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/ |
D | UiResultsFragment.java | 108 double score = mResults.get(i).getScore();
|