/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/ |
H A D | MagnificationThumbnailTest.java | 69 runOnMainSync(() -> mMagnificationThumbnail.updateThumbnail( in updateThumbnailShows() 76 runOnMainSync(() -> mMagnificationThumbnail.updateThumbnail( in updateThumbnailShows() 89 runOnMainSync(() -> mMagnificationThumbnail.updateThumbnail( in updateThumbnailLingersThenHidesAfterTimeout() 106 runOnMainSync(() -> mMagnificationThumbnail.updateThumbnail( in hideThumbnailRemoves() 113 runOnMainSync(() -> mMagnificationThumbnail.hideThumbnail()); in hideThumbnailRemoves() 125 runOnMainSync(() -> mMagnificationThumbnail.hideThumbnail()); in hideShowHideShowHideRemoves() 128 runOnMainSync(() -> mMagnificationThumbnail.updateThumbnail( in hideShowHideShowHideRemoves() 138 runOnMainSync(() -> mMagnificationThumbnail.hideThumbnail()); in hideShowHideShowHideRemoves() 141 runOnMainSync(() -> mMagnificationThumbnail.updateThumbnail( in hideShowHideShowHideRemoves() 196 runOnMainSync(() -> mMagnificationThumbnail.updateThumbnail( in whenVisible_setBoundsUpdatesLayout() [all …]
|
H A D | SimpleSwipeTest.java | 71 runOnMainSync(() -> { in sendSingleDownEvent_onGestureCanceledAfterTimeout() 87 runOnMainSync(() -> { in sendSwipeEvent_onGestureCompleted() 103 runOnMainSync(() -> { in sendSingleTapEvent_onGestureCanceled() 112 private static void runOnMainSync(Runnable runnable) { in runOnMainSync() method in SimpleSwipeTest 113 InstrumentationRegistry.getInstrumentation().runOnMainSync(runnable); in runOnMainSync()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/ |
H A D | WindowMagnificationControllerTest.java | 221 mInstrumentation.runOnMainSync( in tearDown() 241 mInstrumentation.runOnMainSync( in enableWindowMagnification_notifySourceBoundsChanged() 254 mInstrumentation.runOnMainSync( in enableWindowMagnification_disabled_notifySourceBoundsChanged() 328 mInstrumentation.runOnMainSync( 333 mInstrumentation.runOnMainSync( 362 mInstrumentation.runOnMainSync( in deleteWindowMagnification_notifySourceBoundsChanged() 367 mInstrumentation.runOnMainSync( in deleteWindowMagnification_notifySourceBoundsChanged() 465 mInstrumentation.runOnMainSync( in setScale_enabled_expectedValueAndUpdateStateDescription() 735 mInstrumentation.runOnMainSync( in windowWidthIsNotMax_performA11yActionIncreaseWidth_windowWidthIncreased() 775 mInstrumentation.runOnMainSync( in windowHeightIsNotMax_performA11yActionIncreaseHeight_windowHeightIncreased() [all …]
|
H A D | WindowMagnificationAnimationControllerTest.java | 168 mInstrumentation.runOnMainSync( in enableWindowMagnificationWithoutCallback_enabled_expectedValues() 180 mInstrumentation.runOnMainSync( in enableWindowMagnificationWithScaleOne_disabled_NoAnimationAndInvokeCallback() 235 mInstrumentation.runOnMainSync( in enableWindowMagnificationWithUnchanged_enabling_expectedValuesToDefault() 392 mInstrumentation.runOnMainSync( in enableWindowMagnification_disabling_expectedValuesAndInvokeCallback() 432 mInstrumentation.runOnMainSync( in enableMagnificationWithoutCallback_disabling_expectedValuesAndInvokeFormerCallback() 579 mInstrumentation.runOnMainSync( in moveWindowMagnifierToPosition_enabling_expectedValuesToLastOne() 602 mInstrumentation.runOnMainSync( in moveWindowMagnifierToPositionWithCenterUnchanged_enabling_expectedValuesToDefault() 672 mInstrumentation.runOnMainSync( in deleteWindowMagnification_enabling_expectedValuesAndInvokeCallback() 706 mInstrumentation.runOnMainSync( in deleteWindowMagnificationWithoutCallback_enabling_expectedValuesAndInvokeCallback() 759 mInstrumentation.runOnMainSync( in moveWindowMagnifier_enabled_vertical_only_expectedValue() [all …]
|
/aosp14/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | InsetsControllerTest.java | 122 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in setup() 206 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testControlsRevoked_duringAnim() 230 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testFrameDoesntOverlapWithInsets() 255 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testSystemDrivenInsetsAnimationLoggingListener_onReady() 273 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testAnimationEndState() 296 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testApplyImeVisibility() 316 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testShowHideSelectively() 344 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testShowHideSingle() 375 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testShowHideMultiple() 416 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testShowMultipleHideOneByOne() [all …]
|
H A 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()
|
H A D | ImeInsetsSourceConsumerTest.java | 70 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in setup() 96 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testImeVisibility() 115 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testImeRequestedVisibleAwaitingControl() 151 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in verifyImeGetAndClearSkipAnimationOnce()
|
H A D | ViewRootImplTest.java | 100 sInstrumentation.runOnMainSync(() -> in setUp() 253 sInstrumentation.runOnMainSync(() -> { in requestScrollCapture_timeout() 426 sInstrumentation.runOnMainSync(setup); in checkKeyEvent() 430 sInstrumentation.runOnMainSync(() -> { in checkKeyEvent() 442 sInstrumentation.runOnMainSync(() -> { in attachViewToWindow()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/ |
H A 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()
|
H A 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 …]
|
/aosp14/frameworks/base/tests/InputMethodStressTest/src/com/android/inputmethod/stresstest/ |
H A 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() 338 mInstrumentation.runOnMainSync( in testShowHideWithWindowInsetsController_inSameFrame() 349 mInstrumentation.runOnMainSync(activity::showImeWithWindowInsetsController); in testShowHideWithWindowInsetsController_inSameFrame() 354 mInstrumentation.runOnMainSync( in testShowHideWithWindowInsetsController_inSameFrame() [all …]
|
/aosp14/frameworks/base/core/tests/coretests/src/android/app/activity/ |
H A D | ActivityThreadTest.java | 143 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testRepeatedResume() 163 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testCustomIntentPreservedOnRelaunch() 242 InstrumentationRegistry.getInstrumentation().runOnMainSync( in testOverrideScale() 248 InstrumentationRegistry.getInstrumentation().runOnMainSync( in testOverrideScale() 282 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testHandleActivityConfigurationChanged() 301 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in relaunchActivityAndAssertPreserveWindow() 311 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in relaunchActivityAndAssertPreserveWindow() 324 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testHandleActivityConfigurationChanged_DropStaleConfigurations() 342 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testHandleActivityConfigurationChanged_ApplyNewConfigurations() 360 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testHandleActivityConfigurationChanged_SkipWhenNewerConfigurationPending() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/progress/ |
H A D | RemoteUnfoldTransitionReceiverTest.kt | 32 RemoteUnfoldTransitionReceiver(useReceivingFilter = true) { runOnMainSync(it) } 113 private fun runOnMainSync(f: Runnable) { regex 114 InstrumentationRegistry.getInstrumentation().runOnMainSync { f.run() }
|
H A D | UnfoldRemoteFilterTest.kt | 51 InstrumentationRegistry.getInstrumentation().runOnMainSync { 87 InstrumentationRegistry.getInstrumentation().runOnMainSync { it() }
|
/aosp14/frameworks/base/core/tests/mockingcoretests/src/android/app/activity/ |
H A D | ActivityThreadClientTest.java | 177 getInstrumentation().runOnMainSync(() -> { in testLifecycleOfRelaunch() 183 getInstrumentation().runOnMainSync(() -> clientSession.startActivity(r)); in testLifecycleOfRelaunch() 187 getInstrumentation().runOnMainSync(() -> clientSession.resumeActivity(r)); in testLifecycleOfRelaunch() 191 getInstrumentation().runOnMainSync(() -> clientSession.pauseActivity(r)); in testLifecycleOfRelaunch() 195 getInstrumentation().runOnMainSync(() -> clientSession.stopActivity(r)); in testLifecycleOfRelaunch() 199 getInstrumentation().runOnMainSync(() -> clientSession.destroyActivity(r)); in testLifecycleOfRelaunch() 256 getInstrumentation().runOnMainSync(() -> activity.recreate()); in recreateAndVerifyNoRelaunch() 265 getInstrumentation().runOnMainSync(() -> activity.recreate()); in recreateAndVerifyRelaunched()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/window/ |
H A 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()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | OrientationUtil.java | 60 mInstrumentation.runOnMainSync(mSetToPortrait); in setPortraitOrientation() 64 mInstrumentation.runOnMainSync(mSetToLandscape); in setLandscapeOrientation()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/gestures/ |
H A D | GesturesObserverTest.java | 75 mInstrumentation.runOnMainSync(() -> { in onActionMove_onGestureCancelled() 87 mInstrumentation.runOnMainSync(() -> { in onMotionEvent_unrecognizedEvents_onGestureCancelledAfterTimeout() 103 mInstrumentation.runOnMainSync(() -> { in onMotionEvent_recognizedEvents_onGestureCompleted()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/accessibilityservice/ |
H A D | AccessibilityServiceTest.java | 156 InstrumentationRegistry.getInstrumentation().runOnMainSync( in testAddViewWithA11yServiceDerivedDisplayContext() 168 InstrumentationRegistry.getInstrumentation().runOnMainSync( in testAddViewWithA11yServiceDerivedWindowContext() 180 InstrumentationRegistry.getInstrumentation().runOnMainSync( in testAddViewWithA11yServiceDerivedWindowContextWithDisplay() 193 InstrumentationRegistry.getInstrumentation().runOnMainSync( in testAddViewWithA11yServiceDerivedWindowContextWithDifferentType()
|
/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/view/ |
H A 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()
|
H A D | WebViewCaptureHelperTest.java | 68 instrumentation.runOnMainSync(() -> { in createScrollableContent() 115 instrumentation.runOnMainSync(() -> mWebView.zoomBy(1.0f / mWebView.getScale())); in createScrollableContent()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
H A D | PhoneStatusBarViewControllerTest.kt | 97 InstrumentationRegistry.getInstrumentation().runOnMainSync { 110 InstrumentationRegistry.getInstrumentation().runOnMainSync { 128 InstrumentationRegistry.getInstrumentation().runOnMainSync { 145 InstrumentationRegistry.getInstrumentation().runOnMainSync {
|
/aosp14/frameworks/base/core/tests/coretests/src/android/provider/ |
H A D | FontsContractE2ETest.java | 120 inst.runOnMainSync(() -> { in typefaceCacheTest() 131 inst.runOnMainSync(() -> { in typefaceCacheTest() 142 inst.runOnMainSync(() -> { in typefaceCacheTest()
|
/aosp14/frameworks/base/apct-tests/perftests/core/src/android/view/ |
H A D | InputStageBenchmark.java | 154 mInstrumentation.runOnMainSync(() -> { in setUp() 183 mInstrumentation.runOnMainSync(() -> mWindow.injectInputEvent(event)); in injectInputEvent() 211 mInstrumentation.runOnMainSync(() -> in testMotionEvent()
|
/aosp14/frameworks/base/services/tests/InputMethodSystemServerTests/src/com/android/server/inputmethod/ |
H A D | InputMethodBindingControllerTest.java | 179 mInstrumentation.runOnMainSync(() -> { in testBindCurrentMethodWithVisibleConnection() 197 mInstrumentation.runOnMainSync(() -> { in testUnbindCurrentMethod() 218 .runOnMainSync( in callOnMainSync()
|