Home
last modified time | relevance | path

Searched refs:shouldExitForAlarm (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DScheduleCalendarTest.java61 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()
DScheduleConditionProviderTest.java201 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()
/frameworks/base/core/java/android/service/notification/
DScheduleCalendar.java159 public boolean shouldExitForAlarm(long time) { in shouldExitForAlarm() method in ScheduleCalendar
DZenModeConfig.java2051 if (schedule.shouldExitForAlarm(endTimeMs)) { in parseAutomaticRuleEndTime()
/frameworks/base/services/core/java/com/android/server/notification/
DScheduleConditionProvider.java199 } else if (cal.shouldExitForAlarm(now)) { in evaluateSubscriptionLocked()
/frameworks/base/config/
Dboot-image-profile.txt13322 HSPLandroid/service/notification/ScheduleCalendar;->shouldExitForAlarm(J)Z
Dhiddenapi-greylist-max-o.txt68328 Landroid/service/notification/ScheduleCalendar;->shouldExitForAlarm(J)Z