/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
D | AlarmStateManager.kt | 235 if (nextAlarm == null || instance.alarmTime.before(nextAlarm.alarmTime)) { in <lambda>() 250 time = AlarmUtils.getFormattedTime(context, nextAlarm.alarmTime) in <lambda>() 283 val alarmTime: Long = nextAlarm.alarmTime.timeInMillis in <lambda>() constant 291 val info = AlarmClockInfo(alarmTime, viewIntent) in <lambda>() 329 nextRepeatedInstance.alarmTime == instance.alarmTime) { in <lambda>() 330 nextRepeatedInstance = alarm.createInstanceAfter(instance.alarmTime) in <lambda>() 335 AlarmUtils.getFormattedTime(context, nextRepeatedInstance.alarmTime)) in <lambda>() 484 scheduleInstanceStateChange(context, instance.alarmTime, in <lambda>() 546 instance.alarmTime = newAlarmTime in <lambda>() 552 scheduleInstanceStateChange(context, instance.alarmTime, in <lambda>() [all …]
|
D | AlarmNotifications.kt | 392 AlarmUtils.getFormattedTime(context, instance.alarmTime))) in showSnoozeNotification() 442 val alarmTime: String = AlarmUtils.getFormattedTime(context, instance.alarmTime) in showMissedNotification() constant 448 alarmTime in showMissedNotification() 450 context.getString(R.string.alarm_missed_text, alarmTime, label) in showMissedNotification() 502 service, instance.alarmTime)) in showAlarmNotification() 600 val timeKey = SORT_KEY_FORMAT.format(instance.alarmTime.time) in createSortKey()
|
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 | AlarmUpdateHandler.kt | 81 instance.alarmTime.timeInMillis) in <lambda>() 136 mSnackbarAnchor!!, instance.alarmTime.timeInMillis) in <lambda>() 176 val time: String = DateFormat.getTimeFormat(mAppContext).format(instance.alarmTime.time) in <lambda>()
|
D | AlarmNotifications.java | 319 String alarmTime = AlarmUtils.getFormattedTime(context, instance.getAlarmTime()); in showMissedNotification() local 324 .setContentText(instance.mLabel.isEmpty() ? alarmTime : in showMissedNotification() 325 context.getString(R.string.alarm_missed_text, alarmTime, label)) in showMissedNotification()
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
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 | AlertUtils.java | 95 long alarmTime) {
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarAlarmManager.java | 389 final long alarmTime = cursor.getLong(alarmTimeIndex); in scheduleNextAlarmLocked() local 396 time.set(alarmTime); in scheduleNextAlarmLocked() 403 + " alarm: " + alarmTime + schedTime); in scheduleNextAlarmLocked() 406 if (alarmTime < nextAlarmTime) { in scheduleNextAlarmLocked() 407 nextAlarmTime = alarmTime; in scheduleNextAlarmLocked() 408 } else if (alarmTime > nextAlarmTime + DateUtils.MINUTE_IN_MILLIS) { in scheduleNextAlarmLocked() 420 if (CalendarAlerts.alarmExists(resolver, eventId, startTime, alarmTime)) { in scheduleNextAlarmLocked() 432 resolver, eventId, startTime, endTime, alarmTime, minutes); in scheduleNextAlarmLocked() 441 scheduleAlarm(alarmTime); in scheduleNextAlarmLocked() 505 public void scheduleAlarm(long alarmTime) { in scheduleAlarm() argument [all …]
|
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
D | AlarmInstance.kt | 71 alarmTime = calendar 141 var alarmTime: Calendar variable in com.android.deskclock.provider.AlarmInstance 168 val calendar = alarmTime 180 val calendar = alarmTime 192 val calendar = alarmTime 211 val calendar = alarmTime 404 if (instance.alarmTime.before(nextAlarmInstance.alarmTime)) { in getNextUpcomingInstanceByAlarmId() 479 if (otherInstances.alarmTime == instance.alarmTime) { in addInstance()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | AlarmUtils.kt | 54 val alarmTimeStr: String = getFormattedTime(context, instance.alarmTime) in getAlarmText() 101 fun popAlarmSetToast(context: Context, alarmTime: Long) { in popAlarmSetToast() 102 val alarmTimeDelta = alarmTime - System.currentTimeMillis() in popAlarmSetToast() 110 fun popAlarmSetSnackbar(snackbarAnchor: View, alarmTime: Long) { in popAlarmSetSnackbar() 111 val alarmTimeDelta = alarmTime - System.currentTimeMillis() in popAlarmSetSnackbar()
|
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 | 310 final Calendar alarmTime = Calendar.getInstance(); in getNextAlarmLOrLater() local 311 alarmTime.setTimeInMillis(triggerTime); in getNextAlarmLOrLater() 312 return AlarmUtils.getFormattedTime(context, alarmTime); in getNextAlarmLOrLater()
|
D | HandleApiCalls.java | 144 final Date alarmTime = instance.getAlarmTime().getTime(); in dismissAlarmInstance() local 145 final String time = DateFormat.getTimeFormat(context).format(alarmTime); in dismissAlarmInstance()
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/selector/ |
D | AlarmSelectionAdapter.kt | 49 val alarmTime = row!!.findViewById<View>(R.id.digital_clock) as TextTime in getView() constant 50 alarmTime.setTime(alarm!!.hour, alarm.minutes) in getView()
|
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/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
D | CalendarProvider2ForTesting.java | 82 public void scheduleAlarm(long alarmTime) { in scheduleAlarm() argument
|
D | CalendarProvider2Test.java | 2415 long alarmTime = begin + 5 * ONE_MINUTE_MILLIS; in internalTestDirty() local 2420 alert.put(CalendarContract.CalendarAlerts.ALARM_TIME, alarmTime); in internalTestDirty()
|
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpClient.java | 1084 long alarmTime = SystemClock.elapsedRealtime() + mTimeout; in maybeInitTimeout() local 1085 mTimeoutAlarm.schedule(alarmTime); in maybeInitTimeout() 1153 long alarmTime = now + timeout; in scheduleKick() local 1154 mKickAlarm.schedule(alarmTime); in scheduleKick()
|
/packages/modules/NetworkStack/src/android/net/ip/ |
D | IpClient.java | 1867 final long alarmTime = SystemClock.elapsedRealtime() in enter() local 1869 mProvisioningTimeoutAlarm.schedule(alarmTime); in enter() 2015 final long alarmTime = SystemClock.elapsedRealtime() in ensureDhcpAction() local 2017 mDhcpActionTimeoutAlarm.schedule(alarmTime); in ensureDhcpAction()
|