Home
last modified time | relevance | path

Searched refs:manualDndMode (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/modes/
DZenModesBackendTest.java163 ZenMode.manualDndMode( in getModes_containsManualDndAndZenRules()
188 ZenMode.manualDndMode( in getMode_manualDnd_returnsMode()
263 ZenMode manualDnd = ZenMode.manualDndMode( in updateMode_manualDnd_setsDeviceEffects()
280 ZenMode manualDnd = ZenMode.manualDndMode( in updateMode_manualDnd_setsNotificationPolicy()
302 mBackend.activateMode(ZenMode.manualDndMode(MANUAL_DND_RULE, false), null); in activateMode_manualDnd_setsZenModeImportant()
310 mBackend.activateMode(ZenMode.manualDndMode(MANUAL_DND_RULE, false), in activateMode_manualDndWithDuration_setsZenModeImportantWithCondition()
337 mBackend.deactivateMode(ZenMode.manualDndMode(MANUAL_DND_RULE, true)); in deactivateMode_manualDnd_setsZenModeOff()
361 () -> mBackend.removeMode(ZenMode.manualDndMode(MANUAL_DND_RULE, false))); in removeMode_manualDnd_fails()
DZenModeSetTriggerLinkPreferenceControllerTest.java88 ZenMode manualMode = ZenMode.manualDndMode(new AutomaticZenRule.Builder("Do Not Disturb", in testIsAvailable()
DZenModeTest.java56 ZenMode manualMode = ZenMode.manualDndMode(ZEN_RULE, false); in testBasicMethods()
DZenModesListPreferenceControllerTest.java70 private static final ZenMode TEST_MANUAL_MODE = ZenMode.manualDndMode(
/packages/apps/Settings/src/com/android/settings/notification/modes/
DZenMode.java106 static ZenMode manualDndMode(AutomaticZenRule manualRule, boolean isActive) { in manualDndMode() method in ZenMode
DZenModesBackend.java177 return ZenMode.manualDndMode(manualDndRule, config != null && config.isManualActive()); in getManualDndMode()