Home
last modified time | relevance | path

Searched refs:isBlockable (Results 1 – 10 of 10) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
H A DNotificationEntryTest.java98 doReturn(false).when(mChannel).isBlockable(); in setup()
111 doReturn(true).when(mChannel).isBlockable(); in testBlockableEntryWhenCritical()
114 assertTrue(mEntry.isBlockable()); in testBlockableEntryWhenCritical()
120 doReturn(true).when(mChannel).isBlockable(); in testBlockableEntryWhenCriticalAndChannelNotBlockable()
124 assertTrue(mEntry.isBlockable()); in testBlockableEntryWhenCriticalAndChannelNotBlockable()
129 doReturn(false).when(mChannel).isBlockable(); in testNonBlockableEntryWhenCriticalAndChannelNotBlockable()
133 assertFalse(mEntry.isBlockable()); in testNonBlockableEntryWhenCriticalAndChannelNotBlockable()
147 assertFalse(entry.isBlockable()); in testBlockableWhenEntryHasNoChannel()
169 doReturn(false).when(mChannel).isBlockable(); in testIsExemptFromDndVisualSuppression_system()
173 assertFalse(mEntry.isBlockable()); in testIsExemptFromDndVisualSuppression_system()
/aosp14/frameworks/base/core/java/android/app/
H A DNotificationChannel.java864 public boolean isBlockable() { in isBlockable() method in NotificationChannel
1180 if (isBlockable()) { in writeXml()
1181 out.attributeBoolean(null, ATT_BLOCKABLE_SYSTEM, isBlockable()); in writeXml()
1246 record.put(ATT_BLOCKABLE_SYSTEM, isBlockable()); in toJson()
1337 && isBlockable() == that.isBlockable() in equals()
1360 getGroup(), getAudioAttributes(), isBlockable(), mAllowBubbles, in hashCode()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
H A DNotificationEntry.java811 if (!isBlockable()) { in isExemptFromDndVisualSuppression()
821 public boolean isBlockable() { in isBlockable() method in NotificationEntry
831 && !getChannel().isBlockable()) { in updateIsBlockable()
/aosp14/frameworks/base/services/core/java/com/android/server/notification/
H A DPreferencesHelper.java946 if (channel.isBlockable() != existing.isBlockable()) { in createNotificationChannel()
947 existing.setBlockable(channel.isBlockable()); in createNotificationChannel()
1098 && !(channel.isBlockable() || channel.getImportance() == IMPORTANCE_NONE)) { in updateNotificationChannel()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
H A DExpandableNotificationRowTest.java542 Mockito.doReturn(false, true).when(entry).isBlockable(); in testGetIsNonblockable()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
H A DExpandableNotificationRow.java556 return !mEntry.isBlockable(); in getIsNonblockable()
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/aosp14/frameworks/base/boot/
H A Dboot-image-profile.txt2352 HSPLandroid/app/NotificationChannel;->isBlockable()Z
/aosp14/frameworks/base/config/
H A Dboot-image-profile.txt2352 HSPLandroid/app/NotificationChannel;->isBlockable()Z
/aosp14/frameworks/base/core/api/
H A Dcurrent.txt6743 method public boolean isBlockable();