/packages/apps/Calendar/src/com/android/calendar/alerts/ |
D | AlertUtils.java | 112 long alarmTime) { 113 scheduleAlarmHelper(context, manager, alarmTime, false); 121 long alarmTime) { 122 scheduleAlarmHelper(context, manager, alarmTime, true); 126 long alarmTime, boolean quietUpdate) { 136 ContentUris.appendId(builder, alarmTime); 140 intent.putExtra(CalendarContract.CalendarAlerts.ALARM_TIME, alarmTime); 143 manager.set(alarmType, alarmTime, pi); 203 long alarmTime, int minutes) { 208 values.put(CalendarAlerts.ALARM_TIME, alarmTime); [all …]
|
D | AlarmScheduler.java | 251 long alarmTime = startTime - in queryNextReminderAndSchedule() local 253 if (alarmTime > currentMillis && alarmTime < nextAlarmTime) { in queryNextReminderAndSchedule() 254 nextAlarmTime = alarmTime; in queryNextReminderAndSchedule() 259 timeObj.set(alarmTime); in queryNextReminderAndSchedule() 264 msg.append(", alarmTime:").append(alarmTime); in queryNextReminderAndSchedule() 290 private static void scheduleAlarm(Context context, long eventId, long alarmTime, in scheduleAlarm() argument 296 if (alarmTime > maxAlarmTime) { in scheduleAlarm() 297 alarmTime = maxAlarmTime; in scheduleAlarm() 301 alarmTime += ALARM_DELAY_MS; in scheduleAlarm() 305 time.set(alarmTime); in scheduleAlarm() [all …]
|
D | AlertService.java | 612 final long alarmTime = alertCursor.getLong(ALERT_INDEX_ALARM_TIME); in processQuery() local 616 time.set(alarmTime); in processQuery() 659 if (AlertUtils.BYPASS_DB && ((currentTime - alarmTime) / MINUTE_MS < 1)) { in processQuery() 665 beginTime, alarmTime); in processQuery() 673 msgBuilder.append("alertCursor result: alarmTime:").append(alarmTime) in processQuery() 683 .append(" alarmTime:").append(alarmTime) in processQuery() 736 alarmTime); in processQuery() 1068 long alarmTime = -1; in rescheduleMissedAlarms() local 1072 if (alarmTime != newAlarmTime) { in rescheduleMissedAlarms() 1077 alarmTime = newAlarmTime; in rescheduleMissedAlarms()
|
D | SnoozeAlarmsService.java | 79 long alarmTime = System.currentTimeMillis() + AlertUtils.SNOOZE_DELAY; in onHandleIntent() local 81 alarmTime, 0); in onHandleIntent() 84 alarmTime); in onHandleIntent()
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarAlarmManager.java | 409 final long alarmTime = cursor.getLong(alarmTimeIndex); in scheduleNextAlarmLocked() local 416 time.set(alarmTime); in scheduleNextAlarmLocked() 423 + " alarm: " + alarmTime + schedTime); in scheduleNextAlarmLocked() 426 if (alarmTime < nextAlarmTime) { in scheduleNextAlarmLocked() 427 nextAlarmTime = alarmTime; in scheduleNextAlarmLocked() 428 } else if (alarmTime > nextAlarmTime + DateUtils.MINUTE_IN_MILLIS) { in scheduleNextAlarmLocked() 440 if (CalendarAlerts.alarmExists(resolver, eventId, startTime, alarmTime)) { in scheduleNextAlarmLocked() 452 resolver, eventId, startTime, endTime, alarmTime, minutes); in scheduleNextAlarmLocked() 461 scheduleAlarm(alarmTime); in scheduleNextAlarmLocked() 519 public void scheduleAlarm(long alarmTime) { in scheduleAlarm() argument [all …]
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | AlarmUtils.java | 95 public static void popAlarmSetToast(Context context, long alarmTime) { in popAlarmSetToast() argument 96 final long alarmTimeDelta = alarmTime - System.currentTimeMillis(); in popAlarmSetToast() 103 public static void popAlarmSetSnackbar(View snackbarAnchor, long alarmTime) { in popAlarmSetSnackbar() argument 104 final long alarmTimeDelta = alarmTime - System.currentTimeMillis(); in popAlarmSetSnackbar()
|
D | Utils.java | 303 final Calendar alarmTime = Calendar.getInstance(); in getNextAlarmLOrLater() local 304 alarmTime.setTimeInMillis(triggerTime); in getNextAlarmLOrLater() 305 return AlarmUtils.getFormattedTime(context, alarmTime); in getNextAlarmLOrLater()
|
D | HandleApiCalls.java | 141 final Date alarmTime = instance.getAlarmTime().getTime(); in dismissAlarmInstance() local 142 final String time = DateFormat.getTimeFormat(context).format(alarmTime); in dismissAlarmInstance()
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
D | AlarmStateManager.java | 240 long alarmTime = nextAlarm.getAlarmTime().getTimeInMillis(); in updateNextAlarmInAlarmManager() local 247 final AlarmClockInfo info = new AlarmClockInfo(alarmTime, viewIntent); in updateNextAlarmInAlarmManager() 659 final Calendar alarmTime = instance.getAlarmTime(); in registerInstance() local 679 if (currentTime.before(alarmTime)) { in registerInstance() 698 if (currentTime.before(alarmTime)) { in registerInstance() 710 } else if (currentTime.after(alarmTime)) { in registerInstance() 715 alarmBuffer.setTime(alarmTime.getTime()); in registerInstance()
|
D | AlarmNotifications.java | 343 String alarmTime = AlarmUtils.getFormattedTime(context, instance.getAlarmTime()); in showMissedNotification() local 347 .setContentText(instance.mLabel.isEmpty() ? alarmTime : in showMissedNotification() 348 context.getString(R.string.alarm_missed_text, alarmTime, label)) in showMissedNotification()
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/selector/ |
D | AlarmSelectionAdapter.java | 55 final TextTime alarmTime = (TextTime) row.findViewById(R.id.digital_clock); in getView() local 56 alarmTime.setTime(alarm.hour, alarm.minutes); in getView()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | DictionaryService.java | 230 final long alarmTime = now + new Random().nextInt(MAX_ALARM_DELAY_MILLIS); in checkTimeAndMaybeSetupUpdateAlarm() local 238 if (null != alarmManager) alarmManager.set(AlarmManager.RTC, alarmTime, pendingIntent); in checkTimeAndMaybeSetupUpdateAlarm()
|
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/ |
D | AlertServiceTest.java | 203 long end, int minute, long alarmTime) { in Alert() argument 211 mAlarmTime = alarmTime; in Alert() 221 long end, long alarmTime) { in addAlertRow() argument 223 5 /* minute */, alarmTime); in addAlertRow()
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
D | CalendarProvider2ForTesting.java | 78 public void scheduleAlarm(long alarmTime) { in scheduleAlarm() argument
|
D | CalendarProvider2Test.java | 2311 long alarmTime = begin + 5 * ONE_MINUTE_MILLIS; in internalTestDirty() local 2316 alert.put(CalendarContract.CalendarAlerts.ALARM_TIME, alarmTime); in internalTestDirty()
|