Home
last modified time | relevance | path

Searched refs:runOnMainSync (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/
DWindowMagnificationControllerTest.java60 mInstrumentation.runOnMainSync(() -> { in tearDown()
68 mInstrumentation.runOnMainSync(() -> { in createWindowMagnification_showControl()
77 mInstrumentation.runOnMainSync(() -> { in deleteWindowMagnification_destroyControl()
82 mInstrumentation.runOnMainSync(() -> { in deleteWindowMagnification_destroyControl()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DActivityThreadTest.java115 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testRepeatedResume()
134 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testCustomIntentPreservedOnRelaunch()
159 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testHandleActivityConfigurationChanged()
173 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testHandleActivity_assetsChanged()
184 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testHandleActivity_assetsChanged()
198 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testHandleActivityConfigurationChanged_DropStaleConfigurations()
216 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testHandleActivityConfigurationChanged_ApplyNewConfigurations()
234 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testHandleActivityConfigurationChanged_SkipWhenNewerConfigurationPending()
272 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testHandleActivityConfigurationChanged_EnsureUpdatesProcessedInOrder()
333 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testHandleActivityConfigurationChanged_OnlyAppliesNewestConfiguration()
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/
DEditorCursorDragTest.java265 mInstrumentation.runOnMainSync(() -> editor.onTouchEvent(event1)); in testEditor_onTouchEvent_quickTapAfterDrag()
271 mInstrumentation.runOnMainSync(() -> editor.onTouchEvent(event2)); in testEditor_onTouchEvent_quickTapAfterDrag()
277 mInstrumentation.runOnMainSync(() -> editor.onTouchEvent(event3)); in testEditor_onTouchEvent_quickTapAfterDrag()
283 mInstrumentation.runOnMainSync(() -> editor.onTouchEvent(event4)); in testEditor_onTouchEvent_quickTapAfterDrag()
290 mInstrumentation.runOnMainSync(() -> editor.onTouchEvent(event5)); in testEditor_onTouchEvent_quickTapAfterDrag()
296 mInstrumentation.runOnMainSync(() -> editor.onTouchEvent(event6)); in testEditor_onTouchEvent_quickTapAfterDrag()
303 mInstrumentation.runOnMainSync(() -> editor.onTouchEvent(event7)); in testEditor_onTouchEvent_quickTapAfterDrag()
320 mInstrumentation.runOnMainSync(() -> editor.onTouchEvent(event1)); in testEditor_onTouchEvent_mouseDrag()
326 mInstrumentation.runOnMainSync(() -> editor.onTouchEvent(event2)); in testEditor_onTouchEvent_mouseDrag()
332 mInstrumentation.runOnMainSync(() -> editor.onTouchEvent(event3)); in testEditor_onTouchEvent_mouseDrag()
[all …]
/frameworks/base/core/tests/coretests/src/android/view/
DInsetsControllerTest.java116 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in setup()
198 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testControlsRevoked_duringAnim()
242 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testAnimationEndState()
268 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testApplyImeVisibility()
288 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testShowHideSelectively()
320 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testShowHideSingle()
360 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testShowHideMultiple()
409 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testShowMultipleHideOneByOne()
432 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testRestoreStartsAnimation()
459 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testStartImeAnimationAfterGettingControl()
[all …]
DInsetsSourceConsumerTest.java85 instrumentation.runOnMainSync(() -> { in setup()
117 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testHide()
127 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testShow()
174 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testRestore()
189 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testRestore_noAnimation()
DImeInsetsSourceConsumerTest.java74 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in setup()
99 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testImeVisibility()
118 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testImeRequestedVisibleAwaitingControl()
DAccessibilityInteractionControllerTest.java114 sInstrumentation.runOnMainSync(() -> { in clearAccessibilityFocus_uiThread_shouldClearFocus()
140 sInstrumentation.runOnMainSync(() -> { in launchActivity()
DDisabledTest.java48 getInstrumentation().runOnMainSync( in setUp()
DViewRootImplTest.java65 getInstrumentation().runOnMainSync(() -> in setUp()
/frameworks/base/core/tests/coretests/src/android/util/
DOrientationUtil.java60 mInstrumentation.runOnMainSync(mSetToPortrait); in setPortraitOrientation()
64 mInstrumentation.runOnMainSync(mSetToLandscape); in setLandscapeOrientation()
/frameworks/base/core/tests/coretests/src/android/provider/
DFontsContractE2ETest.java120 inst.runOnMainSync(() -> { in typefaceCacheTest()
131 inst.runOnMainSync(() -> { in typefaceCacheTest()
142 inst.runOnMainSync(() -> { in typefaceCacheTest()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DKeyguardIndicationControllerTest.java180 mInstrumentation.runOnMainSync(() -> { in onAlignmentStateChanged_showsSlowChargingIndication()
197 mInstrumentation.runOnMainSync(() -> { in onAlignmentStateChanged_showsNotChargingIndication()
214 mInstrumentation.runOnMainSync(() -> { in onAlignmentStateChanged_whileDozing_showsSlowChargingIndication()
232 mInstrumentation.runOnMainSync(() -> { in onAlignmentStateChanged_whileDozing_showsNotChargingIndication()
398 mInstrumentation.runOnMainSync(() -> { in transientIndication_releasesWakeLock_afterHidingDelayed()
408 mInstrumentation.runOnMainSync(() -> { in transientIndication_releasesWakeLock_afterHidingDelayed()
/frameworks/base/test-base/src/android/test/
DInstrumentationTestCase.java141 getInstrumentation().runOnMainSync(new Runnable() { in runTestOnUiThread()
192 getInstrumentation().runOnMainSync(new Runnable() { in runTest()
/frameworks/base/packages/ExternalStorageProvider/tests/src/com/android/externalstorage/
DExternalStorageProviderTest.java47 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() { in onCreate_shouldUpdateVolumes()
/frameworks/base/core/tests/coretests/src/android/view/menu/
DContextMenuTest.java60 getInstrumentation().runOnMainSync(() -> target.performLongClick(offsetX, offsetY)); in testMenuPosition()
/frameworks/base/apct-tests/perftests/core/src/android/widget/
DEditTextCursorMovementPerfTest.java85 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() { in testCursorMovement()
DEditTextBackspacePerfTest.java111 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in testBackspace()
/frameworks/base/core/tests/utillib/src/android/test/
DBandwidthTestCase.java77 getInstrumentation().runOnMainSync(new Runnable() { in runTest()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityLeakTests.java57 mInstrumentation.runOnMainSync(() -> { in tearDown()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/
DGlobalActionsImeTest.java137 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in runAssertionOnMainThread()
/frameworks/base/core/tests/coretests/src/android/view/accessibility/
DAccessibilityManagerTest.java187 mInstrumentation.runOnMainSync(() -> { in testSendAccessibilityEvent_AccessibilityDisabled()
/frameworks/base/core/java/android/app/
DInstrumentation.java436 public void runOnMainSync(Runnable runner) { in runOnMainSync() method in Instrumentation
953 runOnMainSync(mr); in invokeMenuActionSync()
1015 runOnMainSync(cmr); in invokeContextMenuAction()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DChooserActivityTest.java396 InstrumentationRegistry.getInstrumentation().runOnMainSync( in noResultsFromPackageManager()
1050 InstrumentationRegistry.getInstrumentation().runOnMainSync( in testDirectTargetSelectionLogging()
1122 InstrumentationRegistry.getInstrumentation().runOnMainSync( in testDirectTargetLoggingWithRankedAppTarget()
1210 InstrumentationRegistry.getInstrumentation().runOnMainSync( in testDirectTargetLoggingWithAppTargetNotRanked()
1574 InstrumentationRegistry.getInstrumentation().runOnMainSync( in testDirectTargetLogging()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/color/
DColorDisplayServiceTest.java1239 InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> { in startService()
/frameworks/base/services/tests/servicestests/src/com/android/server/webkit/
DWebViewUpdateServiceTest.java234 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() { in runWebViewBootPreparationOnMainSync()

12