Home
last modified time | relevance | path

Searched refs:viewCaptor (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/temporarydisplay/
DTemporaryViewDisplayControllerTest.kt207 val viewCaptor = argumentCaptor<View>() in displayView_twiceWithDifferentIds_oldViewRemovedNewViewAdded() constant
210 verify(windowManager, times(2)).addView(capture(viewCaptor), capture(windowParamsCaptor)) in displayView_twiceWithDifferentIds_oldViewRemovedNewViewAdded()
214 verify(windowManager).removeView(viewCaptor.allValues[0]) in displayView_twiceWithDifferentIds_oldViewRemovedNewViewAdded()
321 val viewCaptor = argumentCaptor<View>() in multipleViewsWithDifferentIds_moreRecentReplacesOlder() constant
324 verify(windowManager, times(2)).addView(capture(viewCaptor), capture(windowParamsCaptor)) in multipleViewsWithDifferentIds_moreRecentReplacesOlder()
328 verify(windowManager).removeView(viewCaptor.allValues[0]) in multipleViewsWithDifferentIds_moreRecentReplacesOlder()
527 val viewCaptor = argumentCaptor<View>() in lowerThenHigherPriority_higherReplacesLower() constant
529 verify(windowManager).addView(capture(viewCaptor), capture(windowParamsCaptor)) in lowerThenHigherPriority_higherReplacesLower()
542 verify(windowManager).removeView(viewCaptor.value) in lowerThenHigherPriority_higherReplacesLower()
543 verify(windowManager).addView(capture(viewCaptor), capture(windowParamsCaptor)) in lowerThenHigherPriority_higherReplacesLower()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/taptotransfer/receiver/
DMediaTttChipControllerReceiverTest.kt261 val viewCaptor = ArgumentCaptor.forClass(View::class.java) in commandQueueCallback_closeThenFar_chipShownThenHidden() constant
262 verify(windowManager).addView(viewCaptor.capture(), any()) in commandQueueCallback_closeThenFar_chipShownThenHidden()
263 verify(windowManager).removeView(viewCaptor.value) in commandQueueCallback_closeThenFar_chipShownThenHidden()
282 val viewCaptor = ArgumentCaptor.forClass(View::class.java) in commandQueueCallback_closeThenSucceeded_chipShownThenHidden() constant
283 verify(windowManager).addView(viewCaptor.capture(), any()) in commandQueueCallback_closeThenSucceeded_chipShownThenHidden()
284 verify(windowManager).removeView(viewCaptor.value) in commandQueueCallback_closeThenSucceeded_chipShownThenHidden()
322 val viewCaptor = ArgumentCaptor.forClass(View::class.java) in commandQueueCallback_closeThenFailed_chipShownThenHidden() constant
323 verify(windowManager).addView(viewCaptor.capture(), any()) in commandQueueCallback_closeThenFailed_chipShownThenHidden()
324 verify(windowManager).removeView(viewCaptor.value) in commandQueueCallback_closeThenFailed_chipShownThenHidden()
466 val viewCaptor = ArgumentCaptor.forClass(View::class.java) in getChipView() constant
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/reardisplay/
DRearDisplayDialogControllerTest.java164 ArgumentCaptor<View> viewCaptor = ArgumentCaptor.forClass(View.class); in getDialogViewContainer() local
165 verify(mSystemUIDialog).setView(viewCaptor.capture()); in getDialogViewContainer()
167 return viewCaptor.getValue(); in getDialogViewContainer()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
DNotificationPanelViewControllerWithCoroutinesTest.kt64 @Captor private lateinit var viewCaptor: ArgumentCaptor<View> in <lambda>() variable in com.android.systemui.shade.NotificationPanelViewControllerWithCoroutinesTest
80 verify(mView, atLeastOnce()).addView(viewCaptor.capture(), anyInt()) in <lambda>()
82 CollectionUtils.find(viewCaptor.allValues) { view -> in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ui/binder/
DSideFpsOverlayViewBinderTest.kt222 var viewCaptor = argumentCaptor<View>() in verifyIndicatorShowAndHide_onAlternateBouncerShowAndHide() variable
223 verify(kosmos.windowManager).addView(viewCaptor.capture(), any()) in verifyIndicatorShowAndHide_onAlternateBouncerShowAndHide()
224 verify(viewCaptor.firstValue) in verifyIndicatorShowAndHide_onAlternateBouncerShowAndHide()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/toast/
DToastUITest.java445 ArgumentCaptor<View> viewCaptor = ArgumentCaptor.forClass(View.class); in verifyWmAddViewAndAttachToParent() local
446 verify(mWindowManager).addView(viewCaptor.capture(), any()); in verifyWmAddViewAndAttachToParent()
447 View view = viewCaptor.getValue(); in verifyWmAddViewAndAttachToParent()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/temporarydisplay/chipbar/
DChipbarCoordinatorTest.kt740 val viewCaptor = ArgumentCaptor.forClass(View::class.java) in getInnerView() constant
741 verify(windowManager).addView(viewCaptor.capture(), any()) in getInnerView()
742 return viewCaptor.value as ViewGroup in getInnerView()