/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/clocks/ |
D | ZenData.kt | 3 import android.provider.Settings.Global.ZEN_MODE_ALARMS 16 ALARMS(ZEN_MODE_ALARMS);
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | ZenModeControllerImplTest.java | 141 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/ |
D | ZenMode.kt | 35 Global.ZEN_MODE_ALARMS,
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/statusbar/notification/data/repository/ |
D | NotificationsSoundPolicyRepositoryTest.kt | 97 `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/ |
D | ZenModeInteractor.kt | 36 Settings.Global.ZEN_MODE_ALARMS -> true in <lambda>()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/statusbar/notification/domain/interactor/ |
D | NotificationsSoundPolicyInteractor.kt | 73 Settings.Global.ZEN_MODE_ALARMS -> in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | DndTile.java | 19 import static android.provider.Settings.Global.ZEN_MODE_ALARMS; 264 case ZEN_MODE_ALARMS: in handleUpdateState()
|
/frameworks/proto_logging/stats/enums/dnd/ |
D | dnd_enums.proto | 31 ZEN_MODE_ALARMS = 3; enumerator
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/domain/interactor/ |
D | ZenModeInteractorTest.kt | 75 repository.zenMode.value = Settings.Global.ZEN_MODE_ALARMS in testIsZenModeEnabled_alarms()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | Events.java | 331 case Global.ZEN_MODE_ALARMS: return ZEN_MODE_ALARMS_ONLY; in fromZenMode() 544 case Global.ZEN_MODE_ALARMS: return "alarms"; in zenModeToString()
|
D | VolumeDialogImpl.java | 1765 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/ |
D | ZenModeFiltering.java | 111 if (zen == Global.ZEN_MODE_ALARMS) { in matchesCallFilter() 188 case Global.ZEN_MODE_ALARMS: in shouldIntercept()
|
D | ZenLog.java | 216 case Global.ZEN_MODE_ALARMS: return "alarms"; in zenModeToString()
|
D | ZenModeHelper.java | 2055 } 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/ |
D | ZenModeHelperTest.java | 50 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 …]
|
D | ZenModeFilteringTest.java | 30 import static android.provider.Settings.Global.ZEN_MODE_ALARMS; 229 assertFalse(mZenModeFiltering.shouldIntercept(ZEN_MODE_ALARMS, policy, r)); in testSuppressDNDInfo_no()
|
D | ZenModeConfigTest.java | 101 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/ |
D | NotificationsSoundPolicyInteractorTest.kt | 209 notificationsSoundPolicyRepository.updateZenMode(ZenMode(Global.ZEN_MODE_ALARMS)) in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ |
D | KeyguardSliceProviderTest.java | 200 mProvider.onZenChanged(Settings.Global.ZEN_MODE_ALARMS); in onZenChanged_updatesSlice()
|
/frameworks/base/core/proto/android/service/ |
D | notification.proto | 159 ZEN_MODE_ALARMS = 3; enumerator
|
/frameworks/base/core/java/android/preference/ |
D | SeekBarVolumizer.java | 282 return mNotificationOrRing && mZenMode == Global.ZEN_MODE_ALARMS in isZenMuted()
|
/frameworks/base/core/java/android/app/ |
D | NotificationManager.java | 2903 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/ |
D | Settings.java | 17022 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/ |
D | ZenModeConfig.java | 2817 || zen == Global.ZEN_MODE_ALARMS in isZenOverridingRinger()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioService.java | 4902 case Settings.Global.ZEN_MODE_ALARMS: in volumeAdjustmentAllowedByDnd() 7050 } else if (zenMode == Settings.Global.ZEN_MODE_ALARMS) { in updateZenModeAffectedStreams()
|