HomeSort by relevance Sort by last modified time
    Searched defs:runOnMainSync (Results 1 - 25 of 89) sorted by null

1 2 3 4

  /cts/tests/inputmethod/src/android/view/inputmethod/cts/util/
TestUtils.java 35 * <p>A simple wrapper for {@link Instrumentation#runOnMainSync(Runnable)}.</p>
39 public static void runOnMainSync(@NonNull Runnable task) {
40 InstrumentationRegistry.getInstrumentation().runOnMainSync(task);
55 instrumentation.runOnMainSync(() -> result.set(supplier.get()));
78 instrumentation.runOnMainSync(() -> {
  /cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
RunOnMainUtils.java 25 * Utilities to return values from {@link Instrumentation#runOnMainSync()}
35 instrumentation.runOnMainSync(() -> {
ActivityLaunchUtils.java 56 instrumentation.runOnMainSync(() -> {
82 instrumentation.runOnMainSync(() -> titleBuilder.append(activity.getTitle()));
  /cts/tests/tests/text/src/android/text/method/cts/
KeyListenerTestCase.java 70 instrumentation.runOnMainSync(() -> {
87 instrumentation.runOnMainSync(() -> {
103 mInstrumentation.runOnMainSync(() -> mTextView.setKeyListener(keyListener));
  /cts/tests/tests/toast/src/android/widget/toast/cts/
BaseToastTest.java 55 mInstrumentation.runOnMainSync(
73 mInstrumentation.runOnMainSync(() -> {
  /packages/apps/Settings/tests/unit/src/com/android/settings/accessibility/
ToggleFeaturePreferenceFragmentTest.java 60 mInstrumentation.runOnMainSync(() -> {
AccessibilityShortcutPreferenceFragmentTest.java 101 mInstrumentation.runOnMainSync(() -> {
  /cts/tests/app/src/android/app/cts/
ListActivityTest.java 113 instrumentation.runOnMainSync(new Runnable() {
  /cts/tests/tests/mediastress/src/android/mediastress/cts/
NativeMediaTest.java 73 instrumentation.runOnMainSync(() -> {
78 instrumentation.runOnMainSync(() -> {
  /development/samples/ApiDemos/src/com/example/android/apis/app/
LocalSampleInstrumentation.java 65 runOnMainSync(new ActivityRunnable(activity) {
  /frameworks/support/emoji/core/src/androidTest/java/androidx/emoji/util/
KeyboardUtil.java 81 instrumentation.runOnMainSync(new Runnable() {
99 instrumentation.runOnMainSync(new Runnable() {
120 instrumentation.runOnMainSync(new Runnable() {
134 instrumentation.runOnMainSync(new Runnable() {
  /frameworks/support/emoji/core/src/androidTest/java/androidx/emoji/widget/
EmojiEditTextTest.java 74 mInstrumentation.runOnMainSync(new Runnable() {
101 mInstrumentation.runOnMainSync(new Runnable() {
  /cts/tests/inputmethod/src/android/view/inputmethod/cts/
FocusHandlingTest.java 20 import static android.view.inputmethod.cts.util.TestUtils.runOnMainSync;
246 instrumentation.runOnMainSync(() -> editText.requestFocus());
258 instrumentation.runOnMainSync(() -> editText.setText(""));
273 instrumentation.runOnMainSync(() -> popupWindow.showAsDropDown(editText));
284 instrumentation.runOnMainSync(() -> editText.setText(""));
290 instrumentation.runOnMainSync(() -> {
314 instrumentation.runOnMainSync(() -> editText.setText(""));
317 instrumentation.runOnMainSync(() -> popupWindow.dismiss());
328 instrumentation.runOnMainSync(() -> editText.setText(""));
350 instrumentation.runOnMainSync(() -> editText.requestFocus())
    [all...]
  /cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
AccessibilityPaneTest.java 74 sInstrumentation.runOnMainSync(() -> {
91 sUiAutomation.executeAndWaitForEvent(() -> sInstrumentation.runOnMainSync(() -> {
128 return () -> sInstrumentation.runOnMainSync(
133 return () -> sInstrumentation.runOnMainSync(
AccessibilityViewTreeReportingTest.java 152 sInstrumentation.runOnMainSync(() -> mActivity.findViewById(R.id.firstLinearLayout)
184 sInstrumentation.runOnMainSync(() -> {
201 sInstrumentation.runOnMainSync(() -> {
233 sInstrumentation.runOnMainSync(
264 sInstrumentation.runOnMainSync(() -> {
277 sInstrumentation.runOnMainSync(() -> {
  /cts/tests/framework/base/windowmanager/src/android/server/wm/
DisplayCutoutTests.java 198 runOnMainSync(() -> activity.getDecorView().getDisplay().getRealSize(displaySize));
275 runOnMainSync(() -> result[0] = f.get());
280 private void runOnMainSync(Runnable runnable) {
281 InstrumentationRegistry.getInstrumentation().runOnMainSync(runnable);
  /cts/tests/tests/uidisolation/src/android/uidisolation/cts/
IsolatedServiceTest.java 66 mInstrumentation.runOnMainSync(new Runnable() {
  /cts/tests/tests/view/src/android/view/cts/
MenuItemTest.java 83 mInstrumentation.runOnMainSync(() -> {
92 mInstrumentation.runOnMainSync(() -> firstItem.setIcon(R.drawable.icon_yellow));
99 mInstrumentation.runOnMainSync(() -> {
  /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
KeyguardIndicationControllerTest.java 177 mInstrumentation.runOnMainSync(() -> {
187 mInstrumentation.runOnMainSync(() -> {
  /frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
AccessibilityManagerTest.java 152 mInstrumentation.runOnMainSync(() -> {
  /frameworks/support/emoji/core/src/androidTest/java/androidx/emoji/text/
EmojiSpanInstrumentationTest.java 83 mInstrumentation.runOnMainSync(new Runnable() {
100 mInstrumentation.runOnMainSync(new Runnable() {
  /frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/
FragmentTestUtil.java 92 instrumentation.runOnMainSync(new Runnable() {
105 instrumentation.runOnMainSync(new Runnable() {
119 instrumentation.runOnMainSync(new Runnable() {
132 instrumentation.runOnMainSync(new Runnable() {
217 instrumentation.runOnMainSync(check);
  /frameworks/support/lifecycle/extensions/src/androidTest/java/androidx/lifecycle/
FragmentLifecycleInActivityTest.java 144 mInstrumentation.runOnMainSync(new Runnable() {
  /packages/apps/Contacts/tests/src/com/android/contacts/
RunMethodInstrumentation.java 88 runOnMainSync(new Runnable() {
  /packages/services/Car/service/src/com/android/car/
CarServiceUtils.java 91 public static void runOnMainSync(Runnable action) {

Completed in 663 milliseconds

1 2 3 4