/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/apps/DeskClock/src/com/android/deskclock/alarms/ |
D | AlarmStateManager.kt | 234 if (nextAlarm == null || instance.alarmTime.before(nextAlarm.alarmTime)) { in <lambda>() 249 time = AlarmUtils.getFormattedTime(context, nextAlarm.alarmTime) in <lambda>() 282 val alarmTime: Long = nextAlarm.alarmTime.timeInMillis in <lambda>() constant 290 val info = AlarmClockInfo(alarmTime, viewIntent) in <lambda>() 328 nextRepeatedInstance.alarmTime == instance.alarmTime) { in <lambda>() 329 nextRepeatedInstance = alarm.createInstanceAfter(instance.alarmTime) in <lambda>() 334 AlarmUtils.getFormattedTime(context, nextRepeatedInstance.alarmTime)) in <lambda>() 483 scheduleInstanceStateChange(context, instance.alarmTime, in <lambda>() 545 instance.alarmTime = newAlarmTime in <lambda>() 551 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 | 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>()
|
/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() 510 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 | HandleApiCalls.kt | 289 val time = DateFormat.getTimeFormat(this).format(alarmInstance.alarmTime.time) in handleSetAlarm() 427 popAlarmSetToast(this, variableInstance.alarmTime.timeInMillis) in setupInstance() 514 val alarmTime: Date = instance.alarmTime.time in dismissAlarmInstance() constant 515 val time = DateFormat.getTimeFormat(context).format(alarmTime) in dismissAlarmInstance() 543 alarmInstance.alarmTime.time) in snoozeAlarm()
|
D | Utils.kt | 298 val alarmTime = Calendar.getInstance() in getNextAlarmLOrLater() constant 299 alarmTime.timeInMillis = triggerTime in getNextAlarmLOrLater() 300 return AlarmUtils.getFormattedTime(context, alarmTime) in getNextAlarmLOrLater() 317 val nextAlarmTime: Calendar = alarmInstance.alarmTime in isAlarmWithin24Hours()
|
D | FetchMatchingAlarmsAction.kt | 114 val nextTime: Calendar = nextAlarm.alarmTime in run()
|
/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()
|
/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 | 2434 long alarmTime = begin + 5 * ONE_MINUTE_MILLIS; in internalTestDirty() local 2439 alert.put(CalendarContract.CalendarAlerts.ALARM_TIME, alarmTime); in internalTestDirty()
|
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpClient.java | 1128 long alarmTime = SystemClock.elapsedRealtime() + mTimeout; in maybeInitTimeout() local 1129 mTimeoutAlarm.schedule(alarmTime); in maybeInitTimeout() 1197 long alarmTime = now + timeout; in scheduleKick() local 1198 mKickAlarm.schedule(alarmTime); in scheduleKick()
|
/packages/modules/NetworkStack/src/android/net/ip/ |
D | IpClient.java | 2147 final long alarmTime = SystemClock.elapsedRealtime() in enter() local 2149 mProvisioningTimeoutAlarm.schedule(alarmTime); in enter() 2304 final long alarmTime = SystemClock.elapsedRealtime() in ensureDhcpAction() local 2306 mDhcpActionTimeoutAlarm.schedule(alarmTime); in ensureDhcpAction()
|