HomeSort by relevance Sort by last modified time
    Searched refs:Instrumentation (Results 1 - 25 of 173) sorted by null

1 2 3 4 5 6 7

  /frameworks/testing/androidtestlib/tests/src/com/android/test/
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/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) {
  /frameworks/testing/androidtestlib/src/com/android/test/runner/junit3/
AndroidTestSuite.java 18 import android.app.Instrumentation;
30 * A {@link TestSuite} used to pass {@link Context} and {@link Instrumentation} references to child
36 private final Instrumentation mInstr;
38 AndroidTestSuite(Class<?> clazz, Instrumentation instrumentation) {
40 mInstr = instrumentation;
43 AndroidTestSuite(String name, Instrumentation instrumentation) {
45 mInstr = instrumentation;
59 Instrumentation getInstrumentation()
    [all...]
AndroidJUnit3Builder.java 18 import android.app.Instrumentation;
31 private Instrumentation mInstr;
34 public AndroidJUnit3Builder(Instrumentation instr, boolean skipExecution) {
AndroidJUnit3ClassRunner.java 18 import android.app.Instrumentation;
33 public AndroidJUnit3ClassRunner(Class<?> klass, 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");
  /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...]
  /frameworks/testing/androidtestlib/src/com/android/test/runner/
AndroidRunnerBuilder.java 18 import android.app.Instrumentation;
32 private final Instrumentation mInstr;
36 public AndroidRunnerBuilder(boolean canUseSuiteMethod, Instrumentation instr,
  /frameworks/testing/androidtestlib/src/com/android/test/runner/junit4/
AndroidJUnit4Builder.java 18 import android.app.Instrumentation;
34 private final Instrumentation mInstrumentation;
37 public AndroidJUnit4Builder(Instrumentation instr, boolean skipExecution) {
  /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
  /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();
ListUtil.java 19 import android.app.Instrumentation;
25 * Various useful stuff for instrumentation testing listview.
31 private final Instrumentation mInstrumentation;
35 * @param instrumentation The instrumentation to use.
37 public ListUtil(ListView listView, Instrumentation instrumentation) {
39 mInstrumentation = instrumentation;
  /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 * &#64;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;
  /development/samples/SampleSyncAdapter/tests/src/com/example/android/samplesync/authenticator/
AuthenticatorActivityTest.java 19 import android.app.Instrumentation;
35 private Instrumentation mInstrumentation;
68 Instrumentation.ActivityMonitor monitor =
  /frameworks/base/core/tests/coretests/src/android/widget/listview/
ListManagedCursorTest.java 19 import android.app.Instrumentation;
60 Instrumentation inst = getInstrumentation();
77 Instrumentation inst = getInstrumentation();
95 Instrumentation inst = getInstrumentation();
116 Instrumentation inst = getInstrumentation();
131 public int arrowScroll(Instrumentation inst) {
155 public int touchScroll(Instrumentation inst) {

Completed in 382 milliseconds

1 2 3 4 5 6 7