/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/ |
D | MagnificationThumbnailTest.java | 68 runOnMainSync(() -> mMagnificationThumbnail.updateThumbnail( in updateThumbnailShows() 75 runOnMainSync(() -> mMagnificationThumbnail.updateThumbnail( in updateThumbnailShows() 88 runOnMainSync(() -> mMagnificationThumbnail.updateThumbnail( in updateThumbnailLingersThenHidesAfterTimeout() 105 runOnMainSync(() -> mMagnificationThumbnail.updateThumbnail( in hideThumbnailRemoves() 112 runOnMainSync(() -> mMagnificationThumbnail.hideThumbnail()); in hideThumbnailRemoves() 124 runOnMainSync(() -> mMagnificationThumbnail.hideThumbnail()); in hideShowHideShowHideRemoves() 127 runOnMainSync(() -> mMagnificationThumbnail.updateThumbnail( in hideShowHideShowHideRemoves() 137 runOnMainSync(() -> mMagnificationThumbnail.hideThumbnail()); in hideShowHideShowHideRemoves() 140 runOnMainSync(() -> mMagnificationThumbnail.updateThumbnail( in hideShowHideShowHideRemoves() 147 runOnMainSync(() -> mMagnificationThumbnail.hideThumbnail()); in hideShowHideShowHideRemoves() [all …]
|
D | SimpleSwipeTest.java | 71 runOnMainSync(() -> { in sendSingleDownEvent_onGestureCanceledAfterTimeout() method 87 runOnMainSync(() -> { in sendSwipeEvent_onGestureCompleted() method 103 runOnMainSync(() -> { in sendSingleTapEvent_onGestureCanceled() method 112 private static void runOnMainSync(Runnable runnable) { in runOnMainSync() method in SimpleSwipeTest 113 InstrumentationRegistry.getInstrumentation().runOnMainSync(runnable); in runOnMainSync()
|
/frameworks/base/libs/WindowManager/Shell/multivalentTests/src/com/android/wm/shell/bubbles/bar/ |
D | BubbleExpandedViewPinControllerTest.kt | 100 getInstrumentation().runOnMainSync { controller.onDragEnd() } in <lambda>() 107 getInstrumentation().runOnMainSync { in <lambda>() 121 getInstrumentation().runOnMainSync { in <lambda>() 135 getInstrumentation().runOnMainSync { in <lambda>() 152 getInstrumentation().runOnMainSync { in <lambda>() 172 getInstrumentation().runOnMainSync { in <lambda>() 179 getInstrumentation().runOnMainSync { controller.onDragUpdate(pointOnLeft.x, pointOnLeft.y) } in <lambda>() 183 getInstrumentation().runOnMainSync { in <lambda>() 201 getInstrumentation().runOnMainSync { in <lambda>() 208 getInstrumentation().runOnMainSync { in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/ |
D | WindowMagnificationControllerWindowlessMagnifierTest.java | 268 mInstrumentation.runOnMainSync( in tearDown() 285 mInstrumentation.runOnMainSync(() -> { in enableWindowMagnification_showControlAndNotifyBoundsChanged() 298 mInstrumentation.runOnMainSync( in enableWindowMagnification_notifySourceBoundsChanged() 311 mInstrumentation.runOnMainSync( in enableWindowMagnification_disabled_notifySourceBoundsChanged() 320 mInstrumentation.runOnMainSync(() -> { in enableWindowMagnification_withAnimation_schedulesFrame() 334 mInstrumentation.runOnMainSync(() -> { in moveWindowMagnifier_enabled_notifySourceBoundsChanged() 339 mInstrumentation.runOnMainSync(() -> { in moveWindowMagnifier_enabled_notifySourceBoundsChanged() 354 mInstrumentation.runOnMainSync(() -> { in enableWindowMagnification_systemGestureExclusionRectsIsSet() 371 mInstrumentation.runOnMainSync(() -> { in enableWindowMagnification_LargeScreen_windowSizeIsConstrained() 386 mInstrumentation.runOnMainSync( [all …]
|
D | WindowMagnificationControllerTest.java | 258 mInstrumentation.runOnMainSync( in tearDown() 275 mInstrumentation.runOnMainSync(() -> { in enableWindowMagnification_showControlAndNotifyBoundsChanged() 288 mInstrumentation.runOnMainSync( in enableWindowMagnification_notifySourceBoundsChanged() 301 mInstrumentation.runOnMainSync( in enableWindowMagnification_disabled_notifySourceBoundsChanged() 310 mInstrumentation.runOnMainSync(() -> { in enableWindowMagnification_withAnimation_schedulesFrame() 323 mInstrumentation.runOnMainSync(() -> { in moveWindowMagnifier_enabled_notifySourceBoundsChanged() 328 mInstrumentation.runOnMainSync(() -> { in moveWindowMagnifier_enabled_notifySourceBoundsChanged() 343 mInstrumentation.runOnMainSync(() -> { in enableWindowMagnification_systemGestureExclusionRectsIsSet() 360 mInstrumentation.runOnMainSync(() -> { in enableWindowMagnification_LargeScreen_windowSizeIsConstrained() 375 mInstrumentation.runOnMainSync( [all …]
|
D | FullscreenMagnificationControllerTest.java | 90 getInstrumentation().runOnMainSync(() -> mSurfaceControlViewHost = in setUp() 114 getInstrumentation().runOnMainSync( in tearDown() 132 getInstrumentation().runOnMainSync(() -> in enableFullscreenMagnification_visibleBorder() 166 getInstrumentation().runOnMainSync(() -> in disableFullscreenMagnification_reverseAnimationAndReleaseScvh() 178 getInstrumentation().runOnMainSync(() -> in disableFullscreenMagnification_reverseAnimationAndReleaseScvh() 207 getInstrumentation().runOnMainSync( in onFullscreenMagnificationActivationChangeTrue_deactivating_reverseAnimator() 233 getInstrumentation().runOnMainSync(() -> in onScreenSizeChanged_activated_borderChangedToExpectedSize() 249 getInstrumentation().runOnMainSync(() -> in onScreenSizeChanged_activated_borderChangedToExpectedSize()
|
D | WindowMagnificationAnimationControllerTest.java | 174 getInstrumentation().runOnMainSync(() -> { in tearDown() 238 getInstrumentation().runOnMainSync(() -> { in enableWindowMagnification_enabling_expectedValuesAndInvokeCallback() 293 getInstrumentation().runOnMainSync(() -> { in enableWindowMagnificationScaleOne_enabledAndWindowlessFlagOn_AnimationAndCallbackTrue() 335 getInstrumentation().runOnMainSync(() -> { in enableWindowMagnificationScaleOne_enabledAndWindowlessFlagOff_AnimationAndCallbackTrue() 371 getInstrumentation().runOnMainSync(() -> { in enableWindowMagnificationWithScaleLessThanOne_enabled_AnimationAndInvokeCallback() 459 getInstrumentation().runOnMainSync(() -> { in enableWindowMagnification_disabling_expectedValuesAndInvokeCallback() 471 getInstrumentation().runOnMainSync(() -> { in enableWindowMagnification_disabling_expectedValuesAndInvokeCallback() 544 getInstrumentation().runOnMainSync(() -> { in enableWindowMagnification_enabled_expectedValuesAndInvokeCallback() 573 getInstrumentation().runOnMainSync(() -> { in enableWindowMagnificationWithOffset_windowlessFlagOn_expectedValues() 610 getInstrumentation().runOnMainSync(() -> { in enableWindowMagnificationWithOffset_windowlessFlagOff_expectedValues() [all …]
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | ViewRootImplTest.java | 151 sInstrumentation.runOnMainSync(() -> in setUp() 166 sInstrumentation.runOnMainSync(() -> { in teardown() 338 sInstrumentation.runOnMainSync(() -> { in requestScrollCapture_timeout() 536 sInstrumentation.runOnMainSync(() -> { in votePreferredFrameRate_voteFrameRateCategory_visibility_bySize() 544 sInstrumentation.runOnMainSync(() -> { in votePreferredFrameRate_voteFrameRateCategory_visibility_bySize() 553 sInstrumentation.runOnMainSync(() -> { in votePreferredFrameRate_voteFrameRateCategory_visibility_bySize() 577 sInstrumentation.runOnMainSync(() -> { in votePreferredFrameRate_voteFrameRateCategory_smallSize_bySize() 585 sInstrumentation.runOnMainSync(() -> { in votePreferredFrameRate_voteFrameRateCategory_smallSize_bySize() 610 sInstrumentation.runOnMainSync(() -> { in votePreferredFrameRate_voteFrameRateCategory_normalSize_bySize() 623 sInstrumentation.runOnMainSync(() -> { in votePreferredFrameRate_voteFrameRateCategory_normalSize_bySize() [all …]
|
D | InsetsControllerTest.java | 125 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in setup() 209 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testControlsRevoked_duringAnim() 233 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testFrameDoesntOverlapWithInsets() 258 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testSystemDrivenInsetsAnimationLoggingListener_onReady() 276 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testAnimationEndState() 299 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testApplyImeVisibility() 319 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testShowHideSelectively() 347 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testShowHideSingle() 378 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testShowHideMultiple() 419 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testShowMultipleHideOneByOne() [all …]
|
D | InsetsSourceConsumerTest.java | 92 instrumentation.runOnMainSync(() -> { in setup() 125 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testOnAnimationStateChanged_requestedInvisible() 134 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testOnAnimationStateChanged_requestedVisible() 183 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testRestore() 200 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testRestore_noAnimation() 219 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testWontUpdateImeLeashVisibility_whenAnimation()
|
D | ImeInsetsSourceConsumerTest.java | 74 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in setup() 100 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testImeVisibility() 119 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testImeRequestedVisibleAwaitingControl() 148 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testImeRequestedVisibleAwaitingLeash() 204 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in verifyImeGetAndClearSkipAnimationOnce()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | ProgressBarTest.java | 51 mInstrumentation.runOnMainSync(() -> in setUp() 71 mInstrumentation.runOnMainSync(() -> mBar.setProgress(50)); in testStateDescription_determinateProgressBar_default() 91 mInstrumentation.runOnMainSync(() -> mBar.setProgress(50)); in testStateDescription_determinateProgressBar_custom_viewApi() 118 mInstrumentation.runOnMainSync(() -> mBar.setProgress(50)); in testStateDescription_determinateProgressBar_custom_accessibilityNodeInfoApi() 130 mInstrumentation.runOnMainSync(() -> mBar.setMax(200)); in testStateDescription_indeterminateProgressBar_default() 151 mInstrumentation.runOnMainSync(() -> mBar.setMax(200)); in testStateDescription_indeterminateProgressBar_custom_viewApi() 179 mInstrumentation.runOnMainSync(() -> mBar.setMax(200)); in testStateDescription_indeterminateProgressBar_custom_accessibilityNodeInfoApi()
|
D | EditorCursorDragTest.java | 297 mInstrumentation.runOnMainSync(() -> editor.onTouchEvent(event1)); in testEditor_onTouchEvent_quickTapAfterDrag() 303 mInstrumentation.runOnMainSync(() -> editor.onTouchEvent(event2)); in testEditor_onTouchEvent_quickTapAfterDrag() 309 mInstrumentation.runOnMainSync(() -> editor.onTouchEvent(event3)); in testEditor_onTouchEvent_quickTapAfterDrag() 315 mInstrumentation.runOnMainSync(() -> editor.onTouchEvent(event4)); in testEditor_onTouchEvent_quickTapAfterDrag() 322 mInstrumentation.runOnMainSync(() -> editor.onTouchEvent(event5)); in testEditor_onTouchEvent_quickTapAfterDrag() 328 mInstrumentation.runOnMainSync(() -> editor.onTouchEvent(event6)); in testEditor_onTouchEvent_quickTapAfterDrag() 335 mInstrumentation.runOnMainSync(() -> editor.onTouchEvent(event7)); in testEditor_onTouchEvent_quickTapAfterDrag() 352 mInstrumentation.runOnMainSync(() -> editor.onTouchEvent(event1)); in testEditor_onTouchEvent_mouseDrag() 358 mInstrumentation.runOnMainSync(() -> editor.onTouchEvent(event2)); in testEditor_onTouchEvent_mouseDrag() 364 mInstrumentation.runOnMainSync(() -> editor.onTouchEvent(event3)); in testEditor_onTouchEvent_mouseDrag() [all …]
|
/frameworks/base/libs/WindowManager/Shell/multivalentTests/src/com/android/wm/shell/bubbles/ |
D | BubbleStackViewTest.kt | 136 InstrumentationRegistry.getInstrumentation().runOnMainSync { in <lambda>() 147 InstrumentationRegistry.getInstrumentation().runOnMainSync { in <lambda>() 162 InstrumentationRegistry.getInstrumentation().runOnMainSync { in <lambda>() 180 InstrumentationRegistry.getInstrumentation().runOnMainSync { in <lambda>() 200 InstrumentationRegistry.getInstrumentation().runOnMainSync { in <lambda>() 221 InstrumentationRegistry.getInstrumentation().runOnMainSync { in <lambda>() 228 InstrumentationRegistry.getInstrumentation().runOnMainSync { in <lambda>() 312 InstrumentationRegistry.getInstrumentation().runOnMainSync { in <lambda>() 324 InstrumentationRegistry.getInstrumentation().runOnMainSync { in <lambda>() 331 InstrumentationRegistry.getInstrumentation().runOnMainSync { in <lambda>() [all …]
|
/frameworks/base/tests/InputMethodStressTest/src/com/android/inputmethod/stresstest/ |
D | ImeOpenCloseStressTest.java | 178 mInstrumentation.runOnMainSync( in testShowHideWithInputMethodManager_inSameFrame() 189 mInstrumentation.runOnMainSync(activity::showImeWithInputMethodManager); in testShowHideWithInputMethodManager_inSameFrame() 194 mInstrumentation.runOnMainSync( in testShowHideWithInputMethodManager_inSameFrame() 271 mInstrumentation.runOnMainSync(activity::showImeWithWindowInsetsController); in testShowHideWithWindowInsetsController_waitingVisibilityChange() 273 mInstrumentation.runOnMainSync(activity::hideImeWithWindowInsetsController); in testShowHideWithWindowInsetsController_waitingVisibilityChange() 292 mInstrumentation.runOnMainSync(activity::showImeWithWindowInsetsController); in testShowHideWithWindowInsetsController_waitingAnimationEnd() 297 mInstrumentation.runOnMainSync(activity::hideImeWithWindowInsetsController); in testShowHideWithWindowInsetsController_waitingAnimationEnd() 320 mInstrumentation.runOnMainSync(activity::hideImeWithWindowInsetsController); in testShowHideWithWindowInsetsController_intervalAfterHide() 323 mInstrumentation.runOnMainSync(activity::showImeWithWindowInsetsController); in testShowHideWithWindowInsetsController_intervalAfterHide() 338 mInstrumentation.runOnMainSync( in testShowHideWithWindowInsetsController_inSameFrame() [all …]
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/back/ |
D | BackProgressAnimatorTest.java | 139 InstrumentationRegistry.getInstrumentation().runOnMainSync( in testResetCallsCancelCallbackImmediately() 147 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> mProgressAnimator.reset()); in testResetCallsCancelCallbackImmediately() 166 InstrumentationRegistry.getInstrumentation().runOnMainSync( in testCancelFinishCallbackNotInvokedWhenRemoved() 170 InstrumentationRegistry.getInstrumentation().runOnMainSync( in testCancelFinishCallbackNotInvokedWhenRemoved() 174 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> mProgressAnimator.reset()); in testCancelFinishCallbackNotInvokedWhenRemoved()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/progress/ |
D | RemoteUnfoldTransitionReceiverTest.kt | 32 RemoteUnfoldTransitionReceiver(useReceivingFilter = true) { runOnMainSync(it) } in <lambda>() 113 private fun runOnMainSync(f: Runnable) { in runOnMainSync() method 114 InstrumentationRegistry.getInstrumentation().runOnMainSync { f.run() } in runOnMainSync()
|
D | UnfoldRemoteFilterTest.kt | 51 InstrumentationRegistry.getInstrumentation().runOnMainSync { in onTransitionProgress_secondProgressEvent_isNotPropagatedImmediately() 87 InstrumentationRegistry.getInstrumentation().runOnMainSync { it() } in runOnMainThreadWithInterval()
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | ActivityThreadTest.java | 157 InstrumentationRegistry.getInstrumentation().runOnMainSync( in tearDown() 191 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testRepeatedResume() 211 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testCustomIntentPreservedOnRelaunch() 283 InstrumentationRegistry.getInstrumentation().runOnMainSync( in testOverrideScale() 290 InstrumentationRegistry.getInstrumentation().runOnMainSync( in testOverrideScale() 324 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testHandleActivityConfigurationChanged() 343 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in relaunchActivityAndAssertPreserveWindow() 353 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in relaunchActivityAndAssertPreserveWindow() 366 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testHandleActivityConfigurationChanged_DropStaleConfigurations() 384 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testHandleActivityConfigurationChanged_ApplyNewConfigurations() [all …]
|
/frameworks/base/core/tests/mockingcoretests/src/android/app/activity/ |
D | ActivityThreadClientTest.java | 178 getInstrumentation().runOnMainSync(() -> { in testLifecycleOfRelaunch() 184 getInstrumentation().runOnMainSync(() -> clientSession.startActivity(r)); in testLifecycleOfRelaunch() 188 getInstrumentation().runOnMainSync(() -> clientSession.resumeActivity(r)); in testLifecycleOfRelaunch() 192 getInstrumentation().runOnMainSync(() -> clientSession.pauseActivity(r)); in testLifecycleOfRelaunch() 196 getInstrumentation().runOnMainSync(() -> clientSession.stopActivity(r)); in testLifecycleOfRelaunch() 200 getInstrumentation().runOnMainSync(() -> clientSession.destroyActivity(r)); in testLifecycleOfRelaunch() 257 getInstrumentation().runOnMainSync(() -> activity.recreate()); in recreateAndVerifyNoRelaunch() 266 getInstrumentation().runOnMainSync(() -> activity.recreate()); in recreateAndVerifyRelaunched()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | OrientationUtil.java | 60 mInstrumentation.runOnMainSync(mSetToPortrait); in setPortraitOrientation() 64 mInstrumentation.runOnMainSync(mSetToLandscape); in setLandscapeOrientation()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | PhoneStatusBarViewControllerTest.kt | 100 InstrumentationRegistry.getInstrumentation().runOnMainSync { in setUp() 114 InstrumentationRegistry.getInstrumentation().runOnMainSync { in onViewAttachedAndDrawn_startListeningConfigurationControllerCallback() 131 InstrumentationRegistry.getInstrumentation().runOnMainSync { in onViewAttachedAndDrawn_moveFromCenterAnimationEnabled_moveFromCenterAnimationInitialized() 148 InstrumentationRegistry.getInstrumentation().runOnMainSync { in onViewAttachedAndDrawn_statusBarAnimationDisabled_animationNotInitialized() 240 InstrumentationRegistry.getInstrumentation().runOnMainSync { in shadeIsExpandedOnStatusIconMouseClick() 253 InstrumentationRegistry.getInstrumentation().runOnMainSync { in statusIconContainerIsNotHandlingTouchScreenTouches() 272 InstrumentationRegistry.getInstrumentation().runOnMainSync { in shadeIsNotExpandedOnStatusBarGeneralClick()
|
/frameworks/base/core/tests/coretests/src/android/window/ |
D | WindowContextTest.java | 100 mInstrumentation.runOnMainSync(() -> { in testCreateWindowContextWindowManagerAttachClientToken() 139 mInstrumentation.runOnMainSync(() -> { in testCreateWindowContextNewTokenFromClient() 179 mInstrumentation.runOnMainSync(() -> { in testCreateWindowContext_AttachActivity_TokenNotRemovedAfterRelease() 214 mInstrumentation.runOnMainSync(() -> { in testCreateWindowContext_AttachWindowToken_TokenNotRemovedAfterRelease() 247 mInstrumentation.runOnMainSync(() -> wm.addView(parentWindow, params)); in testWindowContextAddViewWithSubWindowType_NotCrash() 257 mInstrumentation.runOnMainSync(() -> wm.addView(subWindow, subWindowAttrs)); in testWindowContextAddViewWithSubWindowType_NotCrash()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/gestures/ |
D | GesturesObserverTest.java | 75 mInstrumentation.runOnMainSync(() -> { in onActionMove_onGestureCancelled() 87 mInstrumentation.runOnMainSync(() -> { in onMotionEvent_unrecognizedEvents_onGestureCancelledAfterTimeout() 103 mInstrumentation.runOnMainSync(() -> { in onMotionEvent_recognizedEvents_onGestureCompleted()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/view/ |
D | AbsCaptureHelperTest.java | 107 mInstrumentation.runOnMainSync(() -> mContentRoot = new FrameLayout(context)); in createWindow() 113 mInstrumentation.runOnMainSync(() -> { in createWindow() 281 mInstrumentation.runOnMainSync(() -> { in removeWindow() 290 mInstrumentation.runOnMainSync(() -> { in initHelper() 301 mInstrumentation.runOnMainSync(() -> { in requestScrollSync()
|