Searched refs:nextAlarm (Results 1 – 8 of 8) sorted by relevance
43 public void maybeSetNextAlarm(long now, long nextAlarm) { in maybeSetNextAlarm() argument45 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()
164 AlarmManager.AlarmClockInfo nextAlarm = in refresh() local166 Patterns.update(mContext, nextAlarm != null); in refresh()169 refreshAlarmStatus(nextAlarm); in refresh()172 void refreshAlarmStatus(AlarmManager.AlarmClockInfo nextAlarm) { in refreshAlarmStatus() argument173 if (nextAlarm != null) { in refreshAlarmStatus()174 String alarm = formatNextAlarm(mContext, nextAlarm); in refreshAlarmStatus()
269 public void onNextAlarmChanged(AlarmManager.AlarmClockInfo nextAlarm) { in onNextAlarmChanged() argument270 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()
25 void onNextAlarmChanged(AlarmManager.AlarmClockInfo nextAlarm); in onNextAlarmChanged() argument
552 final long nextAlarm = mController.getNextAlarm(); in computeAlarmWarningText() local553 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) {
852 public long nextAlarm; field in ZenModeConfig.ScheduleInfo882 rt.nextAlarm = nextAlarm; in copy()895 ", nextAlarm=" + ts(nextAlarm) + in toString()
2406 for (int nextAlarm = 0; nextAlarm < numAlarms; nextAlarm++) { in recordWakeupAlarms()2407 Alarm a = b.alarms.get(nextAlarm); in recordWakeupAlarms()
669 public void onNextAlarmChanged(AlarmManager.AlarmClockInfo nextAlarm) {