Searched refs:nowMillis (Results 1 – 3 of 3) sorted by relevance
48 Context context, long nowMillis, long timestampMillis, boolean abbreviateDateTime) { in newCallLogTimestampLabel() argument50 if (nowMillis - timestampMillis < TimeUnit.MINUTES.toMillis(1)) { in newCallLogTimestampLabel()55 if (nowMillis - timestampMillis < TimeUnit.HOURS.toMillis(1)) { in newCallLogTimestampLabel()59 nowMillis, in newCallLogTimestampLabel()68 timestampMillis, nowMillis, DateUtils.MINUTE_IN_MILLIS); in newCallLogTimestampLabel()71 int dayDifference = getDayDifference(nowMillis, timestampMillis); in newCallLogTimestampLabel()84 if (isWithinOneYear(nowMillis, timestampMillis)) { in newCallLogTimestampLabel()
138 int64_t nowMillis = getElapsedRealtimeMillis(); in pullAndSendHeartbeats() local141 if (pullInfo.mPrevPullElapsedRealtimeMs + pullInfo.mInterval >= nowMillis) { in pullAndSendHeartbeats()153 pullInfo.mPrevPullElapsedRealtimeMs = nowMillis; in pullAndSendHeartbeats()159 if (nowMillis - mLastWriteMs > kMsBetweenHeartbeats) { in pullAndSendHeartbeats()166 int64_t timeBeforePull = nextPullTime - nowMillis; // guaranteed to be non-negative in pullAndSendHeartbeats()169 int64_t timeBeforeHeartbeat = (mLastWriteMs + kMsBetweenHeartbeats) - nowMillis; in pullAndSendHeartbeats()
55 long nowMillis = System.currentTimeMillis(); in onHandleIntent() local59 clearOldPrograms(nowMillis - TimeUnit.DAYS.toMillis(maxProgramAgeInDays)); in onHandleIntent()65 clearOldWatchHistory(nowMillis - TimeUnit.DAYS.toMillis(maxWatchedProgramAgeInDays)); in onHandleIntent()