Home
last modified time | relevance | path

Searched refs:ZEN_MODE_ALARMS (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/clocks/
DZenData.kt3 import android.provider.Settings.Global.ZEN_MODE_ALARMS
16 ALARMS(ZEN_MODE_ALARMS);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DZenModeControllerImplTest.java141 Settings.Global.ZEN_MODE_ALARMS, in testModeChange()
142 Settings.Global.ZEN_MODE_ALARMS in testModeChange()
168 Settings.Global.ZEN_MODE_ALARMS, in testModeChange_callbackNotified()
169 Settings.Global.ZEN_MODE_ALARMS in testModeChange_callbackNotified()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/statusbar/notification/data/model/
DZenMode.kt35 Global.ZEN_MODE_ALARMS,
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/statusbar/notification/data/repository/
DNotificationsSoundPolicyRepositoryTest.kt97 `when`(notificationManager.zenMode).thenReturn(Global.ZEN_MODE_ALARMS) 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/statusbar/policy/domain/interactor/
DZenModeInteractor.kt36 Settings.Global.ZEN_MODE_ALARMS -> true in <lambda>()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/statusbar/notification/domain/interactor/
DNotificationsSoundPolicyInteractor.kt73 Settings.Global.ZEN_MODE_ALARMS -> in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DDndTile.java19 import static android.provider.Settings.Global.ZEN_MODE_ALARMS;
264 case ZEN_MODE_ALARMS: in handleUpdateState()
/frameworks/proto_logging/stats/enums/dnd/
Ddnd_enums.proto31 ZEN_MODE_ALARMS = 3; enumerator
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/domain/interactor/
DZenModeInteractorTest.kt75 repository.zenMode.value = Settings.Global.ZEN_MODE_ALARMS in testIsZenModeEnabled_alarms()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DEvents.java331 case Global.ZEN_MODE_ALARMS: return ZEN_MODE_ALARMS_ONLY; in fromZenMode()
544 case Global.ZEN_MODE_ALARMS: return "alarms"; in zenModeToString()
DVolumeDialogImpl.java1765 boolean isZenMuted = mState.zenMode == Global.ZEN_MODE_ALARMS
1924 final boolean isZenAlarms = mState.zenMode == Global.ZEN_MODE_ALARMS;
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeFiltering.java111 if (zen == Global.ZEN_MODE_ALARMS) { in matchesCallFilter()
188 case Global.ZEN_MODE_ALARMS: in shouldIntercept()
DZenLog.java216 case Global.ZEN_MODE_ALARMS: return "alarms"; in zenModeToString()
DZenModeHelper.java2055 } else if (rule.zenMode == Global.ZEN_MODE_ALARMS) { in applyCustomPolicy()
2188 final boolean zenAlarmsOnly = mZenMode == Global.ZEN_MODE_ALARMS; in applyRestrictions()
2268 case Global.ZEN_MODE_ALARMS: in applyZenToRingerMode()
2339 case Global.ZEN_MODE_ALARMS: return 2; in zenSeverity()
2470 || mZenMode == Global.ZEN_MODE_ALARMS in onSetRingerModeInternal()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeHelperTest.java50 import static android.provider.Settings.Global.ZEN_MODE_ALARMS;
245 private static final int INTERRUPTION_FILTER_ZR = Settings.Global.ZEN_MODE_ALARMS;
585 mZenModeHelper.mZenMode = Settings.Global.ZEN_MODE_ALARMS; in testAlarmsOnly_alarmMediaMuteNotApplied()
605 mZenModeHelper.mZenMode = Settings.Global.ZEN_MODE_ALARMS; in testAlarmsOnly_callsMuteApplied()
619 mZenModeHelper.mZenMode = Settings.Global.ZEN_MODE_ALARMS; in testAlarmsOnly_allZenConfigToggledCannotBypass_alarmMuteNotApplied()
669 mZenModeHelper.mZenMode = Global.ZEN_MODE_ALARMS; in testApplyRestrictions_whitelist_alarmsOnlyMode()
1154 mZenModeHelper.mConfig.automaticRules = getCustomAutomaticRules(ZEN_MODE_ALARMS); in testProtoWithAutoRule()
1164 if (cfg.getZenMode().getNumber() == ZEN_MODE_ALARMS) { in testProtoWithAutoRule()
4470 assertThat(storedRule.zenMode).isEqualTo(ZEN_MODE_ALARMS); in updateAutomaticZenRule_fromApp_updatesValuesIfRuleNotUserModified()
5475 assertThat(mZenModeHelper.getZenMode()).isEqualTo(ZEN_MODE_ALARMS); in removeAndAddAutomaticZenRule_wasActive_isRestoredAsInactive()
[all …]
DZenModeFilteringTest.java30 import static android.provider.Settings.Global.ZEN_MODE_ALARMS;
229 assertFalse(mZenModeFiltering.shouldIntercept(ZEN_MODE_ALARMS, policy, r)); in testSuppressDNDInfo_no()
DZenModeConfigTest.java101 private final int INTERRUPTION_FILTER = Settings.Global.ZEN_MODE_ALARMS;
558 rule.zenMode = Settings.Global.ZEN_MODE_ALARMS; in testRuleXml_classic()
739 rule.zenMode = Settings.Global.ZEN_MODE_ALARMS; in testRuleXml_customInterruptionFilter()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/domain/interactor/
DNotificationsSoundPolicyInteractorTest.kt209 notificationsSoundPolicyRepository.updateZenMode(ZenMode(Global.ZEN_MODE_ALARMS)) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DKeyguardSliceProviderTest.java200 mProvider.onZenChanged(Settings.Global.ZEN_MODE_ALARMS); in onZenChanged_updatesSlice()
/frameworks/base/core/proto/android/service/
Dnotification.proto159 ZEN_MODE_ALARMS = 3; enumerator
/frameworks/base/core/java/android/preference/
DSeekBarVolumizer.java282 return mNotificationOrRing && mZenMode == Global.ZEN_MODE_ALARMS in isZenMuted()
/frameworks/base/core/java/android/app/
DNotificationManager.java2903 case Global.ZEN_MODE_ALARMS: return INTERRUPTION_FILTER_ALARMS; in zenModeToInterruptionFilter()
2914 case INTERRUPTION_FILTER_ALARMS: return Global.ZEN_MODE_ALARMS; in zenModeFromInterruptionFilter()
/frameworks/base/core/java/android/provider/
DSettings.java17022 public static final int ZEN_MODE_ALARMS = 3; field in Settings.Global
17102 if (mode == ZEN_MODE_ALARMS) return "ZEN_MODE_ALARMS"; in zenModeToString()
17111 case Global.ZEN_MODE_ALARMS: in isValidZenMode()
/frameworks/base/core/java/android/service/notification/
DZenModeConfig.java2817 || zen == Global.ZEN_MODE_ALARMS in isZenOverridingRinger()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java4902 case Settings.Global.ZEN_MODE_ALARMS: in volumeAdjustmentAllowedByDnd()
7050 } else if (zenMode == Settings.Global.ZEN_MODE_ALARMS) { in updateZenModeAffectedStreams()

12