/cts/tests/tests/toast/src/android/widget/toast/cts/ |
BaseToastTest.java | 19 import android.app.Instrumentation; 40 protected Instrumentation mInstrumentation;
|
/cts/tests/tests/view/src/android/view/cts/ |
SearchEventTest.java | 22 import android.app.Instrumentation; 46 private Instrumentation mInstrumentation;
|
View_InitialFocusTest.java | 25 import android.app.Instrumentation; 55 Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); local 56 instrumentation.setInTouchMode(true); 60 Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); local 64 instrumentation.waitForIdleSync(); 67 instrumentation.sendKeyDownUpSync(KeyEvent.KEYCODE_TAB); // leaves touch-mode
|
MenuItemTest.java | 23 import android.app.Instrumentation; 44 private Instrumentation mInstrumentation; 67 // to immediately return the just-set value, using instrumentation to wait for the
|
/development/samples/training/testingfun/app/tests/src/com/example/android/testingfun/tests/lesson5/ |
SenderActivityTest.java | 22 import android.app.Instrumentation; 32 * advanced Instrumentation testing practices as sending key events and interaction monitoring 72 Instrumentation.ActivityMonitor receiverActivityMonitor = getInstrumentation()
|
/external/slf4j/slf4j-ext/src/main/java/org/slf4j/agent/ |
AgentPremain.java | 29 import java.lang.instrument.Instrumentation; 33 import org.slf4j.instrumentation.LogTransformer; 49 * @param instrumentation 50 * instrumentation environment provided by the JVM 52 public static void premain(String agentArgument, Instrumentation instrumentation) { 81 instrumentation.addTransformer(builder.build()); 91 * string given by instrumentation framework
|
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/ |
BenchmarkResultsReporter.java | 19 import android.app.Instrumentation; 49 stats.putString(Instrumentation.REPORT_KEY_STREAMRESULT, summary);
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
TestUtils.java | 18 import android.app.Instrumentation; 255 public static String setDefaultDialer(Instrumentation instrumentation, String packageName) 257 return executeShellCommand(instrumentation, COMMAND_SET_DEFAULT_DIALER + packageName); 260 public static String setCtsPhoneAccountSuggestionService(Instrumentation instrumentation, 262 return executeShellCommand(instrumentation, 267 public static String getDefaultDialer(Instrumentation instrumentation) throws Exception { 268 return executeShellCommand(instrumentation, COMMAND_GET_DEFAULT_DIALER) [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
Utils.java | 19 import android.app.Instrumentation; 51 Instrumentation instrumentation) { 52 setAppOps(packageName, operation, instrumentation, true); 56 Instrumentation instrumentation) { 57 setAppOps(packageName, operation, instrumentation, false); 82 Instrumentation instrumentation, boolean enable) { 89 instrumentation.getUiAutomation().executeShellCommand(cmd.toString()) [all...] |
/cts/tests/tests/notificationlegacy/notificationlegacy20/src/android/app/notification/legacy20/cts/ |
LegacyNotificationManager20Test.java | 27 import android.app.Instrumentation; 154 Instrumentation instrumentation, boolean on) throws IOException { 158 runCommand(command, instrumentation); 167 Instrumentation instrumentation, boolean suspend) throws IOException { 171 runCommand(command, instrumentation); 174 private void toggleListenerAccess(String componentName, Instrumentation instrumentation, 180 runCommand(command, instrumentation); [all...] |
/cts/hostsidetests/harmfulappwarning/testapp/src/android/harmfulappwarning/testapp/ |
HarmfulAppWarningDeviceTest.java | 19 import android.app.Instrumentation; 59 protected static Instrumentation getInstrumentation() {
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
AccessibilityFingerprintGestureTest.java | 29 import android.app.Instrumentation; 71 Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); local 72 mFingerprintManager = instrumentation.getContext().getPackageManager() 74 ? instrumentation.getContext().getSystemService(FingerprintManager.class) : null; 75 mFingerprintGestureService = StubFingerprintGestureService.enableSelf(instrumentation);
|
AccessibilityOverlayTest.java | 26 import android.app.Instrumentation; 48 private static Instrumentation sInstrumentation;
|
AccessibilityVolumeTest.java | 21 import android.app.Instrumentation; 39 Instrumentation mInstrumentation;
|
/cts/tests/app/src/android/app/cts/ |
ListActivityTest.java | 18 import android.app.Instrumentation; 109 private static void runOnMainAndDrawSync(Instrumentation instrumentation, 113 instrumentation.runOnMainSync(new Runnable() {
|
LocalActivityManagerTest.java | 20 import android.app.Instrumentation; 31 private Instrumentation mInstrumentation;
|
TabActivityTest.java | 20 import android.app.Instrumentation; 32 private Instrumentation mInstrumentation;
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
BitmapFactory_OptionsTest.java | 25 import android.app.Instrumentation; 64 Instrumentation instrumentation = getInstrumentation(); local 65 Resources resources = instrumentation.getTargetContext().getResources();
|
/cts/tests/tests/opengl/src/android/opengl/cts/ |
EglConfigTest.java | 21 import android.app.Instrumentation; 48 private Instrumentation mInstrumentation;
|
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
GlAppSwitchTest.java | 21 import android.app.Instrumentation; 69 Instrumentation instrument = getInstrumentation();
|
/cts/tests/tests/widget/src/android/widget/cts/ |
ExpandableListViewWithHeadersTest.java | 23 import android.app.Instrumentation; 46 private Instrumentation mInstrumentation;
|
/development/samples/SpinnerTest/src/com/android/example/spinner/test/ |
SpinnerActivityTest.java | 21 import android.app.Instrumentation; 30 * Tests the example application Spinner. Uses the instrumentation test class 80 * The Spinner object in the app under test. Used with instrumentation to control the 125 * previously. The tests can now use instrumentation to directly access the main 248 * instrumentation enables this by running the test app and the main app in the same 294 * Get the instrumentation object for this application. This object 295 * does all the instrumentation work for the test runner 298 Instrumentation instr = this.getInstrumentation(); 309 * Use the instrumentation to onPause() on the currently running Activity. 311 * This way demonstrates using the test class' instrumentation [all...] |
/external/droiddriver/src/io/appium/droiddriver/instrumentation/ |
InstrumentationDriver.java | 17 package io.appium.droiddriver.instrumentation; 20 import android.app.Instrumentation; 34 /** Implementation of DroidDriver that is driven via instrumentation. */ 65 public InstrumentationDriver(Instrumentation instrumentation) { 66 context = new DroidDriverContext<View, ViewElement>(instrumentation, this); 67 injector = new InstrumentationInputInjector(instrumentation);
|
/external/droiddriver/src/io/appium/droiddriver/uiautomation/ |
UiAutomationDriver.java | 20 import android.app.Instrumentation; 60 public UiAutomationDriver(Instrumentation instrumentation) { 61 context = new UiAutomationContext(instrumentation, this);
|
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/ |
ManualBenchmarkState.java | 20 import android.app.Instrumentation; 145 public void sendFullStatusReport(Instrumentation instrumentation, String key) { 156 instrumentation.sendStatus(Activity.RESULT_OK, status);
|