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

1234

/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.java76 getInstrumentation().waitForIdleSync();
79 getInstrumentation().waitForIdleSync();
86 getInstrumentation().waitForIdleSync();
H A DLongpressTest.java72 getInstrumentation().waitForIdleSync();
75 getInstrumentation().waitForIdleSync();
82 getInstrumentation().waitForIdleSync();
H A DDisabledTest.java82 getInstrumentation().waitForIdleSync();
90 getInstrumentation().waitForIdleSync();
/frameworks/testing/androidtestlib/tests/src/com/android/test/
H A DMyInstrumentationTestCase.java33 assertNotNull("instrumentation was not injected", getInstrumentation());
/frameworks/testing/androidtestlib/src/com/android/test/runner/listener/
H A DInstrumentationRunListener.java37 public Instrumentation getInstrumentation() { method in class:InstrumentationRunListener
42 * Convenience method for {@link #getInstrumentation()#sendStatus()}
45 getInstrumentation().sendStatus(code, bundle);
/frameworks/base/core/tests/coretests/src/android/app/
H A DInstrumentationTest.java32 getInstrumentation().sendStatus(-1, bundle);
/frameworks/testing/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/testrunner/
H A DUiAutomatorTestCase.java67 mAutomationSupport = new InstrumentationAutomationSupport(getInstrumentation());
85 getInstrumentation().getUiAutomation().setRunAsMonkey(Boolean.valueOf(monkeyVal));
89 getInstrumentation().getContext(),
90 getInstrumentation().getUiAutomation()));
/frameworks/uiautomator/testrunner/com/android/uiautomator/testrunner/
H A DUiAutomatorTestCase.java67 mAutomationSupport = new InstrumentationAutomationSupport(getInstrumentation());
85 getInstrumentation().getUiAutomation().setRunAsMonkey(Boolean.valueOf(monkeyVal));
89 getInstrumentation().getContext(),
90 getInstrumentation().getUiAutomation()));
/frameworks/base/test-runner/src/android/test/
H A DActivityInstrumentationTestCase.java76 getInstrumentation().setInTouchMode(mInitialTouchMode);
77 final String targetPackageName = getInstrumentation().getTargetContext().getPackageName();
H A DActivityInstrumentationTestCase2.java100 getInstrumentation().setInTouchMode(mInitialTouchMode);
101 final String targetPackage = 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/base/core/tests/coretests/src/android/widget/listview/
H A DListRetainsFocusAcrossLayoutsTest.java54 getInstrumentation().waitForIdleSync();
68 getInstrumentation().waitForIdleSync();
83 getInstrumentation().waitForIdleSync();
H A DListFocusableTest.java194 getInstrumentation().waitForIdleSync();
203 getInstrumentation().waitForIdleSync();
212 getInstrumentation().waitForIdleSync();
221 getInstrumentation().waitForIdleSync();
230 getInstrumentation().waitForIdleSync();
/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DScrollingThroughListOfFocusablesTest.java86 getInstrumentation().waitForIdleSync();
119 getInstrumentation().waitForIdleSync();
134 getInstrumentation().waitForIdleSync();
159 getInstrumentation().waitForIdleSync();
182 getInstrumentation().waitForIdleSync();
232 getInstrumentation().waitForIdleSync();
/frameworks/base/core/tests/coretests/src/android/util/
H A DKeyUtils.java46 final Instrumentation inst = test.getInstrumentation();
59 final Instrumentation inst = test.getInstrumentation();
78 final Instrumentation inst = test.getInstrumentation();
/frameworks/base/core/tests/coretests/src/android/widget/
H A DAutoCompleteTextViewCallbacks.java39 final Instrumentation instrumentation = getInstrumentation();
64 final Instrumentation instrumentation = getInstrumentation();
113 final Instrumentation instrumentation = getInstrumentation();
H A DAutoCompleteTextViewPopup.java48 final Instrumentation instrumentation = getInstrumentation();
80 final Instrumentation instrumentation = getInstrumentation();
107 final Instrumentation instrumentation = getInstrumentation();
140 final Instrumentation instrumentation = getInstrumentation();
174 final Instrumentation instrumentation = getInstrumentation();
/frameworks/base/core/tests/coretests/src/android/widget/gridview/
H A DGridSetSelectionBaseTest.java64 getInstrumentation().waitForIdleSync();
80 getInstrumentation().waitForIdleSync();
95 getInstrumentation().waitForIdleSync();
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsFL/src/com/android/framework/externalsharedpermsfltestapp/
H A DExternalSharedPermsFLTest.java33 LocationManager locationManager = (LocationManager)getInstrumentation().getContext(
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
H A DScreenshotTest.java104 getInstrumentation().sendKeySync(new KeyEvent(KeyEvent.ACTION_DOWN,
106 getInstrumentation().sendKeySync(new KeyEvent(KeyEvent.ACTION_DOWN,
114 getInstrumentation().sendKeySync(new KeyEvent(KeyEvent.ACTION_UP,
116 getInstrumentation().sendKeySync(new KeyEvent(KeyEvent.ACTION_UP,
/frameworks/ex/variablespeed/tests/src/com/android/ex/variablespeed/
H A DRealMediaPlayerTest.java41 getInstrumentation().runOnMainSync(future);
/frameworks/base/core/java/android/test/
H A DInstrumentationTestCase.java68 public Instrumentation getInstrumentation() { method in class:InstrumentationTestCase
119 T activity = (T) getInstrumentation().startActivitySync(intent);
120 getInstrumentation().waitForIdleSync();
135 getInstrumentation().runOnMainSync(new Runnable() {
186 getInstrumentation().runOnMainSync(new Runnable() {
228 getInstrumentation().sendStatus(2, iterations);
251 final Instrumentation instrumentation = getInstrumentation();
301 final Instrumentation instrumentation = getInstrumentation();
330 final Instrumentation instrumentation = getInstrumentation();
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
H A DRsBenchTest.java46 Instrumentation mInst = getInstrumentation();
47 RsPerfTestRunner mRunner = (RsPerfTestRunner) getInstrumentation();
/frameworks/base/core/tests/coretests/src/android/widget/scroll/
H A DScrollViewButtonsAndLabelsTest.java73 getInstrumentation().waitForIdleSync();
109 getInstrumentation().waitForIdleSync();
131 getInstrumentation().waitForIdleSync();
151 getInstrumentation().waitForIdleSync();
171 getInstrumentation().waitForIdleSync();

Completed in 2582 milliseconds

1234