/frameworks/base/test-runner/tests/src/android/test/suitebuilder/examples/instrumentation/ |
H A D | InstrumentationTest.java | 17 package android.test.suitebuilder.examples.instrumentation;
|
/frameworks/base/cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/testrunner/ |
H A D | InstrumentationAutomationSupport.java | 32 InstrumentationAutomationSupport(Instrumentation instrumentation) { argument 33 mInstrumentation = instrumentation;
|
/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | ListUtil.java | 25 * 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 D | OrientationUtil.java | 55 private OrientationUtil(Activity activity, Instrumentation instrumentation) { argument 57 mInstrumentation = instrumentation;
|
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
H A D | TestUtil.java | 50 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 D | InstrumentationTestCase.java | 47 * 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 D | CameraTestResultPrinter.java | 44 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 D | Utils.java | 43 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 D | PackageInfo.java | 140 * <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 D | PackageParser.java | 154 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 D | BasePrintTest.java | 235 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 D | AndroidTestRunner.java | 214 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 D | LoadedApk.java | 335 * 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...] |