Home
last modified time | relevance | path

Searched refs:DAY_IN_MILLIS (Results 1 – 25 of 26) sorted by relevance

12

/packages/apps/Calendar/tests/src/com/android/calendar/alerts/
DAlarmSchedulerTest.java192 long currentMillis = startMillisLocal - DateUtils.DAY_IN_MILLIS; in testAllDayEvent()
208 long currentMillis = startMillisLocal - DateUtils.DAY_IN_MILLIS; in testAllDayAndNonAllDayEvents()
236 long startMillis = currentMillis + DateUtils.DAY_IN_MILLIS * 3; in testAlarmMax()
237 int reminderMin = (int) DateUtils.DAY_IN_MILLIS / (1000 * 60); in testAlarmMax()
239 expectAlarmAt(currentMillis + DateUtils.DAY_IN_MILLIS); in testAlarmMax()
250 mMockProvider.addEventInfo(1, false, currentMillis + DateUtils.DAY_IN_MILLIS, 0); in testMultipleEvents()
267 mMockProvider.addEventInfo(1, false, currentMillis + DateUtils.DAY_IN_MILLIS * 3, in testRecurringEvents()
268 (int) DateUtils.DAY_IN_MILLIS * 2 / (1000 * 60) /* 2 day reminder */); in testRecurringEvents()
270 mMockProvider.addEventInfo(1, false, currentMillis + DateUtils.DAY_IN_MILLIS, in testRecurringEvents()
271 (int) DateUtils.DAY_IN_MILLIS * 2 / (1000 * 60) /* 2 day reminder */); in testRecurringEvents()
[all …]
DAlertServiceTest.java625 yesterday.set(System.currentTimeMillis() - DateUtils.DAY_IN_MILLIS); in testGenerateAlerts_refreshTime()
627 tomorrow.set(System.currentTimeMillis() + DateUtils.DAY_IN_MILLIS); in testGenerateAlerts_refreshTime()
796 long currentTime = earlierStartTime - DateUtils.DAY_IN_MILLIS * 5; in testProcessQuery_recurringEvent()
829 currentTime = laterStartTime + DateUtils.DAY_IN_MILLIS * 5; in testProcessQuery_recurringEvent()
856 long currentTime = day1 - DateUtils.DAY_IN_MILLIS * 3; in testProcessQuery_recurringAllDayEvent()
890 currentTime = day2 + DateUtils.DAY_IN_MILLIS * 1; in testProcessQuery_recurringAllDayEvent()
/packages/apps/UnifiedEmail/src/com/android/mail/
DFormattedDateBuilder.java78 return getRelativeDateTimeString(mContext, when, DateUtils.DAY_IN_MILLIS, in formatLongDateTime()
144 } else if (transitionResolution < DateUtils.DAY_IN_MILLIS) { in getRelativeDateTimeString()
145 transitionResolution = DateUtils.DAY_IN_MILLIS; in getRelativeDateTimeString()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarAlarmManager.java74 DateUtils.DAY_IN_MILLIS - (15 * DateUtils.MINUTE_IN_MILLIS);
112 private static final long CLEAR_OLD_ALARM_THRESHOLD = 7 * DateUtils.DAY_IN_MILLIS
375 start - DateUtils.DAY_IN_MILLIS, end + DateUtils.DAY_IN_MILLIS, false /* in scheduleNextAlarmLocked()
/packages/apps/Messaging/src/com/android/messaging/util/
DDates.java38 public static final long DAY_IN_MILLIS = HOUR_IN_MILLIS * 24; field in Dates
39 public static final long WEEK_IN_MILLIS = DAY_IN_MILLIS * 7;
250 } else if (duration < DAY_IN_MILLIS) { in getShortRelativeTimeSpanString()
/packages/apps/Calendar/src/com/android/calendar/alerts/
DAlarmScheduler.java93 private static final long MAX_ALARM_ELAPSED_MS = DateUtils.DAY_IN_MILLIS;
143 ContentUris.appendId(uriBuilder, localStartMin - DateUtils.DAY_IN_MILLIS); in queryUpcomingEvents()
144 ContentUris.appendId(uriBuilder, localStartMax + DateUtils.DAY_IN_MILLIS); in queryUpcomingEvents()
DAlertService.java1048 long ancient = now - DateUtils.DAY_IN_MILLIS; in rescheduleMissedAlarms()
/packages/apps/Calendar/src/com/android/calendar/widget/
DCalendarAppWidgetService.java100 private static final long SEARCH_DURATION = MAX_DAYS * DateUtils.DAY_IN_MILLIS;
405 long begin = now - DateUtils.DAY_IN_MILLIS;
406 long end = now + SEARCH_DURATION + DateUtils.DAY_IN_MILLIS;
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DStorageUtils.java21 import static android.text.format.DateUtils.DAY_IN_MILLIS;
68 static final long MIN_DELETE_AGE = DAY_IN_MILLIS;
/packages/apps/Settings/src/com/android/settings/widget/
DChartNetworkSeriesView.java36 import static android.text.format.DateUtils.DAY_IN_MILLIS;
276 entry = mStats.getValues(lastWeekTime - DAY_IN_MILLIS, lastWeekTime, now, entry); in generatePath()
DChartDataUsageView.java398 setBounds(currentTime - DateUtils.DAY_IN_MILLIS * 30, currentTime); in TimeAxis()
/packages/apps/Calendar/src/com/android/calendar/event/
DCreateEventDialogFragment.java164 mDateInMillis + DateUtils.DAY_IN_MILLIS, 0, 0, in onCreateDialog()
209 mModel.mEnd = mDateInMillis + DateUtils.DAY_IN_MILLIS; in createAllDayEvent()
DEditEventHelper.java920 long days = (end - start + DateUtils.DAY_IN_MILLIS - 1) in addRecurrenceRule()
921 / DateUtils.DAY_IN_MILLIS; in addRecurrenceRule()
1249 if (endMillis < startMillis + DateUtils.DAY_IN_MILLIS) { in getContentValuesFromModel()
1252 endMillis = startMillis + DateUtils.DAY_IN_MILLIS; in getContentValuesFromModel()
DEditEventView.java736 mEndTime.normalize(true) + DateUtils.DAY_IN_MILLIS; in fillModelFromUI()
739 mModel.mEnd = mModel.mStart + DateUtils.DAY_IN_MILLIS; in fillModelFromUI()
/packages/apps/Calendar/src/com/android/calendar/
DEvent.java87 + DateUtils.DAY_IN_MILLIS + " AS " + DISPLAY_AS_ALLDAY, // 19
640 return allDay || endMillis - startMillis >= DateUtils.DAY_IN_MILLIS; in drawAsAllday()
DCalendarViewAdapter.java403 long weekEndTime = weekStartTime + DateUtils.WEEK_IN_MILLIS - DateUtils.DAY_IN_MILLIS; in buildWeekDate()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertService.java56 import static android.text.format.DateUtils.DAY_IN_MILLIS;
90 private static final long DEFAULT_EXPIRATION_TIME = DAY_IN_MILLIS;
/packages/apps/ExactCalculator/src/com/android/calculator2/
DHistoryItem.java57 DateUtils.DAY_IN_MILLIS, DateUtils.FORMAT_ABBREV_RELATIVE); in getDateString()
/packages/apps/StorageManager/src/com/android/storagemanager/automatic/
DAutomaticStorageBroadcastReceiver.java34 private static final long PERIOD = DateUtils.DAY_IN_MILLIS;
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DAppDeletionPreference.java67 lastUse, now, DateUtils.DAY_IN_MILLIS, 0)); in updateSummary()
DFetchDownloadsLoader.java70 minimumAgeDays * DateUtils.DAY_IN_MILLIS; in collectFiles()
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DUtilsTest.java114 final double testMillis = 2 * DateUtils.DAY_IN_MILLIS in testFormatElapsedTime_TimeMoreThanOneDay_ShowCorrectly()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DRecentsLoader.java77 private static final long REJECT_OLDER_THAN = 45 * DateUtils.DAY_IN_MILLIS;
/packages/apps/Email/provider_src/com/android/email/service/
DImapService.java76 private static final long QUICK_SYNC_WINDOW_MILLIS = DateUtils.DAY_IN_MILLIS;
77 private static final long FULL_SYNC_WINDOW_MILLIS = 7 * DateUtils.DAY_IN_MILLIS;
/packages/apps/DeskClock/src/com/android/deskclock/
DUtils.java324 return nextAlarmTimeMillis - System.currentTimeMillis() <= DateUtils.DAY_IN_MILLIS; in isAlarmWithin24Hours()

12