Home
last modified time | relevance | path

Searched refs:getRankingScore (Results 1 – 6 of 6) 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/apps/Settings/tests/unit/src/com/android/settings/homepage/contextualcards/conditional/
DConditionalContextualCardTest.java49 assertThat(new ConditionalContextualCard.Builder().build().getRankingScore()) in getRankingScore_shouldAlwaysBeUnsupportedScore()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
DEligibleCardChecker.java87 if (card.getRankingScore() < 0) { in isCardEligibleToDisplay()
DContextualCardManager.java175 .sorted((c1, c2) -> Double.compare(c2.getRankingScore(), c1.getRankingScore())) in sortCards()
DContextualCard.java80 public double getRankingScore() { in getRankingScore() method in ContextualCard