Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/notification/
DPriorityExtractor.java46 record.setPackagePriority(record.getChannel().canBypassDnd() in process()
DPreferencesHelper.java689 boolean bypassDnd = channel.canBypassDnd(); in createNotificationChannel()
690 if (bypassDnd != existing.canBypassDnd()) { in createNotificationChannel()
740 if (channel.canBypassDnd() != mAreChannelsBypassingDnd) { in createNotificationChannel()
796 r.priority = updatedChannel.canBypassDnd() in updateNotificationChannel()
808 if (updatedChannel.canBypassDnd() != mAreChannelsBypassingDnd in updateNotificationChannel()
850 if (mAreChannelsBypassingDnd && channel.canBypassDnd()) { in deleteNotificationChannel()
1111 if (channelIsLiveLocked(r, channel) && channel.canBypassDnd()) { in getNotificationChannelsBypassingDnd()
1207 if (channelIsLiveLocked(r, channel) && channel.canBypassDnd()) { in getAppsBypassingDndCount()
1245 if (channelIsLiveLocked(r, channel) && channel.canBypassDnd()) { in updateChannelsBypassingDnd()
1409 if (original.canBypassDnd() != update.canBypassDnd()) { in lockFieldsForUpdateLocked()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPreferencesHelperTest.java223 assertEquals(expected.canBypassDnd(), actual.canBypassDnd()); in compareChannels()
616 assertFalse(updated.canBypassDnd()); in testChannelXml_defaultChannelLegacyApp_noUserSettings()
657 assertTrue(updated1.canBypassDnd()); in testChannelXml_upgradeCreateDefaultChannel()
908 assertFalse(savedChannel.canBypassDnd()); in testCreateChannel_CannotChangeHiddenFields()
939 assertFalse(savedChannel.canBypassDnd()); in testCreateChannel_CannotChangeHiddenFieldsAssistant()
2068 .canBypassDnd()); in testAndroidPkgCannotBypassDnd_creation()
2078 assertTrue(mHelper.getNotificationChannel(PKG_N_MR1, UID_N_MR1, "A", false).canBypassDnd()); in testDndPkgCanBypassDnd_creation()
2088 assertFalse(mHelper.getNotificationChannel(PKG_N_MR1, 1000, "A", false).canBypassDnd()); in testNormalPkgCannotBypassDnd_creation()
2101 .canBypassDnd()); in testAndroidPkgCannotBypassDnd_update()
2113 assertTrue(mHelper.getNotificationChannel(PKG_N_MR1, UID_N_MR1, "A", false).canBypassDnd()); in testDndPkgCanBypassDnd_update()
[all …]
/frameworks/base/core/java/android/app/
DNotificationChannel.java538 public boolean canBypassDnd() { in canBypassDnd() method in NotificationChannel
806 if (canBypassDnd()) { in writeXml()
877 if (canBypassDnd()) { in toJson()
/frameworks/base/non-updatable-api/
Dcurrent.txt5758 method public boolean canBypassDnd();
/frameworks/base/api/
Dcurrent.txt5758 method public boolean canBypassDnd();