/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/ |
D | NotifCollectionTest.java | 411 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/ |
D | HeadsUpCoordinatorTest.java | 147 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/ |
D | NotificationRemoteInputManagerTest.java | 119 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()
|
D | AlertingNotificationManagerTest.java | 217 assertTrue(mAlertingNotificationManager.shouldExtendLifetime(mEntry)); in testShouldExtendLifetime()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationLifetimeExtender.java | 27 boolean shouldExtendLifetime(@NonNull NotificationEntry entry); in shouldExtendLifetime() method
|
D | NotificationRemoteInputManager.java | 735 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
|
D | AlertingNotificationManager.java | 260 public boolean shouldExtendLifetime(NotificationEntry entry) { in shouldExtendLifetime() method in AlertingNotificationManager
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/notifcollection/ |
D | NotifLifetimeExtender.java | 46 boolean shouldExtendLifetime(NotificationEntry entry, @CancellationReason int reason); in shouldExtendLifetime() method
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/ |
D | NotificationEntryManagerTest.java | 420 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/ |
D | HeadsUpManagerPhone.java | 343 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/ |
D | HeadsUpCoordinator.java | 176 public boolean shouldExtendLifetime(NotificationEntry entry, int reason) {
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationGutsManagerTest.java | 459 assertTrue(mGutsManager.shouldExtendLifetime(entry)); in testShouldExtendLifetime()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationGutsManager.java | 659 public boolean shouldExtendLifetime(NotificationEntry entry) { in shouldExtendLifetime() method in NotificationGutsManager
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
D | NotifCollection.java | 570 if (extender.shouldExtendLifetime(entry, entry.mCancellationReason)) { in updateLifetimeExtension()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | NotificationEntryManager.java | 498 if (extender.shouldExtendLifetime(entry)) { in removeNotificationInternal()
|