Searched refs:getInstrumentation (Results 1 - 25 of 347) sorted by relevance

1234567891011>>

/frameworks/base/core/tests/coretests/src/android/view/
H A DRunQueueTest.java35 getInstrumentation().waitForIdleSync();
42 getInstrumentation().waitForIdleSync();
49 getInstrumentation().waitForIdleSync();
56 getInstrumentation().waitForIdleSync();
H A DDisabledLongpressTest.java73 getInstrumentation().waitForIdleSync();
76 getInstrumentation().waitForIdleSync();
83 getInstrumentation().waitForIdleSync();
H A DLongpressTest.java69 getInstrumentation().waitForIdleSync();
72 getInstrumentation().waitForIdleSync();
79 getInstrumentation().waitForIdleSync();
H A DVisibilityTest.java72 getInstrumentation().waitForIdleSync();
86 getInstrumentation().waitForIdleSync();
100 getInstrumentation().waitForIdleSync();
120 getInstrumentation().waitForIdleSync();
140 getInstrumentation().waitForIdleSync();
160 getInstrumentation().waitForIdleSync();
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/
H A DFullscreenRotationTest.java34 Utils.startElementLayout(getInstrumentation(), 100);
40 Utils.rotateDevice(getInstrumentation(), Utils.ROTATION_MODE_NATURAL);
48 Utils.rotateDevice(getInstrumentation(),
49 Utils.getDeviceRotation(getInstrumentation()) == Utils.ROTATION_MODE_LEFT ?
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/app/
H A DKeyEventsTestCaseWithToolbar.java51 InstrumentationRegistry.getInstrumentation().sendKeyDownUpSync(KeyEvent.KEYCODE_MENU);
52 InstrumentationRegistry.getInstrumentation().waitForIdleSync();
55 InstrumentationRegistry.getInstrumentation().sendKeyDownUpSync(KeyEvent.KEYCODE_MENU);
56 InstrumentationRegistry.getInstrumentation().waitForIdleSync();
75 InstrumentationRegistry.getInstrumentation().waitForIdleSync();
84 InstrumentationRegistry.getInstrumentation().waitForIdleSync();
H A DKeyboardShortcutsTestCaseWithToolbar.java64 InstrumentationRegistry.getInstrumentation().waitForIdleSync();
66 InstrumentationRegistry.getInstrumentation().waitForIdleSync();
80 InstrumentationRegistry.getInstrumentation().waitForIdleSync();
144 InstrumentationRegistry.getInstrumentation().sendKeySync(unhandledShortcutKey);
154 InstrumentationRegistry.getInstrumentation().sendKeySync(keyDown);
158 InstrumentationRegistry.getInstrumentation().sendKeySync(keyUp);
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/app/
H A DProgressBarManagerTest.java42 mContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
43 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
57 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
71 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
84 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
106 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
121 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
135 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
/frameworks/base/cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/testrunner/
H A DUiAutomatorTestCase.java70 mAutomationSupport = new InstrumentationAutomationSupport(getInstrumentation());
88 getInstrumentation().getUiAutomation().setRunAsMonkey(Boolean.valueOf(monkeyVal));
92 getInstrumentation().getContext(),
93 getInstrumentation().getUiAutomation()));
/frameworks/base/core/tests/coretests/src/android/app/
H A DInstrumentationTest.java34 getInstrumentation().sendStatus(-1, bundle);
/frameworks/base/tests/ServiceCrashTest/src/com/android/tests/servicecrashtest/
H A DServiceCrashTest.java41 getInstrumentation().getContext().getContentResolver(),
56 SystemUtil.runShellCommand(getInstrumentation(),
59 SystemUtil.runShellCommand(getInstrumentation(), "settings put global "
65 Context ctx = getInstrumentation().getContext();
/frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/
H A DDialogFragmentTest.java48 InstrumentationRegistry.getInstrumentation().waitForIdleSync();
53 InstrumentationRegistry.getInstrumentation().waitForIdleSync();
61 InstrumentationRegistry.getInstrumentation().waitForIdleSync();
72 InstrumentationRegistry.getInstrumentation().waitForIdleSync();
80 InstrumentationRegistry.getInstrumentation().waitForIdleSync();
85 InstrumentationRegistry.getInstrumentation().waitForIdleSync();
92 InstrumentationRegistry.getInstrumentation().waitForIdleSync();
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
H A DThumbsBarTest.java47 mContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
48 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
69 mContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
70 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
88 mContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
89 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
107 mContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
108 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
151 mContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
152 InstrumentationRegistry.getInstrumentation()
[all...]
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
H A DMtpManagerTest.java48 mUsbDevice = TestUtil.setupMtpDevice(getInstrumentation(), mUsbManager, mManager);
57 public TestResultInstrumentation getInstrumentation() { method in class:MtpManagerTest
58 return (TestResultInstrumentation) super.getInstrumentation();
87 getInstrumentation().show(Arrays.toString(records[0].operationsSupported));
94 getInstrumentation().show(Arrays.toString(records[0].eventsSupported));
101 getInstrumentation().show("deviceKey: " + records[0].deviceKey);
106 getInstrumentation().show("Please take a photo by using connected MTP device.");
162 return getInstrumentation().getContext();
/frameworks/base/test-runner/src/android/test/
H A DActivityInstrumentationTestCase.java74 getInstrumentation().setInTouchMode(mInitialTouchMode);
75 final String targetPackageName = getInstrumentation().getTargetContext().getPackageName();
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
H A DFrameworkPerfTest.java18 getInstrumentation().runOnMainSync(new Runnable() {
39 getInstrumentation().sendStatus(Activity.RESULT_OK, testResult);
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/media/
H A DMediaPlayerGlueTest.java50 final Context context = InstrumentationRegistry.getInstrumentation().getTargetContext();
52 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
75 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
90 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
100 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
111 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
121 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
131 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
H A DPlaybackControlGlueTest.java98 mContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
99 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
117 mContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
118 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
144 mContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
145 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
166 mContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
167 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
H A DPlaybackBannerControlGlueTest.java73 mContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
74 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
91 mContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
92 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
117 mContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
118 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
138 mContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
139 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
167 InstrumentationRegistry.getInstrumentation().getTargetContext(),
175 InstrumentationRegistry.getInstrumentation()
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListRetainsFocusAcrossLayoutsTest.java54 getInstrumentation().waitForIdleSync();
68 getInstrumentation().waitForIdleSync();
83 getInstrumentation().waitForIdleSync();
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
H A DListWithNoFadingEdgeTest.java52 getInstrumentation().waitForIdleSync();
65 getInstrumentation().waitForIdleSync();
73 getInstrumentation().waitForIdleSync();
/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DScrollingThroughListOfFocusablesTest.java60 getInstrumentation().waitForIdleSync();
90 getInstrumentation().waitForIdleSync();
123 getInstrumentation().waitForIdleSync();
138 getInstrumentation().waitForIdleSync();
163 getInstrumentation().waitForIdleSync();
186 getInstrumentation().waitForIdleSync();
236 getInstrumentation().waitForIdleSync();
/frameworks/support/loader/src/androidTest/java/androidx/loader/app/
H A DLoaderManagerTest.java62 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
93 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
114 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
133 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
141 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
161 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
181 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
192 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
212 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
225 InstrumentationRegistry.getInstrumentation()
[all...]
/frameworks/support/webkit/src/androidTest/java/androidx/webkit/
H A DWebViewOnUiThread.java61 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
76 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
113 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
131 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
140 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
164 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
255 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
264 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
277 InstrumentationRegistry.getInstrumentation().runOnMainSync(getter);
322 InstrumentationRegistry.getInstrumentation()
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/scroll/
H A DScrollViewButtonsAndLabelsTest.java71 getInstrumentation().waitForIdleSync();
76 getInstrumentation().waitForIdleSync();
112 getInstrumentation().waitForIdleSync();
134 getInstrumentation().waitForIdleSync();
154 getInstrumentation().waitForIdleSync();
174 getInstrumentation().waitForIdleSync();

Completed in 457 milliseconds

1234567891011>>