/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/instrumentation/ |
H A D | Instrumentable.java | 17 package com.android.settingslib.core.instrumentation;
|
H A D | VisibilityLoggerMixin.java | 17 package com.android.settingslib.core.instrumentation; 28 import static com.android.settingslib.core.instrumentation.Instrumentable.METRICS_CATEGORY_UNKNOWN;
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
H A D | AutoCompleteTextViewCallbacks.java | 39 final Instrumentation instrumentation = getInstrumentation(); 43 instrumentation.waitForIdleSync(); 45 instrumentation.waitForIdleSync(); 64 final Instrumentation instrumentation = getInstrumentation(); 68 instrumentation.waitForIdleSync(); 79 instrumentation.waitForIdleSync(); 97 instrumentation.waitForIdleSync(); 113 final Instrumentation instrumentation = getInstrumentation(); 117 instrumentation.waitForIdleSync(); 119 instrumentation [all...] |
H A D | AutoCompleteTextViewPopup.java | 48 final Instrumentation instrumentation = getInstrumentation(); 52 instrumentation.waitForIdleSync(); 64 instrumentation.waitForIdleSync(); 80 final Instrumentation instrumentation = getInstrumentation(); 84 instrumentation.waitForIdleSync(); 107 final Instrumentation instrumentation = getInstrumentation(); 111 instrumentation.waitForIdleSync(); 127 instrumentation.waitForIdleSync(); 140 final Instrumentation instrumentation = getInstrumentation(); 144 instrumentation [all...] |
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/examples/instrumentation/ |
H A D | InstrumentationTest.java | 17 package android.test.suitebuilder.examples.instrumentation;
|
/frameworks/base/cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/testrunner/ |
H A D | InstrumentationAutomationSupport.java | 32 InstrumentationAutomationSupport(Instrumentation instrumentation) { argument 33 mInstrumentation = instrumentation;
|
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/ |
H A D | Utils.java | 43 private static UiObject2 waitForActivity(Instrumentation instrumentation, BySelector selector) { argument 44 UiDevice device = UiDevice.getInstance(instrumentation); 57 public static UiObject2 waitForElementLayout(Instrumentation instrumentation) { argument 58 return waitForActivity(instrumentation, ROOT_ELEMENT_LAYOUT); 64 public static UiObject2 startElementLayout(Instrumentation instrumentation, int numElements) { argument 69 instrumentation.getTargetContext().startActivity(intent); 70 return waitForElementLayout(instrumentation); 73 public static int getDeviceRotation(Instrumentation instrumentation) { argument 75 UiDevice device = UiDevice.getInstance(instrumentation); 91 public static void rotateDevice(Instrumentation instrumentation, in argument [all...] |
/frameworks/support/emoji/core/src/androidTest/java/androidx/emoji/util/ |
H A D | KeyboardUtil.java | 77 public static void setComposingTextInBatch(final Instrumentation instrumentation, argument 81 instrumentation.runOnMainSync(new Runnable() { 92 instrumentation.waitForIdleSync(); 95 public static void deleteSurroundingText(final Instrumentation instrumentation, argument 99 instrumentation.runOnMainSync(new Runnable() { 109 instrumentation.waitForIdleSync(); 112 public static void setSelection(Instrumentation instrumentation, final Spannable spannable, argument 114 setSelection(instrumentation, spannable, start, start); 117 public static void setSelection(Instrumentation instrumentation, final Spannable spannable, argument 120 instrumentation 131 initTextViewForSimulatedIme(Instrumentation instrumentation, final TextView textView) argument [all...] |
/frameworks/support/navigation/fragment/src/androidTest/java/androidx/navigation/fragment/ |
H A D | EmbeddedXmlTest.java | 39 Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); 40 Intent intent = new Intent(instrumentation.getContext(), 44 instrumentation.waitForIdleSync();
|
H A D | ImmediateNavigationTest.java | 44 Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); 45 Intent intent = new Intent(instrumentation.getContext(), 49 instrumentation.waitForIdleSync();
|
/frameworks/base/ |
H A D | pathmap.mk | 28 multidex/instrumentation/src 44 android-support-multidex-instrumentation
|
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/app/ |
H A D | BaseKeyboardShortcutsTestCase.java | 57 final Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); 61 instrumentation.sendKeySync(downEvent); 62 instrumentation.waitForIdleSync(); 66 instrumentation.sendKeySync(upEvent); 67 instrumentation.waitForIdleSync();
|
H A D | NightModeTestCase.java | 156 final Instrumentation instrumentation = 159 instrumentation.callActivityOnPause(toTest); 160 instrumentation.callActivityOnStop(toTest); 166 instrumentation.callActivityOnStart(toTest); 167 instrumentation.callActivityOnResume(toTest); 195 final Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); 206 instrumentation.waitForIdleSync();
|
/frameworks/base/test-base/src/android/test/ |
H A D | InstrumentationTestCase.java | 47 * Injects instrumentation into this test case. This method is 50 * @param instrumentation the instrumentation to use with this instance 52 public void injectInstrumentation(Instrumentation instrumentation) { argument 53 mInstrumentation = instrumentation; 57 * Injects instrumentation into this test case. This method is 60 * @param instrumentation the instrumentation to use with this instance 66 public void injectInsrumentation(Instrumentation instrumentation) { argument 67 injectInstrumentation(instrumentation); [all...] |
/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | OrientationUtil.java | 55 private OrientationUtil(Activity activity, Instrumentation instrumentation) { argument 57 mInstrumentation = instrumentation;
|
H A D | ListUtil.java | 25 * Various useful stuff for instrumentation testing listview. 35 * @param instrumentation The instrumentation to use. 37 public ListUtil(ListView listView, Instrumentation instrumentation) { argument 39 mInstrumentation = instrumentation;
|
/frameworks/base/cmds/uiautomator/instrumentation/ |
H A D | Android.mk | 26 LOCAL_MODULE := uiautomator-instrumentation
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/drawer/ |
H A D | SettingsDrawerActivityTest.java | 51 final Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); 52 final Intent intent = new Intent(instrumentation.getTargetContext(), TestActivity.class) 54 instrumentation.startActivitySync(intent);
|
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
H A D | TestUtil.java | 50 TestResultInstrumentation instrumentation, 56 waitForStorages(instrumentation, manager, device.getDeviceId()); 59 instrumentation.show(Objects.toString(exp.getMessage())); 109 TestResultInstrumentation instrumentation, 124 instrumentation.show("Wait for storages."); 49 setupMtpDevice( TestResultInstrumentation instrumentation, UsbManager usbManager, MtpManager manager) argument 108 waitForStorages( TestResultInstrumentation instrumentation, MtpManager manager, int deviceId) argument
|
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/widget/ |
H A D | ToastTest.kt | 33 private val instrumentation = InstrumentationRegistry.getInstrumentation() 36 fun createToastWithTextShort() = instrumentation.runOnMainSync { 44 fun createToastWithTextLong() = instrumentation.runOnMainSync { 52 fun createToastWithResIdShort() = instrumentation.runOnMainSync { 60 fun createToastWithResIdLong() = instrumentation.runOnMainSync {
|
/frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/ |
H A D | FragmentTestUtil.java | 90 Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); 92 instrumentation.runOnMainSync(new Runnable() { 103 Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); 105 instrumentation.runOnMainSync(new Runnable() { 117 Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); 119 instrumentation.runOnMainSync(new Runnable() { 131 Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); 132 instrumentation.runOnMainSync(new Runnable() { 214 Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); 217 instrumentation [all...] |
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/util/ |
H A D | DrawingTestHelper.java | 42 final Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); 45 final Activity activity = instrumentation.newActivity( 56 instrumentation.callActivityOnCreate(activity, null);
|
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/testutils/ |
H A D | TestUtils.java | 292 * @param instrumentation the instrumentation used to run the test 297 public static void emulateTapOnView(Instrumentation instrumentation, View anchorView, argument 307 injectDownEvent(instrumentation, downTime, xOnScreen, yOnScreen); 308 injectMoveEventForTap(instrumentation, downTime, touchSlop, xOnScreen, yOnScreen); 309 injectUpEvent(instrumentation, downTime, false, xOnScreen, yOnScreen); 312 instrumentation.waitForIdleSync(); 315 private static long injectDownEvent(Instrumentation instrumentation, long downTime, argument 320 instrumentation.sendPointerSync(eventDown); 325 private static void injectMoveEventForTap(Instrumentation instrumentation, lon argument 335 injectUpEvent(Instrumentation instrumentation, long downTime, boolean useCurrentEventTime, int xOnScreen, int yOnScreen) argument [all...] |
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/ |
H A D | ShortcutManagerTestUtils.java | 162 public static List<String> runCommand(Instrumentation instrumentation, String command) { argument 163 return runCommand(instrumentation, command, null); 165 public static List<String> runCommand(Instrumentation instrumentation, String command, argument 171 instrumentation.getUiAutomation().executeShellCommand(command)); 181 public static void runCommandForNoOutput(Instrumentation instrumentation, String command) { argument 182 runCommand(instrumentation, command, result -> result.size() == 0); 185 public static List<String> runShortcutCommand(Instrumentation instrumentation, String command, argument 187 return runCommand(instrumentation, "cmd shortcut " + command, resultAsserter); 190 public static List<String> runShortcutCommandForSuccess(Instrumentation instrumentation, argument 192 return runShortcutCommand(instrumentation, comman 195 getDefaultLauncher(Instrumentation instrumentation) argument 209 setDefaultLauncher(Instrumentation instrumentation, String component) argument 218 setDefaultLauncher(Instrumentation instrumentation, Context packageContext) argument 223 overrideConfig(Instrumentation instrumentation, String config) argument 227 resetConfig(Instrumentation instrumentation) argument 231 resetThrottling(Instrumentation instrumentation) argument 235 resetAllThrottling(Instrumentation instrumentation) argument 239 clearShortcuts(Instrumentation instrumentation, int userId, String packageName) argument 254 enableComponent(Instrumentation instrumentation, ComponentName cn, boolean enable) argument 263 appOps(Instrumentation instrumentation, String packageName, String op, String mode) argument 268 dumpsysShortcut(Instrumentation instrumentation) argument 278 getCheckinDump(Instrumentation instrumentation) argument 282 isLowRamDevice(Instrumentation instrumentation) argument 286 getIconSize(Instrumentation instrumentation) argument [all...] |
/frameworks/base/packages/SettingsProvider/test/ |
H A D | Android.mk | 8 # because this test is not an instrumentation test. (because the target runs in the system process.)
|