/development/samples/ApiDemos/src/com/example/android/apis/app/ |
ContactsFilterInstrumentation.java | 20 import android.app.Instrumentation; 27 * This is an example implementation of the {@link android.app.Instrumentation} 29 * instrumentation implementation here is loaded into the application's 32 public class ContactsFilterInstrumentation extends Instrumentation { 37 // When this instrumentation is created, we simply want to start
|
ContactsSelectInstrumentation.java | 20 import android.app.Instrumentation; 29 * This is an example implementation of the {@link android.app.Instrumentation} 31 * instrumentation implementation here is loaded into the application's 34 public class ContactsSelectInstrumentation extends Instrumentation { 39 // When this instrumentation is created, we simply want to start
|
LocalSampleInstrumentation.java | 20 import android.app.Instrumentation; 27 * This is an example implementation of the {@link android.app.Instrumentation} 28 * class demonstrating instrumentation against one of this application's sample 31 public class LocalSampleInstrumentation extends Instrumentation { 43 // When this instrumentation is created, we simply want to start
|
/external/deqp/android/package/src/com/drawelements/deqp/platformutil/ |
DeqpPlatformCapabilityQueryInstrumentation.java | 21 * \brief dEQP platform capability query instrumentation 26 import android.app.Instrumentation; 29 public class DeqpPlatformCapabilityQueryInstrumentation extends Instrumentation
|
/external/droiddriver/src/io/appium/droiddriver/duo/ |
DuoDriver.java | 21 import android.app.Instrumentation; 25 import io.appium.droiddriver.instrumentation.InstrumentationDriver; 32 * If the activity is part of the application under instrumentation, the InstrumentationDriver is 42 Instrumentation instrumentation = InstrumentationUtils.getInstrumentation(); local 44 uiAutomationDriver = new UiAutomationDriver(instrumentation); 45 instrumentationDriver = new InstrumentationDriver(instrumentation);
|
/external/opencensus-java/contrib/agent/src/main/java/io/opencensus/contrib/agent/ |
AgentMain.java | 25 import io.opencensus.contrib.agent.instrumentation.Instrumenter; 26 import java.lang.instrument.Instrumentation; 45 * href="https://github.com/census-instrumentation/instrumentation-java/tree/master/agent">https://github.com/census-instrumentation/instrumentation-java/tree/master/agent</a> 58 * @param instrumentation the {@link Instrumentation} object provided by the JVM for instrumenting 64 public static void premain(String agentArgs, Instrumentation instrumentation) throws Exception [all...] |
/external/swiftshader/third_party/subzero/src/ |
IceASanInstrumentation.h | 11 /// \brief Declares the AddressSanitizer instrumentation class. 15 /// performing any other instrumentation necessary to implement 31 class ASanInstrumentation : public Instrumentation { 37 ASanInstrumentation(GlobalContext *Ctx) : Instrumentation(Ctx), RzNum(0) {
|
IceInstrumentation.cpp | 1 //===- subzero/src/IceInstrumentation.cpp - ICE instrumentation framework -===// 11 /// \brief Implements the Ice::Instrumentation class. 13 /// Subclasses can override particular instrumentation methods to specify how 28 void Instrumentation::instrumentFunc(Cfg *Func) { 59 void Instrumentation::instrumentInst(LoweringContext &Context) { 116 assert(false && "Instrumentation encountered an unexpected instruction"); 121 void Instrumentation::setHasSeenGlobals() { 129 LockedPtr<VariableDeclarationList> Instrumentation::getGlobals() {
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
CtsTouchUtils.java | 19 import android.app.Instrumentation; 66 * @param instrumentation the instrumentation used to run the test 69 public static void emulateTapOnViewCenter(Instrumentation instrumentation, 71 emulateTapOnView(instrumentation, activityTestRule, view, view.getWidth() / 2, 79 * @param instrumentation the instrumentation used to run the test 84 public static void emulateTapOnView(Instrumentation instrumentation, [all...] |
CtsKeyEventUtil.java | 19 import android.app.Instrumentation; 33 * {@link Instrumentation} and {@link android.test.InstrumentationTestCase} classes. It uses 44 * @param instrumentation the instrumentation used to run the test. 48 public static void sendString(final Instrumentation instrumentation, final View targetView, 63 sendKey(instrumentation, targetView, KeyEvent.changeTimeRepeat( 70 * Sends a series of key events through instrumentation. For instance: 73 * @param instrumentation the instrumentation used to run the test [all...] |
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
CtsTouchUtils.java | 19 import android.app.Instrumentation; 67 * @param instrumentation the instrumentation used to run the test 70 public static void emulateTapOnViewCenter(Instrumentation instrumentation, 72 emulateTapOnView(instrumentation, activityTestRule, view, view.getWidth() / 2, 80 * @param instrumentation the instrumentation used to run the test 85 public static void emulateTapOnView(Instrumentation instrumentation, [all...] |
CtsKeyEventUtil.java | 19 import android.app.Instrumentation; 33 * {@link Instrumentation} and {@link android.test.InstrumentationTestCase} classes. It uses 44 * @param instrumentation the instrumentation used to run the test. 48 public static void sendString(final Instrumentation instrumentation, final View targetView, 63 sendKey(instrumentation, targetView, KeyEvent.changeTimeRepeat( 70 * Sends a series of key events through instrumentation. For instance: 73 * @param instrumentation the instrumentation used to run the test [all...] |
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
Instrument.java | 66 public abstract Instrumentation createInstrumentation(Method benchmarkMethod) 78 public abstract class Instrumentation { 81 protected Instrumentation(Method benchmarkMethod) { 97 } else if (obj instanceof Instrumentation) { 98 Instrumentation that = (Instrumentation) obj; 112 return MoreObjects.toStringHelper(Instrumentation.class)
|
/cts/libs/input/src/com/android/cts/input/ |
HidDevice.java | 21 import android.app.Instrumentation; 47 private Instrumentation mInstrumentation; 51 public HidDevice(Instrumentation instrumentation, int deviceId, String registerCommand) { 52 mInstrumentation = instrumentation;
|
/cts/tests/tests/text/src/android/text/style/cts/ |
URLSpanTest.java | 23 import android.app.Instrumentation; 24 import android.app.Instrumentation.ActivityMonitor; 84 Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); local 85 ActivityMonitor am = instrumentation.addMonitor(MockURLSpanTestActivity.class.getName(),
|
/external/jacoco/org.jacoco.core/src/org/jacoco/core/runtime/ |
ModifiedSystemClassRuntime.java | 18 import java.lang.instrument.Instrumentation; 90 * instrumentation interface 98 public static IRuntime createFor(final Instrumentation inst, 109 * instrumentation interface 119 public static IRuntime createFor(final Instrumentation inst,
|
/external/droiddriver/src/io/appium/droiddriver/util/ |
InstrumentationUtils.java | 19 import android.app.Instrumentation; 36 /** Static utility methods pertaining to {@link Instrumentation}. */ 44 private static Instrumentation instrumentation; field in class:InstrumentationUtils 53 public static synchronized void init(Instrumentation instrumentation, Bundle arguments) { 54 if (InstrumentationUtils.instrumentation != null) { 57 InstrumentationUtils.instrumentation = instrumentation; 65 if (instrumentation == null) [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/performance/ |
CameraTestInstrumentation.java | 20 import android.app.Instrumentation; 31 // A custom Instrumentation intended to be used only for 35 // also responsible for the instrumentation registration. 36 public class CameraTestInstrumentation extends Instrumentation {
|
/cts/tests/accessibility/common/src/android/accessibility/cts/common/ |
ShellCommandBuilder.java | 19 import android.app.Instrumentation; 45 public static ShellCommandBuilder create(Instrumentation instrumentation) { 46 return new ShellCommandBuilder(instrumentation.getUiAutomation(
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
GestureDetectionStubAccessibilityService.java | 19 import android.app.Instrumentation; 33 Instrumentation instrumentation) { 35 instrumentation, GestureDetectionStubAccessibilityService.class);
|
/cts/tests/app/src/android/app/cts/ |
Instrumentation_ActivityMonitorTest.java | 20 import android.app.Instrumentation; 21 import android.app.Instrumentation.ActivityMonitor; 22 import android.app.Instrumentation.ActivityResult; 48 Instrumentation instrumentation = getInstrumentation(); local 49 ActivityMonitor am = instrumentation.addMonitor( 51 Context context = instrumentation.getTargetContext(); 66 instrumentation.waitForIdleSync(); 76 instrumentation.removeMonitor(am); 94 final Instrumentation instrumentation = getInstrumentation() local 134 final Instrumentation instrumentation = getInstrumentation(); local 183 final Instrumentation instrumentation = getInstrumentation(); local 235 final Instrumentation instrumentation = getInstrumentation(); local [all...] |
PipActivityTest.java | 23 import android.app.Instrumentation; 46 private Instrumentation mInstrumentation;
|
/cts/tests/backup/src/android/backup/cts/ |
BaseBackupCtsTest.java | 19 import android.app.Instrumentation; 31 * Base class for backup instrumentation tests. 103 Instrumentation instrumentation, String command) { 105 instrumentation.getUiAutomation().executeShellCommand(command);
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
NativeMediaTest.java | 18 import android.app.Instrumentation; 69 final Instrumentation instrumentation = getInstrumentation(); local 73 instrumentation.runOnMainSync(() -> { 74 instrumentation.callActivityOnPause(activity); 76 instrumentation.waitForIdleSync(); 78 instrumentation.runOnMainSync(() -> { 79 instrumentation.callActivityOnResume(activity);
|
/cts/tests/tests/systemui/src/android/systemui/cts/ |
TouchHelper.java | 19 import android.app.Instrumentation; 32 public TouchHelper(Instrumentation instrumentation) { 33 mUiAutomation = instrumentation.getUiAutomation();
|