Searched refs:getTotalWatchDurationMs (Results 1 – 3 of 3) sorted by relevance
80 assertThat(mChannelRecord.getTotalWatchDurationMs()).isEqualTo(0); in testGetTotalWatchDuration_noHistory()87 assertThat(mChannelRecord.getTotalWatchDurationMs()).isEqualTo(durationMs); in testGetTotalWatchDuration_oneHistory()98 assertThat(mChannelRecord.getTotalWatchDurationMs()).isEqualTo(totalWatchTimeMs); in testGetTotalWatchDuration_maxHistories()114 assertThat(mChannelRecord.getTotalWatchDurationMs()) in testGetTotalWatchDuration_moreThanMaxHistories()
44 if (cr.getTotalWatchDurationMs() == 0) { in evaluateChannel()49 return (double) cr.getTotalWatchDurationMs() / Math.max(watchPeriodMs, MIN_WATCH_PERIOD_MS); in evaluateChannel()
83 public long getTotalWatchDurationMs() { in getTotalWatchDurationMs() method in ChannelRecord