/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/test/ |
H A D | RecyclerViewTest.java | 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 D | MtpManagerTest.java | 48 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/android/arch/lifecycle/ |
H A D | FragmentLifecycleInActivityTest.java | 70 public void getInstrumentation() { method in class:FragmentLifecycleInActivityTest 71 mInstrumentation = InstrumentationRegistry.getInstrumentation();
|
/frameworks/base/legacy-test/src/android/test/ |
H A D | InstrumentationTestCase.java | 74 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/base/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/ |
H A D | BasePrintTest.java | 81 protected static Instrumentation getInstrumentation() { method in class:BasePrintTest 87 sInstrumentation = InstrumentationRegistry.getInstrumentation(); 98 System.setProperty("dexmaker.dexcache", getInstrumentation() 112 getInstrumentation().runOnMainSync(() -> { 141 runShellCommand(getInstrumentation(), String.format(
|
/frameworks/base/core/tests/coretests/src/android/print/ |
H A D | BasePrintTest.java | 118 protected static Instrumentation getInstrumentation() { method in class:BasePrintTest 124 sInstrumentation = InstrumentationRegistry.getInstrumentation(); 135 System.setProperty("dexmaker.dexcache", getInstrumentation() 156 getInstrumentation().runOnMainSync(() -> { 210 runShellCommand(getInstrumentation(), String.format(
|
/frameworks/base/packages/Shell/tests/src/com/android/shell/ |
H A D | BugreportReceiverTest.java | 173 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/tests/src/android/support/v7/widget/ |
H A D | BaseRecyclerViewInstrumentationTest.java | 137 getUIAutomation.invoke(InstrumentationRegistry.getInstrumentation()); 216 public Instrumentation getInstrumentation() { method in class:BaseRecyclerViewInstrumentationTest 217 return InstrumentationRegistry.getInstrumentation(); 229 getInstrumentation().waitForIdleSync(); 254 getInstrumentation().waitForIdleSync(); 430 getInstrumentation().waitForIdleSync(); 484 getInstrumentation().waitForIdleSync(); 500 getInstrumentation().waitForIdleSync(); 571 getInstrumentation().runOnMainSync(new Runnable() {
|
/frameworks/base/core/java/android/app/ |
H A D | ActivityThread.java | 2127 public Instrumentation getInstrumentation() method in class:ActivityThread 2711 activity.attach(appContext, this, getInstrumentation(), r.token,
|