Home
last modified time | relevance | path

Searched refs:setZenMode (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/
DZenModeSliceBuilderTest.java80 NotificationManager.from(mContext).setZenMode(Settings.Global.ZEN_MODE_OFF, null, ""); in handleUriChange_turnOn_zenModeTurnsOn()
92 NotificationManager.from(mContext).setZenMode( in handleUriChange_turnOff_zenModeTurnsOff()
/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenModeButtonPreferenceController.java83 mBackend.setZenMode(Settings.Global.ZEN_MODE_OFF); in updateState()
124 mBackend.setZenMode(Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS); in updateZenButtonOnClickListener()
DZenModeVoiceActivity.java79 NotificationManager.from(this).setZenMode(mode, condition.id, TAG); in setZenModeConfig()
81 NotificationManager.from(this).setZenMode(mode, null, TAG); in setZenModeConfig()
DZenModeBackend.java101 protected void setZenMode(int zenMode) { in setZenMode() method in ZenModeBackend
102 NotificationManager.from(mContext).setZenMode(zenMode, null, TAG); in setZenMode()
109 mNotificationManager.setZenMode(Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS, in setZenModeForDuration()
DZenModeSliceBuilder.java112 NotificationManager.from(context).setZenMode(zenMode, null /* conditionId */, TAG); in handleUriChange()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowNotificationManager.java37 protected void setZenMode(int mode, Uri conditionId, String reason) { in setZenMode() method in ShadowNotificationManager
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/conditional/
DDndConditionCardController.java89 mNotificationManager.setZenMode(Settings.Global.ZEN_MODE_OFF, null, TAG); in onActionClick()