/frameworks/testing/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);
|
/frameworks/testing/support/tests/src/android/support/test/ |
InstrumentationJUnit4Test.java | 32 public Instrumentation mInstrumentation; 40 Assert.assertNotNull(mInstrumentation);
|
InstrumentationJUnit4Fixture.java | 30 public Instrumentation mInstrumentation;
|
InstrumentationJUnit4FixtureTest.java | 39 Assert.assertNotNull(mInstrumentation);
|
/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();
|
/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);
|
/frameworks/testing/support/src/android/support/test/internal/runner/junit4/ |
AndroidJUnit4Builder.java | 33 private final Instrumentation mInstrumentation; 38 mInstrumentation = instr; 48 return new AndroidJUnit4ClassRunner(testClass, mInstrumentation, mBundle);
|
/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(); 289 mInstrumentation.runOnMainSync(new Runnable() { 294 mInstrumentation.waitForIdleSync(); 320 mInstrumentation.runOnMainSync(new Runnable() { 325 mInstrumentation.waitForIdleSync(); 428 mInstrumentation.runOnMainSync(new Runnable() { 433 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();
|