/packages/apps/Calendar/tests/src/com/android/calendar/alerts/ |
D | AlarmSchedulerTest.java | 192 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 …]
|
D | AlertServiceTest.java | 625 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/ |
D | FormattedDateBuilder.java | 78 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/ |
D | CalendarAlarmManager.java | 74 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/ |
D | Dates.java | 38 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/ |
D | AlarmScheduler.java | 93 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()
|
D | AlertService.java | 1048 long ancient = now - DateUtils.DAY_IN_MILLIS; in rescheduleMissedAlarms()
|
/packages/apps/Calendar/src/com/android/calendar/widget/ |
D | CalendarAppWidgetService.java | 100 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/ |
D | StorageUtils.java | 21 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/ |
D | ChartNetworkSeriesView.java | 36 import static android.text.format.DateUtils.DAY_IN_MILLIS; 276 entry = mStats.getValues(lastWeekTime - DAY_IN_MILLIS, lastWeekTime, now, entry); in generatePath()
|
D | ChartDataUsageView.java | 398 setBounds(currentTime - DateUtils.DAY_IN_MILLIS * 30, currentTime); in TimeAxis()
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
D | CreateEventDialogFragment.java | 164 mDateInMillis + DateUtils.DAY_IN_MILLIS, 0, 0, in onCreateDialog() 209 mModel.mEnd = mDateInMillis + DateUtils.DAY_IN_MILLIS; in createAllDayEvent()
|
D | EditEventHelper.java | 920 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()
|
D | EditEventView.java | 736 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/ |
D | Event.java | 87 + DateUtils.DAY_IN_MILLIS + " AS " + DISPLAY_AS_ALLDAY, // 19 640 return allDay || endMillis - startMillis >= DateUtils.DAY_IN_MILLIS; in drawAsAllday()
|
D | CalendarViewAdapter.java | 403 long weekEndTime = weekStartTime + DateUtils.WEEK_IN_MILLIS - DateUtils.DAY_IN_MILLIS; in buildWeekDate()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastAlertService.java | 56 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/ |
D | HistoryItem.java | 57 DateUtils.DAY_IN_MILLIS, DateUtils.FORMAT_ABBREV_RELATIVE); in getDateString()
|
/packages/apps/StorageManager/src/com/android/storagemanager/automatic/ |
D | AutomaticStorageBroadcastReceiver.java | 34 private static final long PERIOD = DateUtils.DAY_IN_MILLIS;
|
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
D | AppDeletionPreference.java | 67 lastUse, now, DateUtils.DAY_IN_MILLIS, 0)); in updateSummary()
|
D | FetchDownloadsLoader.java | 70 minimumAgeDays * DateUtils.DAY_IN_MILLIS; in collectFiles()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/ |
D | UtilsTest.java | 114 final double testMillis = 2 * DateUtils.DAY_IN_MILLIS in testFormatElapsedTime_TimeMoreThanOneDay_ShowCorrectly()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | RecentsLoader.java | 77 private static final long REJECT_OLDER_THAN = 45 * DateUtils.DAY_IN_MILLIS;
|
/packages/apps/Email/provider_src/com/android/email/service/ |
D | ImapService.java | 76 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/ |
D | Utils.java | 324 return nextAlarmTimeMillis - System.currentTimeMillis() <= DateUtils.DAY_IN_MILLIS; in isAlarmWithin24Hours()
|