Searched refs:manualDndMode (Results 1 – 6 of 6) sorted by relevance
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/modes/ |
D | ZenModesBackendTest.java | 163 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()
|
D | ZenModeSetTriggerLinkPreferenceControllerTest.java | 88 ZenMode manualMode = ZenMode.manualDndMode(new AutomaticZenRule.Builder("Do Not Disturb", in testIsAvailable()
|
D | ZenModeTest.java | 56 ZenMode manualMode = ZenMode.manualDndMode(ZEN_RULE, false); in testBasicMethods()
|
D | ZenModesListPreferenceControllerTest.java | 70 private static final ZenMode TEST_MANUAL_MODE = ZenMode.manualDndMode(
|
/packages/apps/Settings/src/com/android/settings/notification/modes/ |
D | ZenMode.java | 106 static ZenMode manualDndMode(AutomaticZenRule manualRule, boolean isActive) { in manualDndMode() method in ZenMode
|
D | ZenModesBackend.java | 177 return ZenMode.manualDndMode(manualDndRule, config != null && config.isManualActive()); in getManualDndMode()
|