Searched refs:ScheduledAlarm (Results 1 – 2 of 2) sorted by relevance
32 private final List<ScheduledAlarm> scheduledAlarms = new ArrayList<>();117 for (ScheduledAlarm scheduledAlarm : scheduledAlarms) { in getNextAlarmClock()129 scheduledAlarms.add(new ScheduledAlarm(type, triggerAtTime, interval, operation, showIntent)); in internalSet()136 scheduledAlarms.add(new ScheduledAlarm(type, triggerAtTime, 0L, listener, handler)); in internalSet()143 public ScheduledAlarm getNextScheduledAlarm() { in getNextScheduledAlarm()154 public ScheduledAlarm peekNextScheduledAlarm() { in peekNextScheduledAlarm()165 public List<ScheduledAlarm> getScheduledAlarms() { in getScheduledAlarms()174 for (ScheduledAlarm scheduledAlarm : scheduledAlarms) { in cancel()189 for (ScheduledAlarm scheduledAlarm : scheduledAlarms) { in cancel()202 public static class ScheduledAlarm implements Comparable<ScheduledAlarm> { class in ShadowAlarmManager[all …]
216 ShadowAlarmManager.ScheduledAlarm scheduledAlarm = shadowAlarmManager.getNextScheduledAlarm(); in shouldSupportGetNextScheduledAlarm()230 ShadowAlarmManager.ScheduledAlarm scheduledAlarm = shadowAlarmManager.getNextScheduledAlarm(); in getNextScheduledAlarm_shouldReturnRepeatingAlarms()244 ShadowAlarmManager.ScheduledAlarm scheduledAlarm = shadowAlarmManager.peekNextScheduledAlarm(); in peekNextScheduledAlarm_shouldReturnNextAlarm()381 ShadowAlarmManager.ScheduledAlarm scheduledAlarm) { in assertScheduledAlarm()386 ShadowAlarmManager.ScheduledAlarm scheduledAlarm) { in assertRepeatingScheduledAlarm()