Searched refs:diffMs (Results 1 – 2 of 2) sorted by relevance
102 long diffMs = in calculateRoutineWatchScore() local105 (diffMs < MAX_DIFF_MS_FOR_OLD_PROGRAM) in calculateRoutineWatchScore()107 - (double) Math.max(diffMs - DIFF_MS_TOLERANCE_FOR_OLD_PROGRAM, 0) in calculateRoutineWatchScore()
1023 long diffMs = (d1.getElapsedTimestampNanos() - d0.getElapsedTimestampNanos()) / 1_000_000; in assertTimeDiffBetween() local1025 .that(diffMs).isIn(Range.closed((long) minDiffMs, (long) maxDiffMs)); in assertTimeDiffBetween()