Home
last modified time | relevance | path

Searched refs:isDisclosureNeededForUser (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DForegroundServiceControllerTest.java138 assertFalse(mFsc.isDisclosureNeededForUser(USERID_ONE)); in testNeedsDisclosureAfterRemovingUnrelatedNotification()
142 assertTrue(mFsc.isDisclosureNeededForUser(USERID_ONE)); // should be required! in testNeedsDisclosureAfterRemovingUnrelatedNotification()
145 assertFalse(mFsc.isDisclosureNeededForUser(USERID_ONE)); // app1 has got it covered in testNeedsDisclosureAfterRemovingUnrelatedNotification()
148 assertFalse(mFsc.isDisclosureNeededForUser(USERID_ONE)); // app1 has STILL got it covered in testNeedsDisclosureAfterRemovingUnrelatedNotification()
150 assertTrue(mFsc.isDisclosureNeededForUser(USERID_ONE)); // should be required! in testNeedsDisclosureAfterRemovingUnrelatedNotification()
166 assertFalse(mFsc.isDisclosureNeededForUser(USERID_ONE)); in testSimpleAddRemove()
167 assertFalse(mFsc.isDisclosureNeededForUser(USERID_TWO)); in testSimpleAddRemove()
171 assertTrue(mFsc.isDisclosureNeededForUser(USERID_ONE)); // should be required! in testSimpleAddRemove()
172 assertFalse(mFsc.isDisclosureNeededForUser(USERID_TWO)); in testSimpleAddRemove()
177 assertTrue(mFsc.isDisclosureNeededForUser(USERID_ONE)); in testSimpleAddRemove()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DForegroundServiceController.java45 public boolean isDisclosureNeededForUser(int userId) { in isDisclosureNeededForUser() method in ForegroundServiceController
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationFilter.java123 && !getFsc().isDisclosureNeededForUser(sbn.getUserId())) { in shouldFilterOut()