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

/cts/tests/tests/appwidget/src/android/appwidget/cts/
H A DAppWidgetTestCase.java55 return getInstrumentation().getTargetContext().getPackageManager()
59 protected Instrumentation getInstrumentation() { method in class:AppWidgetTestCase
60 return InstrumentationRegistry.getInstrumentation();
86 assertEquals(getInstrumentation().getTargetContext().getPackageName(),
115 assertEquals(getInstrumentation().getTargetContext().getPackageName(),
139 return getInstrumentation().getTargetContext().getResources()
144 return getInstrumentation().getTargetContext().getResources().getInteger(resId);
149 getInstrumentation().getTargetContext().getPackageName(),
155 getInstrumentation().getTargetContext().getPackageName(),
160 ParcelFileDescriptor pfd = getInstrumentation()
[all...]
/cts/tests/tests/slice/src/android/slice/cts/
H A DSliceManagerTest.java174 ParcelFileDescriptor pfd = getInstrumentation().getUiAutomation()
189 public static Instrumentation getInstrumentation() { method in class:SliceManagerTest
190 return InstrumentationRegistry.getInstrumentation();
/cts/common/device-side/util/src/com/android/compatibility/common/util/
H A DBusinessLogicTestCase.java82 protected static Instrumentation getInstrumentation() { method in class:BusinessLogicTestCase
83 return InstrumentationRegistry.getInstrumentation();
87 return getInstrumentation().getTargetContext();
/cts/hostsidetests/harmfulappwarning/testapp/src/android/harmfulappwarning/testapp/
H A DHarmfulAppWarningDeviceTest.java58 protected static Instrumentation getInstrumentation() { method in class:HarmfulAppWarningDeviceTest
59 return InstrumentationRegistry.getInstrumentation();
63 return UiDevice.getInstance(getInstrumentation());
70 getInstrumentation().getTargetContext().startActivity(intent, null);
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp23/src/com/android/cts/usepermission/
H A DBasePermissionsTest.java73 protected static Instrumentation getInstrumentation() { method in class:BasePermissionsTest
74 return InstrumentationRegistry.getInstrumentation();
89 return UiDevice.getInstance(getInstrumentation());
100 Activity activity = getInstrumentation().startActivitySync(intent);
101 getInstrumentation().waitForIdleSync();
268 getInstrumentation().getTargetContext().getPackageName(), clazz, null);
276 getInstrumentation().getUiAutomation().waitForIdle(
400 String packageName = getInstrumentation().getContext().getPackageManager()
404 Resources resources = getInstrumentation().getContext()
431 getInstrumentation()
[all...]
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
H A DActivityTestBase.java72 protected Instrumentation getInstrumentation() { method in class:ActivityTestBase
73 return InstrumentationRegistry.getInstrumentation();
78 Instrumentation instrumentation = getInstrumentation();
175 * {@code getInstrumentation().getUiAutomation().takeScreenshot()},
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/
H A DBasePrintTest.java139 return UiDevice.getInstance(getInstrumentation());
159 ParcelFileDescriptor pfd = getInstrumentation().getUiAutomation()
180 SystemUtil.runShellCommand(getInstrumentation(), disableImeCommand);
187 SystemUtil.runShellCommand(getInstrumentation(), enableImeCommand);
192 protected static Instrumentation getInstrumentation() { method in class:BasePrintTest
193 return InstrumentationRegistry.getInstrumentation();
200 Instrumentation instrumentation = getInstrumentation();
225 Instrumentation instrumentation = getInstrumentation();
254 SystemUtil.runShellCommand(getInstrumentation(),
263 assumeTrue(getInstrumentation()
[all...]

Completed in 333 milliseconds