Home
last modified time | relevance | path

Searched refs:nextAlarm (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/core/java/com/android/server/notification/
DScheduleCalendar.java43 public void maybeSetNextAlarm(long now, long nextAlarm) { in maybeSetNextAlarm() argument
45 if (mSchedule.exitAtAlarm && now > mSchedule.nextAlarm) { in maybeSetNextAlarm()
46 mSchedule.nextAlarm = nextAlarm; in maybeSetNextAlarm()
90 && mSchedule.nextAlarm != 0 in shouldExitForAlarm()
91 && time >= mSchedule.nextAlarm; in shouldExitForAlarm()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardStatusView.java164 AlarmManager.AlarmClockInfo nextAlarm = in refresh() local
166 Patterns.update(mContext, nextAlarm != null); in refresh()
169 refreshAlarmStatus(nextAlarm); in refresh()
172 void refreshAlarmStatus(AlarmManager.AlarmClockInfo nextAlarm) { in refreshAlarmStatus() argument
173 if (nextAlarm != null) { in refreshAlarmStatus()
174 String alarm = formatNextAlarm(mContext, nextAlarm); in refreshAlarmStatus()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSFooter.java269 public void onNextAlarmChanged(AlarmManager.AlarmClockInfo nextAlarm) { in onNextAlarmChanged() argument
270 mNextAlarm = nextAlarm; in onNextAlarmChanged()
271 if (nextAlarm != null) { in onNextAlarmChanged()
272 String alarmString = KeyguardStatusView.formatNextAlarm(getContext(), nextAlarm); in onNextAlarmChanged()
279 if (mAlarmShowing != (nextAlarm != null)) { in onNextAlarmChanged()
280 mAlarmShowing = nextAlarm != null; in onNextAlarmChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNextAlarmController.java25 void onNextAlarmChanged(AlarmManager.AlarmClockInfo nextAlarm); in onNextAlarmChanged() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DZenModePanel.java552 final long nextAlarm = mController.getNextAlarm(); in computeAlarmWarningText() local
553 if (nextAlarm < now) { in computeAlarmWarningText()
561 if (time > now && nextAlarm < time) { in computeAlarmWarningText()
568 final boolean soon = (nextAlarm - now) < 24 * 60 * 60 * 1000; in computeAlarmWarningText()
572 final CharSequence formattedTime = DateFormat.format(pattern, nextAlarm); in computeAlarmWarningText()
645 GregorianCalendar nextAlarm = new GregorianCalendar();
646 nextAlarm.setTimeInMillis(nextAlarmMs);
647 setToMidnight(nextAlarm);
649 if (weekRange.compareTo(nextAlarm) >= 0) {
/frameworks/base/core/java/android/service/notification/
DZenModeConfig.java852 public long nextAlarm; field in ZenModeConfig.ScheduleInfo
882 rt.nextAlarm = nextAlarm; in copy()
895 ", nextAlarm=" + ts(nextAlarm) + in toString()
/frameworks/base/services/core/java/com/android/server/
DAlarmManagerService.java2406 for (int nextAlarm = 0; nextAlarm < numAlarms; nextAlarm++) { in recordWakeupAlarms()
2407 Alarm a = b.alarms.get(nextAlarm); in recordWakeupAlarms()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarPolicy.java669 public void onNextAlarmChanged(AlarmManager.AlarmClockInfo nextAlarm) {