Home
last modified time | relevance | path

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

/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/services/core/java/com/android/server/notification/
DPriorityExtractor.java46 record.setPackagePriority(record.getChannel().canBypassDnd() in process()
DPreferencesHelper.java894 boolean bypassDnd = channel.canBypassDnd(); in createNotificationChannel()
895 if (bypassDnd != existing.canBypassDnd() || wasUndeleted) { in createNotificationChannel()
964 if (channel.canBypassDnd() != mAreChannelsBypassingDnd) { in createNotificationChannel()
1038 r.priority = updatedChannel.canBypassDnd() in updateNotificationChannel()
1052 if (updatedChannel.canBypassDnd() != mAreChannelsBypassingDnd in updateNotificationChannel()
1152 if (mAreChannelsBypassingDnd && channel.canBypassDnd()) { in deleteNotificationChannelLocked()
1561 if (channelIsLiveLocked(r, channel) && channel.canBypassDnd()) { in getNotificationChannelsBypassingDnd()
1657 if (channelIsLiveLocked(r, channel) && channel.canBypassDnd()) { in getAppsBypassingDndCount()
1695 if (channelIsLiveLocked(r, channel) && channel.canBypassDnd()) { in updateChannelsBypassingDnd()
1861 if (original.canBypassDnd() != update.canBypassDnd()) { in lockFieldsForUpdateLocked()
/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.java688 public boolean canBypassDnd() { in canBypassDnd() method in NotificationChannel
1063 if (canBypassDnd()) { in writeXml()
1149 if (canBypassDnd()) { in toJson()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPreferencesHelperTest.java320 assertEquals(expected.canBypassDnd(), actual.canBypassDnd()); in compareChannels()
339 assertEquals(parent.canBypassDnd(), actual.canBypassDnd()); in compareChannelsParentChild()
753 assertFalse(updated.canBypassDnd()); in testChannelXml_defaultChannelLegacyApp_noUserSettings()
794 assertTrue(updated1.canBypassDnd()); in testChannelXml_upgradeCreateDefaultChannel()
1045 assertFalse(savedChannel.canBypassDnd()); in testCreateChannel_CannotChangeHiddenFields()
1076 assertFalse(savedChannel.canBypassDnd()); in testCreateChannel_CannotChangeHiddenFieldsAssistant()
2290 .canBypassDnd()); in testAndroidPkgCannotBypassDnd_creation()
2300 assertTrue(mHelper.getNotificationChannel(PKG_N_MR1, UID_N_MR1, "A", false).canBypassDnd()); in testDndPkgCanBypassDnd_creation()
2310 assertFalse(mHelper.getNotificationChannel(PKG_N_MR1, 1000, "A", false).canBypassDnd()); in testNormalPkgCannotBypassDnd_creation()
2323 .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.java1290 assertThat(tile.canBypassDnd()).isFalse(); in testUpdateWidgetsFromBroadcastInBackground()
/frameworks/base/config/
Dboot-profile.txt663 Landroid/app/NotificationChannel;->canBypassDnd()Z
Dboot-image-profile.txt2250 HSPLandroid/app/NotificationChannel;->canBypassDnd()Z
/frameworks/base/boot/
Dboot-image-profile.txt2250 HSPLandroid/app/NotificationChannel;->canBypassDnd()Z
/frameworks/base/core/api/
Dcurrent.txt6154 method public boolean canBypassDnd();