Searched refs:canBypassDnd (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/core/java/com/android/server/notification/ |
D | PriorityExtractor.java | 46 record.setPackagePriority(record.getChannel().canBypassDnd() in process()
|
D | RankingHelper.java | 646 boolean bypassDnd = channel.canBypassDnd(); in createNotificationChannel() 678 if (channel.canBypassDnd() != mAreChannelsBypassingDnd) { in createNotificationChannel() 718 r.priority = updatedChannel.canBypassDnd() in updateNotificationChannel() 729 if (updatedChannel.canBypassDnd() != mAreChannelsBypassingDnd) { in updateNotificationChannel() 766 if (mAreChannelsBypassingDnd && channel.canBypassDnd()) { in deleteNotificationChannel() 990 if (!channel.isDeleted() && channel.canBypassDnd()) { in updateChannelsBypassingDnd() 1055 if (original.canBypassDnd() != update.canBypassDnd()) { in lockFieldsForUpdate()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | RankingHelperTest.java | 279 assertEquals(expected.canBypassDnd(), actual.canBypassDnd()); in compareChannels() 646 assertFalse(updated.canBypassDnd()); in testChannelXml_defaultChannelLegacyApp_noUserSettings() 686 assertTrue(updated1.canBypassDnd()); in testChannelXml_upgradeCreateDefaultChannel() 896 assertFalse(savedChannel.canBypassDnd()); in testCreateChannel_CannotChangeHiddenFields() 925 assertFalse(savedChannel.canBypassDnd()); in testCreateChannel_CannotChangeHiddenFieldsAssistant() 1775 .canBypassDnd()); in testAndroidPkgCannotBypassDnd_creation() 1785 assertTrue(mHelper.getNotificationChannel(PKG, UID, "A", false).canBypassDnd()); in testDndPkgCanBypassDnd_creation() 1795 assertFalse(mHelper.getNotificationChannel(PKG, 1000, "A", false).canBypassDnd()); in testNormalPkgCannotBypassDnd_creation() 1808 .canBypassDnd()); in testAndroidPkgCannotBypassDnd_update() 1820 assertTrue(mHelper.getNotificationChannel(PKG, UID, "A", false).canBypassDnd()); in testDndPkgCanBypassDnd_update() [all …]
|
/frameworks/base/core/java/android/app/ |
D | NotificationChannel.java | 496 public boolean canBypassDnd() { in canBypassDnd() method in NotificationChannel 713 if (canBypassDnd()) { in writeXml() 778 if (canBypassDnd()) { in toJson()
|
/frameworks/base/config/ |
D | hiddenapi-public-dex.txt | 3846 Landroid/app/NotificationChannel;->canBypassDnd()Z
|
/frameworks/base/api/ |
D | current.txt | 5624 method public boolean canBypassDnd();
|