/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 | 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...] |
/external/droiddriver/src/com/google/android/droiddriver/ |
DroidDriverBuilder.java | 19 import android.app.Instrumentation; 23 import com.google.android.droiddriver.instrumentation.InstrumentationDriver; 32 ANY, INSTRUMENTATION, UI_AUTOMATION 35 private final Instrumentation instrumentation; field in class:DroidDriverBuilder 38 public DroidDriverBuilder(Instrumentation instrumentation) { 39 this.instrumentation = Preconditions.checkNotNull(instrumentation); 47 case INSTRUMENTATION [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...] |
/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...] |
AutoCompleteTextViewPopup.java | 19 import android.app.Instrumentation; 48 final Instrumentation instrumentation = getInstrumentation(); local 52 instrumentation.waitForIdleSync(); 64 instrumentation.waitForIdleSync(); 80 final Instrumentation instrumentation = getInstrumentation(); local 84 instrumentation.waitForIdleSync(); 107 final Instrumentation instrumentation = getInstrumentation() local 140 final Instrumentation instrumentation = getInstrumentation(); local 174 final Instrumentation instrumentation = getInstrumentation(); local [all...] |
/external/llvm/tools/llvm-cov/ |
Makefile | 12 LINK_COMPONENTS := instrumentation
|
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/examples/instrumentation/ |
InstrumentationTest.java | 17 package android.test.suitebuilder.examples.instrumentation;
|
/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/testrunner/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;
|
/art/runtime/entrypoints/quick/ |
quick_instrumentation_entrypoints.cc | 18 #include "instrumentation.h" 33 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); local 34 const void* result = instrumentation->GetQuickCodeFor(method); 36 instrumentation->PushInstrumentationStackFrame(self, method->IsStatic() ? NULL : this_object, 57 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); local 58 uint64_t return_or_deoptimize_pc = instrumentation->PopInstrumentationStackFrame(self, return_pc [all...] |
/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...] |
/external/llvm/tools/bugpoint/ |
Makefile | 12 LINK_COMPONENTS := asmparser instrumentation scalaropts ipo linker bitreader \
|
/external/llvm/tools/llvm-stress/ |
Makefile | 13 LINK_COMPONENTS := bitreader bitwriter asmparser irreader instrumentation scalaropts ipo
|
/external/llvm/tools/opt/ |
Makefile | 12 LINK_COMPONENTS := bitreader bitwriter asmparser irreader instrumentation scalaropts objcarcopts ipo vectorize all-targets
|
/cts/libs/wrappedgtest/src/ |
WrappedGTestActivity.java | 20 import android.app.Instrumentation; 27 public void setInstrumentation(WrappedGTestInstrumentation instrumentation) { 28 mInstrumentation = instrumentation;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/junit/ |
AndroidJUnitLaunchShortcut.java | 35 * Creates a default Android JUnit launch configuration. Sets the instrumentation runner to the 36 * first instrumentation found in the AndroidManifest. 42 // just get first valid instrumentation runner 43 String instrumentation = new InstrumentationRunnerValidator(element.getJavaProject()). local 45 if (instrumentation != null) { 47 instrumentation);
|
/external/droiddriver/src/com/google/android/droiddriver/instrumentation/ |
InstrumentationDriver.java | 17 package com.google.android.droiddriver.instrumentation; 20 import android.app.Instrumentation; 31 * Implementation of a UiDriver that is driven via instrumentation. 36 public InstrumentationDriver(Instrumentation instrumentation) { 37 super(instrumentation); 38 this.context = new InstrumentationContext(instrumentation); 68 instrumentation.waitForIdleSync(); 102 instrumentation.runOnMainSync(screenshotRunnable);
|
InstrumentationContext.java | 17 package com.google.android.droiddriver.instrumentation; 19 import android.app.Instrumentation; 38 InstrumentationContext(final Instrumentation instrumentation) { 43 instrumentation.sendPointerSync((MotionEvent) event); 45 instrumentation.sendKeySync((KeyEvent) event);
|
/cts/suite/pts/deviceTests/ptsutil/src/com/android/pts/util/ |
DeviceReportLog.java | 19 import android.app.Instrumentation; 39 public void deliverReportToHost(Instrumentation instrumentation) { 45 instrumentation.sendStatus(INST_STATUS_IN_PROGRESS, output);
|
/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/app/src/android/app/cts/ |
ApplicationTest.java | 22 import android.app.Instrumentation; 34 final Instrumentation instrumentation = getInstrumentation(); local 35 final Context targetContext = instrumentation.getTargetContext(); 40 final Activity activity = instrumentation.startActivitySync(intent); 57 instrumentation.waitForIdleSync();
|
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/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...] |