Searched refs:MINUTE_IN_MILLIS (Results 1 - 25 of 36) sorted by relevance

12

/packages/apps/Calendar/tests/src/com/android/calendar/alerts/
H A DAlarmSchedulerTest.java179 expectAlarmAt(startMillis - reminderMin * DateUtils.MINUTE_IN_MILLIS);
195 expectAlarmAt(startMillisLocal - reminderMin * DateUtils.MINUTE_IN_MILLIS);
211 expectAlarmAt(startMillisLocal - 15 * DateUtils.MINUTE_IN_MILLIS);
251 mMockProvider.addEventInfo(2, false, currentMillis + DateUtils.MINUTE_IN_MILLIS * 60, 45);
252 mMockProvider.addEventInfo(3, false, currentMillis + DateUtils.MINUTE_IN_MILLIS * 30, 10);
255 expectAlarmAt(currentMillis + DateUtils.MINUTE_IN_MILLIS * 15);
291 expectAlarmAt(currentMillis + DateUtils.DAY_IN_MILLIS - DateUtils.MINUTE_IN_MILLIS * 20);
309 expectAlarmAt(currentMillis + DateUtils.MINUTE_IN_MILLIS * 50);
H A DAlertServiceTest.java652 alarmMgr.expectAlarmTime(AlarmManager.RTC, currentTime + 15 * DateUtils.MINUTE_IN_MILLIS);
664 alarmMgr.expectAlarmTime(AlarmManager.RTC, currentTime + 30 * DateUtils.MINUTE_IN_MILLIS);
676 alarmMgr.expectAlarmTime(AlarmManager.RTC, currentTime + 20 * DateUtils.MINUTE_IN_MILLIS);
688 alarmMgr.expectAlarmTime(AlarmManager.RTC, currentTime + 1 * DateUtils.MINUTE_IN_MILLIS);
807 currentTime = earlierStartTime + DateUtils.MINUTE_IN_MILLIS * 10;
818 currentTime = earlierStartTime + DateUtils.MINUTE_IN_MILLIS * 15;
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DDownloadScanner.java19 import static android.text.format.DateUtils.MINUTE_IN_MILLIS;
43 private static final long SCAN_TIMEOUT = MINUTE_IN_MILLIS;
H A DDownloadService.java19 import static android.text.format.DateUtils.MINUTE_IN_MILLIS;
214 5 * MINUTE_IN_MILLIS);
/packages/apps/Exchange/src/com/android/exchange/eas/
H A DEasPing.java70 8 * (DateUtils.MINUTE_IN_MILLIS / DateUtils.SECOND_IN_MILLIS);
76 8 * (DateUtils.MINUTE_IN_MILLIS / DateUtils.SECOND_IN_MILLIS);
82 28 * (DateUtils.MINUTE_IN_MILLIS / DateUtils.SECOND_IN_MILLIS);
88 5 * (DateUtils.MINUTE_IN_MILLIS / DateUtils.SECOND_IN_MILLIS);
H A DEasConnectionCache.java52 private static final long MAX_LIFETIME = 10 * DateUtils.MINUTE_IN_MILLIS;
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
H A DAbstractPublicApiTest.java21 import static android.text.format.DateUtils.MINUTE_IN_MILLIS;
137 if (timeout > MINUTE_IN_MILLIS) {
145 if (timeout > MINUTE_IN_MILLIS) {
/packages/apps/Contacts/src/com/android/contacts/util/
H A DContactBadgeUtil.java52 DateUtils.MINUTE_IN_MILLIS, flags);
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
H A DCalendarAlarmManager.java332 String subQuerySuffix = " -(" + Reminders.MINUTES + "*" + +DateUtils.MINUTE_IN_MILLIS + ")"
425 } else if (alarmTime > nextAlarmTime + DateUtils.MINUTE_IN_MILLIS) {
477 scheduleNextAlarmCheck(nextAlarmTime + DateUtils.MINUTE_IN_MILLIS);
/packages/apps/Calendar/src/com/android/calendar/
H A DCalendarSettingsActivity.java65 if (Utils.getTardis() + DateUtils.MINUTE_IN_MILLIS > System.currentTimeMillis()) {
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
H A DDataStatus.java114 mTimestamp, System.currentTimeMillis(), DateUtils.MINUTE_IN_MILLIS,
/packages/apps/Email/src/com/android/email/provider/
H A DRefreshStatusMonitor.java28 public static final long REMOVE_REFRESH_TIMEOUT_MS = DateUtils.MINUTE_IN_MILLIS;
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/
H A DDataStatus.java108 mTimestamp, System.currentTimeMillis(), DateUtils.MINUTE_IN_MILLIS,
/packages/apps/DeskClock/src/com/android/deskclock/timer/
H A DTimerReceiver.java166 t.mTimeLeft = t. mOriginalLength = TimerObj.MINUTE_IN_MILLIS;
257 if (timerIsTicking && timeLeft > TimerObj.MINUTE_IN_MILLIS) {
275 if (timeLeft <= TimerObj.MINUTE_IN_MILLIS) {
H A DTimerObj.java41 public static final long MINUTE_IN_MILLIS = 60 * 1000; field in class:TimerObj
H A DTimerFragment.java788 t.addTime(TimerObj.MINUTE_IN_MILLIS);
799 t.mTimeLeft = t. mOriginalLength = TimerObj.MINUTE_IN_MILLIS;
996 return TimerObj.MAX_TIMER_LENGTH - t.mTimeLeft > TimerObj.MINUTE_IN_MILLIS ? true : false;
/packages/apps/Exchange/src/com/android/exchange/
H A DEasAccountService.java114 static private final int ACCOUNT_MAILBOX_SLEEP_TIME = (int)(20 * DateUtils.MINUTE_IN_MILLIS);
116 (ACCOUNT_MAILBOX_SLEEP_TIME / DateUtils.MINUTE_IN_MILLIS) + "m";
513 long endTime = System.currentTimeMillis() + (30 * DateUtils.MINUTE_IN_MILLIS);
H A DEasOutboxService.java82 public static final int SEND_MAIL_TIMEOUT = (int)(15 * DateUtils.MINUTE_IN_MILLIS);
/packages/apps/Dialer/src/com/android/dialer/
H A DPhoneCallDetailsHelper.java96 DateUtils.MINUTE_IN_MILLIS,
/packages/apps/Calendar/tests/src/com/android/calendar/event/
H A DEditEventHelperTest.java916 long expected = now + 30 * DateUtils.MINUTE_IN_MILLIS;
921 expected = now + 30 * DateUtils.MINUTE_IN_MILLIS;
925 now += DateUtils.MINUTE_IN_MILLIS;
929 now += DateUtils.MINUTE_IN_MILLIS;
933 now += 30 * DateUtils.MINUTE_IN_MILLIS;
934 expected += 30 * DateUtils.MINUTE_IN_MILLIS;
938 now += DateUtils.MINUTE_IN_MILLIS;
/packages/apps/Calendar/src/com/android/calendar/widget/
H A DCalendarAppWidgetService.java615 if (delta > DateUtils.MINUTE_IN_MILLIS) {
616 delta /= DateUtils.MINUTE_IN_MILLIS;
/packages/apps/Calendar/src/com/android/calendar/alerts/
H A DAlarmScheduler.java252 reminderMinutes * DateUtils.MINUTE_IN_MILLIS;
/packages/apps/Email/src/com/android/email/service/
H A DEmailBroadcastProcessorService.java204 syncInterval * DateUtils.MINUTE_IN_MILLIS / DateUtils.SECOND_IN_MILLIS);
/packages/apps/Exchange/src/com/android/exchange/service/
H A DEasOutboxSyncHandler.java64 public static final long SEND_MAIL_TIMEOUT = 15 * DateUtils.MINUTE_IN_MILLIS;
/packages/apps/DeskClock/src/com/android/deskclock/
H A DUtils.java569 final int min = (Math.abs(gmtOffset) / (int) DateUtils.MINUTE_IN_MILLIS) % 60;

Completed in 1173 milliseconds

12