/packages/apps/Settings/src/com/android/settings/notification/ |
D | ZenModeSliceBuilder.java | 103 final int zenMode; in handleUriChange() local 105 zenMode = Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS; in handleUriChange() 107 zenMode = Settings.Global.ZEN_MODE_OFF; in handleUriChange() 109 NotificationManager.from(context).setZenMode(zenMode, null /* conditionId */, TAG); in handleUriChange() 127 final int zenMode = manager.getZenMode(); in isZenModeEnabled() local 129 switch (zenMode) { in isZenModeEnabled()
|
D | ZenModeBehaviorFooterPreferenceController.java | 63 isDeprecatedZenMode(config.manualRule.zenMode)) { in getFooterText() 80 automaticRule.zenMode)) { in getFooterText() 95 private boolean isDeprecatedZenMode(int zenMode) { in isDeprecatedZenMode() argument 96 switch (zenMode) { in isDeprecatedZenMode()
|
D | ZenModeSettingsBase.java | 93 final int zenMode = Settings.Global.getInt(getContentResolver(), Global.ZEN_MODE, mZenMode); in updateZenMode() local 94 if (zenMode == mZenMode) return; in updateZenMode() 95 mZenMode = zenMode; in updateZenMode()
|
D | ZenModeSettings.java | 171 int zenMode = NotificationManager.from(mContext).getZenMode(); in getSoundSummary() local 173 if (zenMode != Settings.Global.ZEN_MODE_OFF) { in getSoundSummary()
|
D | ZenModeBackend.java | 97 protected void setZenMode(int zenMode) { in setZenMode() argument 98 NotificationManager.from(mContext).setZenMode(zenMode, null, TAG); in setZenMode()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | ZenModeSliceBuilder.java | 100 final int zenMode; in handleUriChange() local 102 zenMode = Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS; in handleUriChange() 104 zenMode = Settings.Global.ZEN_MODE_OFF; in handleUriChange() 106 NotificationManager.from(context).setZenMode(zenMode, null /* conditionId */, TAG); in handleUriChange() 124 final int zenMode = manager.getZenMode(); in isZenModeEnabled() local 126 switch (zenMode) { in isZenModeEnabled()
|
D | ZenModeBehaviorFooterPreferenceController.java | 63 isDeprecatedZenMode(config.manualRule.zenMode)) { in getFooterText() 80 automaticRule.zenMode)) { in getFooterText() 95 private boolean isDeprecatedZenMode(int zenMode) { in isDeprecatedZenMode() argument 96 switch (zenMode) { in isDeprecatedZenMode()
|
D | ZenModeSettingsBase.java | 93 final int zenMode = Settings.Global.getInt(getContentResolver(), Global.ZEN_MODE, mZenMode); in updateZenMode() local 94 if (zenMode == mZenMode) return; in updateZenMode() 95 mZenMode = zenMode; in updateZenMode()
|
D | ZenModeSettings.java | 171 int zenMode = NotificationManager.from(mContext).getZenMode(); in getSoundSummary() local 173 if (zenMode != Settings.Global.ZEN_MODE_OFF) { in getSoundSummary()
|
D | ZenModeBackend.java | 97 protected void setZenMode(int zenMode) { in setZenMode() argument 98 NotificationManager.from(mContext).setZenMode(zenMode, null, TAG); in setZenMode()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
D | ZenModeBehaviorFooterPreferenceControllerTest.java | 145 injectedManualRule.zenMode = ZEN_MODE_ALARMS; in deprecatedZenModeAlarms_qsManualRule_setFooterTitle() 159 injectedManualRule.zenMode = ZEN_MODE_ALARMS; in deprecatedZenModeAlarms_appManualRule_setFooterTitle() 175 injectedManualRule.zenMode = ZEN_MODE_NO_INTERRUPTIONS; in deprecatedZenModeNoInterruptions_qsManualRule_setFooterTitle() 189 injectedManualRule.zenMode = ZEN_MODE_NO_INTERRUPTIONS; in deprecatedZenModeNoInterruptions_appManualRule_setFooterTitle() 206 injectedRule.zenMode = ZEN_MODE_ALARMS; in deprecatedZenModeAlarms_automaticRule_setFooterTitle() 226 injectedRule.zenMode = ZEN_MODE_NO_INTERRUPTIONS; in deprecatedZenModeNoInterruptions_automaticRule_setFooterTitle()
|
D | ZenModeSliceBuilderTest.java | 83 final int zenMode = NotificationManager.from(mContext).getZenMode(); in handleUriChange_turnOn_zenModeTurnsOn() local 84 assertThat(zenMode).isEqualTo(Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS); in handleUriChange_turnOn_zenModeTurnsOn() 96 final int zenMode = NotificationManager.from(mContext).getZenMode(); in handleUriChange_turnOff_zenModeTurnsOff() local 97 assertThat(zenMode).isEqualTo(Settings.Global.ZEN_MODE_OFF); in handleUriChange_turnOff_zenModeTurnsOff()
|
D | ZenModeSettingsFooterPreferenceControllerTest.java | 257 injectedManualRule.zenMode = ZEN_MODE_IMPORTANT_INTERRUPTIONS; in injectManualRuleWithIndefiniteEnd() 266 injectedManualRule.zenMode = ZEN_MODE_IMPORTANT_INTERRUPTIONS; in injectManualRuleFromApp() 275 injectedManualRule.zenMode = ZEN_MODE_IMPORTANT_INTERRUPTIONS; in injectManualRuleWithTimeCountdown() 287 injectedRule.zenMode = ZEN_MODE_NO_INTERRUPTIONS; in injectNewAutomaticRule()
|