Searched defs:instrumentation (Results 1 - 13 of 13) sorted by relevance

/frameworks/base/test-runner/tests/src/android/test/suitebuilder/examples/instrumentation/
H A DInstrumentationTest.java17 package android.test.suitebuilder.examples.instrumentation;
/frameworks/base/cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/testrunner/
H A DInstrumentationAutomationSupport.java32 InstrumentationAutomationSupport(Instrumentation instrumentation) { argument
33 mInstrumentation = instrumentation;
/frameworks/base/core/tests/coretests/src/android/util/
H A DListUtil.java25 * Various useful stuff for instrumentation testing listview.
35 * @param instrumentation The instrumentation to use.
37 public ListUtil(ListView listView, Instrumentation instrumentation) { argument
39 mInstrumentation = instrumentation;
H A DOrientationUtil.java55 private OrientationUtil(Activity activity, Instrumentation instrumentation) { argument
57 mInstrumentation = instrumentation;
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
H A DTestUtil.java50 TestResultInstrumentation instrumentation,
56 waitForStorages(instrumentation, manager, device.getDeviceId());
59 instrumentation.show(Objects.toString(exp.getMessage()));
109 TestResultInstrumentation instrumentation,
124 instrumentation.show("Wait for storages.");
49 setupMtpDevice( TestResultInstrumentation instrumentation, UsbManager usbManager, MtpManager manager) argument
108 waitForStorages( TestResultInstrumentation instrumentation, MtpManager manager, int deviceId) argument
/frameworks/base/core/java/android/test/
H A DInstrumentationTestCase.java47 * Injects instrumentation into this test case. This method is
50 * @param instrumentation the instrumentation to use with this instance
52 public void injectInstrumentation(Instrumentation instrumentation) { argument
53 mInstrumentation = instrumentation;
57 * Injects instrumentation into this test case. This method is
60 * @param instrumentation the instrumentation to use with this instance
66 public void injectInsrumentation(Instrumentation instrumentation) { argument
67 injectInstrumentation(instrumentation);
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
H A DCameraTestResultPrinter.java44 public CameraTestResultPrinter(Instrumentation instrumentation, boolean writeToFile) { argument
45 mInst = instrumentation;
61 // Write stats to instrumentation results.
70 * Report the test results to instrumentation status or a file.
77 * Write stats to instrumentation results.
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/
H A DUtils.java43 private static UiObject2 waitForActivity(Instrumentation instrumentation, BySelector selector) { argument
44 UiDevice device = UiDevice.getInstance(instrumentation);
57 public static UiObject2 waitForElementLayout(Instrumentation instrumentation) { argument
58 return waitForActivity(instrumentation, ROOT_ELEMENT_LAYOUT);
64 public static UiObject2 startElementLayout(Instrumentation instrumentation, int numElements) { argument
69 instrumentation.getTargetContext().startActivity(intent);
70 return waitForElementLayout(instrumentation);
73 public static int getDeviceRotation(Instrumentation instrumentation) { argument
75 UiDevice device = UiDevice.getInstance(instrumentation);
91 public static void rotateDevice(Instrumentation instrumentation, in argument
[all...]
/frameworks/base/core/java/android/content/pm/
H A DPackageInfo.java140 * <instrumentation>} tags included under <manifest>,
144 public InstrumentationInfo[] instrumentation; field in class:PackageInfo
312 dest.writeTypedArray(instrumentation, parcelableFlags);
361 instrumentation = source.createTypedArray(InstrumentationInfo.CREATOR);
H A DPackageParser.java154 private static final String TAG_INSTRUMENTATION = "instrumentation";
585 int N = p.instrumentation.size();
587 pi.instrumentation = new InstrumentationInfo[N];
589 pi.instrumentation[i] = generateInstrumentationInfo(
590 p.instrumentation.get(i), flags);
2133 if (!foundApp && pkg.instrumentation.size() == 0) {
2134 outError[0] = "<manifest> does not contain an <application> or <instrumentation>";
2673 mParseInstrumentationArgs.tag = "<instrumentation>";
2704 outError[0] = "<instrumentation> does not specify targetPackage";
2709 if (!parseAllMetaData(res, parser, "<instrumentation>",
4757 public final ArrayList<Instrumentation> instrumentation = new ArrayList<Instrumentation>(0); field in class:PackageParser.Package
[all...]
/frameworks/base/core/tests/coretests/src/android/print/
H A DBasePrintTest.java235 public static String runShellCommand(Instrumentation instrumentation, String cmd) argument
237 ParcelFileDescriptor pfd = instrumentation.getUiAutomation().executeShellCommand(cmd);
/frameworks/base/test-runner/src/android/test/
H A DAndroidTestRunner.java214 Test test, Instrumentation instrumentation) {
216 ((InstrumentationTestCase) test).injectInstrumentation(instrumentation);
227 public void setInstrumentation(Instrumentation instrumentation) { argument
228 mInstrumentation = instrumentation;
236 public void setInstrumentaiton(Instrumentation instrumentation) { argument
237 setInstrumentation(instrumentation);
213 setInstrumentationIfInstrumentationTestCase( Test test, Instrumentation instrumentation) argument
/frameworks/base/core/java/android/app/
H A DLoadedApk.java335 * instrumentation into the system: If the app
336 * being started matches one of the instrumentation names,
337 * then we combine both the "instrumentation" and
773 Instrumentation instrumentation) {
810 if (instrumentation != null) {
812 instrumentation.callApplicationOnCreate(app);
814 if (!instrumentation.onException(app, e)) {
935 Instrumentation instrumentation, boolean registered) {
947 instrumentation, registered);
1146 Handler activityThread, Instrumentation instrumentation,
772 makeApplication(boolean forceDefaultAppClass, Instrumentation instrumentation) argument
933 getReceiverDispatcher(BroadcastReceiver r, Context context, Handler handler, Instrumentation instrumentation, boolean registered) argument
1145 ReceiverDispatcher(BroadcastReceiver receiver, Context context, Handler activityThread, Instrumentation instrumentation, boolean registered) argument
[all...]

Completed in 413 milliseconds