/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/packages/SettingsLib/src/com/android/settingslib/core/instrumentation/ |
H A D | Instrumentable.java | 17 package com.android.settingslib.core.instrumentation;
|
H A D | LogWriter.java | 16 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;
|
H A D | EventLogWriter.java | 17 package com.android.settingslib.core.instrumentation;
|
H A D | MetricsFeatureProvider.java | 16 package com.android.settingslib.core.instrumentation;
|
H A D | SharedPreferencesLogger.java | 15 package com.android.settingslib.core.instrumentation;
|
/frameworks/base/core/tests/coretests/src/android/util/ |
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;
|
H A D | OrientationUtil.java | 55 private OrientationUtil(Activity activity, Instrumentation instrumentation) { argument 57 mInstrumentation = instrumentation;
|
/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/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
H A D | CameraTestResultPrinter.java | 44 public CameraTestResultPrinter(Instrumentation instrumentation, boolean writeToFile) { argument 45 mInst = instrumentation; 61 // Write stats to instrumentation results. 70 * Report the test results to instrumentation status or a file. 77 * Write stats to instrumentation results.
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/instrumentation/ |
H A D | MetricsFeatureProviderTest.java | 16 package com.android.settingslib.core.instrumentation;
|
H A D | SharedPreferenceLoggerTest.java | 16 package com.android.settingslib.core.instrumentation;
|
H A D | VisibilityLoggerMixinTest.java | 16 package com.android.settingslib.core.instrumentation; 18 import static com.android.settingslib.core.instrumentation.Instrumentable.METRICS_CATEGORY_UNKNOWN;
|
/frameworks/base/packages/Shell/tests/src/com/android/shell/ |
H A D | UiBot.java | 44 public UiBot(Instrumentation instrumentation, int timeout) { argument 45 mInstrumentation = instrumentation; 46 mDevice = UiDevice.getInstance(instrumentation);
|
/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/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/base/apct-tests/perftests/utils/src/android/perftests/utils/ |
H A D | ManualBenchmarkState.java | 145 public void sendFullStatusReport(Instrumentation instrumentation, String key) { argument 156 instrumentation.sendStatus(Activity.RESULT_OK, status);
|
H A D | BenchmarkState.java | 233 public void sendFullStatusReport(Instrumentation instrumentation, String key) { argument 240 instrumentation.sendStatus(Activity.RESULT_OK, status);
|
/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/base/test-runner/src/android/test/ |
H A D | AndroidTestRunner.java | 211 Test test, Instrumentation instrumentation) { 213 ((InstrumentationTestCase) test).injectInstrumentation(instrumentation); 217 public void setInstrumentation(Instrumentation instrumentation) { argument 218 mInstrumentation = instrumentation; 226 public void setInstrumentaiton(Instrumentation instrumentation) { argument 227 setInstrumentation(instrumentation); 210 setInstrumentationIfInstrumentationTestCase( Test test, Instrumentation instrumentation) argument
|
/frameworks/base/tools/bit/ |
H A D | aapt.cpp | 248 vector<Element*> instrumentation; local 249 root->FindElements("", "instrumentation", &instrumentation, true); 250 if (instrumentation.size() > 0) { 251 // TODO: How could we deal with multiple instrumentation tags? 253 apk->runner = instrumentation[0]->GetAttr(ANDROID_NS, "name");
|
/frameworks/support/room/testing/src/main/java/androidx/room/testing/ |
H A D | MigrationTestHelper.java | 91 * @param instrumentation The instrumentation instance. 94 public MigrationTestHelper(Instrumentation instrumentation, String assetsFolder) { argument 95 this(instrumentation, assetsFolder, new FrameworkSQLiteOpenHelperFactory()); 102 * @param instrumentation The instrumentation instance. 106 public MigrationTestHelper(Instrumentation instrumentation, String assetsFolder, argument 108 mInstrumentation = instrumentation;
|
/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...] |