/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...] |
/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...] |
/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...] |
/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...] |
/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...] |
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/examples/instrumentation/ |
InstrumentationTest.java | 17 package android.test.suitebuilder.examples.instrumentation;
|
/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;
|
/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/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
|
/art/runtime/entrypoints/quick/ |
quick_instrumentation_entrypoints.cc | 19 #include "instrumentation.h" 34 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation(); local 36 if (instrumentation->IsDeoptimized(method)) { 39 result = instrumentation->GetQuickCodeFor(method, sizeof(void*)); 44 instrumentation->PushInstrumentationStackFrame(self, method->IsStatic() ? nullptr : this_object, 68 instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation() local [all...] |
/cts/libs/wrappedgtest/src/ |
WrappedGTestActivity.java | 20 import android.app.Instrumentation; 27 public void setInstrumentation(WrappedGTestInstrumentation instrumentation) { 28 mInstrumentation = instrumentation;
|
/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();
|
/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);
|
InstrumentationRunnerValidator.java | 20 import com.android.ide.common.xml.ManifestData.Instrumentation; 32 * Provides validation for Android instrumentation test runner 74 Instrumentation[] instrumentations = manifestData.getInstrumentations(); 99 * Return the set of instrumentation names for the Android project. 102 * of instrumentation class names 109 * Helper method to get the first instrumentation that can be used as a test runner. 111 * @return fully qualified instrumentation class name. <code>null</code> if no valid 112 * instrumentation can be found. 115 for (String instrumentation : getInstrumentationNames()) { 116 if (validateInstrumentationRunner(instrumentation) == INSTRUMENTATION_OK) [all...] |
/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);
|
/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);
|
/external/deqp/android/package/src/com/drawelements/deqp/testercore/ |
TestLogParser.java | 21 * \brief Test log parser for instrumentation 54 public void init (DeqpInstrumentation instrumentation, String logFileName, boolean logData) throws FileNotFoundException 56 assert instrumentation != null; 62 m_instrumentation = instrumentation; 115 private static native void nativeParse (long nativePointer, DeqpInstrumentation instrumentation, byte[] buffer, int size);
|
/external/droiddriver/src/com/google/android/droiddriver/util/ |
ActivityUtils.java | 21 import com.google.android.droiddriver.instrumentation.InstrumentationDriver;
|
/external/llvm/tools/opt/ |
Makefile | 12 LINK_COMPONENTS := bitreader bitwriter asmparser irreader instrumentation scalaropts objcarcopts ipo vectorize all-targets codegen
|