Searched refs:isDisclosureNeededForUser (Results 1 – 3 of 3) sorted by relevance
138 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 …]
45 public boolean isDisclosureNeededForUser(int userId) { in isDisclosureNeededForUser() method in ForegroundServiceController
123 && !getFsc().isDisclosureNeededForUser(sbn.getUserId())) { in shouldFilterOut()