Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/notification/
DPriorityExtractor.java46 record.setPackagePriority(record.getChannel().canBypassDnd() in process()
DPreferencesHelper.java965 boolean bypassDnd = channel.canBypassDnd(); in createNotificationChannel()
966 if (bypassDnd != existing.canBypassDnd() || wasUndeleted) { in createNotificationChannel()
1032 if (channel.canBypassDnd() != mAreChannelsBypassingDnd) { in createNotificationChannel()
1103 r.priority = updatedChannel.canBypassDnd() in updateNotificationChannel()
1117 if (updatedChannel.canBypassDnd() != mAreChannelsBypassingDnd in updateNotificationChannel()
1207 channelBypassedDnd = channel.canBypassDnd(); in deleteNotificationChannel()
1422 groupBypassedDnd |= nc.canBypassDnd(); in deleteNotificationChannelGroup()
1614 if (channelIsLiveLocked(r, channel) && channel.canBypassDnd()) { in getNotificationChannelsBypassingDnd()
1707 if (channelIsLiveLocked(r, channel) && channel.canBypassDnd()) { in updateChannelsBypassingDnd()
1862 if (original.canBypassDnd() != update.canBypassDnd()) { in lockFieldsForUpdateLocked()
/frameworks/base/core/java/android/app/people/
DPeopleSpaceTile.java195 public boolean canBypassDnd() { in canBypassDnd() method in PeopleSpaceTile
313 && channel.getNotificationChannel().canBypassDnd(); in Builder()
436 public Builder setCanBypassDnd(boolean canBypassDnd) { in setCanBypassDnd() argument
437 mCanBypassDnd = canBypassDnd; in setCanBypassDnd()
/frameworks/base/core/tests/coretests/src/android/app/people/
DPeopleSpaceTileTest.java200 assertFalse(tile.canBypassDnd()); in testCanBypassDnd()
206 assertTrue(tile.canBypassDnd()); in testCanBypassDnd()
338 assertThat(readTile.canBypassDnd()).isEqualTo(tile.canBypassDnd()); in testWriteThenReadFromParcel()
/frameworks/base/core/java/android/app/
DNotificationChannel.java692 public boolean canBypassDnd() { in canBypassDnd() method in NotificationChannel
1043 if (canBypassDnd()) { in writeXml()
1129 if (canBypassDnd()) { in toJson()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPreferencesHelperTest.java348 assertEquals(expected.canBypassDnd(), actual.canBypassDnd()); in compareChannels()
367 assertEquals(parent.canBypassDnd(), actual.canBypassDnd()); in compareChannelsParentChild()
1444 assertFalse(updated.canBypassDnd()); in testChannelXml_defaultChannelLegacyApp_noUserSettings()
1485 assertTrue(updated1.canBypassDnd()); in testChannelXml_upgradeCreateDefaultChannel()
1720 assertFalse(savedChannel.canBypassDnd()); in testCreateChannel_CannotChangeHiddenFields()
1752 assertFalse(savedChannel.canBypassDnd()); in testCreateChannel_CannotChangeHiddenFieldsAssistant()
3221 .canBypassDnd()); in testAndroidPkgCannotBypassDnd_creation()
3231 assertTrue(mHelper.getNotificationChannel(PKG_N_MR1, UID_N_MR1, "A", false).canBypassDnd()); in testDndPkgCanBypassDnd_creation()
3241 assertFalse(mHelper.getNotificationChannel(PKG_N_MR1, 1000, "A", false).canBypassDnd()); in testNormalPkgCannotBypassDnd_creation()
3254 .canBypassDnd()); in testAndroidPkgCannotBypassDnd_update()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/
DPeopleTileViewHelper.java330 return !tile.canBypassDnd(); in isDndBlockingTileData()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/
DPeopleSpaceWidgetManagerTest.java1285 assertThat(tile.canBypassDnd()).isFalse(); in testUpdateWidgetsFromBroadcastInBackground()
/frameworks/base/config/
Dboot-profile.txt663 Landroid/app/NotificationChannel;->canBypassDnd()Z
Dboot-image-profile.txt2286 HSPLandroid/app/NotificationChannel;->canBypassDnd()Z
/frameworks/base/boot/
Dboot-image-profile.txt2286 HSPLandroid/app/NotificationChannel;->canBypassDnd()Z
/frameworks/base/core/api/
Dcurrent.txt6397 method public boolean canBypassDnd();