Home
last modified time | relevance | path

Searched refs:ZEN_MODE_IMPORTANT_INTERRUPTIONS (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeHelperTest.java208 customRule.zenMode = Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS; in getCustomAutomaticRules()
233 mZenModeHelperSpy.mZenMode = Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS; in testZenOn_AllowAlarmsMedia_NoAlarmMediaMuteApplied()
246 mZenModeHelperSpy.mZenMode = Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS; in testZenOn_DisallowAlarmsMedia_AlarmMediaMuteApplied()
332 mZenModeHelperSpy.mZenMode = Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS; in testZenAllCannotBypass()
354 mZenModeHelperSpy.mZenMode = Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS; in testApplyRestrictions_whitelist_priorityOnlyMode()
405 mZenModeHelperSpy.setZenModeSetting(Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS); in testZenUpgradeNotification()
420 mZenModeHelperSpy.setZenModeSetting(Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS); in testNoZenUpgradeNotification()
433 mZenModeHelperSpy.setZenModeSetting(Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS); in testNoZenUpgradeNotificationZenUpdated()
450 mZenModeHelperSpy.mZenMode = Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS; in testZenSetInternalRinger_AllPriorityNotificationSoundsMuted()
493 mZenModeHelperSpy.mZenMode = Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS; in testRingerAffectedStreamsPriorityOnly()
[all …]
DZenModeFilteringTest.java21 import static android.provider.Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS;
129 assertTrue(mZenModeFiltering.shouldIntercept(ZEN_MODE_IMPORTANT_INTERRUPTIONS, policy, r)); in testSuppressDNDInfo_yes_VisEffectsAllowed()
139 assertTrue(mZenModeFiltering.shouldIntercept(ZEN_MODE_IMPORTANT_INTERRUPTIONS, policy, r)); in testSuppressDNDInfo_yes_WrongId()
149 assertTrue(mZenModeFiltering.shouldIntercept(ZEN_MODE_IMPORTANT_INTERRUPTIONS, policy, r)); in testSuppressDNDInfo_yes_WrongPackage()
159 assertFalse(mZenModeFiltering.shouldIntercept(ZEN_MODE_IMPORTANT_INTERRUPTIONS, policy, r)); in testSuppressDNDInfo_no()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DDndTile.java162 mController.setZen(Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS, null, TAG); in showDetail()
182 mController.setZen(Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS, null, TAG); in showDetail()
187 mController.setZen(Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS, in showDetail()
213 mController.setZen(Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS, null, TAG); in handleSecondaryClick()
241 case Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS: in handleUpdateState()
365 mController.setZen(Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS, null, TAG); in setToggleState()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DZenModeControllerImplTest.java97 mController.updateZenMode(Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS); in testAreNotificationsHiddenInShade_zenOnShadeNotSuppressed()
108 mController.updateZenMode(Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS); in testAreNotificationsHiddenInShade_zenOnShadeSuppressed()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java906 if (setRingerMode && (zen != zenBefore || (zen == Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS in evaluateZenMode()
997 final boolean zenPriorityOnly = mZenMode == Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS; in applyRestrictions()
1084 case Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS: in applyZenToRingerMode()
1141 case Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS: return 1; in zenSeverity()
1163 || (mZenMode == Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS in onSetRingerModeInternal()
1174 newZen = Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS; in onSetRingerModeInternal()
1184 || (mZenMode == Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS in onSetRingerModeInternal()
1217 newZen = Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS; in onSetRingerModeExternal()
1264 if (mZenMode == Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS in getRingerModeAffectedStreams()
DZenModeFiltering.java93 if (zen == Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS) { in matchesCallFilter()
145 case Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS: in shouldIntercept()
DZenLog.java198 case Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS: return "important_interruptions"; in zenModeToString()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DZenModePanel.java179 Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS); in createZenButtons()
278 case Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS: in prefKeyForConfirmation()
458 final boolean zenImportant = zen == Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS; in updateWidgets()
752 case Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS: in announceConditionSelection()
DEvents.java247 case Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS: return "important_interruptions"; in zenModeToString()
DVolumeDialogImpl.java829 || (mState.zenMode == Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS in updateRingerH()
990 final boolean isZenPriorityOnly = mState.zenMode == Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS; in updateVolumeRowH()
/frameworks/base/core/proto/android/service/
Dnotification.proto148 ZEN_MODE_IMPORTANT_INTERRUPTIONS = 1; enumerator
/frameworks/base/core/java/android/app/
DNotificationManager.java2051 case Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS: return INTERRUPTION_FILTER_PRIORITY; in zenModeToInterruptionFilter()
2062 case INTERRUPTION_FILTER_PRIORITY: return Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS; in zenModeFromInterruptionFilter()
/frameworks/base/core/java/android/preference/
DSeekBarVolumizer.java251 || (mZenMode == Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS in isZenMuted()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
DEnableZenModeDialog.java137 Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS, in createDialog()
/frameworks/base/services/core/java/com/android/server/power/
DNotifier.java842 Settings.Global.ZEN_MODE, Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS) in isChargingFeedbackEnabled()
/frameworks/base/core/java/android/service/notification/
DZenModeConfig.java657 if (rt.zenMode != Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS in readRuleXml()
660 rt.zenMode = Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS; in readRuleXml()
1945 || (zen == Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS in isZenOverridingRinger()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarPolicy.java330 } else if (zen == Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS) { in updateVolumeZen()
/frameworks/base/core/java/android/provider/
DSettings.java13213 public static final int ZEN_MODE_IMPORTANT_INTERRUPTIONS = 1; field in Settings.Global
13222 if (mode == ZEN_MODE_IMPORTANT_INTERRUPTIONS) return "ZEN_MODE_IMPORTANT_INTERRUPTIONS"; in zenModeToString()
13231 case Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS: in isValidZenMode()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java2414 case Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS: in volumeAdjustmentAllowedByDnd()
3999 if (mNm.getZenMode() != Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS) { in shouldZenMuteStream()
4033 if (mSystemReady && mNm.getZenMode() == Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS) { in updateZenModeAffectedStreams()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt68270 Landroid/service/notification/NotificationServiceProto;->ZEN_MODE_IMPORTANT_INTERRUPTIONS:I