Home
last modified time | relevance | path

Searched refs:areChannelsBypassingDnd (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeConfigTest.java63 config.areChannelsBypassingDnd = true; in testPriorityOnlyMutingAllNotifications()
65 config.areChannelsBypassingDnd = false; in testPriorityOnlyMutingAllNotifications()
147 config.areChannelsBypassingDnd = true; in testPriorityOnlyMutingAll()
150 config.areChannelsBypassingDnd = false; in testPriorityOnlyMutingAll()
246 config.areChannelsBypassingDnd = false; in getMutedRingerConfig()
264 config.areChannelsBypassingDnd = false; in getCustomConfig()
285 config.areChannelsBypassingDnd = false; in getMutedAllConfig()
DPreferencesHelperTest.java1439 assertFalse(mHelper.areChannelsBypassingDnd()); in testCreateAndDeleteCanChannelsBypassDnd()
1448 assertTrue(mHelper.areChannelsBypassingDnd()); in testCreateAndDeleteCanChannelsBypassDnd()
1454 assertTrue(mHelper.areChannelsBypassingDnd()); // channel2 can still bypass DND in testCreateAndDeleteCanChannelsBypassDnd()
1459 assertFalse(mHelper.areChannelsBypassingDnd()); in testCreateAndDeleteCanChannelsBypassDnd()
1471 assertFalse(mHelper.areChannelsBypassingDnd()); in testUpdateCanChannelsBypassDnd()
1479 assertTrue(mHelper.areChannelsBypassingDnd()); in testUpdateCanChannelsBypassDnd()
1487 assertFalse(mHelper.areChannelsBypassingDnd()); in testUpdateCanChannelsBypassDnd()
1501 assertFalse(mHelper.areChannelsBypassingDnd()); in testSetupNewZenModeHelper_canBypass()
1513 assertFalse(mHelper.areChannelsBypassingDnd()); in testSetupNewZenModeHelper_cannotBypass()
/frameworks/base/core/java/android/service/notification/
DZenModeConfig.java185 public boolean areChannelsBypassingDnd = DEFAULT_CHANNELS_BYPASSING_DND; field in ZenModeConfig
219 areChannelsBypassingDnd = source.readInt() == 1; in ZenModeConfig()
253 dest.writeInt(areChannelsBypassingDnd ? 1 : 0); in writeToParcel()
276 .append(",areChannelsBypassingDnd=").append(areChannelsBypassingDnd) in toString()
354 if (areChannelsBypassingDnd != to.areChannelsBypassingDnd) { in diff()
355 d.addLine("areChannelsBypassingDnd", areChannelsBypassingDnd, in diff()
356 to.areChannelsBypassingDnd); in diff()
451 && other.areChannelsBypassingDnd == areChannelsBypassingDnd in equals()
462 suppressedVisualEffects, areChannelsBypassingDnd, allowConversations, in hashCode()
598 rt.areChannelsBypassingDnd = safeBoolean(parser, in readXml()
[all …]
/frameworks/base/core/java/android/app/
DINotificationManager.aidl115 boolean areChannelsBypassingDnd(); in areChannelsBypassingDnd() method
/frameworks/base/services/core/java/com/android/server/notification/
DPreferencesHelper.java1630 public void updateZenPolicy(boolean areChannelsBypassingDnd) { in updateZenPolicy() argument
1635 (areChannelsBypassingDnd ? NotificationManager.Policy.STATE_CHANNELS_BYPASSING_DND in updateZenPolicy()
1640 public boolean areChannelsBypassingDnd() { in areChannelsBypassingDnd() method in PreferencesHelper
DZenModeHelper.java1195 .writeBoolean(config.areChannelsBypassingDnd) in pullRules()
DNotificationManagerService.java3608 public boolean areChannelsBypassingDnd() {
3609 return mPreferencesHelper.areChannelsBypassingDnd();