Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNotifCollectionTest.java411 verify(mExtender1, never()).shouldExtendLifetime(eq(entry1), anyInt()); in testDismissedNotificationsCannotBeLifetimeExtended()
463 mExtender1.shouldExtendLifetime = true; in testRetractingLifetimeExtendedSummaryDoesNotDismissChildren()
484 mExtender1.shouldExtendLifetime = true; in testNMSReportsUserDismissalAlwaysRemovesNotif()
840 mExtender1.shouldExtendLifetime = true; in testLifetimeExtendersAreQueriedWhenNotifRemoved()
841 mExtender2.shouldExtendLifetime = true; in testLifetimeExtendersAreQueriedWhenNotifRemoved()
855 verify(mExtender1).shouldExtendLifetime(entry2, REASON_APP_CANCEL); in testLifetimeExtendersAreQueriedWhenNotifRemoved()
856 verify(mExtender2).shouldExtendLifetime(entry2, REASON_APP_CANCEL); in testLifetimeExtendersAreQueriedWhenNotifRemoved()
857 verify(mExtender3).shouldExtendLifetime(entry2, REASON_APP_CANCEL); in testLifetimeExtendersAreQueriedWhenNotifRemoved()
869 mExtender2.shouldExtendLifetime = true; in testWhenLastLifetimeExtenderExpiresAllAreReQueried()
885 mExtender1.shouldExtendLifetime = true; in testWhenLastLifetimeExtenderExpiresAllAreReQueried()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DHeadsUpCoordinatorTest.java147 assertTrue(mNotifLifetimeExtender.shouldExtendLifetime(mEntry, /* cancellationReason */ 0)); in testLifetimeExtendsCurrentHUN()
148 assertFalse(mNotifLifetimeExtender.shouldExtendLifetime( in testLifetimeExtendsCurrentHUN()
156 assertTrue(mNotifLifetimeExtender.shouldExtendLifetime( in testLifetimeExtensionEndsOnNewHUN()
171 assertTrue(mNotifLifetimeExtender.shouldExtendLifetime( in testLifetimeExtensionEndsOnNoHUNs()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationRemoteInputManagerTest.java119 assertTrue(mRemoteInputActiveExtender.shouldExtendLifetime(mEntry)); in testShouldExtendLifetime_remoteInputActive()
127 assertTrue(mRemoteInputHistoryExtender.shouldExtendLifetime(mEntry)); in testShouldExtendLifetime_isSpinning()
135 assertTrue(mRemoteInputHistoryExtender.shouldExtendLifetime(mEntry)); in testShouldExtendLifetime_recentRemoteInput()
143 assertTrue(mSmartReplyHistoryExtender.shouldExtendLifetime(mEntry)); in testShouldExtendLifetime_smartReplySending()
DAlertingNotificationManagerTest.java217 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.java735 public boolean shouldExtendLifetime(@NonNull NotificationEntry entry) { in shouldExtendLifetime() method in NotificationRemoteInputManager.RemoteInputHistoryExtender
784 public boolean shouldExtendLifetime(@NonNull NotificationEntry entry) { in shouldExtendLifetime() method in NotificationRemoteInputManager.SmartReplyHistoryExtender
822 public boolean shouldExtendLifetime(@NonNull NotificationEntry entry) { in shouldExtendLifetime() method in NotificationRemoteInputManager.RemoteInputActiveExtender
DAlertingNotificationManager.java260 public boolean shouldExtendLifetime(NotificationEntry entry) { in shouldExtendLifetime() method in AlertingNotificationManager
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/notifcollection/
DNotifLifetimeExtender.java46 boolean shouldExtendLifetime(NotificationEntry entry, @CancellationReason int reason); in shouldExtendLifetime() method
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DNotificationEntryManagerTest.java420 when(extender.shouldExtendLifetime(mEntry)).thenReturn(true); in testLifetimeExtenders_ifNotificationIsRetainedItIsntRemoved()
458 when(extender.shouldExtendLifetime(mEntry)).thenReturn(true); in testLifetimeExtenders_whenNotificationUpdatedRetainersAreCanceled()
477 when(extender1.shouldExtendLifetime(mEntry)).thenReturn(false); in testLifetimeExtenders_whenNewExtenderTakesPrecedenceOldExtenderIsCanceled()
479 when(extender2.shouldExtendLifetime(mEntry)).thenReturn(true); in testLifetimeExtenders_whenNewExtenderTakesPrecedenceOldExtenderIsCanceled()
489 when(extender1.shouldExtendLifetime(mEntry)).thenReturn(true); in testLifetimeExtenders_whenNewExtenderTakesPrecedenceOldExtenderIsCanceled()
648 public boolean shouldExtendLifetime(@NonNull NotificationEntry entry) { in shouldExtendLifetime() method in NotificationEntryManagerTest.FakeNotificationLifetimeExtender
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DHeadsUpManagerPhone.java343 public boolean shouldExtendLifetime(NotificationEntry entry) { in shouldExtendLifetime() method in HeadsUpManagerPhone
347 return mVisualStabilityManager.isReorderingAllowed() && super.shouldExtendLifetime(entry); in shouldExtendLifetime()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DHeadsUpCoordinator.java176 public boolean shouldExtendLifetime(NotificationEntry entry, int reason) {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationGutsManagerTest.java459 assertTrue(mGutsManager.shouldExtendLifetime(entry)); in testShouldExtendLifetime()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationGutsManager.java659 public boolean shouldExtendLifetime(NotificationEntry entry) { in shouldExtendLifetime() method in NotificationGutsManager
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotifCollection.java570 if (extender.shouldExtendLifetime(entry, entry.mCancellationReason)) { in updateLifetimeExtension()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationEntryManager.java498 if (extender.shouldExtendLifetime(entry)) { in removeNotificationInternal()