Searched refs:mDismissInterceptors (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
D | ListDumper.java | 134 if (!notifEntry.mDismissInterceptors.isEmpty()) { in dumpEntry() 135 String[] interceptorsNames = new String[notifEntry.mDismissInterceptors.size()]; in dumpEntry() 137 interceptorsNames[i] = notifEntry.mDismissInterceptors.get(i).getName(); in dumpEntry()
|
D | NotifCollection.java | 141 private final List<NotifDismissInterceptor> mDismissInterceptors = new ArrayList<>(); field in NotifCollection 214 if (mDismissInterceptors.contains(interceptor)) { in addNotificationDismissInterceptor() 217 mDismissInterceptors.add(interceptor); in addNotificationDismissInterceptor() 575 entry.mDismissInterceptors.clear(); in updateDismissInterceptors() 577 for (NotifDismissInterceptor interceptor : mDismissInterceptors) { in updateDismissInterceptors() 579 entry.mDismissInterceptors.add(interceptor); in updateDismissInterceptors() 609 if (!entry.mDismissInterceptors.remove(interceptor)) { in onEndDismissInterception() 624 for (NotifDismissInterceptor interceptor : entry.mDismissInterceptors) { in cancelDismissInterception() 628 entry.mDismissInterceptors.clear(); in cancelDismissInterception() 632 return entry.mDismissInterceptors.size() > 0; in isDismissIntercepted()
|
D | NotificationEntry.java | 109 final List<NotifDismissInterceptor> mDismissInterceptors = new ArrayList<>(); field in NotificationEntry
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/ |
D | NotifCollectionTest.java | 503 assertEquals(List.of(mInterceptor1, mInterceptor2), entry.mDismissInterceptors); in testDismissNotificationCallsDismissInterceptors() 532 assertEquals(List.of(mInterceptor1, mInterceptor2), entry.mDismissInterceptors); in testDismissInterceptorsCanceledWhenNotifIsUpdated() 541 assertEquals(List.of(), entry.mDismissInterceptors); in testDismissInterceptorsCanceledWhenNotifIsUpdated() 612 assertEquals(List.of(mInterceptor2), entry.mDismissInterceptors); in testEndDismissInterceptionUpdatesDismissInterceptors() 1170 assertEquals(List.of(mInterceptor1, mInterceptor2), entry1.mDismissInterceptors); in testDismissNotificationssCallsDismissInterceptors() 1171 assertEquals(List.of(mInterceptor1, mInterceptor2), entry2.mDismissInterceptors); in testDismissNotificationssCallsDismissInterceptors() 1268 assertEquals(List.of(mInterceptor1, mInterceptor2), unclearable.mDismissInterceptors); in testDismissAllNotificationsCallsDismissInterceptorsOnlyOnUnclearableNotifs()
|