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.java91 assertFalse(mController.isChannelBlockable()); in noCrashIfNoOnResume()
235 assertFalse(mController.isChannelBlockable()); in testIsChannelBlockable_postMigration_locked()
247 assertTrue(mController.isChannelBlockable()); in testIsChannelBlockable_postMigration_locked_butChannelOff()
260 assertTrue(mController.isChannelBlockable()); in testIsChannelBlockable_postMigration_locked_butChannelBlockable()
328 assertTrue(mController.isChannelBlockable()); in testIsChannelBlockable_nonSystemAppsBlockable()
340 assertFalse(mController.isChannelBlockable()); in testIsChannelBlockable_mostSystemAppsNotBlockable()
351 assertTrue(mController.isChannelBlockable()); in testIsChannelBlockable_someSystemAppsAreBlockable()
363 assertTrue(mController.isChannelBlockable()); in testIsChannelBlockable_canUndoSystemBlock()
/packages/apps/Settings/src/com/android/settings/notification/app/
DNotificationPreferenceController.java144 protected boolean isChannelBlockable() { in isChannelBlockable() method in NotificationPreferenceController
145 return isChannelBlockable(mChannel); in isChannelBlockable()
148 protected boolean isChannelBlockable(NotificationChannel channel) { in isChannelBlockable() method in NotificationPreferenceController
DBlockPreferenceController.java83 if (mChannel != null && (!isChannelBlockable() || !isChannelConfigurable(mChannel))) { in updateState()
DChannelListPreferenceController.java319 && isChannelBlockable(channel) in updateSingleChannelPrefs()