/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 | SnoozeAlarmsService.java | 79 long alarmTime = System.currentTimeMillis() + AlertUtils.SNOOZE_DELAY; in onHandleIntent() local 81 alarmTime, 0); in onHandleIntent() 84 alarmTime); in onHandleIntent()
|
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()
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarAlarmManager.java | 439 final long alarmTime = cursor.getLong(alarmTimeIndex); in scheduleNextAlarmLocked() local 446 time.set(alarmTime); in scheduleNextAlarmLocked() 453 + " alarm: " + alarmTime + schedTime); in scheduleNextAlarmLocked() 456 if (alarmTime < nextAlarmTime) { in scheduleNextAlarmLocked() 457 nextAlarmTime = alarmTime; in scheduleNextAlarmLocked() 458 } else if (alarmTime > nextAlarmTime + DateUtils.MINUTE_IN_MILLIS) { in scheduleNextAlarmLocked() 470 if (CalendarAlerts.alarmExists(resolver, eventId, startTime, alarmTime)) { in scheduleNextAlarmLocked() 482 resolver, eventId, startTime, endTime, alarmTime, minutes); in scheduleNextAlarmLocked() 491 scheduleAlarm(alarmTime); in scheduleNextAlarmLocked() 545 public void scheduleAlarm(long alarmTime) { in scheduleAlarm() argument [all …]
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | AlarmUtils.java | 89 public static void popAlarmSetToast(Context context, long alarmTime) { in popAlarmSetToast() argument 90 final long alarmTimeDelta = alarmTime - System.currentTimeMillis(); in popAlarmSetToast() 97 public static void popAlarmSetSnackbar(View snackbarAnchor, long alarmTime) { in popAlarmSetSnackbar() argument 98 final long alarmTimeDelta = alarmTime - System.currentTimeMillis(); in popAlarmSetSnackbar()
|
D | Utils.java | 458 final Calendar alarmTime = Calendar.getInstance(); in getNextAlarmLOrLater() local 459 alarmTime.setTimeInMillis(triggerTime); in getNextAlarmLOrLater() 460 return AlarmUtils.getFormattedTime(context, alarmTime); in getNextAlarmLOrLater()
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/selector/ |
D | AlarmSelectionAdapter.java | 50 final TextTime alarmTime = (TextTime) row.findViewById(R.id.digital_clock); in getView() local 51 alarmTime.setFormat(context); in getView() 52 alarmTime.setTime(alarm.hour, alarm.minutes); in getView()
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
D | AlarmStateManager.java | 246 long alarmTime = nextAlarm.getAlarmTime().getTimeInMillis(); in updateNextAlarmInAlarmManager() local 254 new AlarmManager.AlarmClockInfo(alarmTime, viewIntent); in updateNextAlarmInAlarmManager() 669 final Calendar alarmTime = instance.getAlarmTime(); in registerInstance() local 689 if (currentTime.before(alarmTime)) { in registerInstance() 708 if (currentTime.before(alarmTime)) { in registerInstance() 720 } else if (currentTime.after(alarmTime)) { in registerInstance() 725 alarmBuffer.setTime(alarmTime.getTime()); in registerInstance()
|
D | AlarmNotifications.java | 146 String alarmTime = AlarmUtils.getFormattedTime(context, instance.getAlarmTime()); in showMissedNotification() local 149 .setContentText(instance.mLabel.isEmpty() ? alarmTime : in showMissedNotification() 150 context.getString(R.string.alarm_missed_text, alarmTime, label)) in showMissedNotification()
|
/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/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
D | CalendarProvider2ForTesting.java | 74 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()
|
/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/services/Car/bluetooth/bt-map-service/ |
D | bt_hci_startup_issues.txt | 87623 …alarmTime, minutes, begin, end, description FROM CalendarAlerts, view_events WHERE (view_events._i… 87624 …alarmTime, minutes, begin, end, description FROM CalendarAlerts, view_events WHERE (view_events._i… 87626 …M CalendarAlerts CA WHERE CA.event_id=eventId AND CA.begin=begin AND CA.alarmTime=myAlarmTime) ORD… 87627 …M CalendarAlerts CA WHERE CA.event_id=eventId AND CA.begin=begin AND CA.alarmTime=myAlarmTime) ORD… 87632 …sql="SELECT alarmTime FROM CalendarAlerts, view_events WHERE (view_events._id=CalendarAlerts.event… 87633 …sql="SELECT alarmTime FROM CalendarAlerts, view_events WHERE (view_events._id=CalendarAlerts.event… 87634 …events AS e ON (ca.event_id=e._id) WHERE Instances.begin ISNULL OR ca.alarmTime<? OR (r.minute…
|