Home
last modified time | relevance | path

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

/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/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/DownloadProvider/tests/src/com/android/providers/downloads/
DAbstractPublicApiTest.java21 import static android.text.format.DateUtils.MINUTE_IN_MILLIS;
137 if (timeout > MINUTE_IN_MILLIS) { in waitForStatus()
145 if (timeout > MINUTE_IN_MILLIS) { in waitForStatus()
DPublicApiFunctionalTest.java150 download.runUntilStatus(DownloadManager.STATUS_SUCCESSFUL, 10 * DateUtils.MINUTE_IN_MILLIS); in testExtremelyLarge()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarAlarmManager.java326 String subQuerySuffix = " -(" + Reminders.MINUTES + "*" + +DateUtils.MINUTE_IN_MILLIS + ")" in scheduleNextAlarmLocked()
419 } else if (alarmTime > nextAlarmTime + DateUtils.MINUTE_IN_MILLIS) { in scheduleNextAlarmLocked()
471 scheduleNextAlarmCheck(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;
214 5 * MINUTE_IN_MILLIS); in enqueueFinalUpdate() local
/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmKlaxon.java147 int minutes = (int) Math.round(millis / (double)DateUtils.MINUTE_IN_MILLIS); in sendKillBroadcast()
296 autoSnoozeMinutes * DateUtils.MINUTE_IN_MILLIS); in enableKiller()
/packages/apps/Calendar/src/com/android/calendar/widget/
DCalendarAppWidgetService.java615 if (delta > DateUtils.MINUTE_IN_MILLIS) {
616 delta /= DateUtils.MINUTE_IN_MILLIS;
/packages/apps/Contacts/src/com/android/contacts/util/
DContactBadgeUtil.java51 DateUtils.MINUTE_IN_MILLIS, flags); in getSocialDate()
DDataStatus.java114 mTimestamp, System.currentTimeMillis(), DateUtils.MINUTE_IN_MILLIS, in getTimestampLabel()
/packages/apps/Calendar/src/com/android/calendar/
DCalendarSettingsActivity.java65 if (Utils.getTardis() + DateUtils.MINUTE_IN_MILLIS > System.currentTimeMillis()) { in onBuildHeaders()
DAllInOneActivity.java1069 DateUtils.MINUTE_IN_MILLIS - (millis % DateUtils.MINUTE_IN_MILLIS)); in updateSecondaryTitleFields()
DDayView.java1323 (MIN_EVENT_HEIGHT * DateUtils.MINUTE_IN_MILLIS / (mCellHeight / 60.0f)); in remeasure()
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/
DDataStatus.java108 mTimestamp, System.currentTimeMillis(), DateUtils.MINUTE_IN_MILLIS, in getTimestampLabel()
/packages/apps/Dialer/src/com/android/dialer/
DPhoneCallDetailsHelper.java90 DateUtils.MINUTE_IN_MILLIS, in setPhoneCallDetails()
/packages/apps/Calendar/src/com/android/calendar/alerts/
DAlarmScheduler.java252 reminderMinutes * DateUtils.MINUTE_IN_MILLIS; in queryNextReminderAndSchedule()
/packages/experimental/LoaderApp/src/com/android/loaderapp/
DContactHeaderWidget.java474 DateUtils.MINUTE_IN_MILLIS, flags); in setStatus()
/packages/apps/Settings/src/com/android/settings/applications/
DAppOpsState.java364 DateUtils.MINUTE_IN_MILLIS, in getTimeText()
/packages/apps/Email/src/com/android/email/service/
DAttachmentDownloadService.java63 private static final int PROCESS_QUEUE_WAIT_TIME = 30 * ((int)DateUtils.MINUTE_IN_MILLIS);
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DStopwatchFragment.java87 10 * DateUtils.MINUTE_IN_MILLIS, // < 10 minutes
/packages/apps/Calendar/src/com/android/calendar/event/
DEditEventHelper.java610 return defaultStartMillis + 30 * DateUtils.MINUTE_IN_MILLIS; in constructDefaultStartTime()