/packages/apps/Calendar/tests/src/com/android/calendar/alerts/ |
D | AlarmSchedulerTest.java | 175 long currentMillis = System.currentTimeMillis(); in testNonAllDayEvent() local 176 long startMillis = currentMillis + DateUtils.HOUR_IN_MILLIS; in testNonAllDayEvent() 183 currentMillis); in testNonAllDayEvent() 192 long currentMillis = startMillisLocal - DateUtils.DAY_IN_MILLIS; in testAllDayEvent() local 199 currentMillis); in testAllDayEvent() 208 long currentMillis = startMillisLocal - DateUtils.DAY_IN_MILLIS; in testAllDayAndNonAllDayEvents() local 215 currentMillis); in testAllDayAndNonAllDayEvents() 221 long currentMillis = System.currentTimeMillis(); in testExpiredReminder() local 222 long startMillis = currentMillis + DateUtils.HOUR_IN_MILLIS; in testExpiredReminder() 228 currentMillis); in testExpiredReminder() [all …]
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
D | AlarmScheduler.java | 111 int batchSize, long currentMillis) { in scheduleNextAlarm() argument 115 currentMillis); in scheduleNextAlarm() 118 context.getContentResolver(), alarmManager, batchSize, currentMillis); in scheduleNextAlarm() 131 long currentMillis) { in queryUpcomingEvents() argument 135 final long localStartMin = currentMillis; in queryUpcomingEvents() 178 int batchSize, long currentMillis) { in queryNextReminderAndSchedule() argument 253 if (alarmTime > currentMillis && alarmTime < nextAlarmTime) { in queryNextReminderAndSchedule() 281 scheduleAlarm(context, nextAlarmEventId, nextAlarmTime, currentMillis, alarmManager); in queryNextReminderAndSchedule() 291 long currentMillis, AlarmManagerInterface alarmManager) { in scheduleAlarm() argument 295 long maxAlarmTime = currentMillis + MAX_ALARM_ELAPSED_MS; in scheduleAlarm()
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
D | CalendarInteractionUtils.java | 29 public static String getDisplayedDatetime(long startMillis, long endMillis, long currentMillis, in getDisplayedDatetime() argument 39 currentTime.set(currentMillis); in getDisplayedDatetime() 49 localStartMillis, currentMillis, currentTime.gmtoff); in getDisplayedDatetime() 71 currentMillis, currentTime.gmtoff); in getDisplayedDatetime() 146 long currentMillis, long localGmtOffset) { in isTodayOrTomorrow() argument 148 int currentDay = Time.getJulianDay(currentMillis, localGmtOffset); in isTodayOrTomorrow()
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarAlarmManager.java | 309 final long currentMillis = System.currentTimeMillis(); in scheduleNextAlarmLocked() local 310 final long start = currentMillis - SCHEDULE_ALARM_SLACK; in scheduleNextAlarmLocked() 325 currentMillis - CLEAR_OLD_ALARM_THRESHOLD) }; in scheduleNextAlarmLocked() 332 final long tmpAlarmTime = CalendarAlerts.findNextAlarmTime(resolver, currentMillis); in scheduleNextAlarmLocked() 396 String.valueOf(currentMillis), String.valueOf(start), String.valueOf(nextAlarmTime), in scheduleNextAlarmLocked() 397 String.valueOf(currentMillis) }; in scheduleNextAlarmLocked() 501 scheduleAlarm(currentMillis); in scheduleNextAlarmLocked() 509 currentMillis + ALARM_CHECK_WHEN_NO_ALARM_IS_SCHEDULED_INTERVAL_MILLIS); in scheduleNextAlarmLocked()
|
/packages/apps/Dialer/src/com/android/dialer/database/ |
D | DialerDatabaseHelper.java | 756 Cursor updatedContactCursor, Long currentMillis) { in insertUpdatedContactsAndNumberPrefix() argument 822 insert.bindLong(14, currentMillis); in insertUpdatedContactsAndNumberPrefix() 910 final Long currentMillis = System.currentTimeMillis(); in updateSmartDialDatabase() local 971 insertUpdatedContactsAndNumberPrefix(db, updatedPhoneCursor, currentMillis); in updateSmartDialDatabase() 987 " = " + Long.toString(currentMillis), in updateSmartDialDatabase() 1049 editor.putLong(LAST_UPDATED_MILLIS, currentMillis); in updateSmartDialDatabase()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | Utils.java | 1404 public static String getDisplayedDatetime(long startMillis, long endMillis, long currentMillis, in getDisplayedDatetime() argument 1414 currentTime.set(currentMillis); in getDisplayedDatetime() 1424 localStartMillis, currentMillis, currentTime.gmtoff); in getDisplayedDatetime() 1446 currentMillis, currentTime.gmtoff); in getDisplayedDatetime() 1519 long currentMillis, long localGmtOffset) { in isTodayOrTomorrow() argument 1521 int currentDay = Time.getJulianDay(currentMillis, localGmtOffset); in isTodayOrTomorrow()
|
D | AllInOneActivity.java | 540 long currentMillis = System.currentTimeMillis(); in onResume() local 542 if (currentMillis > mIntentEventStartMillis && currentMillis < mIntentEventEndMillis) { in onResume() 543 selectedTime = currentMillis; in onResume()
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
D | SimpleDayPickerFragment.java | 130 long currentMillis = midnight.toMillis(true); 136 long millisToMidnight = midnight.normalize(true) - currentMillis;
|