Searched refs:shouldExitForAlarm (Results 1 – 7 of 7) sorted by relevance
61 assertFalse(mScheduleCalendar.shouldExitForAlarm(100)); in testNullScheduleInfo()179 assertFalse(mScheduleCalendar.shouldExitForAlarm(1000)); in testShouldExitForAlarm_settingOff()188 assertFalse(mScheduleCalendar.shouldExitForAlarm(999)); in testShouldExitForAlarm_beforeAlarm()197 assertFalse(mScheduleCalendar.shouldExitForAlarm(999)); in testShouldExitForAlarm_noAlarm()206 assertTrue(mScheduleCalendar.shouldExitForAlarm(1000)); in testShouldExitForAlarm()231 assertFalse(mScheduleCalendar.shouldExitForAlarm(now.getTimeInMillis())); in testShouldExitForAlarm_oldAlarm()266 assertFalse(mScheduleCalendar.shouldExitForAlarm(calNow.getTimeInMillis())); in testShouldExitForAlarm_oldAlarmInSchedule()
201 cal.shouldExitForAlarm(now.getTimeInMillis() + 1000)); in testEvaluateSubscription_alarmSetBeforeInSchedule()230 cal.shouldExitForAlarm(now.getTimeInMillis() + 1000)); in testEvaluateSubscription_alarmSetInSchedule()259 cal.shouldExitForAlarm(now.getTimeInMillis() + 1000)); in testEvaluateSubscription_earlierAlarmSet()288 cal.shouldExitForAlarm(now.getTimeInMillis() + 500)); in testEvaluateSubscription_laterAlarmSet()316 assertFalse(cal.shouldExitForAlarm(now.getTimeInMillis() + 500)); in testEvaluateSubscription_alarmCanceled()
159 public boolean shouldExitForAlarm(long time) { in shouldExitForAlarm() method in ScheduleCalendar
2051 if (schedule.shouldExitForAlarm(endTimeMs)) { in parseAutomaticRuleEndTime()
199 } else if (cal.shouldExitForAlarm(now)) { in evaluateSubscriptionLocked()
13322 HSPLandroid/service/notification/ScheduleCalendar;->shouldExitForAlarm(J)Z
68328 Landroid/service/notification/ScheduleCalendar;->shouldExitForAlarm(J)Z