Home
last modified time | relevance | path

Searched refs:isManualDnd (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/src/com/android/settings/notification/modes/
DZenMode.java99 private ZenMode(String id, AutomaticZenRule rule, boolean isActive, boolean isManualDnd) { in ZenMode() argument
103 mIsManualDnd = isManualDnd; in ZenMode()
208 return !isManualDnd(); in canEditName()
212 return !isManualDnd(); in canEditIcon()
219 public boolean isManualDnd() { in isManualDnd() method in ZenMode
DZenModesBackend.java91 if (l.isManualDnd()) { in getModes()
93 } else if (r.isManualDnd()) { in getModes()
190 if (mode.isManualDnd()) { in updateMode()
208 if (mode.isManualDnd()) { in activateMode()
229 if (mode.isManualDnd()) { in deactivateMode()
DZenModeSetTriggerLinkPreferenceController.java49 return !zenMode.isManualDnd(); in isAvailable()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/modes/
DZenModeTest.java52 assertThat(zenMode.isManualDnd()).isFalse(); in testBasicMethods()
58 assertThat(manualMode.isManualDnd()).isTrue(); in testBasicMethods()