/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 | 73 getInstrumentation().waitForIdleSync(); 76 getInstrumentation().waitForIdleSync(); 83 getInstrumentation().waitForIdleSync();
|
H A D | LongpressTest.java | 69 getInstrumentation().waitForIdleSync(); 72 getInstrumentation().waitForIdleSync(); 79 getInstrumentation().waitForIdleSync();
|
H A D | VisibilityTest.java | 72 getInstrumentation().waitForIdleSync(); 86 getInstrumentation().waitForIdleSync(); 100 getInstrumentation().waitForIdleSync(); 120 getInstrumentation().waitForIdleSync(); 140 getInstrumentation().waitForIdleSync(); 160 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 ?
|
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/app/ |
H A D | KeyEventsTestCaseWithToolbar.java | 51 InstrumentationRegistry.getInstrumentation().sendKeyDownUpSync(KeyEvent.KEYCODE_MENU); 52 InstrumentationRegistry.getInstrumentation().waitForIdleSync(); 55 InstrumentationRegistry.getInstrumentation().sendKeyDownUpSync(KeyEvent.KEYCODE_MENU); 56 InstrumentationRegistry.getInstrumentation().waitForIdleSync(); 75 InstrumentationRegistry.getInstrumentation().waitForIdleSync(); 84 InstrumentationRegistry.getInstrumentation().waitForIdleSync();
|
H A D | KeyboardShortcutsTestCaseWithToolbar.java | 64 InstrumentationRegistry.getInstrumentation().waitForIdleSync(); 66 InstrumentationRegistry.getInstrumentation().waitForIdleSync(); 80 InstrumentationRegistry.getInstrumentation().waitForIdleSync(); 144 InstrumentationRegistry.getInstrumentation().sendKeySync(unhandledShortcutKey); 154 InstrumentationRegistry.getInstrumentation().sendKeySync(keyDown); 158 InstrumentationRegistry.getInstrumentation().sendKeySync(keyUp);
|
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/app/ |
H A D | ProgressBarManagerTest.java | 42 mContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); 43 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() { 57 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() { 71 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() { 84 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() { 106 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() { 121 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() { 135 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
|
/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 | 34 getInstrumentation().sendStatus(-1, bundle);
|
/frameworks/base/tests/ServiceCrashTest/src/com/android/tests/servicecrashtest/ |
H A D | ServiceCrashTest.java | 41 getInstrumentation().getContext().getContentResolver(), 56 SystemUtil.runShellCommand(getInstrumentation(), 59 SystemUtil.runShellCommand(getInstrumentation(), "settings put global " 65 Context ctx = getInstrumentation().getContext();
|
/frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/ |
H A D | DialogFragmentTest.java | 48 InstrumentationRegistry.getInstrumentation().waitForIdleSync(); 53 InstrumentationRegistry.getInstrumentation().waitForIdleSync(); 61 InstrumentationRegistry.getInstrumentation().waitForIdleSync(); 72 InstrumentationRegistry.getInstrumentation().waitForIdleSync(); 80 InstrumentationRegistry.getInstrumentation().waitForIdleSync(); 85 InstrumentationRegistry.getInstrumentation().waitForIdleSync(); 92 InstrumentationRegistry.getInstrumentation().waitForIdleSync();
|
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/ |
H A D | ThumbsBarTest.java | 47 mContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); 48 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() { 69 mContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); 70 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() { 88 mContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); 89 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() { 107 mContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); 108 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() { 151 mContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); 152 InstrumentationRegistry.getInstrumentation() [all...] |
/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/support/leanback/src/androidTest/java/androidx/leanback/media/ |
H A D | MediaPlayerGlueTest.java | 50 final Context context = InstrumentationRegistry.getInstrumentation().getTargetContext(); 52 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() { 75 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() { 90 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() { 100 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() { 111 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() { 121 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() { 131 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
|
H A D | PlaybackControlGlueTest.java | 98 mContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); 99 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() { 117 mContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); 118 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() { 144 mContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); 145 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() { 166 mContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); 167 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() {
|
H A D | PlaybackBannerControlGlueTest.java | 73 mContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); 74 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() { 91 mContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); 92 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() { 117 mContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); 118 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() { 138 mContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); 139 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() { 167 InstrumentationRegistry.getInstrumentation().getTargetContext(), 175 InstrumentationRegistry.getInstrumentation() [all...] |
/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/core/tests/coretests/src/android/widget/listview/arrowscroll/ |
H A D | ListWithNoFadingEdgeTest.java | 52 getInstrumentation().waitForIdleSync(); 65 getInstrumentation().waitForIdleSync(); 73 getInstrumentation().waitForIdleSync();
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
H A D | ScrollingThroughListOfFocusablesTest.java | 60 getInstrumentation().waitForIdleSync(); 90 getInstrumentation().waitForIdleSync(); 123 getInstrumentation().waitForIdleSync(); 138 getInstrumentation().waitForIdleSync(); 163 getInstrumentation().waitForIdleSync(); 186 getInstrumentation().waitForIdleSync(); 236 getInstrumentation().waitForIdleSync();
|
/frameworks/support/loader/src/androidTest/java/androidx/loader/app/ |
H A D | LoaderManagerTest.java | 62 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() { 93 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() { 114 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() { 133 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() { 141 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() { 161 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() { 181 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() { 192 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() { 212 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() { 225 InstrumentationRegistry.getInstrumentation() [all...] |
/frameworks/support/webkit/src/androidTest/java/androidx/webkit/ |
H A D | WebViewOnUiThread.java | 61 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() { 76 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() { 113 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() { 131 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() { 140 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() { 164 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() { 255 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() { 264 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() { 277 InstrumentationRegistry.getInstrumentation().runOnMainSync(getter); 322 InstrumentationRegistry.getInstrumentation() [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/scroll/ |
H A D | ScrollViewButtonsAndLabelsTest.java | 71 getInstrumentation().waitForIdleSync(); 76 getInstrumentation().waitForIdleSync(); 112 getInstrumentation().waitForIdleSync(); 134 getInstrumentation().waitForIdleSync(); 154 getInstrumentation().waitForIdleSync(); 174 getInstrumentation().waitForIdleSync();
|