Home
last modified time | relevance | path

Searched refs:diffMs (Results 1 – 2 of 2) sorted by relevance

/packages/apps/TV/src/com/android/tv/recommendation/
DRoutineWatchEvaluator.java102 long diffMs = in calculateRoutineWatchScore() local
105 (diffMs < MAX_DIFF_MS_FOR_OLD_PROGRAM) in calculateRoutineWatchScore()
107 - (double) Math.max(diffMs - DIFF_MS_TOLERANCE_FOR_OLD_PROGRAM, 0) in calculateRoutineWatchScore()
/packages/modules/StatsD/tests/src/android/cts/statsd/atom/
DAtomTestCase.java1023 long diffMs = (d1.getElapsedTimestampNanos() - d0.getElapsedTimestampNanos()) / 1_000_000; in assertTimeDiffBetween() local
1025 .that(diffMs).isIn(Range.closed((long) minDiffMs, (long) maxDiffMs)); in assertTimeDiffBetween()