Home
last modified time | relevance | path

Searched refs:shouldExtendLifetime (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DForegroundServiceLifetimeExtenderTest.java66 assertTrue(mExtender.shouldExtendLifetime(mEntry)); in testShouldExtendLifetime_should_foreground()
73 assertFalse(mExtender.shouldExtendLifetime(mEntry)); in testShouldExtendLifetime_shouldNot_foreground()
80 assertFalse(mExtender.shouldExtendLifetime(mEntry)); in testShouldExtendLifetime_shouldNot_notForeground()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DForegroundServiceLifetimeExtender.java52 public boolean shouldExtendLifetime(@NonNull NotificationEntry entry) { in shouldExtendLifetime() method in ForegroundServiceLifetimeExtender
65 return shouldExtendLifetime(entry); in shouldExtendLifetimeForPendingNotification()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationRemoteInputManagerTest.java102 assertTrue(mRemoteInputActiveExtender.shouldExtendLifetime(mEntry)); in testShouldExtendLifetime_remoteInputActive()
110 assertTrue(mRemoteInputHistoryExtender.shouldExtendLifetime(mEntry)); in testShouldExtendLifetime_isSpinning()
118 assertTrue(mRemoteInputHistoryExtender.shouldExtendLifetime(mEntry)); in testShouldExtendLifetime_recentRemoteInput()
126 assertTrue(mSmartReplyHistoryExtender.shouldExtendLifetime(mEntry)); in testShouldExtendLifetime_smartReplySending()
DAlertingNotificationManagerTest.java206 assertTrue(mAlertingNotificationManager.shouldExtendLifetime(mEntry)); in testShouldExtendLifetime()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationLifetimeExtender.java27 boolean shouldExtendLifetime(@NonNull NotificationEntry entry); in shouldExtendLifetime() method
DNotificationRemoteInputManager.java594 public boolean shouldExtendLifetime(@NonNull NotificationEntry entry) { in shouldExtendLifetime() method in NotificationRemoteInputManager.RemoteInputHistoryExtender
640 public boolean shouldExtendLifetime(@NonNull NotificationEntry entry) { in shouldExtendLifetime() method in NotificationRemoteInputManager.SmartReplyHistoryExtender
678 public boolean shouldExtendLifetime(@NonNull NotificationEntry entry) { in shouldExtendLifetime() method in NotificationRemoteInputManager.RemoteInputActiveExtender
DAlertingNotificationManager.java253 public boolean shouldExtendLifetime(NotificationEntry entry) { in shouldExtendLifetime() method in AlertingNotificationManager
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DNotificationEntryManagerTest.java460 when(extender.shouldExtendLifetime(mEntry)).thenReturn(true); in testLifetimeExtenders_ifNotificationIsRetainedItIsntRemoved()
498 when(extender.shouldExtendLifetime(mEntry)).thenReturn(true); in testLifetimeExtenders_whenNotificationUpdatedRetainersAreCanceled()
518 when(extender1.shouldExtendLifetime(mEntry)).thenReturn(false); in testLifetimeExtenders_whenNewExtenderTakesPrecedenceOldExtenderIsCanceled()
520 when(extender2.shouldExtendLifetime(mEntry)).thenReturn(true); in testLifetimeExtenders_whenNewExtenderTakesPrecedenceOldExtenderIsCanceled()
530 when(extender1.shouldExtendLifetime(mEntry)).thenReturn(true); in testLifetimeExtenders_whenNewExtenderTakesPrecedenceOldExtenderIsCanceled()
604 public boolean shouldExtendLifetime(@NonNull NotificationEntry entry) { in shouldExtendLifetime() method in NotificationEntryManagerTest.FakeNotificationLifetimeExtender
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DHeadsUpManagerPhone.java345 public boolean shouldExtendLifetime(NotificationEntry entry) { in shouldExtendLifetime() method in HeadsUpManagerPhone
349 return mVisualStabilityManager.isReorderingAllowed() && super.shouldExtendLifetime(entry); in shouldExtendLifetime()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationEntryManager.java302 if (extender.shouldExtendLifetime(entry)) { in removeNotificationInternal()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationGutsManager.java486 public boolean shouldExtendLifetime(NotificationEntry entry) { in shouldExtendLifetime() method in NotificationGutsManager
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationGutsManagerTest.java467 assertTrue(mGutsManager.shouldExtendLifetime(entry)); in testShouldExtendLifetime()