Home
last modified time | relevance | path

Searched refs:isNonblockable (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationBlockingHelperManagerTest.java276 assertFalse(mBlockingHelperManager.isNonblockable("orange", "pie")); in testNonBlockable_package()
278 assertTrue(mBlockingHelperManager.isNonblockable("banana", "pie")); in testNonBlockable_package()
285 assertFalse(mBlockingHelperManager.isNonblockable("strawberry", "shortcake")); in testNonBlockable_channel()
287 assertTrue(mBlockingHelperManager.isNonblockable("strawberry", "pie")); in testNonBlockable_channel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationBlockingHelperManager.java166 public boolean isNonblockable(String packageName, String channelName) { in isNonblockable() method in NotificationBlockingHelperManager
DNotificationInfo.java189 boolean isNonblockable, in bindNotification() argument
207 mIsNonblockable = isNonblockable; in bindNotification()
DExpandableNotificationRow.java510 boolean isNonblockable = Dependency.get(NotificationBlockingHelperManager.class) in getIsNonblockable()
511 .isNonblockable(mEntry.getSbn().getPackageName(), in getIsNonblockable()
524 isNonblockable |= mEntry.getChannel().isImportanceLockedByOEM(); in getIsNonblockable()
525 isNonblockable |= mEntry.getChannel().isImportanceLockedByCriticalDeviceFunction(); in getIsNonblockable()
527 if (!isNonblockable && mEntry != null && mEntry.mIsSystemNotification != null) { in getIsNonblockable()
531 isNonblockable = true; in getIsNonblockable()
535 return isNonblockable; in getIsNonblockable()