Searched refs:TYPE_BEDTIME (Results 1 – 9 of 9) sorted by relevance
82 TYPE_BEDTIME = 3; enumerator
78 public static final int TYPE_BEDTIME = 3; field in AutomaticZenRule109 TYPE_UNKNOWN, TYPE_OTHER, TYPE_SCHEDULE_TIME, TYPE_SCHEDULE_CALENDAR, TYPE_BEDTIME,
206 .setType(AutomaticZenRule.TYPE_BEDTIME) in validate_builderWithValidType_succeeds()
19 import static android.app.AutomaticZenRule.TYPE_BEDTIME;98 private final int TYPE = TYPE_BEDTIME;
19 import static android.app.AutomaticZenRule.TYPE_BEDTIME;241 private static final int TYPE = TYPE_BEDTIME;2853 .setType(TYPE_BEDTIME) in addAutomaticZenRule_withTypeBedtime_replacesDisabledSleeping()2873 .setType(TYPE_BEDTIME) in addAutomaticZenRule_withTypeBedtime_keepsEnabledSleeping()2894 .setType(TYPE_BEDTIME) in addAutomaticZenRule_withTypeBedtime_keepsCustomizedSleeping()3725 .setType(TYPE_BEDTIME) in testZenModeEventLog_activeRuleTypes()3768 assertThat(ruleTypes0[0]).isEqualTo(TYPE_BEDTIME); in testZenModeEventLog_activeRuleTypes()3778 assertThat(ruleTypes1[0]).isEqualTo(TYPE_BEDTIME); in testZenModeEventLog_activeRuleTypes()3788 assertThat(ruleTypes2[0]).isEqualTo(TYPE_BEDTIME); in testZenModeEventLog_activeRuleTypes()
9799 .setType(AutomaticZenRule.TYPE_BEDTIME) in testAddAutomaticZenRule_typeBedtimeCanBeUsedByWellbeing()9813 addAutomaticZenRule_restrictedRuleTypeCanBeUsedBySystem(AutomaticZenRule.TYPE_BEDTIME); in testAddAutomaticZenRule_typeBedtimeCanBeUsedBySystem()9822 AutomaticZenRule.TYPE_BEDTIME); in testAddAutomaticZenRule_typeBedtimeCannotBeUsedByRegularApps()
533 if (addedRule.getType() == AutomaticZenRule.TYPE_BEDTIME) { in maybeReplaceDefaultRule()
5602 } else if (rule.getType() == AutomaticZenRule.TYPE_BEDTIME) {
5422 field @FlaggedApi("android.app.modes_api") public static final int TYPE_BEDTIME = 3; // 0x3