Home
last modified time | relevance | path

Searched defs:invocation (Results 1 – 25 of 46) sorted by relevance

12

/frameworks/base/services/tests/servicestests/src/com/android/server/net/watchlist/
DWatchlistLoggingHandlerTests.java104 doAnswer((InvocationOnMock invocation) -> { in setUp()
112 doAnswer((InvocationOnMock invocation) -> { in setUp()
126 doAnswer((InvocationOnMock invocation) -> { in setUp()
146 doAnswer((InvocationOnMock invocation) -> { in setUp()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
DMockWindowMagnificationConnection.java76 doAnswer((invocation) -> { in MockWindowMagnificationConnection() argument
82 doAnswer((invocation) -> { in MockWindowMagnificationConnection() argument
96 doAnswer((invocation) -> { in stubEnableWindowMagnification() argument
117 doAnswer((invocation) -> { in stubDisableWindowMagnification() argument
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/policy/
DMockUserSwitcherControllerWrapper.kt49 whenever(controller.addUserSwitchCallback(any())).then { invocation -> in <lambda>() method
53 whenever(controller.removeUserSwitchCallback(any())).then { invocation -> in <lambda>() method
/frameworks/base/tools/protologtool/tests/com/android/protolog/tool/
DSourceTransformerTest.kt180 .thenAnswer { invocation -> in <lambda>() method
217 .thenAnswer { invocation -> in <lambda>() method
259 .thenAnswer { invocation -> in <lambda>() method
297 .thenAnswer { invocation -> in <lambda>() method
331 .thenAnswer { invocation -> in <lambda>() method
368 .thenAnswer { invocation -> in <lambda>() method
407 .thenAnswer { invocation -> in <lambda>() method
432 .thenAnswer { invocation -> in <lambda>() method
/frameworks/base/tests/utils/testutils/java/android/app/test/
DMockAnswerUtil.java38 public final Object answer(InvocationOnMock invocation) throws Throwable { in answer()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/settings/
DUserTrackerImplTest.kt76 `when`(context.createContextAsUser(any(), anyInt())).thenAnswer { invocation -> in <lambda>() method
82 `when`(userManager.getProfiles(anyInt())).thenAnswer { invocation -> in <lambda>() method
190 `when`(userManager.getProfiles(anyInt())).thenAnswer { invocation -> in <lambda>() method
215 `when`(userManager.getProfiles(anyInt())).thenAnswer { invocation -> in <lambda>() method
240 `when`(userManager.getProfiles(anyInt())).thenAnswer { invocation -> in <lambda>() method
261 `when`(userManager.getProfiles(anyInt())).thenAnswer { invocation -> in <lambda>() method
327 `when`(userManager.getProfiles(anyInt())).thenAnswer { invocation -> in <lambda>() method
DUserTrackerImplReceiveTest.kt81 `when`(userManager.getProfiles(anyInt())).thenAnswer { invocation -> in <lambda>() method
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/magnetictarget/
DMagnetizedObjectTest.kt102 doAnswer { invocation -> in <lambda>() method
109 doAnswer { invocation -> in <lambda>() method
418 doAnswer { invocation -> in <lambda>() method
422 doAnswer { invocation -> in <lambda>() method
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/flags/
DFlagCommandTest.kt49 whenever(featureFlags.getString(any(StringFlag::class.java))).thenAnswer { invocation -> in <lambda>() method
52 whenever(featureFlags.getInt(any(IntFlag::class.java))).thenAnswer { invocation -> in <lambda>() method
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/
DMagnificationModeSwitchTest.java123 doAnswer((invocation) -> { in setUp() argument
574 doAnswer((invocation) -> { in resetAndStubMockImageViewAndAnimator() argument
578 doAnswer((invocation) -> { in resetAndStubMockImageViewAndAnimator() argument
DMagnificationGestureDetectorTest.java64 doAnswer((invocation) -> { in setUp() argument
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DMagnificationProcessorTest.java176 doAnswer((invocation) -> { in getMagnificationRegion_fullscreenModeNotRegistered_shouldRegisterThenUnregister() argument
194 doAnswer((invocation) -> { in getCurrentMagnificationRegion_windowModeActivated_returnRegion() argument
210 doAnswer((invocation) -> { in getCurrentMagnificationRegion_fullscreenModeActivated_returnRegion() argument
/frameworks/base/core/tests/coretests/src/com/android/internal/content/res/
DOverlayConfigIterationRule.java147 doAnswer((InvocationOnMock invocation) -> { in apply()
174 doAnswer((InvocationOnMock invocation) -> { in apply()
/frameworks/libs/net/common/testutils/devicetests/com/android/testutils/
DContextUtils.kt46 doAnswer { invocation -> in mockContextAsUser() method
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DHotspotControllerImplTest.java98 doAnswer((InvocationOnMock invocation) -> { in setUp()
/frameworks/base/core/java/com/android/internal/content/om/
DOverlayConfig.java408 IdmapInvocation invocation = null; in getImmutableFrameworkOverlayIdmapInvocations() local
441 final IdmapInvocation invocation = idmapInvocations.get(i); in createImmutableFrameworkIdmapsInZygote() local
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/
DAppCollectorTest.java77 doAnswer((InvocationOnMock invocation) -> { in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/view/
DViewUtilTest.kt47 doAnswer { invocation -> in <lambda>() method
/frameworks/libs/net/client-libs/tests/unit/src/com/android/net/module/util/
DNetdUtilsTest.java128 doAnswer((invocation) -> { in setNetworkAddInterfaceOutcome() argument
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/common/ui/view/
DLongPressHandlingViewInteractionHandlerTest.kt59 whenever(postDelayed.invoke(any(), any())).thenAnswer { invocation -> in <lambda>() method
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/temporarydisplay/chipbar/
DSwipeChipbarAwayGestureHandlerTest.kt97 doAnswer { invocation -> in <lambda>() method
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DLetterboxBackgroundProviderTest.kt73 doAnswer { invocation -> in <lambda>() method
/frameworks/base/services/tests/servicestests/src/com/android/server/power/
DAttentionDetectorTest.java276 doAnswer((invocation) -> { in testCallbackOnSuccess_DoesNotGoIntoInfiniteLoop() argument
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/
DCarrierConfigRepositoryTest.kt72 whenever(carrierConfigManager.getConfigForSubId(anyInt())).thenAnswer { invocation -> in <lambda>() method
/frameworks/base/tools/processors/view_inspector/src/java/android/processor/view/inspector/
DInspectableClassModel.java140 public String invocation() { in invocation() method in InspectableClassModel.Accessor

12