Home
last modified time | relevance | path

Searched refs:TYPE_BEDTIME (Results 1 – 9 of 9) sorted by relevance

/frameworks/proto_logging/stats/enums/dnd/
Ddnd_enums.proto82 TYPE_BEDTIME = 3; enumerator
/frameworks/base/core/java/android/app/
DAutomaticZenRule.java78 public static final int TYPE_BEDTIME = 3; field in AutomaticZenRule
109 TYPE_UNKNOWN, TYPE_OTHER, TYPE_SCHEDULE_TIME, TYPE_SCHEDULE_CALENDAR, TYPE_BEDTIME,
/frameworks/base/core/tests/coretests/src/android/app/
DAutomaticZenRuleTest.java206 .setType(AutomaticZenRule.TYPE_BEDTIME) in validate_builderWithValidType_succeeds()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeConfigTest.java19 import static android.app.AutomaticZenRule.TYPE_BEDTIME;
98 private final int TYPE = TYPE_BEDTIME;
DZenModeHelperTest.java19 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()
DNotificationManagerServiceTest.java9799 .setType(AutomaticZenRule.TYPE_BEDTIME) in testAddAutomaticZenRule_typeBedtimeCanBeUsedByWellbeing()
9813 addAutomaticZenRule_restrictedRuleTypeCanBeUsedBySystem(AutomaticZenRule.TYPE_BEDTIME); in testAddAutomaticZenRule_typeBedtimeCanBeUsedBySystem()
9822 AutomaticZenRule.TYPE_BEDTIME); in testAddAutomaticZenRule_typeBedtimeCannotBeUsedByRegularApps()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java533 if (addedRule.getType() == AutomaticZenRule.TYPE_BEDTIME) { in maybeReplaceDefaultRule()
DNotificationManagerService.java5602 } else if (rule.getType() == AutomaticZenRule.TYPE_BEDTIME) {
/frameworks/base/core/api/
Dcurrent.txt5422 field @FlaggedApi("android.app.modes_api") public static final int TYPE_BEDTIME = 3; // 0x3