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

/frameworks/support/navigation/runtime/src/androidTest/java/androidx/navigation/
H A DNavInflaterTest.java43 public void getInstrumentation() { method in class:NavInflaterTest
44 mInstrumentation = InstrumentationRegistry.getInstrumentation();
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/test/
H A DRecyclerViewTest.java73 getInstrumentation().waitForIdleSync();
145 private Instrumentation getInstrumentation() { method in class:RecyclerViewTest
146 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/support/lifecycle/extensions/src/androidTest/java/androidx/lifecycle/
H A DFragmentLifecycleInActivityTest.java71 public void getInstrumentation() { method in class:FragmentLifecycleInActivityTest
72 mInstrumentation = InstrumentationRegistry.getInstrumentation();
/frameworks/base/test-base/src/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/navigation/fragment/src/androidTest/java/androidx/navigation/fragment/
H A DBaseNavControllerTest.java63 public void getInstrumentation() { method in class:BaseNavControllerTest
64 mInstrumentation = InstrumentationRegistry.getInstrumentation();
/frameworks/base/packages/Shell/tests/src/com/android/shell/
H A DBugreportReceiverTest.java173 Instrumentation instrumentation = getInstrumentation();
975 UiDevice.getInstance(getInstrumentation()).executeShellCommand(cmd);
1063 private Instrumentation getInstrumentation() { method in class:BugreportReceiverTest
1064 return InstrumentationRegistry.getInstrumentation();
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DBaseRecyclerViewInstrumentationTest.java139 getUIAutomation.invoke(InstrumentationRegistry.getInstrumentation());
218 public Instrumentation getInstrumentation() { method in class:BaseRecyclerViewInstrumentationTest
219 return InstrumentationRegistry.getInstrumentation();
231 getInstrumentation().waitForIdleSync();
256 getInstrumentation().waitForIdleSync();
438 getInstrumentation().waitForIdleSync();
492 getInstrumentation().waitForIdleSync();
508 getInstrumentation().waitForIdleSync();
579 getInstrumentation().runOnMainSync(new Runnable() {
/frameworks/base/core/java/android/app/
H A DActivityThread.java2102 public Instrumentation getInstrumentation() method in class:ActivityThread
2873 activity.attach(appContext, this, getInstrumentation(), r.token,

Completed in 123 milliseconds