Searched refs:isNonblockable (Results 1 – 4 of 4) sorted by relevance
276 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()
166 public boolean isNonblockable(String packageName, String channelName) { in isNonblockable() method in NotificationBlockingHelperManager
189 boolean isNonblockable, in bindNotification() argument207 mIsNonblockable = isNonblockable; in bindNotification()
510 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()