Home
last modified time | relevance | path

Searched refs:applyRestrictions (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeHelperTest.java222 mZenModeHelperSpy.applyRestrictions(); in testZenOff_NoMuteApplied()
224 doNothing().when(mZenModeHelperSpy).applyRestrictions(eq(false), anyBoolean(), anyInt()); in testZenOff_NoMuteApplied()
225 verify(mZenModeHelperSpy, atLeastOnce()).applyRestrictions(false, false, in testZenOff_NoMuteApplied()
227 verify(mZenModeHelperSpy, atLeastOnce()).applyRestrictions(false, false, in testZenOff_NoMuteApplied()
237 mZenModeHelperSpy.applyRestrictions(); in testZenOn_AllowAlarmsMedia_NoAlarmMediaMuteApplied()
238 verify(mZenModeHelperSpy, atLeastOnce()).applyRestrictions(true, false, in testZenOn_AllowAlarmsMedia_NoAlarmMediaMuteApplied()
240 verify(mZenModeHelperSpy, atLeastOnce()).applyRestrictions(true, false, in testZenOn_AllowAlarmsMedia_NoAlarmMediaMuteApplied()
248 mZenModeHelperSpy.applyRestrictions(); in testZenOn_DisallowAlarmsMedia_AlarmMediaMuteApplied()
249 verify(mZenModeHelperSpy, atLeastOnce()).applyRestrictions(true, true, in testZenOn_DisallowAlarmsMedia_AlarmMediaMuteApplied()
253 verify(mZenModeHelperSpy, atLeastOnce()).applyRestrictions(true, true, in testZenOn_DisallowAlarmsMedia_AlarmMediaMuteApplied()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java254 applyRestrictions(); in setSuppressedEffects()
910 applyRestrictions(); in evaluateZenMode()
996 protected void applyRestrictions() { in applyRestrictions() method in ZenModeHelper
1026 applyRestrictions(zenPriorityOnly, false /*mute*/, usage); in applyRestrictions()
1028 applyRestrictions(zenPriorityOnly, muteNotifications || muteEverything, usage); in applyRestrictions()
1030 applyRestrictions(zenPriorityOnly, muteCalls || muteEverything, usage); in applyRestrictions()
1032 applyRestrictions(zenPriorityOnly, muteAlarms || muteEverything, usage); in applyRestrictions()
1034 applyRestrictions(zenPriorityOnly, muteMedia || muteEverything, usage); in applyRestrictions()
1038 applyRestrictions(zenPriorityOnly, muteSystem || muteEverything, usage, in applyRestrictions()
1040 applyRestrictions(zenPriorityOnly, false, usage, AppOpsManager.OP_VIBRATE); in applyRestrictions()
[all …]
/frameworks/base/services/
Dart-profile9932 HSPLcom/android/server/notification/ZenModeHelper;->applyRestrictions()V
9933 HSPLcom/android/server/notification/ZenModeHelper;->applyRestrictions(ZI)V
9934 HSPLcom/android/server/notification/ZenModeHelper;->applyRestrictions(ZII)V