/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wmshell/ |
H A D | NewNotifPipelineBubblesTest.java | 372 mEntryListener.onEntryAdded(mRow); in testRemoveBubble_withDismissedNotif_inOverflow() 393 mEntryListener.onEntryAdded(mRow); in testRemoveBubble_withDismissedNotif_notInOverflow() 439 mEntryListener.onEntryAdded(mRow); in testExpandCollapseStack() 466 mEntryListener.onEntryAdded(mRow); in testCollapseAfterChangingExpandedBubble() 513 mEntryListener.onEntryAdded(mRow); in testExpansionRemovesShowInShadeAndDot() 538 mEntryListener.onEntryAdded(mRow); in testUpdateWhileExpanded_DoesntChangeShowInShadeAndDot() 572 mEntryListener.onEntryAdded(mRow); in testRemoveLastExpanded_selectsOverflow() 619 mEntryListener.onEntryAdded(mRow); in testRemoveLastExpandedEmptyOverflow_collapses() 652 mEntryListener.onEntryAdded(mRow); in testAutoExpand_fails_noFlag() 668 mEntryListener.onEntryAdded(mRow); in testAutoExpand_succeeds_withFlag() [all …]
|
H A D | BubblesTest.java | 495 mEntryListener.onPendingEntryAdded(mRow); in testExpandCollapseStack() 523 mEntryListener.onPendingEntryAdded(mRow); in testCollapseAfterChangingExpandedBubble() 569 mEntryListener.onPendingEntryAdded(mRow); in testExpansionRemovesShowInShadeAndDot() 594 mEntryListener.onPendingEntryAdded(mRow); in testUpdateWhileExpanded_DoesntChangeShowInShadeAndDot() 616 mEntryListener.onPreEntryUpdated(mRow); in testUpdateWhileExpanded_DoesntChangeShowInShadeAndDot() 628 mEntryListener.onPendingEntryAdded(mRow); in testRemoveLastExpanded_selectsOverflow() 675 mEntryListener.onPendingEntryAdded(mRow); in testRemoveLastExpandedEmptyOverflow_collapses() 707 mEntryListener.onPendingEntryAdded(mRow); in testAutoExpand_fails_noFlag() 723 mEntryListener.onPendingEntryAdded(mRow); in testAutoExpand_succeeds_withFlag() 739 mEntryListener.onPendingEntryAdded(mRow); in testSuppressNotif_onInitialNotif() [all …]
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/ |
H A D | NotificationEntryManagerTest.java | 125 @Mock private NotificationEntryListener mEntryListener; field in NotificationEntryManagerTest 221 mEntryManager.addNotificationEntryListener(mEntryListener); in setUp() 282 InOrder order = inOrder(mEntryListener, mPresenter, mEntryListener); in testUpdateNotification_prePostEntryOrder() 283 order.verify(mEntryListener).onPreEntryUpdated(mEntry); in testUpdateNotification_prePostEntryOrder() 285 order.verify(mEntryListener).onPostEntryUpdated(mEntry); in testUpdateNotification_prePostEntryOrder() 296 verify(mEntryListener).onEntryRemoved( in testRemoveNotification() 322 verify(mEntryListener, never()).onEntryRemoved( in testRemoveNotification_onEntryRemoveNotFiredIfEntryDoesntExist() 335 verify(mEntryListener, never()).onEntryRemoved( in testRemoveNotification_whilePending_onlyCollectionListenerNotified() 447 verify(mEntryListener, never()).onEntryRemoved( in testLifetimeExtenders_ifNotificationIsRetainedItIsntRemoved() 466 verify(mEntryListener).onEntryRemoved( in testLifetimeExtenders_whenRetentionEndsNotificationIsRemoved() [all …]
|
H A D | NotificationListControllerTest.java | 63 private NotificationEntryListener mEntryListener; field in NotificationListControllerTest 81 mEntryListener = mEntryListenerCaptor.getValue(); in setUp() 89 mEntryListener.onEntryRemoved( in testCleanUpViewStateOnEntryRemoved()
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
H A D | NotificationEntryManagerInflationTest.java | 128 @Mock private NotificationEntryListener mEntryListener; field in NotificationEntryManagerInflationTest 298 mEntryManager.addNotificationEntryListener(mEntryListener); in setUp() 347 verify(mEntryListener).onPendingEntryAdded(entryCaptor.capture()); in testAddNotification() 358 verify(mEntryListener, never()).onInflationError(any(), any()); in testAddNotification() 359 verify(mEntryListener).onEntryInflated(entry); in testAddNotification() 360 verify(mEntryListener).onNotificationAdded(entry); in testAddNotification() 375 verify(mEntryListener).onPendingEntryAdded(entryCaptor.capture()); in testUpdateNotification() 379 Mockito.reset(mEntryListener); in testUpdateNotification() 391 verify(mEntryListener, never()).onInflationError(any(), any()); in testUpdateNotification() 392 verify(mEntryListener).onEntryReinflated(entry); in testUpdateNotification() [all …]
|
H A D | NotifRemoteViewCacheImplTest.java | 53 private NotifCollectionListener mEntryListener; field in NotifRemoteViewCacheImplTest 66 mEntryListener = entryListenerCaptor.getValue(); in setUp() 67 mEntryListener.onEntryInit(mEntry); in setUp()
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
H A D | LightsOutNotifControllerTest.java | 73 private NotificationEntryListener mEntryListener; field in LightsOutNotifControllerTest 90 mEntryListener = Objects.requireNonNull(mListenerCaptor.getValue()); in setUp() 208 mEntryListener.onNotificationAdded(mock(NotificationEntry.class)); in testEntryAdded() 225 mEntryListener.onEntryRemoved( in testEntryRemoved() 243 mEntryListener.onPostEntryUpdated(mock(NotificationEntry.class)); in testEntryUpdated()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | LightsOutNotifController.java | 89 mEntryManager.removeNotificationEntryListener(mEntryListener); in destroy() 95 mEntryManager.addNotificationEntryListener(mEntryListener); in init() 166 private final NotificationEntryListener mEntryListener = new NotificationEntryListener() { field in LightsOutNotifController
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
H A D | NotificationListController.java | 52 mEntryManager.addNotificationEntryListener(mEntryListener); in bind() 57 private final NotificationEntryListener mEntryListener = new NotificationEntryListener() { field in NotificationListController
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
H A D | ForegroundServiceControllerTest.java | 67 private NotificationEntryListener mEntryListener; field in ForegroundServiceControllerTest 87 mEntryListener = entryListenerCaptor.getValue(); in setUp() 452 mEntryListener.onPendingEntryAdded(entry); in addFgEntry() 464 mEntryListener.onEntryRemoved( in entryRemoved() 478 mEntryListener.onPendingEntryAdded(entry); in entryAdded() 486 mEntryListener.onPreEntryUpdated(entry); in entryUpdated()
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
H A D | NonPhoneDependencyTest.java | 59 private NotificationEntryListener mEntryListener; field in NonPhoneDependencyTest 90 entryManager.addNotificationEntryListener(mEntryListener); in testNotificationManagementCodeHasNoDependencyOnStatusBarWindowManager()
|