Home | History | Annotate | Download | only in cts

Lines Matching defs:instrumentation

31 import android.app.Instrumentation;
237 final Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation();
240 instrumentation.getUiAutomation(),
246 instrumentation.runOnMainSync(() -> editText.requestFocus());
258 instrumentation.runOnMainSync(() -> editText.setText(""));
262 final Context context = instrumentation.getTargetContext();
273 instrumentation.runOnMainSync(() -> popupWindow.showAsDropDown(editText));
274 instrumentation.waitForIdleSync();
284 instrumentation.runOnMainSync(() -> editText.setText(""));
290 instrumentation.runOnMainSync(() -> {
314 instrumentation.runOnMainSync(() -> editText.setText(""));
317 instrumentation.runOnMainSync(() -> popupWindow.dismiss());
318 instrumentation.waitForIdleSync();
328 instrumentation.runOnMainSync(() -> editText.setText(""));
341 final Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation();
344 instrumentation.getUiAutomation(),
350 instrumentation.runOnMainSync(() -> editText.requestFocus());
362 WindowFocusStealer.connect(instrumentation.getTargetContext(), TIMEOUT)) {
370 instrumentation.runOnMainSync(() -> {