/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
D | ForegroundServiceNotificationListenerTest.java | 78 assertTrue(mExtender.shouldExtendLifetime(mEntry)); in testShouldExtendLifetime_should_foreground() 87 assertFalse(mExtender.shouldExtendLifetime(mEntry)); in testShouldExtendLifetime_shouldNot_foreground() 96 assertFalse(mExtender.shouldExtendLifetime(mEntry)); in testShouldExtendLifetime_shouldNot_notForeground() 108 assertFalse(mExtender.shouldExtendLifetime(mEntry)); in testShouldExtendLifetime_shouldNot_interruped()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/ |
D | NotifCollectionTest.java | 413 verify(mExtender1, never()).shouldExtendLifetime(eq(entry1), anyInt()); in testDismissedNotificationsCannotBeLifetimeExtended() 464 mExtender1.shouldExtendLifetime = true; in testDismissingLifetimeExtendedSummaryDoesNotDismissChildren() 825 mExtender1.shouldExtendLifetime = true; in testLifetimeExtendersAreQueriedWhenNotifRemoved() 826 mExtender2.shouldExtendLifetime = true; in testLifetimeExtendersAreQueriedWhenNotifRemoved() 840 verify(mExtender1).shouldExtendLifetime(entry2, REASON_CLICK); in testLifetimeExtendersAreQueriedWhenNotifRemoved() 841 verify(mExtender2).shouldExtendLifetime(entry2, REASON_CLICK); in testLifetimeExtendersAreQueriedWhenNotifRemoved() 842 verify(mExtender3).shouldExtendLifetime(entry2, REASON_CLICK); in testLifetimeExtendersAreQueriedWhenNotifRemoved() 854 mExtender2.shouldExtendLifetime = true; in testWhenLastLifetimeExtenderExpiresAllAreReQueried() 870 mExtender1.shouldExtendLifetime = true; in testWhenLastLifetimeExtenderExpiresAllAreReQueried() 871 mExtender2.shouldExtendLifetime = false; in testWhenLastLifetimeExtenderExpiresAllAreReQueried() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/ |
D | HeadsUpCoordinatorTest.java | 145 assertTrue(mNotifLifetimeExtender.shouldExtendLifetime(mEntry, /* cancellationReason */ 0)); in testLifetimeExtendsCurrentHUN() 146 assertFalse(mNotifLifetimeExtender.shouldExtendLifetime( in testLifetimeExtendsCurrentHUN() 154 assertTrue(mNotifLifetimeExtender.shouldExtendLifetime( in testLifetimeExtensionEndsOnNewHUN() 169 assertTrue(mNotifLifetimeExtender.shouldExtendLifetime( in testLifetimeExtensionEndsOnNoHUNs()
|
D | AppOpsCoordinatorTest.java | 181 .shouldExtendLifetime(mEntry, NotificationListenerService.REASON_CLICK)); in extendLifetimeText_notForeground() 198 .shouldExtendLifetime(mEntry, NotificationListenerService.REASON_CLICK)); in extendLifetimeText_foregroundNotifRecentlyPosted() 216 .shouldExtendLifetime(mEntry, NotificationListenerService.REASON_CLICK)); in extendLifetimeText_foregroundNotifOld()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ForegroundServiceLifetimeExtender.java | 63 public boolean shouldExtendLifetime(@NonNull NotificationEntry entry) { in shouldExtendLifetime() method in ForegroundServiceLifetimeExtender 83 return shouldExtendLifetime(entry); in shouldExtendLifetimeForPendingNotification()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | NotificationRemoteInputManagerTest.java | 118 assertTrue(mRemoteInputActiveExtender.shouldExtendLifetime(mEntry)); in testShouldExtendLifetime_remoteInputActive() 126 assertTrue(mRemoteInputHistoryExtender.shouldExtendLifetime(mEntry)); in testShouldExtendLifetime_isSpinning() 134 assertTrue(mRemoteInputHistoryExtender.shouldExtendLifetime(mEntry)); in testShouldExtendLifetime_recentRemoteInput() 142 assertTrue(mSmartReplyHistoryExtender.shouldExtendLifetime(mEntry)); in testShouldExtendLifetime_smartReplySending()
|
D | AlertingNotificationManagerTest.java | 213 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 | 664 public boolean shouldExtendLifetime(@NonNull NotificationEntry entry) { in shouldExtendLifetime() method in NotificationRemoteInputManager.RemoteInputHistoryExtender 713 public boolean shouldExtendLifetime(@NonNull NotificationEntry entry) { in shouldExtendLifetime() method in NotificationRemoteInputManager.SmartReplyHistoryExtender 751 public boolean shouldExtendLifetime(@NonNull NotificationEntry entry) { in shouldExtendLifetime() method in NotificationRemoteInputManager.RemoteInputActiveExtender
|
D | AlertingNotificationManager.java | 253 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 | 386 when(extender.shouldExtendLifetime(mEntry)).thenReturn(true); in testLifetimeExtenders_ifNotificationIsRetainedItIsntRemoved() 424 when(extender.shouldExtendLifetime(mEntry)).thenReturn(true); in testLifetimeExtenders_whenNotificationUpdatedRetainersAreCanceled() 443 when(extender1.shouldExtendLifetime(mEntry)).thenReturn(false); in testLifetimeExtenders_whenNewExtenderTakesPrecedenceOldExtenderIsCanceled() 445 when(extender2.shouldExtendLifetime(mEntry)).thenReturn(true); in testLifetimeExtenders_whenNewExtenderTakesPrecedenceOldExtenderIsCanceled() 455 when(extender1.shouldExtendLifetime(mEntry)).thenReturn(true); in testLifetimeExtenders_whenNewExtenderTakesPrecedenceOldExtenderIsCanceled() 612 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 | 329 public boolean shouldExtendLifetime(NotificationEntry entry) { in shouldExtendLifetime() method in HeadsUpManagerPhone 333 return mVisualStabilityManager.isReorderingAllowed() && super.shouldExtendLifetime(entry); in shouldExtendLifetime()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/ |
D | HeadsUpCoordinator.java | 172 public boolean shouldExtendLifetime(NotificationEntry entry, int reason) {
|
D | AppOpsCoordinator.java | 141 public boolean shouldExtendLifetime(NotificationEntry entry, int reason) {
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationGutsManagerTest.java | 447 assertTrue(mGutsManager.shouldExtendLifetime(entry)); in testShouldExtendLifetime()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationGutsManager.java | 656 public boolean shouldExtendLifetime(NotificationEntry entry) { in shouldExtendLifetime() method in NotificationGutsManager
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | NotificationEntryManager.java | 470 if (extender.shouldExtendLifetime(entry)) { in removeNotificationInternal()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
D | NotifCollection.java | 566 if (extender.shouldExtendLifetime(entry, entry.mCancellationReason)) { in updateLifetimeExtension()
|