Home
last modified time | relevance | path

Searched refs:checkCanBeVisible (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/
DNotificationPreferenceControllerTest.java89 assertFalse(mController.checkCanBeVisible(IMPORTANCE_UNSPECIFIED)); in noCrashIfNoOnResume()
182 assertTrue(mController.checkCanBeVisible(IMPORTANCE_MIN)); in testCanBeVisible_unspecified()
192 assertTrue(mController.checkCanBeVisible(IMPORTANCE_LOW)); in testCanBeVisible_sameImportance()
202 assertTrue(mController.checkCanBeVisible(IMPORTANCE_MIN)); in testCanBeVisible_greaterImportance()
212 assertFalse(mController.checkCanBeVisible(IMPORTANCE_DEFAULT)); in testCanBeVisible_lesserImportance()
/packages/apps/Settings/src/com/android/settings/notification/app/
DVibrationPreferenceController.java51 return checkCanBeVisible(NotificationManager.IMPORTANCE_DEFAULT) in isAvailable()
DLightsPreferenceController.java52 return checkCanBeVisible(NotificationManager.IMPORTANCE_DEFAULT) in isAvailable()
DSoundPreferenceController.java68 return checkCanBeVisible(NotificationManager.IMPORTANCE_DEFAULT) && !isDefaultChannel(); in isAvailable()
DVisibilityPreferenceController.java68 return checkCanBeVisible(NotificationManager.IMPORTANCE_LOW) && isLockScreenSecure(); in isAvailable()
DNotificationPreferenceController.java122 protected boolean checkCanBeVisible(int minImportanceVisible) { in checkCanBeVisible() method in NotificationPreferenceController