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

1 2 3

  /frameworks/base/cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/testrunner/
InstrumentationAutomationSupport.java 30 private Instrumentation mInstrumentation;
33 mInstrumentation = instrumentation;
38 mInstrumentation.sendStatus(resultCode, status);
  /frameworks/base/core/java/android/test/
InstrumentationTestSuite.java 31 private final Instrumentation mInstrumentation;
38 mInstrumentation = instr;
44 mInstrumentation = instr;
54 mInstrumentation = instr;
60 addTest(new InstrumentationTestSuite(testClass, mInstrumentation));
68 ((InstrumentationTestCase) test).injectInstrumentation(mInstrumentation);
  /cts/libs/wrappedgtest/src/
WrappedGTestActivity.java 25 private WrappedGTestInstrumentation mInstrumentation;
28 mInstrumentation = instrumentation;
38 mInstrumentation.sendStatus(1, outputBundle);
  /cts/tests/tests/app/src/android/app/cts/
InstrumentationTest.java 56 private Instrumentation mInstrumentation;
66 mInstrumentation = getInstrumentation();
67 mContext = mInstrumentation.getTargetContext();
70 mActivity = (InstrumentationTestActivity) mInstrumentation.startActivitySync(mIntent);
74 mInstrumentation = null;
93 mInstrumentation.addMonitor(monitor);
97 Activity activity = mInstrumentation.waitForMonitorWithTimeout(monitor, WAIT_TIME);
99 assertTrue(mInstrumentation.checkMonitorHit(monitor, 1));
102 mInstrumentation.addMonitor(monitor);
103 mInstrumentation.removeMonitor(monitor)
    [all...]
TabActivityTest.java 32 private Instrumentation mInstrumentation;
39 mInstrumentation = super.getInstrumentation();
63 mInstrumentation.waitForIdleSync();
68 mActivity = (MockTabActivity) mInstrumentation.startActivitySync(intent);
87 final Context context = mInstrumentation.getTargetContext();
94 mChildActivity = mInstrumentation.newActivity(MockTabActivity.class, mInstrumentation
LauncherActivityTest.java 35 private Instrumentation mInstrumentation;
45 mInstrumentation = getInstrumentation();
66 mInstrumentation.waitForIdleSync();
LocalActivityManagerTest.java 29 private Instrumentation mInstrumentation;
39 mInstrumentation = getInstrumentation();
44 final Intent intent = new Intent(mInstrumentation.getTargetContext(),
48 mInstrumentation.getTargetContext().startActivity(intent);
DialogTest.java 70 private Instrumentation mInstrumentation;
82 mInstrumentation = getInstrumentation();
83 mContext = mInstrumentation.getContext();
177 mInstrumentation.waitForIdleSync();
190 mInstrumentation.waitForIdleSync();
200 mInstrumentation.waitForIdleSync();
222 OrientationTestUtils.toggleOrientationSync(mActivity, mInstrumentation);
238 mInstrumentation.waitForIdleSync();
256 mInstrumentation.waitForIdleSync();
272 mInstrumentation.waitForIdleSync()
    [all...]
  /development/samples/SampleSyncAdapter/tests/src/com/example/android/samplesync/authenticator/
AuthenticatorActivityTest.java 35 private Instrumentation mInstrumentation;
52 mInstrumentation = this.getInstrumentation();
53 mContext = mInstrumentation.getTargetContext();
69 mInstrumentation.addMonitor(AuthenticatorActivity.class.getName(), null, false);
72 mInstrumentation.startActivitySync(intent);
73 Activity activity = mInstrumentation.waitForMonitorWithTimeout(monitor, ACTIVITY_WAIT);
  /cts/tests/tests/widget/src/android/widget/cts/util/
ListUtil.java 29 private final Instrumentation mInstrumentation;
37 mInstrumentation = instrumentation;
50 mInstrumentation.waitForIdleSync();
83 mInstrumentation.sendCharacterSync(KeyEvent.KEYCODE_DPAD_DOWN);
94 mInstrumentation.sendCharacterSync(KeyEvent.KEYCODE_DPAD_UP);
  /frameworks/base/core/tests/coretests/src/android/util/
ListUtil.java 31 private final Instrumentation mInstrumentation;
39 mInstrumentation = instrumentation;
52 mInstrumentation.waitForIdleSync();
85 mInstrumentation.sendCharacterSync(KeyEvent.KEYCODE_DPAD_DOWN);
96 mInstrumentation.sendCharacterSync(KeyEvent.KEYCODE_DPAD_UP);
  /cts/tests/tests/widget/src/android/widget/cts/
ListViewTest.java 65 private Instrumentation mInstrumentation;
79 mInstrumentation = getInstrumentation();
131 mInstrumentation.runOnMainSync(new Runnable() {
136 mInstrumentation.waitForIdleSync();
140 mInstrumentation.runOnMainSync(new Runnable() {
145 mInstrumentation.waitForIdleSync();
156 mInstrumentation.runOnMainSync(new Runnable() {
161 mInstrumentation.waitForIdleSync();
165 mInstrumentation.runOnMainSync(new Runnable() {
170 mInstrumentation.waitForIdleSync()
    [all...]
SeekBarTest.java 38 private Instrumentation mInstrumentation;
47 mInstrumentation = getInstrumentation();
71 mInstrumentation.sendPointerSync(event);
72 mInstrumentation.waitForIdleSync();
82 mInstrumentation.sendPointerSync(event);
83 mInstrumentation.waitForIdleSync();
91 mInstrumentation.sendPointerSync(event);
92 mInstrumentation.waitForIdleSync();
AutoCompleteTextViewTest.java 63 private Instrumentation mInstrumentation;
98 mInstrumentation = getInstrumentation();
158 mInstrumentation.waitForIdleSync();
167 mInstrumentation.waitForIdleSync();
394 mInstrumentation.sendStringSync(testString);
410 mInstrumentation.sendStringSync(testString);
428 mInstrumentation.sendStringSync("83377778");
430 mInstrumentation.sendStringSync("test");
457 mInstrumentation.waitForIdleSync();
460 mInstrumentation.sendKeyDownUpSync(KeyEvent.KEYCODE_BACK)
    [all...]
PopupWindowTest.java 47 private Instrumentation mInstrumentation;
67 mInstrumentation = getInstrumentation();
257 mInstrumentation.runOnMainSync(new Runnable() {
262 mInstrumentation.waitForIdleSync();
292 mInstrumentation.runOnMainSync(new Runnable() {
297 mInstrumentation.waitForIdleSync();
323 mInstrumentation.runOnMainSync(new Runnable() {
328 mInstrumentation.waitForIdleSync();
431 mInstrumentation.runOnMainSync(new Runnable() {
436 mInstrumentation.waitForIdleSync()
    [all...]
MediaControllerTest.java 49 private Instrumentation mInstrumentation;
60 mInstrumentation = getInstrumentation();
118 mInstrumentation.waitForIdleSync();
133 mInstrumentation.waitForIdleSync();
141 mInstrumentation.waitForIdleSync();
150 mInstrumentation.waitForIdleSync();
199 mInstrumentation.waitForIdleSync();
212 mInstrumentation.waitForIdleSync();
226 mInstrumentation.sendTrackballEventSync(event);
227 mInstrumentation.waitForIdleSync()
    [all...]
  /cts/tests/tests/text/src/android/text/method/cts/
DateTimeKeyListenerTest.java 74 mInstrumentation.sendStringSync("1");
79 mInstrumentation.sendStringSync("2");
87 mInstrumentation.sendKeyDownUpSync(KeyEvent.KEYCODE_A);
94 mInstrumentation.sendKeyDownUpSync(KeyEvent.KEYCODE_P);
101 mInstrumentation.sendKeyDownUpSync(KeyEvent.KEYCODE_M);
116 mInstrumentation.sendStringSync("1");
TimeKeyListenerTest.java 70 mInstrumentation.sendStringSync("1");
75 mInstrumentation.sendStringSync("2");
83 mInstrumentation.sendKeyDownUpSync(KeyEvent.KEYCODE_A);
90 mInstrumentation.sendKeyDownUpSync(KeyEvent.KEYCODE_P);
97 mInstrumentation.sendKeyDownUpSync(KeyEvent.KEYCODE_M);
111 mInstrumentation.sendStringSync("1");
KeyListenerTestCase.java 52 protected Instrumentation mInstrumentation;
64 mInstrumentation = getInstrumentation();
86 mInstrumentation.waitForIdleSync();
BaseKeyListenerTest.java 112 mInstrumentation.sendKeySync(event);
113 mInstrumentation.waitForIdleSync();
133 mInstrumentation.waitForIdleSync();
141 mInstrumentation.sendKeySync(new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_ALT_LEFT));
142 mInstrumentation.sendKeySync(new KeyEvent(0, 0, KeyEvent.ACTION_DOWN,
144 mInstrumentation.sendKeySync(new KeyEvent(0, 0, KeyEvent.ACTION_UP,
146 mInstrumentation.sendKeySync(new KeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_ALT_LEFT));
  /cts/tests/tests/uidisolation/src/android/uidisolation/cts/
IsolatedServiceTest.java 31 private Instrumentation mInstrumentation;
43 mInstrumentation = getInstrumentation();
65 mInstrumentation.runOnMainSync(new Runnable() {
  /cts/tests/tests/view/src/android/view/cts/
ViewTreeObserverTest.java 43 private Instrumentation mInstrumentation;
56 mInstrumentation = getInstrumentation();
65 mInstrumentation.runOnMainSync(new Runnable() {
71 mInstrumentation.waitForIdleSync();
79 mInstrumentation.runOnMainSync(new Runnable() {
91 mInstrumentation.runOnMainSync(new Runnable() {
97 mInstrumentation.waitForIdleSync();
142 mInstrumentation.runOnMainSync(new Runnable() {
148 mInstrumentation.waitForIdleSync();
225 mInstrumentation.runOnMainSync(new Runnable()
    [all...]
TouchDelegateTest.java 37 private Instrumentation mInstrumentation;
54 mInstrumentation = getInstrumentation();
67 mInstrumentation.waitForIdleSync();
  /cts/tests/tests/tv/src/android/media/tv/cts/
HardwareSessionTest.java 46 private Instrumentation mInstrumentation;
62 mInstrumentation = getInstrumentation();
90 mInstrumentation.waitForIdleSync();
105 mInstrumentation.waitForIdleSync();
  /cts/hostsidetests/devicepolicy/app/LauncherTests/src/com/android/cts/launchertests/
LauncherAppsTests.java 72 private InstrumentationTestRunner mInstrumentation;
81 mInstrumentation = (InstrumentationTestRunner) getInstrumentation();
82 Bundle arguments = mInstrumentation.getArguments();
83 UserManager userManager = (UserManager) mInstrumentation.getContext().getSystemService(
86 mLauncherApps = (LauncherApps) mInstrumentation.getContext().getSystemService(
94 mInstrumentation.getContext().bindService(intent, mConnection, Context.BIND_AUTO_CREATE);
176 mInstrumentation.getContext().registerReceiver(receiver, filter);
182 mInstrumentation.getContext().unregisterReceiver(receiver);

Completed in 406 milliseconds

1 2 3