/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | NetworkRanker.java | 86 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 …]
|
D | NetworkOffer.java | 73 @Override @NonNull public FullScore getScore() { in getScore() method in NetworkOffer
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/result/ |
D | suggested_word.h | 32 if (left.getScore() != right.getScore()) { in operator() 33 return left.getScore() > right.getScore(); in operator() 57 int getScore() const { in getScore() function
|
D | suggestion_results.cpp | 35 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/ |
D | WifiScoreReportTest.java | 539 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/ |
D | ShortcutSelectionLogic.java | 49 (lhs, rhs) -> Float.compare(rhs.getScore(), lhs.getScore()); 92 float targetScore = target.getScore(); in addServiceResults() 135 + " base=" + target.getScore() in addServiceResults()
|
D | ResolverListController.java | 343 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()
|
D | ResolverListAdapter.java | 166 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/ |
D | MatchScore.java | 100 public int getScore() { in getScore() method in MatchScore 141 return another.getScore() - getScore(); in compareTo()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiScoreReport.java | 371 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/ |
D | AppPredictionServiceResolverComparator.java | 178 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()
|
D | ResolverRankerServiceResolverComparator.java | 288 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()
|
D | ResolverComparatorModel.java | 48 float getScore(TargetInfo targetInfo); in getScore() method
|
/packages/apps/Camera2/src/com/android/camera/stats/ |
D | Camera2FaceProxy.java | 36 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/ |
D | OnDeviceClassifier.java | 194 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/ |
D | ShortcutToChooserTargetConverter.java | 105 (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/ |
D | AdsScoreGeneratorImplTest.java | 373 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/ |
D | OnDeviceAdSelectionRunner.java | 325 .filter(a -> a.getAdWithScore().getScore() > 0) in getWinningOutcome() 329 a.getAdWithScore().getScore(), in getWinningOutcome() 330 b.getAdWithScore().getScore())) in getWinningOutcome()
|
D | AdWithScore.java | 33 public abstract Double getScore(); in getScore() method in AdWithScore
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/converter/ |
D | GenericDocumentToProtoConverter.java | 59 .setScore(document.getScore()) in toDocumentProto() 137 .setScore(proto.getScore()) in toGenericDocument()
|
D | SearchResultToProtoConverter.java | 98 .setRankingSignal(proto.getScore()); in toUnprefixedSearchResult()
|
/packages/modules/AppSearch/testing/servicestests/src/android/app/appsearch/testutil/external/testutil/ |
D | AppSearchEmailTest.java | 46 assertThat(email.getScore()).isEqualTo(1); in testBuildEmailAndGetValue()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/network/ |
D | TimestampedScoredNetwork.java | 45 public ScoredNetwork getScore() { in getScore() method in TimestampedScoredNetwork
|
D | WifiUtils.java | 230 return timedScore.getScore().calculateBadge(result.level); in getSpecificApSpeed()
|
/packages/modules/IntentResolver/java/tests/src/com/android/intentresolver/model/ |
D | AbstractResolverComparatorTest.java | 131 public float getScore(TargetInfo targetInfo) { in getTestComparator()
|