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

1 2 3 4 5 6 7 8

  /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/uiautomator/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;
  /external/llvm/unittests/Transforms/DebugIR/
Makefile 12 LINK_COMPONENTS := 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");
  /external/chromium_org/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/
KeyUtils.java 7 import android.app.Instrumentation;
17 public static void pressEnter(Instrumentation instrumentation) {
18 instrumentation.sendKeySync(new KeyEvent(KeyEvent.ACTION_DOWN,
20 instrumentation.sendKeySync(new KeyEvent(KeyEvent.ACTION_UP,
22 instrumentation.waitForIdleSync();
28 public static void pressTab(Instrumentation instrumentation) {
29 instrumentation.sendKeySync(new KeyEvent(KeyEvent.ACTION_DOWN,
31 instrumentation.sendKeySync(new KeyEvent(KeyEvent.ACTION_UP
    [all...]
HistoryUtils.java 7 import android.app.Instrumentation;
27 * @param instrumentation an Instrumentation instance.
32 public static boolean canGoBackOnUiThread(Instrumentation instrumentation,
35 instrumentation, new Callable<Boolean>() {
46 * @param instrumentation an Instrumentation instance.
53 public static boolean canGoToOffsetOnUiThread(Instrumentation instrumentation,
    [all...]
TestTouchUtils.java 8 import android.app.Instrumentation;
37 private static void sendAction(Instrumentation instrumentation, int action, long downTime,
41 instrumentation.sendPointerSync(event);
42 instrumentation.waitForIdleSync();
48 * @param instrumentation Instrumentation object used by the test.
52 public static void singleClick(Instrumentation instrumentation, float x, float y) {
54 sendAction(instrumentation, MotionEvent.ACTION_DOWN, downTime, x, y)
    [all...]
UiUtils.java 8 import android.app.Instrumentation;
48 * @param instrumentation Instrumentation object used by the test.
50 public static void settleDownUI(Instrumentation instrumentation) throws InterruptedException {
51 instrumentation.waitForIdleSync();
  /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...]
  /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/libs/deviceutil/src/android/cts/util/
DeviceReportLog.java 21 import android.app.Instrumentation;
39 public void deliverReportToHost(Instrumentation instrumentation) {
45 instrumentation.sendStatus(INST_STATUS_IN_PROGRESS, output);
  /cts/tests/tests/app/src/android/app/cts/
Instrumentation_ActivityResultTest.java 20 import android.app.Instrumentation;
21 import android.app.Instrumentation.ActivityResult;
  /external/chromium_org/base/test/android/javatests/src/org/chromium/base/test/util/
InstrumentationUtils.java 7 import android.app.Instrumentation;
14 * Utility methods built around the android.app.Instrumentation class.
21 public static <R> R runOnMainSyncAndGetResult(Instrumentation instrumentation,
24 instrumentation.runOnMainSync(task);
  /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/tests/tests/text/src/android/text/method/cts/
KeyListenerTestCase.java 21 import android.app.Instrumentation;
51 protected Instrumentation mInstrumentation;

Completed in 542 milliseconds

1 2 3 4 5 6 7 8