Home
last modified time | relevance | path

Searched refs:NotificationLifetimeExtender (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationEntryManager.java33 import com.android.systemui.statusbar.NotificationLifetimeExtender;
80 private final Map<NotificationEntry, NotificationLifetimeExtender> mRetainedNotifications =
92 final ArrayList<NotificationLifetimeExtender> mNotificationLifetimeExtenders
112 for (Map.Entry<NotificationEntry, NotificationLifetimeExtender> entry in dump()
156 public void addNotificationLifetimeExtenders(List<NotificationLifetimeExtender> extenders) { in addNotificationLifetimeExtenders()
157 for (NotificationLifetimeExtender extender : extenders) { in addNotificationLifetimeExtenders()
163 public void addNotificationLifetimeExtender(NotificationLifetimeExtender extender) { in addNotificationLifetimeExtender()
283 for (NotificationLifetimeExtender extender : mNotificationLifetimeExtenders) { in removeNotificationInternal()
301 for (NotificationLifetimeExtender extender : mNotificationLifetimeExtenders) { in removeNotificationInternal()
524 private void extendLifetime(NotificationEntry entry, NotificationLifetimeExtender extender) { in extendLifetime()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DNotificationEntryManagerTest.java67 import com.android.systemui.statusbar.NotificationLifetimeExtender;
166 public ArrayList<NotificationLifetimeExtender> getLifetimeExtenders() { in getLifetimeExtenders()
459 NotificationLifetimeExtender extender = mock(NotificationLifetimeExtender.class); in testLifetimeExtenders_ifNotificationIsRetainedItIsntRemoved()
497 NotificationLifetimeExtender extender = mock(NotificationLifetimeExtender.class); in testLifetimeExtenders_whenNotificationUpdatedRetainersAreCanceled()
517 NotificationLifetimeExtender extender1 = mock(NotificationLifetimeExtender.class); in testLifetimeExtenders_whenNewExtenderTakesPrecedenceOldExtenderIsCanceled()
519 NotificationLifetimeExtender extender2 = mock(NotificationLifetimeExtender.class); in testLifetimeExtenders_whenNewExtenderTakesPrecedenceOldExtenderIsCanceled()
593 private static class FakeNotificationLifetimeExtender implements NotificationLifetimeExtender {
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DForegroundServiceLifetimeExtender.java26 import com.android.systemui.statusbar.NotificationLifetimeExtender;
33 public class ForegroundServiceLifetimeExtender implements NotificationLifetimeExtender {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationLifetimeExtender.java12 public interface NotificationLifetimeExtender { interface
DNotificationRemoteInputManager.java126 protected NotificationLifetimeExtender.NotificationSafeToRemoveCallback
130 protected final ArrayList<NotificationLifetimeExtender> mLifetimeExtenders = new ArrayList<>();
451 public ArrayList<NotificationLifetimeExtender> getLifetimeExtenders() { in getLifetimeExtenders()
579 protected abstract class RemoteInputExtender implements NotificationLifetimeExtender {
DAlertingNotificationManager.java40 public abstract class AlertingNotificationManager implements NotificationLifetimeExtender {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationRemoteInputManagerTest.java84 for (NotificationLifetimeExtender extender : mRemoteInputManager.getLifetimeExtenders()) { in setUp()
86 mock(NotificationLifetimeExtender.NotificationSafeToRemoveCallback.class)); in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationGutsManager.java47 import com.android.systemui.statusbar.NotificationLifetimeExtender;
71 public class NotificationGutsManager implements Dumpable, NotificationLifetimeExtender {