Home
last modified time | relevance | path

Searched refs:ScheduleInfo (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DScheduleConditionProviderTest.java66 ZenModeConfig.ScheduleInfo info = new ZenModeConfig.ScheduleInfo(); in testIsValidConditionId()
83 ZenModeConfig.ScheduleInfo info = new ZenModeConfig.ScheduleInfo(); in testEvaluateSubscription_noAlarmExit_InSchedule()
107 ZenModeConfig.ScheduleInfo info = new ZenModeConfig.ScheduleInfo(); in testEvaluateSubscription_noAlarmExit_InScheduleSnoozed()
138 ZenModeConfig.ScheduleInfo info = new ZenModeConfig.ScheduleInfo(); in testEvaluateSubscription_noAlarmExit_beforeSchedule()
161 ZenModeConfig.ScheduleInfo info = new ZenModeConfig.ScheduleInfo(); in testEvaluateSubscription_noAlarmExit_endSchedule()
184 ZenModeConfig.ScheduleInfo info = getScheduleEndsInHour(now); in testEvaluateSubscription_alarmSetBeforeInSchedule()
212 ZenModeConfig.ScheduleInfo info = getScheduleEndsInHour(now); in testEvaluateSubscription_alarmSetInSchedule()
241 ZenModeConfig.ScheduleInfo info = getScheduleEndsInHour(now); in testEvaluateSubscription_earlierAlarmSet()
270 ZenModeConfig.ScheduleInfo info = getScheduleEndsInHour(now); in testEvaluateSubscription_laterAlarmSet()
299 ZenModeConfig.ScheduleInfo info = getScheduleEndsInHour(now); in testEvaluateSubscription_alarmCanceled()
[all …]
DZenModeHelperTest.java65 import android.service.notification.ZenModeConfig.ScheduleInfo;
203 final ScheduleInfo customRuleInfo = new ScheduleInfo(); in getCustomAutomaticRules()
818 final ScheduleInfo customRuleInfo = new ScheduleInfo(); in testWriteXmlWithZenPolicy()
863 final ScheduleInfo customRuleInfo = new ScheduleInfo(); in testReadXmlRestoreWithZenPolicy_forSystemUser()
900 final ScheduleInfo weeknights = new ScheduleInfo(); in testReadXmlRulesNotOverriden()
1065 final ScheduleInfo weeknights = new ScheduleInfo(); in testReadXmlAllDisabledRulesResetDefaultRules()
1101 final ScheduleInfo customRuleInfo = new ScheduleInfo(); in testReadXmlOnlyOneDefaultRuleExists()
1114 final ScheduleInfo defaultScheduleRuleInfo = new ScheduleInfo(); in testReadXmlOnlyOneDefaultRuleExists()
1152 final ScheduleInfo customRuleInfo = new ScheduleInfo(); in testReadXmlDefaultRulesExist()
1165 final ScheduleInfo defaultScheduleRuleInfo = new ScheduleInfo(); in testReadXmlDefaultRulesExist()
[all …]
DScheduleCalendarTest.java45 private ZenModeConfig.ScheduleInfo mScheduleInfo;
50 mScheduleInfo = new ZenModeConfig.ScheduleInfo(); in setUp()
/frameworks/base/core/java/android/service/notification/
DScheduleCalendar.java19 import android.service.notification.ZenModeConfig.ScheduleInfo;
36 private ScheduleInfo mSchedule;
53 public void setSchedule(ScheduleInfo schedule) { in setSchedule()
DZenModeConfig.java1134 final ScheduleInfo schedule = ZenModeConfig.tryParseScheduleConditionId(conditionId); in toScheduleCalendar()
1334 public static Uri toScheduleConditionId(ScheduleInfo schedule) { in toScheduleConditionId()
1346 ScheduleInfo info; in isValidScheduleConditionId()
1364 ScheduleInfo info; in isValidScheduleConditionId()
1378 public static ScheduleInfo tryParseScheduleConditionId(Uri conditionId) { in tryParseScheduleConditionId()
1388 final ScheduleInfo rt = new ScheduleInfo(); in tryParseScheduleConditionId()
1402 public static class ScheduleInfo { class in ZenModeConfig
1423 if (!(o instanceof ScheduleInfo)) return false; in equals()
1424 final ScheduleInfo other = (ScheduleInfo) o; in equals()
1433 public ScheduleInfo copy() { in copy()
[all …]