Home
last modified time | relevance | path

Searched refs:ZEN_MODE_NO_INTERRUPTIONS (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/clocks/
DZenData.kt5 import android.provider.Settings.Global.ZEN_MODE_NO_INTERRUPTIONS
15 NO_INTERRUPTIONS(ZEN_MODE_NO_INTERRUPTIONS),
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/data/repository/
DZenModeRepositoryImplTest.kt58 whenever(zenModeController.zen).thenReturn(Settings.Global.ZEN_MODE_NO_INTERRUPTIONS) in <lambda>()
60 assertThat(zenMode).isEqualTo(Settings.Global.ZEN_MODE_NO_INTERRUPTIONS) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DZenModeControllerImplTest.java140 Settings.Global.ZEN_MODE_NO_INTERRUPTIONS, in testModeChange()
167 Settings.Global.ZEN_MODE_NO_INTERRUPTIONS, in testModeChange_callbackNotified()
198 mGlobalSettings.putInt(Settings.Global.ZEN_MODE, Settings.Global.ZEN_MODE_NO_INTERRUPTIONS); in testCallbackRemovedWhileDispatching_doesntCrash()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/statusbar/notification/data/model/
DZenMode.kt34 Global.ZEN_MODE_NO_INTERRUPTIONS,
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DEvents.java317 ZEN_MODE_NO_INTERRUPTIONS(159); enumConstant
332 case Global.ZEN_MODE_NO_INTERRUPTIONS: return ZEN_MODE_NO_INTERRUPTIONS; in fromZenMode()
545 case Global.ZEN_MODE_NO_INTERRUPTIONS: return "no_interruptions"; in zenModeToString()
DVolumeDialogImpl.java1766 || mState.zenMode == Global.ZEN_MODE_NO_INTERRUPTIONS
1925 final boolean isZenNone = mState.zenMode == Global.ZEN_MODE_NO_INTERRUPTIONS;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/domain/interactor/
DZenModeInteractor.kt38 Settings.Global.ZEN_MODE_NO_INTERRUPTIONS -> true in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DDndTileTest.kt24 import android.provider.Settings.Global.ZEN_MODE_NO_INTERRUPTIONS
228 whenever(zenModeController.zen).thenReturn(ZEN_MODE_NO_INTERRUPTIONS) in testIcon_whenDndModeOn_isOnState()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/statusbar/notification/domain/interactor/
DNotificationsSoundPolicyInteractor.kt72 Settings.Global.ZEN_MODE_NO_INTERRUPTIONS -> return@combine true in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/volume/domain/interactor/
DAudioVolumeInteractorTest.kt124 ZenMode(Settings.Global.ZEN_MODE_NO_INTERRUPTIONS) in zenMuted_cantChange()
160 ZenMode(Settings.Global.ZEN_MODE_NO_INTERRUPTIONS) in streamIsZenMuted_getStream_lastAudibleVolume()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeFilteringTest.java32 import static android.provider.Settings.Global.ZEN_MODE_NO_INTERRUPTIONS;
230 assertFalse(mZenModeFiltering.shouldIntercept(ZEN_MODE_NO_INTERRUPTIONS, policy, r)); in testSuppressDNDInfo_no()
249 assertFalse(mZenModeFiltering.shouldIntercept(ZEN_MODE_NO_INTERRUPTIONS, policy, r)); in testSuppressAnything_bypass_ZenModeOn()
252 assertFalse(mZenModeFiltering.shouldIntercept(ZEN_MODE_NO_INTERRUPTIONS, policy, r)); in testSuppressAnything_bypass_ZenModeOn()
DZenModeHelperTest.java52 import static android.provider.Settings.Global.ZEN_MODE_NO_INTERRUPTIONS;
566 mZenModeHelper.mZenMode = Settings.Global.ZEN_MODE_NO_INTERRUPTIONS; in testTotalSilence()
684 mZenModeHelper.mZenMode = Global.ZEN_MODE_NO_INTERRUPTIONS; in testApplyRestrictions_whitelist_totalSilenceMode()
843 mZenModeHelper.mZenMode = Settings.Global.ZEN_MODE_NO_INTERRUPTIONS; in testRingerAffectedStreamsTotalSilence()
5801 ZEN_MODE_NO_INTERRUPTIONS); in applyGlobalZenModeAsImplicitZenRule_ruleCustomized_doesNotUpdateRule()
5833 ZEN_MODE_NO_INTERRUPTIONS); in applyGlobalZenModeAsImplicitZenRule_ruleCustomizedButNotFilter_updatesRule()
5837 .isEqualTo(ZEN_MODE_NO_INTERRUPTIONS); in applyGlobalZenModeAsImplicitZenRule_ruleCustomizedButNotFilter_updatesRule()
5838 assertThat(mZenModeHelper.getZenMode()).isEqualTo(ZEN_MODE_NO_INTERRUPTIONS); in applyGlobalZenModeAsImplicitZenRule_ruleCustomizedButNotFilter_updatesRule()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/ambient/statusbar/ui/
DAmbientStatusBarViewControllerTest.java367 when(mZenModeController.getZen()).thenReturn(Settings.Global.ZEN_MODE_NO_INTERRUPTIONS); in testPriorityModeIconShownWhenZenModeEnabled()
372 callbackCapture.getValue().onZenChanged(Settings.Global.ZEN_MODE_NO_INTERRUPTIONS); in testPriorityModeIconShownWhenZenModeEnabled()
380 when(mZenModeController.getZen()).thenReturn(Settings.Global.ZEN_MODE_NO_INTERRUPTIONS) in testPriorityModeIconHiddenWhenZenModeDisabled()
/frameworks/proto_logging/stats/enums/dnd/
Ddnd_enums.proto30 ZEN_MODE_NO_INTERRUPTIONS = 2; enumerator
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/domain/interactor/
DZenModeInteractorTest.kt97 repository.zenMode.value = Settings.Global.ZEN_MODE_NO_INTERRUPTIONS in testIsZenModeEnabled_noInterruptions()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeFiltering.java107 if (zen == Global.ZEN_MODE_NO_INTERRUPTIONS) { in matchesCallFilter()
184 case Global.ZEN_MODE_NO_INTERRUPTIONS: in shouldIntercept()
DZenLog.java217 case Global.ZEN_MODE_NO_INTERRUPTIONS: return "no_interruptions"; in zenModeToString()
DZenModeHelper.java2050 if (rule.zenMode == Global.ZEN_MODE_NO_INTERRUPTIONS) { in applyCustomPolicy()
2187 final boolean zenSilence = mZenMode == Global.ZEN_MODE_NO_INTERRUPTIONS; in applyRestrictions()
2267 case Global.ZEN_MODE_NO_INTERRUPTIONS: in applyZenToRingerMode()
2340 case Global.ZEN_MODE_NO_INTERRUPTIONS: return 3; in zenSeverity()
2469 && (mZenMode == Global.ZEN_MODE_NO_INTERRUPTIONS in onSetRingerModeInternal()
2548 if (mZenMode == Global.ZEN_MODE_NO_INTERRUPTIONS) { in getRingerModeAffectedStreams()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/domain/interactor/
DNotificationsSoundPolicyInteractorTest.kt168 ZenMode(Global.ZEN_MODE_NO_INTERRUPTIONS) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DDndTile.java258 case Global.ZEN_MODE_NO_INTERRUPTIONS: in handleUpdateState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarPolicy.java392 final boolean zenNone = zen == Global.ZEN_MODE_NO_INTERRUPTIONS; in updateAlarm()
423 } else if (zen == Global.ZEN_MODE_NO_INTERRUPTIONS) { in updateVolumeZen()
/frameworks/base/core/proto/android/service/
Dnotification.proto158 ZEN_MODE_NO_INTERRUPTIONS = 2; enumerator
/frameworks/base/core/java/android/preference/
DSeekBarVolumizer.java283 || mZenMode == Global.ZEN_MODE_NO_INTERRUPTIONS in isZenMuted()
/frameworks/base/core/java/android/app/
DNotificationManager.java2904 case Global.ZEN_MODE_NO_INTERRUPTIONS: return INTERRUPTION_FILTER_NONE; in zenModeToInterruptionFilter()
2915 case INTERRUPTION_FILTER_NONE: return Global.ZEN_MODE_NO_INTERRUPTIONS; in zenModeFromInterruptionFilter()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/volume/
DVolumeDialogImplTest.java760 state.zenMode = Settings.Global.ZEN_MODE_NO_INTERRUPTIONS; in turnOnDnD_volumeSliderIconChangesToDnd()

12