Home
last modified time | relevance | path

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

12

/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DNetworkRanker.java86 FullScore getScore(); in getScore() method
156 final FullScore score = candidate.getScore(); in isPreferredBadWiFi()
199 if (!CollectionUtils.any(accepted, n -> n.getScore().hasPolicy(POLICY_YIELD_TO_BAD_WIFI))) { in applyYieldToBadWifiPolicy()
207 if (CollectionUtils.all(accepted, n -> n.getScore().hasPolicy(POLICY_YIELD_TO_BAD_WIFI))) { in applyYieldToBadWifiPolicy()
219 partitionInto(acceptedWithYielders, n -> !n.getScore().hasPolicy(POLICY_YIELD_TO_BAD_WIFI), in applyYieldToBadWifiPolicy()
250 partitionInto(candidates, nai -> nai.getScore().hasPolicy(POLICY_IS_INVINCIBLE), in getBestNetworkByPolicy()
256 partitionInto(candidates, nai -> nai.getScore().hasPolicy(POLICY_IS_VPN), in getBestNetworkByPolicy()
263 partitionInto(candidates, nai -> nai.getScore().hasPolicy(POLICY_EVER_USER_SELECTED) in getBestNetworkByPolicy()
264 && nai.getScore().hasPolicy(POLICY_ACCEPT_UNVALIDATED), in getBestNetworkByPolicy()
271 partitionInto(candidates, nai -> nai.getScore().hasPolicy(POLICY_IS_VALIDATED) in getBestNetworkByPolicy()
[all …]
DNetworkOffer.java73 @Override @NonNull public FullScore getScore() { in getScore() method in NetworkOffer
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/result/
Dsuggested_word.h32 if (left.getScore() != right.getScore()) { in operator()
33 return left.getScore() > right.getScore(); in operator()
57 int getScore() const { in getScore() function
Dsuggestion_results.cpp35 JniDataUtils::putIntToArray(env, outScoresArray, outputIndex, suggestedWord.getScore()); in outputSuggestions()
72 if (score > mWorstSuggestion.getScore() || (score == mWorstSuggestion.getScore() in addSuggestion()
87 outScores[copyOfSuggestedWords.size() - 1] = suggestedWord.getScore(); in getSortedScores()
102 DUMP_SUGGESTION(it->getCodePoint(), it->getCodePointCount(), index, it->getScore()); in dumpSuggestions()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiScoreReportTest.java539 int score = mWifiInfo.getScore(); in allowLowRssiIfDataIsMoving()
566 int score = mWifiInfo.getScore(); in giveUpOnBadRssiWhenDataIsNotMoving()
596 mWifiInfo.getScore() >= getTransitionScore());
605 mWifiInfo.getScore() < getTransitionScore());
635 int score = mWifiInfo.getScore();
658 oops += ":" + mWifiInfo.getScore();
660 int score = mWifiInfo.getScore();
686 oops += ":" + mWifiInfo.getScore();
687 if (mWifiInfo.getScore() < minScore) minScore = mWifiInfo.getScore();
711 assertTrue(mWifiInfo.getScore() > getTransitionScore());
[all …]
/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DShortcutSelectionLogic.java49 (lhs, rhs) -> Float.compare(rhs.getScore(), lhs.getScore());
92 float targetScore = target.getScore(); in addServiceResults()
135 + " base=" + target.getScore() in addServiceResults()
DResolverListController.java343 public float getScore(DisplayResolveInfo target) { in getScore() method in ResolverListController
344 return mResolverComparator.getScore(target); in getScore()
350 public float getScore(TargetInfo targetInfo) { in getScore() method in ResolverListController
351 return mResolverComparator.getScore(targetInfo); in getScore()
DResolverListAdapter.java166 public float getScore(DisplayResolveInfo target) { in getScore() method in ResolverListAdapter
167 return mResolverListController.getScore(target); in getScore()
173 public float getScore(TargetInfo targetInfo) { in getScore() method in ResolverListAdapter
174 return mResolverListController.getScore(targetInfo); in getScore()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/
DMatchScore.java100 public int getScore() { in getScore() method in MatchScore
141 return another.getScore() - getScore(); in compareTo()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiScoreReport.java371 if (mWifiConnectedNetworkScorerHolder == null && mLegacyIntScore == mWifiInfo.getScore()) { in reportNetworkScoreToConnectivityServiceIfNecessary()
646 if (mWifiInfo.getScore() > transitionScore && score <= transitionScore in calculateAndReportScore()
655 if (mWifiInfo.getScore() > transitionScore && score <= transitionScore) { in calculateAndReportScore()
668 if (mWifiInfo.getScore() >= transitionScore && score < transitionScore) { in calculateAndReportScore()
670 } else if (mWifiInfo.getScore() < transitionScore && score >= transitionScore) { in calculateAndReportScore()
675 score = mWifiInfo.getScore(); in calculateAndReportScore()
745 if (mLegacyIntScore != mWifiInfo.getScore()) { in updateWifiMetrics()
1084 public NetworkScore getScore() { in getScore() method in WifiScoreReport
1145 mNetworkAgent.sendNetworkScore(getScore());
/packages/modules/IntentResolver/java/src/com/android/intentresolver/model/
DAppPredictionServiceResolverComparator.java178 public float getScore(TargetInfo targetInfo) { in getScore() method in AppPredictionServiceResolverComparator
179 return mComparatorModel.getScore(targetInfo); in getScore()
257 public float getScore(TargetInfo targetInfo) { in getScore() method
259 return mResolverRankerService.getScore(targetInfo); in getScore()
DResolverRankerServiceResolverComparator.java288 public float getScore(TargetInfo targetInfo) { in getScore() method in ResolverRankerServiceResolverComparator
289 return mComparatorModel.getScore(targetInfo); in getScore()
611 public float getScore(TargetInfo targetInfo) { in getScore() method in ResolverRankerServiceResolverComparator
631 final float selectedProbability = getScore(targetInfo); in notifyOnTargetSelected()
DResolverComparatorModel.java48 float getScore(TargetInfo targetInfo); in getScore() method
/packages/apps/Camera2/src/com/android/camera/stats/
DCamera2FaceProxy.java36 Camera2FaceProxy convertedFace = new Camera2FaceProxy(face.getBounds(), face.getScore()); in from()
44 public int getScore() { in getScore() method in Camera2FaceProxy
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/classifier/
DOnDeviceClassifier.java194 classifications.sort(Comparator.comparing(Category::getScore).reversed()); in getAppClassificationTopics()
204 .sorted((c1, c2) -> Float.compare(c2.getScore(), c1.getScore())) // Reverse sorted. in getAppClassificationTopics()
215 return category.getScore() >= classifierThresholdValue; in isAboveThreshold()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/shortcuts/
DShortcutToChooserTargetConverter.java105 (ChooserTarget a, ChooserTarget b) -> -Float.compare(a.getScore(), b.getScore()); in convertToChooserTarget()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DAdsScoreGeneratorImplTest.java373 assertEquals(1L, scoringOutcome.get(0).getAdWithScore().getScore().longValue()); in testRunAdScoringSuccess()
374 assertEquals(2L, scoringOutcome.get(1).getAdWithScore().getScore().longValue()); in testRunAdScoringSuccess()
481 assertEquals(1L, scoringOutcome.get(0).getAdWithScore().getScore().longValue()); in testRunAdScoringContextual_Success()
482 assertEquals(2L, scoringOutcome.get(1).getAdWithScore().getScore().longValue()); in testRunAdScoringContextual_Success()
483 assertEquals(5L, scoringOutcome.get(4).getAdWithScore().getScore().longValue()); in testRunAdScoringContextual_Success()
631 assertEquals(1L, scoringOutcome.get(0).getAdWithScore().getScore().longValue()); in testRunAdScoringContextual_UseOverride_Success()
632 assertEquals(2L, scoringOutcome.get(1).getAdWithScore().getScore().longValue()); in testRunAdScoringContextual_UseOverride_Success()
633 assertEquals(5L, scoringOutcome.get(4).getAdWithScore().getScore().longValue()); in testRunAdScoringContextual_UseOverride_Success()
911 Assert.assertEquals(1L, scoringOutcome.get(0).getAdWithScore().getScore().longValue()); in testRunAdScoringUseDevOverrideForJS()
912 Assert.assertEquals(2L, scoringOutcome.get(1).getAdWithScore().getScore().longValue()); in testRunAdScoringUseDevOverrideForJS()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/
DOnDeviceAdSelectionRunner.java325 .filter(a -> a.getAdWithScore().getScore() > 0) in getWinningOutcome()
329 a.getAdWithScore().getScore(), in getWinningOutcome()
330 b.getAdWithScore().getScore())) in getWinningOutcome()
DAdWithScore.java33 public abstract Double getScore(); in getScore() method in AdWithScore
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/converter/
DGenericDocumentToProtoConverter.java59 .setScore(document.getScore()) in toDocumentProto()
137 .setScore(proto.getScore()) in toGenericDocument()
DSearchResultToProtoConverter.java98 .setRankingSignal(proto.getScore()); in toUnprefixedSearchResult()
/packages/modules/AppSearch/testing/servicestests/src/android/app/appsearch/testutil/external/testutil/
DAppSearchEmailTest.java46 assertThat(email.getScore()).isEqualTo(1); in testBuildEmailAndGetValue()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/network/
DTimestampedScoredNetwork.java45 public ScoredNetwork getScore() { in getScore() method in TimestampedScoredNetwork
DWifiUtils.java230 return timedScore.getScore().calculateBadge(result.level); in getSpecificApSpeed()
/packages/modules/IntentResolver/java/tests/src/com/android/intentresolver/model/
DAbstractResolverComparatorTest.java131 public float getScore(TargetInfo targetInfo) { in getTestComparator()

12