/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ZenModeFilteringTest.java | 31 import static android.provider.Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS; 198 assertTrue(mZenModeFiltering.shouldIntercept(ZEN_MODE_IMPORTANT_INTERRUPTIONS, policy, r)); in testSuppressDNDInfo_yes_VisEffectsAllowed() 208 assertTrue(mZenModeFiltering.shouldIntercept(ZEN_MODE_IMPORTANT_INTERRUPTIONS, policy, r)); in testSuppressDNDInfo_yes_WrongId() 218 assertTrue(mZenModeFiltering.shouldIntercept(ZEN_MODE_IMPORTANT_INTERRUPTIONS, policy, r)); in testSuppressDNDInfo_yes_WrongPackage() 228 assertFalse(mZenModeFiltering.shouldIntercept(ZEN_MODE_IMPORTANT_INTERRUPTIONS, policy, r)); in testSuppressDNDInfo_no() 270 assertFalse(mZenModeFiltering.shouldIntercept(ZEN_MODE_IMPORTANT_INTERRUPTIONS, policy, r)); in testConversation_allAllowed() 288 assertFalse(mZenModeFiltering.shouldIntercept(ZEN_MODE_IMPORTANT_INTERRUPTIONS, policy, r)); in testConversation_importantAllowed_isImportant() 305 assertTrue(mZenModeFiltering.shouldIntercept(ZEN_MODE_IMPORTANT_INTERRUPTIONS, policy, r)); in testConversation_importantAllowed_isNotImportant() 322 assertTrue(mZenModeFiltering.shouldIntercept(ZEN_MODE_IMPORTANT_INTERRUPTIONS, policy, r)); in testConversation_noneAllowed_notCallOrMsg() 341 assertFalse(mZenModeFiltering.shouldIntercept(ZEN_MODE_IMPORTANT_INTERRUPTIONS, policy, r)); in testConversation_noneAllowed_callAllowed() [all …]
|
D | ZenModeHelperTest.java | 51 import static android.provider.Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS; 429 return getCustomAutomaticRules(ZEN_MODE_IMPORTANT_INTERRUPTIONS); in getCustomAutomaticRules() 481 mZenModeHelper.mZenMode = ZEN_MODE_IMPORTANT_INTERRUPTIONS; in testZenOn_NotificationApplied() 502 mZenModeHelper.mZenMode = ZEN_MODE_IMPORTANT_INTERRUPTIONS; in testZenOn_StarredCallers_CallTypesBlocked() 522 mZenModeHelper.mZenMode = ZEN_MODE_IMPORTANT_INTERRUPTIONS; in testZenOn_AllCallers_CallTypesAllowed() 541 mZenModeHelper.mZenMode = ZEN_MODE_IMPORTANT_INTERRUPTIONS; in testZenOn_AllowAlarmsMedia_NoAlarmMediaMuteApplied() 553 mZenModeHelper.mZenMode = ZEN_MODE_IMPORTANT_INTERRUPTIONS; in testZenOn_DisallowAlarmsMedia_AlarmMediaMuteApplied() 631 mZenModeHelper.mZenMode = ZEN_MODE_IMPORTANT_INTERRUPTIONS; in testZenAllCannotBypass() 654 mZenModeHelper.mZenMode = ZEN_MODE_IMPORTANT_INTERRUPTIONS; in testApplyRestrictions_whitelist_priorityOnlyMode() 780 mZenModeHelper.setZenModeSetting(ZEN_MODE_IMPORTANT_INTERRUPTIONS); in testZenUpgradeNotification() [all …]
|
D | ZenModeConfigTest.java | 21 import static android.provider.Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS; 891 config.manualRule.zenMode = ZEN_MODE_IMPORTANT_INTERRUPTIONS; in testisManualActive_stateTrue() 925 config.manualRule.zenMode = ZEN_MODE_IMPORTANT_INTERRUPTIONS; in testisManualActive_noState()
|
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/clocks/ |
D | ZenData.kt | 4 import android.provider.Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS 14 IMPORTANT_INTERRUPTIONS(ZEN_MODE_IMPORTANT_INTERRUPTIONS),
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/domain/interactor/ |
D | ZenModeInteractorTest.kt | 86 repository.zenMode.value = Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS in testIsZenModeEnabled_importantInterruptions() 120 repository.zenMode.value = Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS in testAreNotificationsHiddenInShade_noPolicy() 144 repository.zenMode.value = Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS in testAreNotificationsHiddenInShade_zenOnShadeNotSuppressed() 156 repository.zenMode.value = Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS in testAreNotificationsHiddenInShade_zenOnShadeSuppressed()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/data/repository/ |
D | ZenModeRepositoryImplTest.kt | 67 whenever(zenModeController.zen).thenReturn(Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS) in <lambda>() 69 .onZenChanged(Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS) in <lambda>() 70 assertThat(zenMode).isEqualTo(Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS) in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | ZenModeControllerImplTest.java | 120 mController.updateZenMode(Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS); in testAreNotificationsHiddenInShade_zenOnShadeNotSuppressed() 131 mController.updateZenMode(Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS); in testAreNotificationsHiddenInShade_zenOnShadeSuppressed() 139 Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS, in testModeChange() 166 Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS, in testModeChange_callbackNotified()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/domain/interactor/ |
D | NotificationsSoundPolicyInteractorTest.kt | 226 ZenMode(Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS) in <lambda>() 246 ZenMode(Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS) in <lambda>() 266 ZenMode(Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS) in <lambda>() 292 ZenMode(Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS) in <lambda>()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/data/quickaffordance/ |
D | DoNotDisturbQuickAffordanceConfigTest.kt | 21 import android.provider.Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS 180 assertEquals(ZEN_MODE_IMPORTANT_INTERRUPTIONS, spyZenMode.value) in onTriggered_dndModeIsZEN_MODE_OFF_settingFOREVER_setZenWithoutCondition() 205 assertEquals(ZEN_MODE_IMPORTANT_INTERRUPTIONS, spyZenMode.value) in onTriggered_dndZEN_MODE_OFF_settingNotFOREVERorPROMPT_zenWithCondition() 263 callbackCaptor.value.onZenChanged(ZEN_MODE_IMPORTANT_INTERRUPTIONS) in lockScreenState_dndModeStartsAsZEN_MODE_OFF_changeToNotOFF_StateVisible()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/ |
D | DoNotDisturbQuickAffordanceConfig.kt | 23 import android.provider.Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS in <lambda>() 166 controller.setZen(ZEN_MODE_IMPORTANT_INTERRUPTIONS, null, TAG) in <lambda>() 170 controller.setZen(ZEN_MODE_IMPORTANT_INTERRUPTIONS, conditionUri, TAG) in <lambda>()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/statusbar/notification/data/model/ |
D | ZenMode.kt | 33 Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | DndTile.java | 176 mController.setZen(Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS, null, TAG); in enableZenMode() 203 mController.setZen(Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS, null, TAG); in enableZenMode() 208 mController.setZen(Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS, in enableZenMode() 253 case Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS: in handleUpdateState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/domain/interactor/ |
D | ZenModeInteractor.kt | 37 Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS -> true in <lambda>()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/volume/ |
D | EventsTest.java | 193 new Object[]{Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS}, in data() 197 new Object[]{Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS}, in data()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/statusbar/notification/domain/interactor/ |
D | NotificationsSoundPolicyInteractor.kt | 77 Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS -> { in <lambda>()
|
/frameworks/proto_logging/stats/enums/dnd/ |
D | dnd_enums.proto | 29 ZEN_MODE_IMPORTANT_INTERRUPTIONS = 1; enumerator
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | Events.java | 330 case Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS: return ZEN_MODE_IMPORTANT_ONLY; in fromZenMode() 543 case Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS: return "important_interruptions"; in zenModeToString()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ZenModeHelper.java | 682 rule.zenMode = Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS; in applyGlobalPolicyAsImplicitZenRule() 1779 && rule.zenMode == Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS in setNotificationPolicy() 2008 zen == Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS in evaluateZenModeLocked() 2186 final boolean zenPriorityOnly = mZenMode == Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS; in applyRestrictions() 2274 case Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS: in applyZenToRingerMode() 2338 case Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS: return 1; in zenSeverity() 2450 || (mZenMode == Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS in onSetRingerModeInternal() 2461 newZen = Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS; in onSetRingerModeInternal() 2471 || (mZenMode == Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS in onSetRingerModeInternal() 2510 newZen = Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS; in onSetRingerModeExternal()
|
D | ZenModeFiltering.java | 115 if (zen == Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS) { in matchesCallFilter() 196 case Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS: in shouldIntercept()
|
D | ZenLog.java | 215 case Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS: return "important_interruptions"; in zenModeToString()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/ |
D | EnableZenModeDialog.java | 150 Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS, in createDialog() 155 Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS, in createDialog()
|
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/ |
D | NotifierTest.java | 343 dndOn ? Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS in enableChargingFeedback()
|
/frameworks/base/core/java/android/service/notification/ |
D | ZenModeConfig.java | 27 import static android.provider.Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS; 410 events.zenMode = ZEN_MODE_IMPORTANT_INTERRUPTIONS; in getDefaultConfig() 425 sleeping.zenMode = ZEN_MODE_IMPORTANT_INTERRUPTIONS; in getDefaultConfig() 1150 if (!Flags.modesApi() && rt.zenMode != ZEN_MODE_IMPORTANT_INTERRUPTIONS in readRuleXml() 1154 rt.zenMode = ZEN_MODE_IMPORTANT_INTERRUPTIONS; in readRuleXml() 2818 || (zen == ZEN_MODE_IMPORTANT_INTERRUPTIONS in isZenOverridingRinger()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/stack/ui/viewmodel/ |
D | NotificationListViewModelTest.kt | 262 zenModeRepository.zenMode.value = Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS in areNotificationsHiddenInShade_true()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/ambient/statusbar/ui/ |
D | AmbientStatusBarViewControllerTest.java | 286 Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS); in testOnViewAttachedShowsPriorityModeIconWhenEnabled()
|