/aosp12/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
H A D | WakeupMessageTest.java | 56 ArgumentCaptor<AlarmManager.OnAlarmListener> mListenerCaptor = field in WakeupMessageTest 93 mListenerCaptor.capture(), any(Handler.class)); in setUp() 129 mListenerCaptor.getValue().onAlarm(); in scheduleAndDeliverMessage() 145 mListenerCaptor.getValue().onAlarm(); in scheduleAndCancelMessage() 167 mListenerCaptor.getValue().onAlarm(); in scheduleTwiceWithoutMessageDispatched() 182 mListenerCaptor.getValue().onAlarm(); in scheduleRunnable()
|
/aosp12/frameworks/opt/setupwizard/library/recyclerview/test/robotest/src/com/android/setupwizardlib/template/ |
H A D | RecyclerViewScrollHandlingDelegateTest.java | 46 private ArgumentCaptor<OnScrollListener> mListenerCaptor; field in RecyclerViewScrollHandlingDelegateTest 56 mListenerCaptor = ArgumentCaptor.forClass(OnScrollListener.class); in setUp() 57 doNothing().when(mRecyclerView).addOnScrollListener(mListenerCaptor.capture()); in setUp() 75 mListenerCaptor.getValue().onScrolled(mRecyclerView, 0, 20); in testScrolledToBottom()
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
H A D | LightsOutNotifControllerTest.java | 67 @Captor private ArgumentCaptor<NotificationEntryListener> mListenerCaptor; field in LightsOutNotifControllerTest 89 verify(mEntryManager).addNotificationEntryListener(mListenerCaptor.capture()); in setUp() 90 mEntryListener = Objects.requireNonNull(mListenerCaptor.getValue()); in setUp()
|
H A D | NotificationGroupAlertTransferHelperTest.java | 79 @Captor private ArgumentCaptor<NotificationEntryListener> mListenerCaptor; field in NotificationGroupAlertTransferHelperTest 108 verify(mNotificationEntryManager).addNotificationEntryListener(mListenerCaptor.capture()); in setup() 109 mNotificationEntryListener = mListenerCaptor.getValue(); in setup()
|
/aosp12/packages/apps/QuickAccessWallet/tests/robolectric/src/com/android/systemui/plugin/globalactions/wallet/ |
H A D | WalletPanelViewControllerTest.java | 104 ArgumentCaptor<WalletServiceEventListener> mListenerCaptor; field in WalletPanelViewControllerTest 176 verify(mWalletClient).addWalletServiceEventListener(mListenerCaptor.capture()); in onDismissed_notifiesClientAndRemotesListener() 177 WalletServiceEventListener serviceEventListener = mListenerCaptor.getValue(); in onDismissed_notifiesClientAndRemotesListener() 503 verify(mWalletClient).addWalletServiceEventListener(mListenerCaptor.capture()); in onWalletServiceEvent_tapStarted_dismissesGlobalActionsMenu() 507 WalletServiceEventListener listener = mListenerCaptor.getValue(); in onWalletServiceEvent_tapStarted_dismissesGlobalActionsMenu() 518 verify(mWalletClient).addWalletServiceEventListener(mListenerCaptor.capture()); in onWalletServiceEvent_cardsChanged_requeriesCards() 522 WalletServiceEventListener listener = mListenerCaptor.getValue(); in onWalletServiceEvent_cardsChanged_requeriesCards()
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coalescer/ |
H A D | GroupCoalescerTest.java | 67 @Captor private ArgumentCaptor<NotificationHandler> mListenerCaptor; field in GroupCoalescerTest 87 verify(mListenerService).addNotificationHandler(mListenerCaptor.capture()); in setUp() 88 NotificationHandler serviceListener = requireNonNull(mListenerCaptor.getValue()); in setUp()
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/ |
H A D | NotifCollectionTest.java | 130 @Captor private ArgumentCaptor<BatchableNotificationHandler> mListenerCaptor; field in NotifCollectionTest 168 verify(mGroupCoalescer).setNotificationHandler(mListenerCaptor.capture()); in setUp() 169 mNotifHandler = requireNonNull(mListenerCaptor.getValue()); in setUp()
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/ |
H A D | PeopleSpaceWidgetManagerTest.java | 259 private ArgumentCaptor<NotificationHandler> mListenerCaptor; field in PeopleSpaceWidgetManagerTest 279 verify(mListenerService).addNotificationHandler(mListenerCaptor.capture()); in setUp() 280 NotificationHandler serviceListener = requireNonNull(mListenerCaptor.getValue()); in setUp()
|