Searched refs:checkCanBeVisible (Results 1 – 6 of 6) sorted by relevance
89 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()
51 return checkCanBeVisible(NotificationManager.IMPORTANCE_DEFAULT) in isAvailable()
52 return checkCanBeVisible(NotificationManager.IMPORTANCE_DEFAULT) in isAvailable()
68 return checkCanBeVisible(NotificationManager.IMPORTANCE_DEFAULT) && !isDefaultChannel(); in isAvailable()
68 return checkCanBeVisible(NotificationManager.IMPORTANCE_LOW) && isLockScreenSecure(); in isAvailable()
122 protected boolean checkCanBeVisible(int minImportanceVisible) { in checkCanBeVisible() method in NotificationPreferenceController