Searched defs:getInstrumentation (Results 1 - 7 of 7) sorted by relevance

/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
H A DBaseInstrumentationTestCase.java44 public Instrumentation getInstrumentation() { method in class:BaseInstrumentationTestCase
45 return InstrumentationRegistry.getInstrumentation();
51 getInstrumentation().runOnMainSync(new Runnable() {
/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/support/v7/recyclerview/tests/src/android/support/v7/widget/test/
H A DRecyclerViewTest.java54 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
74 getInstrumentation().waitForIdleSync();
146 private Instrumentation getInstrumentation() { method in class:RecyclerViewTest
147 return InstrumentationRegistry.getInstrumentation();
/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/core/java/android/test/
H A DInstrumentationTestCase.java74 public Instrumentation getInstrumentation() { method in class:InstrumentationTestCase
125 T activity = (T) getInstrumentation().startActivitySync(intent);
126 getInstrumentation().waitForIdleSync();
141 getInstrumentation().runOnMainSync(new Runnable() {
192 getInstrumentation().runOnMainSync(new Runnable() {
234 getInstrumentation().sendStatus(2, iterations);
257 final Instrumentation instrumentation = getInstrumentation();
307 final Instrumentation instrumentation = getInstrumentation();
336 final Instrumentation instrumentation = getInstrumentation();
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DBaseRecyclerViewInstrumentationTest.java135 getUIAutomation.invoke(InstrumentationRegistry.getInstrumentation());
207 public Instrumentation getInstrumentation() { method in class:BaseRecyclerViewInstrumentationTest
208 return InstrumentationRegistry.getInstrumentation();
220 getInstrumentation().waitForIdleSync();
245 getInstrumentation().waitForIdleSync();
437 getInstrumentation().waitForIdleSync();
491 getInstrumentation().waitForIdleSync();
507 getInstrumentation().waitForIdleSync();
577 getInstrumentation().runOnMainSync(new Runnable() {
1124 InstrumentationRegistry.getInstrumentation()
[all...]
/frameworks/base/core/java/android/app/
H A DActivityThread.java2026 public Instrumentation getInstrumentation() method in class:ActivityThread
2599 activity.attach(appContext, this, getInstrumentation(), r.token,

Completed in 1510 milliseconds