/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/androidtestlib/tests/src/com/android/test/ |
InstrumentationJUnit4Test.java | 31 public Instrumentation mInstrumentation; 39 Assert.assertNotNull(mInstrumentation);
|
InstrumentationJUnit4Fixture.java | 29 public Instrumentation mInstrumentation;
|
InstrumentationJUnit4FixtureTest.java | 38 Assert.assertNotNull(mInstrumentation);
|
/cts/tests/tests/app/src/android/app/cts/ |
InstrumentationTest.java | 56 private Instrumentation mInstrumentation; 65 mInstrumentation = getInstrumentation(); 66 mContext = mInstrumentation.getTargetContext(); 69 mActivity = (InstrumentationTestActivity) mInstrumentation.startActivitySync(mIntent); 73 mInstrumentation = null; 92 mInstrumentation.addMonitor(monitor); 96 Activity activity = mInstrumentation.waitForMonitorWithTimeout(monitor, WAIT_TIME); 98 assertTrue(mInstrumentation.checkMonitorHit(monitor, 1)); 101 mInstrumentation.addMonitor(monitor); 102 mInstrumentation.removeMonitor(monitor) [all...] |
TabActivityTest.java | 31 private Instrumentation mInstrumentation; 38 mInstrumentation = super.getInstrumentation(); 63 mActivity = (MockTabActivity) mInstrumentation.startActivitySync(intent); 81 final Context context = mInstrumentation.getTargetContext(); 88 mChildActivity = mInstrumentation.newActivity(MockTabActivity.class, mInstrumentation
|
LocalActivityManagerTest.java | 27 private Instrumentation mInstrumentation; 37 mInstrumentation = getInstrumentation(); 42 final Intent intent = new Intent(mInstrumentation.getTargetContext(), 46 mInstrumentation.getTargetContext().startActivity(intent);
|
LauncherActivityTest.java | 30 private Instrumentation mInstrumentation; 36 mInstrumentation = getInstrumentation(); 56 mActivity = (LauncherActivityStub) mInstrumentation.startActivitySync(intent);
|
ProgressDialogTest.java | 49 private Instrumentation mInstrumentation; 62 mInstrumentation = getInstrumentation(); 127 mInstrumentation.waitForIdleSync(); 141 mInstrumentation.waitForIdleSync(); 161 mInstrumentation.waitForIdleSync(); 174 mInstrumentation.waitForIdleSync(); 253 mInstrumentation.waitForIdleSync(); 271 mInstrumentation.waitForIdleSync(); 291 mInstrumentation.waitForIdleSync(); 312 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/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/text/src/android/text/method/cts/ |
KeyListenerTestCase.java | 51 protected Instrumentation mInstrumentation; 63 mInstrumentation = getInstrumentation(); 78 mInstrumentation.waitForIdleSync();
|
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");
|
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/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 | 61 private Instrumentation mInstrumentation; 96 mInstrumentation = getInstrumentation(); 149 mInstrumentation.waitForIdleSync(); 158 mInstrumentation.waitForIdleSync(); 380 mInstrumentation.sendStringSync(testString); 396 mInstrumentation.sendStringSync(testString); 414 mInstrumentation.sendStringSync("83377778"); 416 mInstrumentation.sendStringSync("test"); 440 mInstrumentation.waitForIdleSync(); 443 mInstrumentation.sendKeyDownUpSync(KeyEvent.KEYCODE_BACK) [all...] |
/cts/tests/tests/uidisolation/src/android/uidisolation/cts/ |
IsolatedServiceTest.java | 31 private Instrumentation mInstrumentation; 43 mInstrumentation = getInstrumentation(); 65 mInstrumentation.runOnMainSync(new Runnable() {
|
/frameworks/testing/androidtestlib/src/com/android/test/runner/junit4/ |
AndroidJUnit4Builder.java | 35 private final Instrumentation mInstrumentation; 40 mInstrumentation = instr; 51 return new AndroidJUnit4ClassRunner(testClass, mInstrumentation, mBundle);
|
/cts/tests/tests/view/src/android/view/cts/ |
ViewTreeObserverTest.java | 44 private Instrumentation mInstrumentation; 57 mInstrumentation = getInstrumentation(); 66 mInstrumentation.runOnMainSync(new Runnable() { 72 mInstrumentation.waitForIdleSync(); 80 mInstrumentation.runOnMainSync(new Runnable() { 92 mInstrumentation.runOnMainSync(new Runnable() { 98 mInstrumentation.waitForIdleSync(); 143 mInstrumentation.runOnMainSync(new Runnable() { 149 mInstrumentation.waitForIdleSync(); 226 mInstrumentation.runOnMainSync(new Runnable() [all...] |
TouchDelegateTest.java | 38 private Instrumentation mInstrumentation; 55 mInstrumentation = getInstrumentation(); 68 mInstrumentation.waitForIdleSync();
|