Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeConfigTest.java62 config.areChannelsBypassingDnd = true; in testPriorityOnlyMutingAllNotifications()
64 config.areChannelsBypassingDnd = false; in testPriorityOnlyMutingAllNotifications()
117 config.areChannelsBypassingDnd = true; in testPriorityOnlyMutingAll()
120 config.areChannelsBypassingDnd = false; in testPriorityOnlyMutingAll()
216 config.areChannelsBypassingDnd = false; in getMutedNotificationsConfig()
234 config.areChannelsBypassingDnd = false; in getCustomConfig()
253 config.areChannelsBypassingDnd = false; in getMutedAllConfig()
DPreferencesHelperTest.java1348 assertFalse(mHelper.areChannelsBypassingDnd()); in testCreateAndDeleteCanChannelsBypassDnd()
1357 assertTrue(mHelper.areChannelsBypassingDnd()); in testCreateAndDeleteCanChannelsBypassDnd()
1363 assertTrue(mHelper.areChannelsBypassingDnd()); // channel2 can still bypass DND in testCreateAndDeleteCanChannelsBypassDnd()
1368 assertFalse(mHelper.areChannelsBypassingDnd()); in testCreateAndDeleteCanChannelsBypassDnd()
1380 assertFalse(mHelper.areChannelsBypassingDnd()); in testUpdateCanChannelsBypassDnd()
1388 assertTrue(mHelper.areChannelsBypassingDnd()); in testUpdateCanChannelsBypassDnd()
1396 assertFalse(mHelper.areChannelsBypassingDnd()); in testUpdateCanChannelsBypassDnd()
1409 assertFalse(mHelper.areChannelsBypassingDnd()); in testSetupNewZenModeHelper_canBypass()
1420 assertFalse(mHelper.areChannelsBypassingDnd()); in testSetupNewZenModeHelper_cannotBypass()
/frameworks/base/core/java/android/service/notification/
DZenModeConfig.java175 public boolean areChannelsBypassingDnd = DEFAULT_CHANNELS_BYPASSING_DND; field in ZenModeConfig
209 areChannelsBypassingDnd = source.readInt() == 1; in ZenModeConfig()
241 dest.writeInt(areChannelsBypassingDnd ? 1 : 0); in writeToParcel()
259 .append(",areChannelsBypassingDnd=").append(areChannelsBypassingDnd) in toString()
337 if (areChannelsBypassingDnd != to.areChannelsBypassingDnd) { in diff()
338 d.addLine("areChannelsBypassingDnd", areChannelsBypassingDnd, in diff()
339 to.areChannelsBypassingDnd); in diff()
434 && other.areChannelsBypassingDnd == areChannelsBypassingDnd; in equals()
443 suppressedVisualEffects, areChannelsBypassingDnd); in hashCode()
575 rt.areChannelsBypassingDnd = safeBoolean(parser, in readXml()
[all …]
/frameworks/base/core/java/android/app/
DINotificationManager.aidl106 boolean areChannelsBypassingDnd(); in areChannelsBypassingDnd() method
/frameworks/base/services/core/java/com/android/server/notification/
DPreferencesHelper.java1260 public void updateZenPolicy(boolean areChannelsBypassingDnd) { in updateZenPolicy() argument
1265 (areChannelsBypassingDnd ? NotificationManager.Policy.STATE_CHANNELS_BYPASSING_DND in updateZenPolicy()
1269 public boolean areChannelsBypassingDnd() { in areChannelsBypassingDnd() method in PreferencesHelper
DNotificationManagerService.java2861 public boolean areChannelsBypassingDnd() {
2862 return mPreferencesHelper.areChannelsBypassingDnd();