/packages/apps/Calendar/tests/src/com/android/calendar/alerts/ |
D | AlarmSchedulerTest.java | 179 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()
|
D | AlertServiceTest.java | 652 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/ |
D | Dates.java | 36 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/ |
D | AbstractPublicApiTest.java | 21 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/ |
D | AlarmUtils.java | 162 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/ |
D | EditEventHelperTest.java | 916 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/ |
D | CalendarAlarmManager.java | 75 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/ |
D | DownloadScanner.java | 19 import static android.text.format.DateUtils.MINUTE_IN_MILLIS; 43 private static final long SCAN_TIMEOUT = MINUTE_IN_MILLIS;
|
D | DownloadService.java | 19 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/ |
D | TimerReceiver.java | 174 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()
|
D | TimerFragment.java | 118 > TimerObj.MINUTE_IN_MILLIS; 732 t.addTime(TimerObj.MINUTE_IN_MILLIS); in onPlusOneButtonPressed() 756 t.mTimeLeft = t.mOriginalLength = TimerObj.MINUTE_IN_MILLIS; in onPlusOneButtonPressed()
|
D | TimerFullScreenFragment.java | 730 t.addTime(TimerObj.MINUTE_IN_MILLIS); in onPlusOneButtonPressed() 743 t.mTimeLeft = t.mOriginalLength = TimerObj.MINUTE_IN_MILLIS; in onPlusOneButtonPressed()
|
D | TimerObj.java | 42 public static final long MINUTE_IN_MILLIS = 60 * 1000; field in TimerObj
|
/packages/apps/Calendar/src/com/android/calendar/widget/ |
D | CalendarAppWidgetService.java | 615 if (delta > DateUtils.MINUTE_IN_MILLIS) { 616 delta /= DateUtils.MINUTE_IN_MILLIS;
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | CalendarSettingsActivity.java | 65 if (Utils.getTardis() + DateUtils.MINUTE_IN_MILLIS > System.currentTimeMillis()) { in onBuildHeaders()
|
D | AllInOneActivity.java | 1076 DateUtils.MINUTE_IN_MILLIS - (millis % DateUtils.MINUTE_IN_MILLIS)); in updateSecondaryTitleFields()
|
/packages/apps/Email/provider_src/com/android/email/provider/ |
D | RefreshStatusMonitor.java | 28 public static final long REMOVE_REFRESH_TIMEOUT_MS = DateUtils.MINUTE_IN_MILLIS;
|
D | EmailConversationCursor.java | 62 private static final long AUTO_REFRESH_INTERVAL_MS = 5 * DateUtils.MINUTE_IN_MILLIS;
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/ |
D | DataStatus.java | 108 mTimestamp, System.currentTimeMillis(), DateUtils.MINUTE_IN_MILLIS, in getTimestampLabel()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
D | DataStatus.java | 114 mTimestamp, System.currentTimeMillis(), DateUtils.MINUTE_IN_MILLIS, in getTimestampLabel()
|
/packages/apps/Email/provider_src/com/android/email/mail/internet/ |
D | AuthenticationCache.java | 24 private static final long EXPIRATION_THRESHOLD = 5 * DateUtils.MINUTE_IN_MILLIS;
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
D | PhoneCallDetailsHelper.java | 216 DateUtils.MINUTE_IN_MILLIS, in getCallDate()
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
D | AlarmScheduler.java | 252 reminderMinutes * DateUtils.MINUTE_IN_MILLIS; in queryNextReminderAndSchedule()
|
/packages/apps/Email/provider_src/com/android/email/service/ |
D | EmailBroadcastProcessorService.java | 202 syncInterval * DateUtils.MINUTE_IN_MILLIS / DateUtils.SECOND_IN_MILLIS); in fixPeriodicSyncs()
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/ |
D | ContactHeaderWidget.java | 474 DateUtils.MINUTE_IN_MILLIS, flags); in setStatus()
|