/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/clocks/ |
D | ZenData.kt | 6 import android.provider.Settings.Global.ZEN_MODE_OFF 13 OFF(ZEN_MODE_OFF),
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/ |
D | DoNotDisturbQuickAffordanceConfig.kt | 24 import android.provider.Settings.Global.ZEN_MODE_OFF in <lambda>() 133 .map { secureSettings.getInt(Settings.Secure.ZEN_DURATION, ZEN_MODE_OFF) } in <lambda>() 156 dndMode != ZEN_MODE_OFF -> { in <lambda>() 157 controller.setZen(ZEN_MODE_OFF, null, TAG) in <lambda>() 179 } else if (dndMode == ZEN_MODE_OFF) { in <lambda>()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/data/quickaffordance/ |
D | DoNotDisturbQuickAffordanceConfigTest.kt | 22 import android.provider.Settings.Global.ZEN_MODE_OFF 155 assertEquals(ZEN_MODE_OFF, spyZenMode.value) in onTriggered_dndModeIsNotZEN_MODE_OFF_setToZEN_MODE_OFF() 164 whenever(zenModeController.zen).thenReturn(ZEN_MODE_OFF) in onTriggered_dndModeIsZEN_MODE_OFF_settingFOREVER_setZenWithoutCondition() 189 whenever(zenModeController.zen).thenReturn(ZEN_MODE_OFF) in onTriggered_dndZEN_MODE_OFF_settingNotFOREVERorPROMPT_zenWithCondition() 215 whenever(zenModeController.zen).thenReturn(ZEN_MODE_OFF) in onTriggered_dndModeIsZEN_MODE_OFF_settingIsPROMPT_showDialog() 256 whenever(zenModeController.zen).thenReturn(ZEN_MODE_OFF) in lockScreenState_dndModeStartsAsZEN_MODE_OFF_changeToNotOFF_StateVisible()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ZenModeEventLogger.java | 20 import static android.provider.Settings.Global.ZEN_MODE_OFF; 283 if (mNewZenMode == ZEN_MODE_OFF) { in shouldLogChanges() 297 return mPrevZenMode == ZEN_MODE_OFF || mNewZenMode == ZEN_MODE_OFF; in zenModeFlipped() 311 if (mPrevZenMode == ZEN_MODE_OFF) { in getEventId() 318 if (Flags.modesApi() && mNewZenMode == ZEN_MODE_OFF) { in getEventId() 427 if (mNewZenMode == ZEN_MODE_OFF) { in getNumRulesActive() 561 if (Flags.modesApi() && mNewZenMode == ZEN_MODE_OFF) { in getDNDPolicyProto()
|
D | ZenModeHelper.java | 616 if (zenMode == Global.ZEN_MODE_OFF) { in applyGlobalZenModeAsImplicitZenRule() 1213 azr.getInterruptionFilter(), Global.ZEN_MODE_OFF); in populateZenRule() 1252 azr.getInterruptionFilter(), Global.ZEN_MODE_OFF); in populateZenRule() 1538 zenMode == Global.ZEN_MODE_OFF ? STATE_FALSE : STATE_TRUE, in setManualZenMode() 1540 if (zenMode == Global.ZEN_MODE_OFF && origin != UPDATE_ORIGIN_USER) { in setManualZenMode() 1550 if (zenMode == Global.ZEN_MODE_OFF) { in setManualZenMode() 1971 return Global.getInt(mContext.getContentResolver(), Global.ZEN_MODE, Global.ZEN_MODE_OFF); in getZenModeSetting() 2028 if (mConfig == null) return Global.ZEN_MODE_OFF; in computeZenMode() 2030 int zen = Global.ZEN_MODE_OFF; in computeZenMode() 2104 if (!Flags.modesApi() || automaticRule.zenMode != Global.ZEN_MODE_OFF) { in updateAndApplyConsolidatedPolicyAndDeviceEffects() [all …]
|
D | ZenModeFiltering.java | 19 import static android.provider.Settings.Global.ZEN_MODE_OFF; 167 if (zen == ZEN_MODE_OFF) { in shouldIntercept()
|
D | ZenLog.java | 214 case Global.ZEN_MODE_OFF: return "off"; in zenModeToString()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/ |
D | DndTileTest.kt | 25 import android.provider.Settings.Global.ZEN_MODE_OFF 191 whenever(zenModeController.zen).thenReturn(ZEN_MODE_OFF) in testLaunchDialogFromViewWhenPrompt() 204 whenever(zenModeController.zen).thenReturn(ZEN_MODE_OFF) in testNoLaunchDialogWhenNotPrompt() 218 whenever(zenModeController.zen).thenReturn(ZEN_MODE_OFF) in testIcon_whenDndModeOff_isOffState()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/statusbar/notification/data/model/ |
D | ZenMode.kt | 36 Global.ZEN_MODE_OFF,
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/statusbar/notification/data/repository/ |
D | NotificationsSoundPolicyRepositoryTest.kt | 93 `when`(notificationManager.zenMode).thenReturn(Global.ZEN_MODE_OFF) in zenModeChanges_repositoryEmits() 103 listOf(null, ZenMode(Global.ZEN_MODE_OFF), ZenMode(Global.ZEN_MODE_ALARMS)) in zenModeChanges_repositoryEmits()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | DndTile.java | 20 import static android.provider.Settings.Global.ZEN_MODE_OFF; 153 mController.setZen(ZEN_MODE_OFF, null, TAG); in handleClick() 239 final boolean newValue = zen != ZEN_MODE_OFF; in handleUpdateState() 248 zen != Global.ZEN_MODE_OFF, mController.getConfig(), false)); in handleUpdateState()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/domain/interactor/ |
D | ZenModeInteractorTest.kt | 64 repository.zenMode.value = Settings.Global.ZEN_MODE_OFF in create() 132 repository.zenMode.value = Settings.Global.ZEN_MODE_OFF in testAreNotificationsHiddenInShade_zenOffShadeSuppressed()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/policy/data/repository/ |
D | FakeZenModeRepository.kt | 29 override val zenMode: MutableStateFlow<Int> = MutableStateFlow(Settings.Global.ZEN_MODE_OFF)
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/domain/interactor/ |
D | NotificationsSoundPolicyInteractorTest.kt | 64 notificationsSoundPolicyRepository.updateZenMode(ZenMode(Global.ZEN_MODE_OFF)) in <lambda>() 87 notificationsSoundPolicyRepository.updateZenMode(ZenMode(Global.ZEN_MODE_OFF)) in <lambda>() 186 notificationsSoundPolicyRepository.updateZenMode(ZenMode(Global.ZEN_MODE_OFF)) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | Events.java | 311 ZEN_MODE_OFF(335), enumConstant 329 case Global.ZEN_MODE_OFF: return ZEN_MODE_OFF; in fromZenMode() 542 case Global.ZEN_MODE_OFF: return "off"; in zenModeToString()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/domain/interactor/ |
D | ZenModeInteractor.kt | 39 Settings.Global.ZEN_MODE_OFF -> false in <lambda>()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/statusbar/notification/data/repository/ |
D | FakeNotificationsSoundPolicyRepository.kt | 32 private val mutableZenMode = MutableStateFlow<ZenMode?>(ZenMode(Settings.Global.ZEN_MODE_OFF))
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | ZenModeControllerImplTest.java | 108 mController.updateZenMode(Settings.Global.ZEN_MODE_OFF); in testAreNotificationsHiddenInShade_zenOffShadeSuppressed() 183 mGlobalSettings.putInt(Settings.Global.ZEN_MODE, Settings.Global.ZEN_MODE_OFF); in testCallbackRemovedWhileDispatching_doesntCrash()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ZenModeHelperTest.java | 53 import static android.provider.Settings.Global.ZEN_MODE_OFF; 468 mZenModeHelper.mZenMode = ZEN_MODE_OFF; in testZenOff_NoMuteApplied() 700 mZenModeHelper.mZenMode = ZEN_MODE_OFF; in testTotalSilence_consolidatedPolicyDisallowsAll() 734 mZenModeHelper.mZenMode = ZEN_MODE_OFF; in testAlarmsOnly_consolidatedPolicyOnlyAllowsAlarmsAndMedia() 833 mZenModeHelper.mZenMode = ZEN_MODE_OFF; in testZenSetInternalRinger_AllPriorityNotificationSoundsMuted() 913 mZenModeHelper.mZenMode = ZEN_MODE_OFF; in applyZenToRingerMode_ZEN_MODE_IMPORTANT_INTERRUPTIONS() 937 mZenModeHelper.mZenMode = ZEN_MODE_OFF; in testZenSetInternalRinger_NotAllPriorityNotificationSoundsMuted_StartSilent() 971 mZenModeHelper.mZenMode = ZEN_MODE_OFF; in testZenSetInternalRinger_NotAllPriorityNotificationSoundsMuted_RingerChanges() 986 mZenModeHelper.setManualZenMode(ZEN_MODE_OFF, Uri.EMPTY, in testSilentRingerSavedInZenOff_startsZenOff() 1011 mZenModeHelper.setManualZenMode(ZEN_MODE_OFF, Uri.EMPTY, in testSilentRingerSavedOnZenOff_startsZenOn() [all …]
|
D | ZenModeFilteringTest.java | 33 import static android.provider.Settings.Global.ZEN_MODE_OFF; 239 assertFalse(mZenModeFiltering.shouldIntercept(ZEN_MODE_OFF, policy, r)); in testSuppressAnything_yes_ZenModeOff()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/ambient/statusbar/ui/ |
D | AmbientStatusBarViewControllerTest.java | 295 Settings.Global.ZEN_MODE_OFF); in testOnViewAttachedHidesPriorityModeIconWhenDisabled() 381 .thenReturn(Settings.Global.ZEN_MODE_OFF); in testPriorityModeIconHiddenWhenZenModeDisabled() 387 callbackCapture.getValue().onZenChanged(Settings.Global.ZEN_MODE_OFF); in testPriorityModeIconHiddenWhenZenModeDisabled()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | ZenModeControllerImpl.java | 167 return mGlobalSettings.getInt(Global.ZEN_MODE, /* default */ Global.ZEN_MODE_OFF); in getModeSettingValueFromProvider() 178 if (mZenMode != Global.ZEN_MODE_OFF) { in areNotificationsHiddenInShade()
|
/frameworks/proto_logging/stats/enums/dnd/ |
D | dnd_enums.proto | 28 ZEN_MODE_OFF = 0; enumerator
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ambient/statusbar/ui/ |
D | AmbientStatusBarViewController.java | 326 mZenModeController.getZen() != Settings.Global.ZEN_MODE_OFF, in updatePriorityModeStatusIcon()
|
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/ |
D | NotifierTest.java | 344 : Settings.Global.ZEN_MODE_OFF); in enableChargingFeedback()
|