Searched refs:mLifetimeExtenders (Results 1 – 6 of 6) sorted by relevance
140 private final List<NotifLifetimeExtender> mLifetimeExtenders = new ArrayList<>(); field in NotifCollection203 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 …]
124 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()
106 final List<NotifLifetimeExtender> mLifetimeExtenders = new ArrayList<>(); field in NotificationEntry
298 mLifetimeExtenders.add(mRemoteInputHistoryExtender); in addLifetimeExtenders()299 mLifetimeExtenders.add(mSmartReplyHistoryExtender); in addLifetimeExtenders()300 mLifetimeExtenders.add(mRemoteInputActiveExtender); in addLifetimeExtenders()
134 protected final ArrayList<NotificationLifetimeExtender> mLifetimeExtenders = new ArrayList<>(); field in NotificationRemoteInputManager499 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()
848 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()