Home
last modified time | relevance | path

Searched refs:ZEN_MODE_OFF (Results 1 – 23 of 23) 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;
150 mController.setZen(ZEN_MODE_OFF, null, TAG); in handleClick()
235 final boolean newValue = zen != ZEN_MODE_OFF; in handleUpdateState()
244 zen != Global.ZEN_MODE_OFF, mController.getConfig(), false)); in handleUpdateState()
372 mController.setZen(ZEN_MODE_OFF, null, TAG); in setToggleState()
402 if (mController.getZen() == ZEN_MODE_OFF) { in updatePanel()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java591 automaticZenRule.getInterruptionFilter(), Global.ZEN_MODE_OFF); in populateZenRule()
617 if (zenMode == Global.ZEN_MODE_OFF) { in setManualZenMode()
898 return Global.getInt(mContext.getContentResolver(), Global.ZEN_MODE, Global.ZEN_MODE_OFF); in getZenModeSetting()
948 if (mConfig == null) return Global.ZEN_MODE_OFF; in computeZenMode()
951 int zen = Global.ZEN_MODE_OFF; in computeZenMode()
1021 final boolean zenOn = mZenMode != Global.ZEN_MODE_OFF; in applyRestrictions()
1113 case Global.ZEN_MODE_OFF: in applyZenToRingerMode()
1261 if (mZenMode == Global.ZEN_MODE_OFF in onSetRingerModeInternal()
1272 if (mZenMode == Global.ZEN_MODE_OFF) { in onSetRingerModeInternal()
1286 newZen = Global.ZEN_MODE_OFF; in onSetRingerModeInternal()
[all …]
DZenModeFiltering.java19 import static android.provider.Settings.Global.ZEN_MODE_OFF;
124 if (zen == ZEN_MODE_OFF || isCritical(record)) { in shouldIntercept()
DZenLog.java198 case Global.ZEN_MODE_OFF: return "off"; in zenModeToString()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DEvents.java296 ZEN_MODE_OFF(335), enumConstant
314 case Global.ZEN_MODE_OFF: return ZEN_MODE_OFF; in fromZenMode()
514 case Global.ZEN_MODE_OFF: return "off"; in zenModeToString()
DZenModePanel.java273 final String prefKey = prefKeyForConfirmation(getSelectedZen(Global.ZEN_MODE_OFF)); in confirmZenIntroduction()
415 final int zen = rule != null ? rule.zenMode : Global.ZEN_MODE_OFF; in handleUpdateManualRule()
461 final int zen = getSelectedZen(Global.ZEN_MODE_OFF); in updateWidgets()
549 mZenConditions.setVisibility(mSessionZen != Global.ZEN_MODE_OFF ? View.VISIBLE : View.GONE);
754 final int zen = getSelectedZen(Global.ZEN_MODE_OFF); in announceConditionSelection()
814 if (mSessionZen == -1 || mSessionZen == Global.ZEN_MODE_OFF) { in select()
998 if (zen != Global.ZEN_MODE_OFF) {
DVolumeDialogControllerImpl.java624 Settings.Global.ZEN_MODE, Settings.Global.ZEN_MODE_OFF); in updateZenModeW()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DZenModeControllerImplTest.java89 mController.updateZenMode(Settings.Global.ZEN_MODE_OFF); in testAreNotificationsHiddenInShade_zenOffShadeSuppressed()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeFilteringTest.java33 import static android.provider.Settings.Global.ZEN_MODE_OFF;
189 assertFalse(mZenModeFiltering.shouldIntercept(ZEN_MODE_OFF, policy, r)); in testSuppressAnything_yes_ZenModeOff()
DZenModeHelperTest.java255 mZenModeHelperSpy.mZenMode = Settings.Global.ZEN_MODE_OFF; in testZenOff_NoMuteApplied()
564 mZenModeHelperSpy.mZenMode = Global.ZEN_MODE_OFF; in testZenSetInternalRinger_AllPriorityNotificationSoundsMuted()
650 mZenModeHelperSpy.mZenMode = Global.ZEN_MODE_OFF; in testZenSetInternalRinger_NotAllPriorityNotificationSoundsMuted_StartNormal()
675 mZenModeHelperSpy.mZenMode = Global.ZEN_MODE_OFF; in testZenSetInternalRinger_NotAllPriorityNotificationSoundsMuted_StartSilent()
710 mZenModeHelperSpy.mZenMode = Global.ZEN_MODE_OFF; in testZenSetInternalRinger_NotAllPriorityNotificationSoundsMuted_RingerChanges()
724 mZenModeHelperSpy.mZenMode = Global.ZEN_MODE_OFF; in testSilentRingerSavedInZenOff_startsZenOff()
739 mZenModeHelperSpy.mZenMode = Global.ZEN_MODE_OFF; in testSilentRingerSavedOnZenOff_startsZenOn()
767 mZenModeHelperSpy.mZenMode = Global.ZEN_MODE_OFF; in testVibrateRingerSavedOnZenOff_startsZenOn()
/frameworks/base/core/proto/android/service/
Dnotification.proto147 ZEN_MODE_OFF = 0; enumerator
286 ZEN_MODE_OFF = 0; enumerator
/frameworks/base/services/tests/servicestests/src/com/android/server/power/
DNotifierTest.java279 : Settings.Global.ZEN_MODE_OFF); in enableChargingFeedback()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DZenModeControllerImpl.java119 if (mZenMode != Global.ZEN_MODE_OFF) { in areNotificationsHiddenInShade()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardSliceProvider.java295 return mZenModeController.getZen() != Settings.Global.ZEN_MODE_OFF; in isDndOn()
/frameworks/base/core/java/android/app/
DNotificationManager.java2328 case Global.ZEN_MODE_OFF: return INTERRUPTION_FILTER_ALL; in zenModeToInterruptionFilter()
2339 case INTERRUPTION_FILTER_ALL: return Global.ZEN_MODE_OFF; in zenModeFromInterruptionFilter()
/frameworks/base/services/core/java/com/android/server/power/
DNotifier.java854 == Settings.Global.ZEN_MODE_OFF; in isChargingFeedbackEnabled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarPolicy.java347 zenVisible = zen != Global.ZEN_MODE_OFF; in updateVolumeZen()
/frameworks/base/services/core/java/com/android/server/
DVibratorService.java1910 if (zenMode != Settings.Global.ZEN_MODE_OFF && !opts.force) { in checkDoNotDisturb()
/frameworks/base/core/java/android/provider/
DSettings.java12807 public static final int ZEN_MODE_OFF = 0; field in Settings.Global
12827 case Global.ZEN_MODE_OFF: in isValidZenMode()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java3639 Integer.toString(Settings.Global.ZEN_MODE_OFF), null,
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java2815 case Settings.Global.ZEN_MODE_OFF: in volumeAdjustmentAllowedByDnd()
/frameworks/base/cmds/statsd/src/
Datoms.proto6254 ZEN_MODE_OFF = 0; enumerator