/frameworks/testing/androidtestlib/tests/src/com/android/test/ |
InstrumentationJUnit4Fixture.java | 18 import android.app.Instrumentation; 29 public Instrumentation mInstrumentation;
|
InstrumentationJUnit4Test.java | 18 import android.app.Instrumentation; 31 public Instrumentation mInstrumentation;
|
MyInstrumentationTestCase.java | 18 import android.app.Instrumentation; 23 * Placeholder test to verify {@link Instrumentation} gets injected to 33 assertNotNull("instrumentation was not injected", getInstrumentation());
|
/frameworks/testing/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/testrunner/ |
InstrumentationAutomationSupport.java | 18 import android.app.Instrumentation; 22 * A wrapper around {@link Instrumentation} to provide sendStatus function 25 * {@link Instrumentation#sendStatus(int, Bundle)} instead. 30 private Instrumentation mInstrumentation; 32 InstrumentationAutomationSupport(Instrumentation instrumentation) { 33 mInstrumentation = instrumentation;
|
/frameworks/testing/androidtestlib/src/com/android/test/runner/listener/ |
InstrumentationRunListener.java | 18 import android.app.Instrumentation; 26 * A {@link RunListener} that has access to a {@link Instrumentation}. This is useful for 27 * test result listeners that want to dump data back to the instrumentation results. 31 private final Instrumentation mInstr; 33 public InstrumentationRunListener(Instrumentation instr) { 37 public Instrumentation getInstrumentation() { 49 * Optional callback subclasses can implement. Will be called when instrumentation run 52 * @param streamResult the {@link PrintStream} to instrumentation out. 53 * @param resultBundle the instrumentation result bundle. Can be used to inject key-value pairs 54 * into the instrumentation output when run in -r/raw mod [all...] |
InstrumentationResultPrinter.java | 18 import android.app.Instrumentation; 26 * A {@link RunListener} that sends detailed pass/fail results back as instrumentation status 27 * bundles. This output appears when running the instrumentation in '-r' or raw mode. 32 * This value, if stored with key {@link android.app.Instrumentation#REPORT_KEY_IDENTIFIER}, 95 public InstrumentationResultPrinter(Instrumentation i) { 102 mResultTemplate.putString(Instrumentation.REPORT_KEY_IDENTIFIER, REPORT_VALUE_ID); 124 mTestResult.putString(Instrumentation.REPORT_KEY_STREAMRESULT, 128 mTestResult.putString(Instrumentation.REPORT_KEY_STREAMRESULT, ""); 138 mTestResult.putString(Instrumentation.REPORT_KEY_STREAMRESULT, "."); 159 mTestResult.putString(Instrumentation.REPORT_KEY_STREAMRESULT [all...] |
/frameworks/base/core/java/android/test/ |
InstrumentationTestSuite.java | 19 import android.app.Instrumentation; 26 * A {@link junit.framework.TestSuite} that injects {@link android.app.Instrumentation} into 31 private final Instrumentation mInstrumentation; 34 * @param instr The instrumentation that will be injected into each 37 public InstrumentationTestSuite(Instrumentation instr) { 42 public InstrumentationTestSuite(String name, Instrumentation instr) { 49 * @param instr The instrumentation to inject into each test before 52 public InstrumentationTestSuite(final Class theClass, Instrumentation instr) {
|
/cts/hostsidetests/appsecurity/test-apps/InstrumentationAppDiffCert/src/com/android/cts/instrumentationdiffcertapp/ |
InstrumentationFailToRunTest.java | 19 import android.app.Instrumentation; 26 * Test that a instrumentation targeting another app with a different cert fails. 32 // assumes android.app.Instrumentation has been defined in this app's AndroidManifest.xml 35 Instrumentation.class); 39 fail("could launch instrumentation");
|
/frameworks/testing/androidtestlib/src/com/android/test/runner/junit3/ |
AndroidTestSuite.java | 24 import android.app.Instrumentation; 33 * A {@link TestSuite} used to pass {@link Context} and {@link Instrumentation} references to child 39 private final Instrumentation mInstr; 42 AndroidTestSuite(Class<?> clazz, Bundle bundle, Instrumentation instrumentation) { 45 mInstr = instrumentation; 48 AndroidTestSuite(String name, Bundle bundle, Instrumentation instrumentation) { 51 mInstr = instrumentation; 68 Instrumentation getInstrumentation() [all...] |
AndroidJUnit3ClassRunner.java | 18 import android.app.Instrumentation; 31 public AndroidJUnit3ClassRunner(Class<?> klass, Bundle bundle, Instrumentation instr) {
|
/cts/tests/src/android/app/cts/ |
OrientationTestUtils.java | 20 import android.app.Instrumentation; 36 * Same as {@link #toggleOrientation(Activity)} except {@link Instrumentation#waitForIdleSync()} 40 * @param instrumentation use for idle syncing 43 final Instrumentation instrumentation) { 48 changeOrientation(activity, instrumentation, newOrientation); 49 changeOrientation(activity, instrumentation, originalOrientation); 53 Instrumentation instrumentation, final int orientation) { 55 if (instrumentation != null) [all...] |
/external/objenesis/tck-android/src/org/objenesis/tck/android/ |
TckInstrumentation.java | 20 import android.app.Instrumentation; 30 * Wraps the Objenesis TCK so that it can be invoked on Android as an {@link Instrumentation}. 34 public class TckInstrumentation extends Instrumentation { 49 bundle.putString(Instrumentation.REPORT_KEY_STREAMRESULT, fromStdout);
|
/cts/tests/SignatureTest/src/android/tests/sigtest/ |
InstrumentationRunner.java | 19 import android.app.Instrumentation; 23 public class InstrumentationRunner extends Instrumentation {
|
/cts/tests/tests/app/src/android/app/cts/ |
Instrumentation_ActivityResultTest.java | 20 import android.app.Instrumentation; 21 import android.app.Instrumentation.ActivityResult;
|
Instrumentation_ActivityMonitorTest.java | 20 import android.app.Instrumentation; 21 import android.app.Instrumentation.ActivityMonitor; 22 import android.app.Instrumentation.ActivityResult; 40 Instrumentation instrumentation = getInstrumentation(); local 41 ActivityMonitor am = instrumentation.addMonitor( 43 Context context = instrumentation.getTargetContext(); 59 instrumentation.waitForIdleSync(); 69 instrumentation.removeMonitor(am);
|
/frameworks/base/test-runner/src/android/test/ |
LaunchPerformanceBase.java | 19 import android.app.Instrumentation; 32 * Base class for all launch performance Instrumentation classes. 36 public class LaunchPerformanceBase extends Instrumentation {
|
/cts/tests/src/android/view/animation/cts/ |
AnimationTestUtils.java | 19 import android.app.Instrumentation; 43 * @param instrumentation to run animation. 47 public static void assertRunAnimation(final Instrumentation instrumentation, 49 assertRunAnimation(instrumentation, view, animation, animation.getDuration()); 55 * @param instrumentation to run animation. 60 public static void assertRunAnimation(final Instrumentation instrumentation, 63 instrumentation.runOnMainSync(new Runnable() { 85 instrumentation.waitForIdleSync() [all...] |
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
GlTextureCoordTest.java | 19 import android.app.Instrumentation;
|
/external/llvm/lib/Transforms/ |
Makefile | 11 PARALLEL_DIRS = Utils Instrumentation Scalar InstCombine IPO Vectorize Hello ObjCARC
|
/cts/libs/wrappedgtest/src/ |
WrappedGTestActivity.java | 20 import android.app.Instrumentation; 27 public void setInstrumentation(WrappedGTestInstrumentation instrumentation) { 28 mInstrumentation = instrumentation;
|
/frameworks/base/core/tests/coretests/src/android/util/ |
KeyUtils.java | 19 import android.app.Instrumentation; 46 final Instrumentation inst = test.getInstrumentation(); 59 final Instrumentation inst = test.getInstrumentation(); 78 final Instrumentation inst = test.getInstrumentation();
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
AutoCompleteTextViewCallbacks.java | 19 import android.app.Instrumentation; 39 final Instrumentation instrumentation = getInstrumentation(); local 43 instrumentation.waitForIdleSync(); 45 instrumentation.waitForIdleSync(); 64 final Instrumentation instrumentation = getInstrumentation(); local 68 instrumentation.waitForIdleSync(); 79 instrumentation.waitForIdleSync(); 97 instrumentation.waitForIdleSync(); 113 final Instrumentation instrumentation = getInstrumentation(); local [all...] |
/frameworks/testing/androidtestlib/src/com/android/test/ |
InjectContext.java | 18 import android.app.Instrumentation; 32 * Use this to inject a {@link Context} representing {@link Instrumentation#getTargetContext()} 39 * The test runner will set the value of this field with the {@link Instrumentation} after
|
InjectInstrumentation.java | 18 import android.app.Instrumentation; 31 * Use this to inject an {@link Instrumentation} into your JUnit4-style test. 33 * To use, just add the correct annotation to an {@link Instrumentation} field like this: 35 * @InjectInstrumentation public Instrumentation mMyInstrumentation; 38 * The test runner will set the value of this field with the {@link Instrumentation} after
|
/cts/tests/src/android/widget/cts/util/ |
ListUtil.java | 19 import android.app.Instrumentation; 24 * Various useful stuff for instrumentation testing listview. 29 private final Instrumentation mInstrumentation; 33 * @param instrumentation The instrumentation to use. 35 public ListUtil(ListView listView, Instrumentation instrumentation) { 37 mInstrumentation = instrumentation;
|