/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/ |
D | ZenModeSliceBuilderTest.java | 121 verify(mNm).setZenMode(eq(ZEN_MODE_IMPORTANT_INTERRUPTIONS), any(), any(), eq(true)); in handleUriChange_turnOn_zenModeTurnsOn() 123 verify(mNm).setZenMode(eq(ZEN_MODE_IMPORTANT_INTERRUPTIONS), any(), any()); in handleUriChange_turnOn_zenModeTurnsOn() 135 verify(mNm).setZenMode(eq(ZEN_MODE_OFF), any(), any(), eq(true)); in handleUriChange_turnOff_zenModeTurnsOff() 137 verify(mNm).setZenMode(eq(ZEN_MODE_OFF), any(), any()); in handleUriChange_turnOff_zenModeTurnsOff()
|
/packages/apps/Settings/src/com/android/settings/notification/modes/ |
D | ZenModesListItemPreference.java | 33 setZenMode(zenMode); in ZenModesListItemPreference() 42 public void setZenMode(ZenMode zenMode) { in setZenMode() method in ZenModesListItemPreference
|
D | ZenModesBackend.java | 214 mNotificationManager.setZenMode(Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS, in activateMode() 231 mNotificationManager.setZenMode(Settings.Global.ZEN_MODE_OFF, null, TAG, in deactivateMode()
|
D | AbstractZenModePreferenceController.java | 82 protected final void setZenMode(@NonNull ZenMode zenMode) { in setZenMode() method in AbstractZenModePreferenceController
|
D | ZenModesListPreferenceController.java | 90 modePreference.setZenMode(mode); in updateState()
|
D | ZenModeFragmentBase.java | 69 ((AbstractZenModePreferenceController) controller).setZenMode(mZenMode); in onAttach()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/modes/ |
D | ZenModeButtonPreferenceControllerTest.java | 82 mController.setZenMode(zenMode); in isAvailable_notIfAppOptsOut() 96 mController.setZenMode(zenMode); in isAvailable_notIfModeDisabled() 110 mController.setZenMode(zenMode); in isAvailable_appOptedIn_modeEnabled()
|
D | ZenModesBackendTest.java | 304 verify(mNm).setZenMode(eq(Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS), eq(null), in activateMode_manualDnd_setsZenModeImportant() 313 verify(mNm).setZenMode(eq(Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS), in activateMode_manualDndWithDuration_setsZenModeImportantWithCondition() 339 verify(mNm).setZenMode(eq(ZEN_MODE_OFF), eq(null), any(), eq(true)); in deactivateMode_manualDnd_setsZenModeOff()
|
D | ZenModeIconPickerListPreferenceControllerTest.java | 87 mController.setZenMode(ZEN_MODE); in selectIcon_updatesMode()
|
/packages/apps/Settings/src/com/android/settings/notification/zen/ |
D | ZenModeBackend.java | 105 protected void setZenMode(int zenMode) { in setZenMode() method in ZenModeBackend 107 mNotificationManager.setZenMode(zenMode, null, TAG, /* fromUser= */ true); in setZenMode() 109 NotificationManager.from(mContext).setZenMode(zenMode, null, TAG); in setZenMode() 118 mNotificationManager.setZenMode(Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS, in setZenModeForDuration() 121 mNotificationManager.setZenMode(Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS, in setZenModeForDuration()
|
D | ZenModeButtonPreferenceController.java | 83 mBackend.setZenMode(Settings.Global.ZEN_MODE_OFF); in updateState() 124 mBackend.setZenMode(Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS); in updateZenButtonOnClickListener()
|
D | ZenModeVoiceActivity.java | 81 NotificationManager.from(this).setZenMode(mode, condition.id, TAG); in setZenModeConfig() 83 NotificationManager.from(this).setZenMode(mode, null, TAG); in setZenModeConfig()
|
D | ZenModeSliceBuilder.java | 121 NotificationManager.from(context).setZenMode(zenMode, /* conditionId= */ null, TAG, in handleUriChange() 124 NotificationManager.from(context).setZenMode(zenMode, null /* conditionId */, TAG); in handleUriChange()
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/conditional/ |
D | DndConditionCardController.java | 91 mNotificationManager.setZenMode(Settings.Global.ZEN_MODE_OFF, null, TAG, in onActionClick() 94 mNotificationManager.setZenMode(Settings.Global.ZEN_MODE_OFF, null, TAG); in onActionClick()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
D | ShadowNotificationManager.java | 37 protected void setZenMode(int mode, Uri conditionId, String reason) { in setZenMode() method in ShadowNotificationManager
|