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

1 2 3

  /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);
  /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/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/app/src/android/app/cts/
InstrumentationTest.java 61 private Instrumentation mInstrumentation;
70 mInstrumentation = getInstrumentation();
71 mContext = mInstrumentation.getTargetContext();
74 mActivity = (InstrumentationTestActivity) mInstrumentation.startActivitySync(mIntent);
78 mInstrumentation = null;
144 mInstrumentation.addMonitor(monitor);
148 Activity activity = mInstrumentation.waitForMonitorWithTimeout(monitor, WAIT_TIME);
150 assertTrue(mInstrumentation.checkMonitorHit(monitor, 1));
153 mInstrumentation.addMonitor(monitor);
154 mInstrumentation.removeMonitor(monitor)
    [all...]
TabActivityTest.java 37 private Instrumentation mInstrumentation;
44 mInstrumentation = super.getInstrumentation();
119 mActivity = (MockTabActivity) mInstrumentation.startActivitySync(intent);
142 final Context context = mInstrumentation.getTargetContext();
149 mChildActivity = mInstrumentation.newActivity(MockTabActivity.class, mInstrumentation
LauncherActivityTest.java 35 private Instrumentation mInstrumentation;
41 mInstrumentation = getInstrumentation();
93 mActivity = (LauncherActivityStub) mInstrumentation.startActivitySync(intent);
AlertDialog_BuilderTest.java 55 private Instrumentation mInstrumentation;
113 mInstrumentation = getInstrumentation();
151 mInstrumentation.waitForIdleSync();
168 mInstrumentation.waitForIdleSync();
186 mInstrumentation.waitForIdleSync();
207 mInstrumentation.waitForIdleSync();
227 mInstrumentation.waitForIdleSync();
247 mInstrumentation.waitForIdleSync();
267 mInstrumentation.waitForIdleSync();
287 mInstrumentation.waitForIdleSync()
    [all...]
ProgressDialogTest.java 54 private Instrumentation mInstrumentation;
67 mInstrumentation = getInstrumentation();
177 mInstrumentation.waitForIdleSync();
191 mInstrumentation.waitForIdleSync();
218 mInstrumentation.waitForIdleSync();
231 mInstrumentation.waitForIdleSync();
363 mInstrumentation.waitForIdleSync();
386 mInstrumentation.waitForIdleSync();
411 mInstrumentation.waitForIdleSync();
437 mInstrumentation.waitForIdleSync()
    [all...]
LocalActivityManagerTest.java 32 private Instrumentation mInstrumentation;
42 mInstrumentation = getInstrumentation();
47 final Intent intent = new Intent(mInstrumentation.getTargetContext(),
51 mInstrumentation.getTargetContext().startActivity(intent);
  /cts/tests/tests/widget/src/android/widget/cts/
ListViewTest.java 68 private Instrumentation mInstrumentation;
82 mInstrumentation = getInstrumentation();
164 mInstrumentation.runOnMainSync(new Runnable() {
169 mInstrumentation.waitForIdleSync();
190 mInstrumentation.runOnMainSync(new Runnable() {
195 mInstrumentation.waitForIdleSync();
201 mInstrumentation.runOnMainSync(new Runnable() {
206 mInstrumentation.waitForIdleSync();
210 mInstrumentation.runOnMainSync(new Runnable() {
215 mInstrumentation.waitForIdleSync()
    [all...]
SeekBarTest.java 43 private Instrumentation mInstrumentation;
52 mInstrumentation = getInstrumentation();
98 mInstrumentation.sendPointerSync(event);
99 mInstrumentation.waitForIdleSync();
109 mInstrumentation.sendPointerSync(event);
110 mInstrumentation.waitForIdleSync();
118 mInstrumentation.sendPointerSync(event);
119 mInstrumentation.waitForIdleSync();
GridViewTest.java 62 private Instrumentation mInstrumentation;
77 mInstrumentation = getInstrumentation();
214 mInstrumentation.waitForIdleSync();
218 mInstrumentation.sendKeySync(event);
222 mInstrumentation.sendKeySync(event);
226 mInstrumentation.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_RIGHT);
229 mInstrumentation.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_LEFT);
232 mInstrumentation.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_DOWN);
236 mInstrumentation.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_CENTER);
241 mInstrumentation.sendKeyDownUpSync(KeyEvent.KEYCODE_ENTER)
    [all...]
PopupWindowTest.java 51 private Instrumentation mInstrumentation;
71 mInstrumentation = getInstrumentation();
387 mInstrumentation.runOnMainSync(new Runnable() {
392 mInstrumentation.waitForIdleSync();
424 mInstrumentation.runOnMainSync(new Runnable() {
429 mInstrumentation.waitForIdleSync();
460 mInstrumentation.runOnMainSync(new Runnable() {
465 mInstrumentation.waitForIdleSync();
606 mInstrumentation.runOnMainSync(new Runnable() {
611 mInstrumentation.waitForIdleSync()
    [all...]
ExpandableListTester.java 38 Instrumentation mInstrumentation;
49 mInstrumentation = mActivityInstrumentation.getInstrumentation();
56 mInstrumentation.waitForIdleSync();
79 mInstrumentation.waitForIdleSync();
97 mInstrumentation.waitForIdleSync();
109 mInstrumentation.waitForIdleSync();
124 mInstrumentation.waitForIdleSync();
AutoCompleteTextViewTest.java 66 private Instrumentation mInstrumentation;
95 mInstrumentation = getInstrumentation();
171 mInstrumentation.waitForIdleSync();
180 mInstrumentation.waitForIdleSync();
524 mInstrumentation.sendStringSync(testString);
535 mInstrumentation.sendStringSync(testString);
548 mInstrumentation.sendStringSync("83377778");
550 mInstrumentation.sendStringSync("test");
584 mInstrumentation.waitForIdleSync();
587 mInstrumentation.sendKeyDownUpSync(KeyEvent.KEYCODE_BACK)
    [all...]
DialerFilterTest.java 49 private Instrumentation mInstrumentation;
61 mInstrumentation = getInstrumentation();
114 mInstrumentation.runOnMainSync(new Runnable() {
120 mInstrumentation.waitForIdleSync();
124 mInstrumentation.sendStringSync("123");
128 mInstrumentation.runOnMainSync(new Runnable() {
134 mInstrumentation.waitForIdleSync();
141 mInstrumentation.sendStringSync("234");
144 mInstrumentation.sendStringSync("adg");
149 mInstrumentation.runOnMainSync(new Runnable()
    [all...]
ToastTest.java 47 private Instrumentation mInstrumentation;
58 mInstrumentation = getInstrumentation();
116 mInstrumentation.waitForIdleSync();
129 mInstrumentation.waitForIdleSync();
166 mInstrumentation.waitForIdleSync();
178 mInstrumentation.waitForIdleSync();
201 mInstrumentation.waitForIdleSync();
214 mInstrumentation.waitForIdleSync();
239 mInstrumentation.waitForIdleSync();
253 mInstrumentation.waitForIdleSync()
    [all...]
  /cts/tests/tests/text/src/android/text/method/cts/
DateTimeKeyListenerTest.java 42 private Instrumentation mInstrumentation;
54 mInstrumentation = getInstrumentation();
127 mInstrumentation.waitForIdleSync();
131 mInstrumentation.sendStringSync("1");
136 mInstrumentation.sendStringSync("2");
144 mInstrumentation.sendKeyDownUpSync(KeyEvent.KEYCODE_A);
151 mInstrumentation.sendKeyDownUpSync(KeyEvent.KEYCODE_P);
158 mInstrumentation.sendKeyDownUpSync(KeyEvent.KEYCODE_M);
176 mInstrumentation.waitForIdleSync();
179 mInstrumentation.sendStringSync("1")
    [all...]
TimeKeyListenerTest.java 38 private Instrumentation mInstrumentation;
50 mInstrumentation = getInstrumentation();
120 mInstrumentation.waitForIdleSync();
124 mInstrumentation.sendStringSync("1");
129 mInstrumentation.sendStringSync("2");
137 mInstrumentation.sendKeyDownUpSync(KeyEvent.KEYCODE_A);
144 mInstrumentation.sendKeyDownUpSync(KeyEvent.KEYCODE_P);
151 mInstrumentation.sendKeyDownUpSync(KeyEvent.KEYCODE_M);
168 mInstrumentation.waitForIdleSync();
171 mInstrumentation.sendStringSync("1")
    [all...]
BaseKeyListenerTest.java 49 private Instrumentation mInstrumentation;
61 mInstrumentation = getInstrumentation();
97 mInstrumentation.waitForIdleSync();
141 mInstrumentation.waitForIdleSync();
145 mInstrumentation.sendKeySync(new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_ALT_LEFT));
147 mInstrumentation.sendKeySync(new KeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_ALT_LEFT));
182 mInstrumentation.waitForIdleSync();
193 mInstrumentation.waitForIdleSync();
203 mInstrumentation.waitForIdleSync();
207 mInstrumentation.sendKeySync(event)
    [all...]
DateKeyListenerTest.java 41 private Instrumentation mInstrumentation;
53 mInstrumentation = getInstrumentation();
124 mInstrumentation.waitForIdleSync();
157 mInstrumentation.waitForIdleSync();
  /cts/tests/tests/view/src/android/view/cts/
ViewTreeObserverTest.java 44 private Instrumentation mInstrumentation;
51 mInstrumentation = getInstrumentation();
60 mInstrumentation.runOnMainSync(new Runnable() {
66 mInstrumentation.waitForIdleSync();
79 mInstrumentation.runOnMainSync(new Runnable() {
85 mInstrumentation.waitForIdleSync();
125 mInstrumentation.runOnMainSync(new Runnable() {
131 mInstrumentation.waitForIdleSync();
207 mInstrumentation.runOnMainSync(new Runnable() {
213 mInstrumentation.waitForIdleSync()
    [all...]
TouchDelegateTest.java 43 private Instrumentation mInstrumentation;
60 mInstrumentation = getInstrumentation();
73 mInstrumentation.waitForIdleSync();
  /cts/tests/tests/graphics/src/android/opengl/cts/
EglConfigTest.java 37 private Instrumentation mInstrumentation;
46 mInstrumentation = getInstrumentation();
67 mInstrumentation.waitForIdleSync();

Completed in 1170 milliseconds

1 2 3