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

12345678

/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
H A DBaseKeyEventsTestCase.java77 getInstrumentation().waitForIdleSync();
78 getInstrumentation().sendKeyDownUpSync(KeyEvent.KEYCODE_BACK);
79 getInstrumentation().waitForIdleSync();
95 getInstrumentation().waitForIdleSync();
98 getInstrumentation().sendKeyDownUpSync(KeyEvent.KEYCODE_BACK);
99 getInstrumentation().waitForIdleSync();
104 getInstrumentation().sendKeyDownUpSync(KeyEvent.KEYCODE_BACK);
105 getInstrumentation().waitForIdleSync();
116 getInstrumentation().sendKeyDownUpSync(KeyEvent.KEYCODE_MENU);
117 getInstrumentation()
[all...]
H A DBaseInstrumentationTestCase.java44 public Instrumentation getInstrumentation() { method in class:BaseInstrumentationTestCase
45 return InstrumentationRegistry.getInstrumentation();
51 getInstrumentation().runOnMainSync(new Runnable() {
H A DBaseKeyboardShortcutsTestCase.java54 getInstrumentation().sendKeySync(downEvent);
55 getInstrumentation().waitForIdleSync();
59 getInstrumentation().sendKeySync(upEvent);
60 getInstrumentation().waitForIdleSync();
80 getInstrumentation().waitForIdleSync();
82 getInstrumentation().waitForIdleSync();
93 getInstrumentation().sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_DOWN);
94 getInstrumentation().waitForIdleSync();
103 getInstrumentation().sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_UP);
104 getInstrumentation()
[all...]
H A DDialogTestCase.java35 getInstrumentation().waitForIdleSync();
40 getInstrumentation().waitForIdleSync();
/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();
/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 ?
H A DWindowAnimationJankTestBase.java54 return UiDevice.getInstance(getInstrumentation());
/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.java32 getInstrumentation().sendStatus(-1, bundle);
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/
H A DBaseThreadedTest.java37 getInstrumentation().runOnMainSync(new Runnable() {
48 public Instrumentation getInstrumentation() { method in class:BaseThreadedTest
49 return InstrumentationRegistry.getInstrumentation();
54 getInstrumentation().runOnMainSync(new Runnable() {
/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/base/core/tests/coretests/src/android/widget/listview/
H A DListRetainsFocusAcrossLayoutsTest.java54 getInstrumentation().waitForIdleSync();
68 getInstrumentation().waitForIdleSync();
83 getInstrumentation().waitForIdleSync();
/frameworks/base/packages/DocumentsUI/perf-tests/src/com/android/documentsui/
H A DFilesJankPerfTest.java51 final UiDevice device = UiDevice.getInstance(getInstrumentation());
52 final Context context = getInstrumentation().getTargetContext();
58 mActivity = getInstrumentation().startActivitySync(intent);
81 getInstrumentation().waitForIdleSync();
88 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/support/v4/tests/java/android/support/v4/app/
H A DFragmentReceiveResultTest.java103 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
113 InstrumentationRegistry.getInstrumentation().waitForIdleSync();
119 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
129 InstrumentationRegistry.getInstrumentation().waitForIdleSync();
134 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
152 InstrumentationRegistry.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();
/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/DocumentsUI/app-perf-tests/src/com/android/documentsui/
H A DFilesAppPerfTest.java54 mDevice = UiDevice.getInstance(getInstrumentation());
76 mActivity = launchActivity(getInstrumentation().getTargetContext().getPackageName(),
92 getInstrumentation().sendStatus(Activity.RESULT_OK, status);
96 final Context context = getInstrumentation().getContext();
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
H A DScreenshotTest.java108 getInstrumentation().sendKeySync(new KeyEvent(KeyEvent.ACTION_DOWN,
110 getInstrumentation().sendKeySync(new KeyEvent(KeyEvent.ACTION_DOWN,
118 getInstrumentation().sendKeySync(new KeyEvent(KeyEvent.ACTION_UP,
120 getInstrumentation().sendKeySync(new KeyEvent(KeyEvent.ACTION_UP,

Completed in 3109 milliseconds

12345678