Home
last modified time | relevance | path

Searched refs:getRankingScore (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/logging/
DContextualCardLogUtilsTest.java57 assertThat(cardLog.getRankingScore()).isEqualTo(TEST_SCORE); in parseCardDismissLog_isValid_returnCorrectData()
72 assertThat(cardClickLog.getRankingScore()).isEqualTo(TEST_SCORE); in parseCardClickLog_isValid_returnCorrectData()
96 assertThat(cardClickLogList.get(0).getRankingScore()).isEqualTo(TEST_SCORE); in parseCardClickList_isValid_returnCorrectData()
98 assertThat(cardClickLogList.get(1).getRankingScore()).isEqualTo(-1d); in parseCardClickList_isValid_returnCorrectData()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/logging/
DContextualCardLogUtils.java58 public double getRankingScore() { in getRankingScore() method in ContextualCardLogUtils.CardLog
146 .append(card.getRankingScore()).append("|") in buildCardClickLog()
187 .append(card.getRankingScore()); in buildCardDismissLog()
221 .append("|").append(card.getRankingScore()); in buildCardListLog()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/logging/
DContextualCardLogUtils.java58 public double getRankingScore() { in getRankingScore() method in ContextualCardLogUtils.CardLog
146 .append(card.getRankingScore()).append("|") in buildCardClickLog()
187 .append(card.getRankingScore()); in buildCardDismissLog()
221 .append("|").append(card.getRankingScore()); in buildCardListLog()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/
DContextualCardFeatureProviderImpl.java112 intent.putExtra(EXTRA_CONTEXTUALCARD_SCORE, card.getRankingScore()); in logContextualCardDismiss()
133 intent.putExtra(EXTRA_CONTEXTUALCARD_SCORE, card.getRankingScore()); in logContextualCardClick()
172 .setCardScore(card.getRankingScore()) in serialize()
DContextualCardManager.java153 .sorted((c1, c2) -> Double.compare(c2.getRankingScore(), c1.getRankingScore())) in sortCards()
DEligibleCardChecker.java83 if (card.getRankingScore() < 0) { in isCardEligibleToDisplay()
DContextualCard.java84 public double getRankingScore() { in getRankingScore() method in ContextualCard
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/conditional/
DConditionalContextualCardTest.java48 assertThat(new ConditionalContextualCard.Builder().build().getRankingScore()) in getRankingScore_shouldAlwaysBeUnsupportedScore()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
DContextualCardManager.java176 .sorted((c1, c2) -> Double.compare(c2.getRankingScore(), c1.getRankingScore())) in sortCards()
DEligibleCardChecker.java87 if (card.getRankingScore() < 0) { in isCardEligibleToDisplay()
DContextualCard.java80 public double getRankingScore() { in getRankingScore() method in ContextualCard