Home
last modified time | relevance | path

Searched refs:listenerArgumentCaptor (Results 1 – 5 of 5) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
H A DKeyguardClockSwitchControllerTest.java60 ArgumentCaptor<View.OnAttachStateChangeListener> listenerArgumentCaptor = in testInit_viewNotYetAttached() local
65 verify(mView).addOnAttachStateChangeListener(listenerArgumentCaptor.capture()); in testInit_viewNotYetAttached()
69 listenerArgumentCaptor.getValue().onViewAttachedToWindow(mView); in testInit_viewNotYetAttached()
82 ArgumentCaptor<View.OnAttachStateChangeListener> listenerArgumentCaptor = in testInit_viewDetached() local
85 verify(mView).addOnAttachStateChangeListener(listenerArgumentCaptor.capture()); in testInit_viewDetached()
89 listenerArgumentCaptor.getValue().onViewDetachedFromWindow(mView); in testInit_viewDetached()
95 ArgumentCaptor<ClockRegistry.ClockChangeListener> listenerArgumentCaptor = in testPluginPassesStatusBarState() local
99 verify(mClockRegistry).registerClockChangeListener(listenerArgumentCaptor.capture()); in testPluginPassesStatusBarState()
101 listenerArgumentCaptor.getValue().onCurrentClockChanged(); in testPluginPassesStatusBarState()
227 ArgumentCaptor<ClockRegistry.ClockChangeListener> listenerArgumentCaptor = in testChangeClockDateWeatherEnabled_SetsDateWeatherViewVisibility() local
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/
H A DWindowMagnificationTest.java131 final ArgumentCaptor<OverviewProxyListener> listenerArgumentCaptor = in setUp() local
133 verify(mOverviewProxyService).addCallback(listenerArgumentCaptor.capture()); in setUp()
134 mOverviewProxyListener = listenerArgumentCaptor.getValue(); in setUp()
/aosp14/frameworks/base/tests/vcn/java/com/android/server/vcn/
H A DTelephonySubscriptionTrackerTest.java192 ArgumentCaptor<CarrierConfigManager.CarrierConfigChangeListener> listenerArgumentCaptor = in setUp() local
198 listenerArgumentCaptor.capture()); in setUp()
199 mCarrierConfigChangeListener = listenerArgumentCaptor.getAllValues().get(0); in setUp()
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/
H A DWindowDecorationTests.java345 final ArgumentCaptor<DisplayController.OnDisplaysChangedListener> listenerArgumentCaptor = in testNotCrashWhenDisplayAppearsAfterTask() local
347 verify(mMockDisplayController).addDisplayWindowListener(listenerArgumentCaptor.capture()); in testNotCrashWhenDisplayAppearsAfterTask()
349 listenerArgumentCaptor.getValue(); in testNotCrashWhenDisplayAppearsAfterTask()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
H A DFullScreenMagnificationControllerTest.java1374 ArgumentCaptor<ValueAnimator.AnimatorUpdateListener> listenerArgumentCaptor =
1376 verify(mMockValueAnimator).addUpdateListener(listenerArgumentCaptor.capture());
1377 mTargetAnimationListener = listenerArgumentCaptor.getValue();