Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotifCollection.java140 private final List<NotifLifetimeExtender> mLifetimeExtenders = new ArrayList<>(); field in NotifCollection
203 if (mLifetimeExtenders.contains(extender)) { in addNotificationLifetimeExtender()
206 mLifetimeExtenders.add(extender); in addNotificationLifetimeExtender()
529 if (!entry.mLifetimeExtenders.remove(extender)) { in onEndLifetimeExtension()
540 entry.mLifetimeExtenders.size()); in onEndLifetimeExtension()
551 for (NotifLifetimeExtender extender : entry.mLifetimeExtenders) { in cancelLifetimeExtension()
555 entry.mLifetimeExtenders.clear(); in cancelLifetimeExtension()
559 return entry.mLifetimeExtenders.size() > 0; in isLifetimeExtended()
563 entry.mLifetimeExtenders.clear(); in updateLifetimeExtension()
565 for (NotifLifetimeExtender extender : mLifetimeExtenders) { in updateLifetimeExtension()
[all …]
DListDumper.java124 if (!notifEntry.mLifetimeExtenders.isEmpty()) { in dumpEntry()
125 String[] lifetimeExtenderNames = new String[notifEntry.mLifetimeExtenders.size()]; in dumpEntry()
127 lifetimeExtenderNames[i] = notifEntry.mLifetimeExtenders.get(i).getName(); in dumpEntry()
DNotificationEntry.java106 final List<NotifLifetimeExtender> mLifetimeExtenders = new ArrayList<>(); field in NotificationEntry
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationRemoteInputManagerTest.java298 mLifetimeExtenders.add(mRemoteInputHistoryExtender); in addLifetimeExtenders()
299 mLifetimeExtenders.add(mSmartReplyHistoryExtender); in addLifetimeExtenders()
300 mLifetimeExtenders.add(mRemoteInputActiveExtender); in addLifetimeExtenders()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationRemoteInputManager.java134 protected final ArrayList<NotificationLifetimeExtender> mLifetimeExtenders = new ArrayList<>(); field in NotificationRemoteInputManager
499 mLifetimeExtenders.add(new RemoteInputHistoryExtender()); in addLifetimeExtenders()
500 mLifetimeExtenders.add(new SmartReplyHistoryExtender()); in addLifetimeExtenders()
501 mLifetimeExtenders.add(new RemoteInputActiveExtender()); in addLifetimeExtenders()
505 return mLifetimeExtenders; in getLifetimeExtenders()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNotifCollectionTest.java848 assertEquals(Arrays.asList(mExtender1, mExtender2), entry2.mLifetimeExtenders); in testLifetimeExtendersAreQueriedWhenNotifRemoved()
884 assertEquals(Arrays.asList(mExtender1, mExtender3), entry2.mLifetimeExtenders); in testWhenLastLifetimeExtenderExpiresAllAreReQueried()
919 assertEquals(singletonList(mExtender1), entry2.mLifetimeExtenders); in testExtendersAreNotReQueriedUntilFinalActiveExtenderExpires()