Searched defs:getInstrumentation (Results 1 - 7 of 7) sorted by relevance
/cts/tests/tests/appwidget/src/android/appwidget/cts/ |
H A D | AppWidgetTestCase.java | 55 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 D | SliceManagerTest.java | 174 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 D | BusinessLogicTestCase.java | 82 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 D | HarmfulAppWarningDeviceTest.java | 58 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 D | BasePermissionsTest.java | 73 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 D | ActivityTestBase.java | 72 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 D | BasePrintTest.java | 139 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