Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/dialer/calllogutils/
DCallLogDates.java48 Context context, long nowMillis, long timestampMillis, boolean abbreviateDateTime) { in newCallLogTimestampLabel() argument
50 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()
/packages/providers/TvProvider/src/com/android/providers/tv/
DEpgDataCleanupService.java55 long nowMillis = System.currentTimeMillis(); in onHandleIntent() local
59 clearOldPrograms(nowMillis - TimeUnit.DAYS.toMillis(maxProgramAgeInDays)); in onHandleIntent()
65 clearOldWatchHistory(nowMillis - TimeUnit.DAYS.toMillis(maxWatchedProgramAgeInDays)); in onHandleIntent()