Home
last modified time | relevance | path

Searched refs:MINUTE_IN_MILLIS (Results 1 – 25 of 34) sorted by relevance

12

/packages/apps/Calendar/tests/src/com/android/calendar/alerts/
DAlarmSchedulerTest.java179 expectAlarmAt(startMillis - reminderMin * DateUtils.MINUTE_IN_MILLIS); in testNonAllDayEvent()
195 expectAlarmAt(startMillisLocal - reminderMin * DateUtils.MINUTE_IN_MILLIS); in testAllDayEvent()
211 expectAlarmAt(startMillisLocal - 15 * DateUtils.MINUTE_IN_MILLIS); in testAllDayAndNonAllDayEvents()
251 mMockProvider.addEventInfo(2, false, currentMillis + DateUtils.MINUTE_IN_MILLIS * 60, 45); in testMultipleEvents()
252 mMockProvider.addEventInfo(3, false, currentMillis + DateUtils.MINUTE_IN_MILLIS * 30, 10); in testMultipleEvents()
255 expectAlarmAt(currentMillis + DateUtils.MINUTE_IN_MILLIS * 15); in testMultipleEvents()
291 expectAlarmAt(currentMillis + DateUtils.DAY_IN_MILLIS - DateUtils.MINUTE_IN_MILLIS * 20); in testMultipleRemindersForEvent()
309 expectAlarmAt(currentMillis + DateUtils.MINUTE_IN_MILLIS * 50); in testLargeBatch()
DAlertServiceTest.java652 alarmMgr.expectAlarmTime(AlarmManager.RTC, currentTime + 15 * DateUtils.MINUTE_IN_MILLIS); in testGenerateAlerts_refreshTime()
664 alarmMgr.expectAlarmTime(AlarmManager.RTC, currentTime + 30 * DateUtils.MINUTE_IN_MILLIS); in testGenerateAlerts_refreshTime()
676 alarmMgr.expectAlarmTime(AlarmManager.RTC, currentTime + 20 * DateUtils.MINUTE_IN_MILLIS); in testGenerateAlerts_refreshTime()
688 alarmMgr.expectAlarmTime(AlarmManager.RTC, currentTime + 1 * DateUtils.MINUTE_IN_MILLIS); in testGenerateAlerts_refreshTime()
807 currentTime = earlierStartTime + DateUtils.MINUTE_IN_MILLIS * 10; in testProcessQuery_recurringEvent()
818 currentTime = earlierStartTime + DateUtils.MINUTE_IN_MILLIS * 15; in testProcessQuery_recurringEvent()
/packages/apps/Messaging/src/com/android/messaging/util/
DDates.java36 public static final long MINUTE_IN_MILLIS = SECOND_IN_MILLIS * 60; field in Dates
37 public static final long HOUR_IN_MILLIS = MINUTE_IN_MILLIS * 60;
67 if (now - time < DateUtils.MINUTE_IN_MILLIS) { in getRelativeTimeSpanString()
77 return DateUtils.getRelativeTimeSpanString(time, now, DateUtils.MINUTE_IN_MILLIS, in getRelativeTimeSpanString()
132 if (!minPeriodToday && timeDiff < DateUtils.MINUTE_IN_MILLIS) { in getTimestamp()
155 final long count = (timeDiff / MINUTE_IN_MILLIS); in getLessThanAnHourOldTimeString()
248 count = duration / MINUTE_IN_MILLIS; in getShortRelativeTimeSpanString()
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DAbstractPublicApiTest.java21 import static android.text.format.DateUtils.MINUTE_IN_MILLIS;
144 if (timeout > MINUTE_IN_MILLIS) { in waitForStatus()
152 if (timeout > MINUTE_IN_MILLIS) { in waitForStatus()
/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmUtils.java162 if (delta < DateUtils.MINUTE_IN_MILLIS) { in formatElapsedTimeUntilAlarm()
169 final long remainder = delta % DateUtils.MINUTE_IN_MILLIS; in formatElapsedTimeUntilAlarm()
170 delta += remainder == 0 ? 0 : (DateUtils.MINUTE_IN_MILLIS - remainder); in formatElapsedTimeUntilAlarm()
/packages/apps/Calendar/tests/src/com/android/calendar/event/
DEditEventHelperTest.java916 long expected = now + 30 * DateUtils.MINUTE_IN_MILLIS; in testConstructDefaultStartTime()
921 expected = now + 30 * DateUtils.MINUTE_IN_MILLIS; in testConstructDefaultStartTime()
925 now += DateUtils.MINUTE_IN_MILLIS; in testConstructDefaultStartTime()
929 now += DateUtils.MINUTE_IN_MILLIS; in testConstructDefaultStartTime()
933 now += 30 * DateUtils.MINUTE_IN_MILLIS; in testConstructDefaultStartTime()
934 expected += 30 * DateUtils.MINUTE_IN_MILLIS; in testConstructDefaultStartTime()
938 now += DateUtils.MINUTE_IN_MILLIS; in testConstructDefaultStartTime()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarAlarmManager.java75 DateUtils.DAY_IN_MILLIS - (15 * DateUtils.MINUTE_IN_MILLIS);
365 String subQuerySuffix = " -(" + Reminders.MINUTES + "*" + +DateUtils.MINUTE_IN_MILLIS + ")" in scheduleNextAlarmLocked()
458 } else if (alarmTime > nextAlarmTime + DateUtils.MINUTE_IN_MILLIS) { in scheduleNextAlarmLocked()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadScanner.java19 import static android.text.format.DateUtils.MINUTE_IN_MILLIS;
43 private static final long SCAN_TIMEOUT = MINUTE_IN_MILLIS;
DDownloadService.java19 import static android.text.format.DateUtils.MINUTE_IN_MILLIS;
274 5 * MINUTE_IN_MILLIS); in enqueueFinalUpdate() local
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerReceiver.java174 t.mTimeLeft = t. mOriginalLength = TimerObj.MINUTE_IN_MILLIS; in onReceive()
278 if (timerIsTicking && timeLeft > TimerObj.MINUTE_IN_MILLIS) { in showInUseNotification()
296 if (timeLeft <= TimerObj.MINUTE_IN_MILLIS) { in showInUseNotification()
DTimerFragment.java118 > TimerObj.MINUTE_IN_MILLIS;
732 t.addTime(TimerObj.MINUTE_IN_MILLIS); in onPlusOneButtonPressed()
756 t.mTimeLeft = t.mOriginalLength = TimerObj.MINUTE_IN_MILLIS; in onPlusOneButtonPressed()
DTimerFullScreenFragment.java730 t.addTime(TimerObj.MINUTE_IN_MILLIS); in onPlusOneButtonPressed()
743 t.mTimeLeft = t.mOriginalLength = TimerObj.MINUTE_IN_MILLIS; in onPlusOneButtonPressed()
DTimerObj.java42 public static final long MINUTE_IN_MILLIS = 60 * 1000; field in TimerObj
/packages/apps/Calendar/src/com/android/calendar/widget/
DCalendarAppWidgetService.java615 if (delta > DateUtils.MINUTE_IN_MILLIS) {
616 delta /= DateUtils.MINUTE_IN_MILLIS;
/packages/apps/Calendar/src/com/android/calendar/
DCalendarSettingsActivity.java65 if (Utils.getTardis() + DateUtils.MINUTE_IN_MILLIS > System.currentTimeMillis()) { in onBuildHeaders()
DAllInOneActivity.java1076 DateUtils.MINUTE_IN_MILLIS - (millis % DateUtils.MINUTE_IN_MILLIS)); in updateSecondaryTitleFields()
/packages/apps/Email/provider_src/com/android/email/provider/
DRefreshStatusMonitor.java28 public static final long REMOVE_REFRESH_TIMEOUT_MS = DateUtils.MINUTE_IN_MILLIS;
DEmailConversationCursor.java62 private static final long AUTO_REFRESH_INTERVAL_MS = 5 * DateUtils.MINUTE_IN_MILLIS;
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/
DDataStatus.java108 mTimestamp, System.currentTimeMillis(), DateUtils.MINUTE_IN_MILLIS, in getTimestampLabel()
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
DDataStatus.java114 mTimestamp, System.currentTimeMillis(), DateUtils.MINUTE_IN_MILLIS, in getTimestampLabel()
/packages/apps/Email/provider_src/com/android/email/mail/internet/
DAuthenticationCache.java24 private static final long EXPIRATION_THRESHOLD = 5 * DateUtils.MINUTE_IN_MILLIS;
/packages/apps/Dialer/src/com/android/dialer/calllog/
DPhoneCallDetailsHelper.java216 DateUtils.MINUTE_IN_MILLIS, in getCallDate()
/packages/apps/Calendar/src/com/android/calendar/alerts/
DAlarmScheduler.java252 reminderMinutes * DateUtils.MINUTE_IN_MILLIS; in queryNextReminderAndSchedule()
/packages/apps/Email/provider_src/com/android/email/service/
DEmailBroadcastProcessorService.java202 syncInterval * DateUtils.MINUTE_IN_MILLIS / DateUtils.SECOND_IN_MILLIS); in fixPeriodicSyncs()
/packages/experimental/LoaderApp/src/com/android/loaderapp/
DContactHeaderWidget.java474 DateUtils.MINUTE_IN_MILLIS, flags); in setStatus()

12