Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/
DNotificationPreferenceControllerTest.java89 assertFalse(mController.isChannelBlockable()); in noCrashIfNoOnResume()
232 assertFalse(mController.isChannelBlockable()); in testIsBlockable_oemAllowlist()
236 assertTrue(mController.isChannelBlockable()); in testIsBlockable_oemAllowlist()
247 assertFalse(mController.isChannelBlockable()); in testIsBlockable_defaultApp()
258 assertTrue(mController.isChannelBlockable()); in testIsChannelBlockable_nonSystemAppsBlockable()
270 assertFalse(mController.isChannelBlockable()); in testIsChannelBlockable_mostSystemAppsNotBlockable()
281 assertTrue(mController.isChannelBlockable()); in testIsChannelBlockable_someSystemAppsAreBlockable()
293 assertTrue(mController.isChannelBlockable()); in testIsChannelBlockable_canUndoSystemBlock()
316 assertFalse(mController.isChannelBlockable()); in testIsChannelBlockable_oemLocked()
328 assertFalse(mController.isChannelBlockable()); in testIsChannelBlockable_criticalDeviceFunction()
/packages/apps/Settings/src/com/android/settings/notification/app/
DNotificationPreferenceController.java136 protected boolean isChannelBlockable() { in isChannelBlockable() method in NotificationPreferenceController
137 return isChannelBlockable(mChannel); in isChannelBlockable()
140 protected boolean isChannelBlockable(NotificationChannel channel) { in isChannelBlockable() method in NotificationPreferenceController
DBlockPreferenceController.java83 if (mChannel != null && !isChannelBlockable()) { in updateState()
DChannelListPreferenceController.java319 && isChannelBlockable(channel) in updateSingleChannelPrefs()