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

1 2 3 4 5 6 7 8 910

  /frameworks/base/cmds/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;
  /external/llvm/unittests/Transforms/DebugIR/
Makefile 12 LINK_COMPONENTS := Instrumentation
  /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) {
  /external/droiddriver/src/com/google/android/droiddriver/instrumentation/
InstrumentationInputInjector.java 17 package com.google.android.droiddriver.instrumentation;
19 import android.app.Instrumentation;
28 private final Instrumentation instrumentation; field in class:InstrumentationInputInjector
30 public InstrumentationInputInjector(Instrumentation instrumentation) {
31 this.instrumentation = instrumentation;
37 instrumentation.sendPointerSync((MotionEvent) event);
39 instrumentation.sendKeySync((KeyEvent) event)
    [all...]
  /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/droiddriver/src/com/google/android/droiddriver/helpers/
DroidDrivers.java 19 import android.app.Instrumentation;
25 import com.google.android.droiddriver.instrumentation.InstrumentationDriver;
35 private static Instrumentation instrumentation; field in class:DroidDrivers
68 public static void initInstrumentation(Instrumentation instrumentation, Bundle arguments) {
69 if (DroidDrivers.instrumentation != null) {
72 DroidDrivers.instrumentation = instrumentation;
76 public static Instrumentation getInstrumentation()
    [all...]
  /frameworks/base/test-runner/src/android/test/
LaunchPerformanceBase.java 19 import android.app.Instrumentation;
25 * Base class for all launch performance Instrumentation classes.
29 public class LaunchPerformanceBase extends 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...]
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...]
HistoryUtils.java 9 import android.app.Instrumentation;
28 * @param instrumentation an Instrumentation instance.
33 public static boolean canGoBackOnUiThread(Instrumentation instrumentation,
36 instrumentation, new Callable<Boolean>() {
47 * @param instrumentation an Instrumentation instance.
54 public static boolean canGoToOffsetOnUiThread(Instrumentation instrumentation,
    [all...]
UiUtils.java 8 import android.app.Instrumentation;
52 * @param instrumentation Instrumentation object used by the test.
54 public static void settleDownUI(Instrumentation instrumentation) throws InterruptedException {
55 instrumentation.waitForIdleSync();
  /cts/tests/app/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/common/device-side/util/src/com/android/compatibility/common/util/
DeviceReportLog.java 19 import android.app.Instrumentation;
28 * NOTE: tests MUST call {@link #submit(Instrumentation)} if and only if the test passes in order to
36 public void submit(Instrumentation instrumentation) {
40 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;
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);
  /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);
  /cts/tests/tests/openglperf/src/android/openglperf/cts/
GlTextureCoordTest.java 19 import android.app.Instrumentation;
  /cts/tests/tests/view/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...]
  /external/llvm/lib/Transforms/
Makefile 11 PARALLEL_DIRS = Utils Instrumentation Scalar InstCombine IPO Vectorize Hello ObjCARC
  /cts/libs/deviceutil/src/android/cts/util/
DeviceReportLog.java 19 import android.app.Instrumentation;
44 public void deliverReportToHost(Instrumentation instrumentation) {
50 instrumentation.sendStatus(INST_STATUS_IN_PROGRESS, output);
  /external/droiddriver/src/com/google/android/droiddriver/uiautomation/
UiAutomationContext.java 19 import android.app.Instrumentation;
30 public UiAutomationContext(Instrumentation instrumentation, UiAutomationDriver driver) {
31 super(instrumentation, driver);
32 this.uiAutomation = instrumentation.getUiAutomation();
  /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...]

Completed in 737 milliseconds

1 2 3 4 5 6 7 8 910