/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/ |
H A D | BaseKeyEventsTestCase.java | 77 getInstrumentation().waitForIdleSync(); 78 getInstrumentation().sendKeyDownUpSync(KeyEvent.KEYCODE_BACK); 79 getInstrumentation().waitForIdleSync(); 95 getInstrumentation().waitForIdleSync(); 98 getInstrumentation().sendKeyDownUpSync(KeyEvent.KEYCODE_BACK); 99 getInstrumentation().waitForIdleSync(); 104 getInstrumentation().sendKeyDownUpSync(KeyEvent.KEYCODE_BACK); 105 getInstrumentation().waitForIdleSync(); 116 getInstrumentation().sendKeyDownUpSync(KeyEvent.KEYCODE_MENU); 117 getInstrumentation() [all...] |
H A D | BaseInstrumentationTestCase.java | 44 public Instrumentation getInstrumentation() { method in class:BaseInstrumentationTestCase 45 return InstrumentationRegistry.getInstrumentation(); 51 getInstrumentation().runOnMainSync(new Runnable() {
|
H A D | BaseKeyboardShortcutsTestCase.java | 54 getInstrumentation().sendKeySync(downEvent); 55 getInstrumentation().waitForIdleSync(); 59 getInstrumentation().sendKeySync(upEvent); 60 getInstrumentation().waitForIdleSync(); 80 getInstrumentation().waitForIdleSync(); 82 getInstrumentation().waitForIdleSync(); 93 getInstrumentation().sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_DOWN); 94 getInstrumentation().waitForIdleSync(); 103 getInstrumentation().sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_UP); 104 getInstrumentation() [all...] |
H A D | DialogTestCase.java | 35 getInstrumentation().waitForIdleSync(); 40 getInstrumentation().waitForIdleSync();
|
/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | RunQueueTest.java | 35 getInstrumentation().waitForIdleSync(); 42 getInstrumentation().waitForIdleSync(); 49 getInstrumentation().waitForIdleSync(); 56 getInstrumentation().waitForIdleSync();
|
H A D | DisabledLongpressTest.java | 76 getInstrumentation().waitForIdleSync(); 79 getInstrumentation().waitForIdleSync(); 86 getInstrumentation().waitForIdleSync();
|
H A D | LongpressTest.java | 72 getInstrumentation().waitForIdleSync(); 75 getInstrumentation().waitForIdleSync(); 82 getInstrumentation().waitForIdleSync();
|
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/ |
H A D | FullscreenRotationTest.java | 34 Utils.startElementLayout(getInstrumentation(), 100); 40 Utils.rotateDevice(getInstrumentation(), Utils.ROTATION_MODE_NATURAL); 48 Utils.rotateDevice(getInstrumentation(), 49 Utils.getDeviceRotation(getInstrumentation()) == Utils.ROTATION_MODE_LEFT ?
|
H A D | WindowAnimationJankTestBase.java | 54 return UiDevice.getInstance(getInstrumentation());
|
/frameworks/base/cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/testrunner/ |
H A D | UiAutomatorTestCase.java | 70 mAutomationSupport = new InstrumentationAutomationSupport(getInstrumentation()); 88 getInstrumentation().getUiAutomation().setRunAsMonkey(Boolean.valueOf(monkeyVal)); 92 getInstrumentation().getContext(), 93 getInstrumentation().getUiAutomation()));
|
/frameworks/base/core/tests/coretests/src/android/app/ |
H A D | InstrumentationTest.java | 32 getInstrumentation().sendStatus(-1, bundle);
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/ |
H A D | BaseThreadedTest.java | 37 getInstrumentation().runOnMainSync(new Runnable() { 48 public Instrumentation getInstrumentation() { method in class:BaseThreadedTest 49 return InstrumentationRegistry.getInstrumentation(); 54 getInstrumentation().runOnMainSync(new Runnable() {
|
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
H A D | MtpManagerTest.java | 48 mUsbDevice = TestUtil.setupMtpDevice(getInstrumentation(), mUsbManager, mManager); 57 public TestResultInstrumentation getInstrumentation() { method in class:MtpManagerTest 58 return (TestResultInstrumentation) super.getInstrumentation(); 87 getInstrumentation().show(Arrays.toString(records[0].operationsSupported)); 94 getInstrumentation().show(Arrays.toString(records[0].eventsSupported)); 101 getInstrumentation().show("deviceKey: " + records[0].deviceKey); 106 getInstrumentation().show("Please take a photo by using connected MTP device."); 162 return getInstrumentation().getContext();
|
/frameworks/base/test-runner/src/android/test/ |
H A D | ActivityInstrumentationTestCase.java | 74 getInstrumentation().setInTouchMode(mInitialTouchMode); 75 final String targetPackageName = getInstrumentation().getTargetContext().getPackageName();
|
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
H A D | FrameworkPerfTest.java | 18 getInstrumentation().runOnMainSync(new Runnable() { 39 getInstrumentation().sendStatus(Activity.RESULT_OK, testResult);
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
H A D | ListRetainsFocusAcrossLayoutsTest.java | 54 getInstrumentation().waitForIdleSync(); 68 getInstrumentation().waitForIdleSync(); 83 getInstrumentation().waitForIdleSync();
|
/frameworks/base/packages/DocumentsUI/perf-tests/src/com/android/documentsui/ |
H A D | FilesJankPerfTest.java | 51 final UiDevice device = UiDevice.getInstance(getInstrumentation()); 52 final Context context = getInstrumentation().getTargetContext(); 58 mActivity = getInstrumentation().startActivitySync(intent); 81 getInstrumentation().waitForIdleSync(); 88 getInstrumentation().waitForIdleSync();
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
H A D | ScrollingThroughListOfFocusablesTest.java | 86 getInstrumentation().waitForIdleSync(); 119 getInstrumentation().waitForIdleSync(); 134 getInstrumentation().waitForIdleSync(); 159 getInstrumentation().waitForIdleSync(); 182 getInstrumentation().waitForIdleSync(); 232 getInstrumentation().waitForIdleSync();
|
/frameworks/support/v4/tests/java/android/support/v4/app/ |
H A D | FragmentReceiveResultTest.java | 103 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() { 113 InstrumentationRegistry.getInstrumentation().waitForIdleSync(); 119 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() { 129 InstrumentationRegistry.getInstrumentation().waitForIdleSync(); 134 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() { 152 InstrumentationRegistry.getInstrumentation().waitForIdleSync();
|
/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | KeyUtils.java | 46 final Instrumentation inst = test.getInstrumentation(); 59 final Instrumentation inst = test.getInstrumentation(); 78 final Instrumentation inst = test.getInstrumentation();
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
H A D | AutoCompleteTextViewCallbacks.java | 39 final Instrumentation instrumentation = getInstrumentation(); 64 final Instrumentation instrumentation = getInstrumentation(); 113 final Instrumentation instrumentation = getInstrumentation();
|
/frameworks/base/core/tests/coretests/src/android/widget/gridview/ |
H A D | GridSetSelectionBaseTest.java | 64 getInstrumentation().waitForIdleSync(); 80 getInstrumentation().waitForIdleSync(); 95 getInstrumentation().waitForIdleSync();
|
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsFL/src/com/android/framework/externalsharedpermsfltestapp/ |
H A D | ExternalSharedPermsFLTest.java | 33 LocationManager locationManager = (LocationManager)getInstrumentation().getContext(
|
/frameworks/base/packages/DocumentsUI/app-perf-tests/src/com/android/documentsui/ |
H A D | FilesAppPerfTest.java | 54 mDevice = UiDevice.getInstance(getInstrumentation()); 76 mActivity = launchActivity(getInstrumentation().getTargetContext().getPackageName(), 92 getInstrumentation().sendStatus(Activity.RESULT_OK, status); 96 final Context context = getInstrumentation().getContext();
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/ |
H A D | ScreenshotTest.java | 108 getInstrumentation().sendKeySync(new KeyEvent(KeyEvent.ACTION_DOWN, 110 getInstrumentation().sendKeySync(new KeyEvent(KeyEvent.ACTION_DOWN, 118 getInstrumentation().sendKeySync(new KeyEvent(KeyEvent.ACTION_UP, 120 getInstrumentation().sendKeySync(new KeyEvent(KeyEvent.ACTION_UP,
|