Home
last modified time | relevance | path

Searched refs:ZEN_MODE_OFF (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunerZenModePanel.java92 if (mZenMode == Global.ZEN_MODE_OFF) { in onClick()
98 mZenMode = Global.ZEN_MODE_OFF; in onClick()
99 mController.setZen(Global.ZEN_MODE_OFF, null, TAG); in onClick()
135 boolean zenOn = mZenMode != Global.ZEN_MODE_OFF; in updatePanel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DDndTile.java20 import static android.provider.Settings.Global.ZEN_MODE_OFF;
143 mController.setZen(ZEN_MODE_OFF, null, TAG); in handleClick()
228 final boolean newValue = zen != ZEN_MODE_OFF; in handleUpdateState()
237 zen != Global.ZEN_MODE_OFF, mController.getConfig(), false)); in handleUpdateState()
362 mController.setZen(ZEN_MODE_OFF, null, TAG); in setToggleState()
392 if (mController.getZen() == ZEN_MODE_OFF) { in updatePanel()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java569 automaticZenRule.getInterruptionFilter(), Global.ZEN_MODE_OFF); in populateZenRule()
595 if (zenMode == Global.ZEN_MODE_OFF) { in setManualZenMode()
873 return Global.getInt(mContext.getContentResolver(), Global.ZEN_MODE, Global.ZEN_MODE_OFF); in getZenModeSetting()
923 if (mConfig == null) return Global.ZEN_MODE_OFF; in computeZenMode()
926 int zen = Global.ZEN_MODE_OFF; in computeZenMode()
1087 case Global.ZEN_MODE_OFF: in applyZenToRingerMode()
1162 if (mZenMode == Global.ZEN_MODE_OFF in onSetRingerModeInternal()
1173 if (mZenMode == Global.ZEN_MODE_OFF) { in onSetRingerModeInternal()
1187 newZen = Global.ZEN_MODE_OFF; in onSetRingerModeInternal()
1188 } else if (mZenMode != Global.ZEN_MODE_OFF) { in onSetRingerModeInternal()
[all …]
DZenModeFiltering.java19 import static android.provider.Settings.Global.ZEN_MODE_OFF;
123 if (zen == ZEN_MODE_OFF || isCritical(record)) { in shouldIntercept()
DZenLog.java197 case Global.ZEN_MODE_OFF: return "off"; in zenModeToString()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeFilteringTest.java23 import static android.provider.Settings.Global.ZEN_MODE_OFF;
170 assertFalse(mZenModeFiltering.shouldIntercept(ZEN_MODE_OFF, policy, r)); in testSuppressAnything_yes_ZenModeOff()
DZenModeHelperTest.java219 mZenModeHelperSpy.mZenMode = Settings.Global.ZEN_MODE_OFF; in testZenOff_NoMuteApplied()
464 mZenModeHelperSpy.mZenMode = Global.ZEN_MODE_OFF; in testZenSetInternalRinger_AllPriorityNotificationSoundsMuted()
546 mZenModeHelperSpy.mZenMode = Global.ZEN_MODE_OFF; in testZenSetInternalRinger_NotAllPriorityNotificationSoundsMuted_StartNormal()
571 mZenModeHelperSpy.mZenMode = Global.ZEN_MODE_OFF; in testZenSetInternalRinger_NotAllPriorityNotificationSoundsMuted_StartSilent()
606 mZenModeHelperSpy.mZenMode = Global.ZEN_MODE_OFF; in testZenSetInternalRinger_NotAllPriorityNotificationSoundsMuted_RingerChanges()
620 mZenModeHelperSpy.mZenMode = Global.ZEN_MODE_OFF; in testSilentRingerSavedInZenOff_startsZenOff()
635 mZenModeHelperSpy.mZenMode = Global.ZEN_MODE_OFF; in testSilentRingerSavedOnZenOff_startsZenOn()
663 mZenModeHelperSpy.mZenMode = Global.ZEN_MODE_OFF; in testVibrateRingerSavedOnZenOff_startsZenOn()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DZenModePanel.java269 final String prefKey = prefKeyForConfirmation(getSelectedZen(Global.ZEN_MODE_OFF)); in confirmZenIntroduction()
411 final int zen = rule != null ? rule.zenMode : Global.ZEN_MODE_OFF; in handleUpdateManualRule()
457 final int zen = getSelectedZen(Global.ZEN_MODE_OFF); in updateWidgets()
545 mZenConditions.setVisibility(mSessionZen != Global.ZEN_MODE_OFF ? View.VISIBLE : View.GONE);
749 final int zen = getSelectedZen(Global.ZEN_MODE_OFF); in announceConditionSelection()
808 if (mSessionZen == -1 || mSessionZen == Global.ZEN_MODE_OFF) { in select()
992 if (zen != Global.ZEN_MODE_OFF) {
DEvents.java246 case Global.ZEN_MODE_OFF: return "off"; in zenModeToString()
DVolumeDialogControllerImpl.java601 Settings.Global.ZEN_MODE, Settings.Global.ZEN_MODE_OFF); in updateZenModeW()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DZenModeControllerImplTest.java85 mController.updateZenMode(Settings.Global.ZEN_MODE_OFF); in testAreNotificationsHiddenInShade_zenOffShadeSuppressed()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DZenModeControllerImpl.java119 if (mZenMode != Global.ZEN_MODE_OFF) { in areNotificationsHiddenInShade()
/frameworks/base/core/proto/android/service/
Dnotification.proto147 ZEN_MODE_OFF = 0; enumerator
/frameworks/base/core/java/android/app/
DNotificationManager.java2050 case Global.ZEN_MODE_OFF: return INTERRUPTION_FILTER_ALL; in zenModeToInterruptionFilter()
2061 case INTERRUPTION_FILTER_ALL: return Global.ZEN_MODE_OFF; in zenModeFromInterruptionFilter()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardSliceProvider.java304 return mZenModeController.getZen() != Settings.Global.ZEN_MODE_OFF; in isDndOn()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleController.java621 final boolean dndEnabled = mZenModeController.getZen() != Settings.Global.ZEN_MODE_OFF; in updateStackViewForZenConfig()
/frameworks/base/services/core/java/com/android/server/power/
DNotifier.java843 == Settings.Global.ZEN_MODE_OFF; in isChargingFeedbackEnabled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarPolicy.java323 zenVisible = zen != Global.ZEN_MODE_OFF; in updateVolumeZen()
DStatusBar.java2288 Settings.Global.ZEN_MODE_OFF))); in dump()
/frameworks/base/services/core/java/com/android/server/
DVibratorService.java1578 if (zenMode != Settings.Global.ZEN_MODE_OFF && !opts.force) { in checkDoNotDisturb()
/frameworks/base/core/java/android/provider/
DSettings.java13210 public static final int ZEN_MODE_OFF = 0; field in Settings.Global
13230 case Global.ZEN_MODE_OFF: in isValidZenMode()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java3360 Integer.toString(Settings.Global.ZEN_MODE_OFF), null,
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java2410 case Settings.Global.ZEN_MODE_OFF: in volumeAdjustmentAllowedByDnd()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt68272 Landroid/service/notification/NotificationServiceProto;->ZEN_MODE_OFF:I