/frameworks/base/core/tests/coretests/src/android/widget/ |
D | AutoCompleteTextViewPopup.java | 48 final Instrumentation instrumentation = getInstrumentation(); in testPopupSetListSelection() local 52 instrumentation.waitForIdleSync(); in testPopupSetListSelection() 64 instrumentation.waitForIdleSync(); in testPopupSetListSelection() 80 final Instrumentation instrumentation = getInstrumentation(); in testPopupGetListSelection() local 84 instrumentation.waitForIdleSync(); in testPopupGetListSelection() 107 final Instrumentation instrumentation = getInstrumentation(); in testPopupClearListSelection() local 111 instrumentation.waitForIdleSync(); in testPopupClearListSelection() 127 instrumentation.waitForIdleSync(); in testPopupClearListSelection() 140 final Instrumentation instrumentation = getInstrumentation(); in testPopupNavigateNoAdapter() local 144 instrumentation.waitForIdleSync(); in testPopupNavigateNoAdapter() [all …]
|
D | AutoCompleteTextViewCallbacks.java | 40 final Instrumentation instrumentation = getInstrumentation(); in testPopupNoSelection() local 44 instrumentation.waitForIdleSync(); in testPopupNoSelection() 46 instrumentation.waitForIdleSync(); in testPopupNoSelection() 65 final Instrumentation instrumentation = getInstrumentation(); in testPopupEnterSelection() local 69 instrumentation.waitForIdleSync(); in testPopupEnterSelection() 80 instrumentation.waitForIdleSync(); in testPopupEnterSelection() 98 instrumentation.waitForIdleSync(); in testPopupEnterSelection() 114 final Instrumentation instrumentation = getInstrumentation(); in testPopupLeaveSelection() local 118 instrumentation.waitForIdleSync(); in testPopupLeaveSelection() 120 instrumentation.waitForIdleSync(); in testPopupLeaveSelection() [all …]
|
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/ |
D | Utils.java | 43 private static UiObject2 waitForActivity(Instrumentation instrumentation, BySelector selector) { in waitForActivity() argument 44 UiDevice device = UiDevice.getInstance(instrumentation); in waitForActivity() 57 public static UiObject2 waitForElementLayout(Instrumentation instrumentation) { in waitForElementLayout() argument 58 return waitForActivity(instrumentation, ROOT_ELEMENT_LAYOUT); in waitForElementLayout() 64 public static UiObject2 startElementLayout(Instrumentation instrumentation, int numElements) { in startElementLayout() argument 69 instrumentation.getTargetContext().startActivity(intent); in startElementLayout() 70 return waitForElementLayout(instrumentation); in startElementLayout() 73 public static int getDeviceRotation(Instrumentation instrumentation) { in getDeviceRotation() argument 75 UiDevice device = UiDevice.getInstance(instrumentation); in getDeviceRotation() 91 public static void rotateDevice(Instrumentation instrumentation, int rotationMode) { in rotateDevice() argument [all …]
|
/frameworks/base/test-base/src/android/test/ |
D | InstrumentationTestCase.java | 52 public void injectInstrumentation(Instrumentation instrumentation) { in injectInstrumentation() argument 53 mInstrumentation = instrumentation; in injectInstrumentation() 66 public void injectInsrumentation(Instrumentation instrumentation) { in injectInsrumentation() argument 67 injectInstrumentation(instrumentation); in injectInsrumentation() 257 final Instrumentation instrumentation = getInstrumentation(); in sendKeys() local 280 instrumentation.sendKeyDownUpSync(keyCode); in sendKeys() 296 instrumentation.waitForIdleSync(); in sendKeys() 307 final Instrumentation instrumentation = getInstrumentation(); in sendKeys() local 311 instrumentation.sendKeyDownUpSync(keys[i]); in sendKeys() 319 instrumentation.waitForIdleSync(); in sendKeys() [all …]
|
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/ |
D | ShortcutManagerTestUtils.java | 163 public static List<String> runCommand(Instrumentation instrumentation, String command) { in runCommand() argument 164 return runCommand(instrumentation, command, null); in runCommand() 166 public static List<String> runCommand(Instrumentation instrumentation, String command, in runCommand() argument 172 instrumentation.getUiAutomation().executeShellCommand(command)); in runCommand() 182 public static void runCommandForNoOutput(Instrumentation instrumentation, String command) { in runCommandForNoOutput() argument 183 runCommand(instrumentation, command, result -> result.size() == 0); in runCommandForNoOutput() 186 public static List<String> runShortcutCommand(Instrumentation instrumentation, String command, in runShortcutCommand() argument 188 return runCommand(instrumentation, "cmd shortcut " + command, resultAsserter); in runShortcutCommand() 191 public static List<String> runShortcutCommandForSuccess(Instrumentation instrumentation, in runShortcutCommandForSuccess() argument 193 return runShortcutCommand(instrumentation, command, result -> result.contains("Success")); in runShortcutCommandForSuccess() [all …]
|
/frameworks/multidex/instrumentation/ |
D | Android.bp | 16 name: "android-support-multidex-instrumentation-version", 22 …cmd: "echo \"git.version=`cd frameworks/multidex/instrumentation; git log --format=\"%H\" -n 1 || … 23 …t hash not available; exit 0)`\" > $(genDir)/android-support-multidex-instrumentation.version.txt", 25 "android-support-multidex-instrumentation.version.txt", 30 name: "android-support-multidex-instrumentation", 36 ":android-support-multidex-instrumentation-version",
|
/frameworks/opt/setupwizard/library/ |
D | self.gradle | 5 apply from: '../tools/gradle/dist-library-instrumentation-tests.gradle' 23 manifest.srcFile 'test/instrumentation/AndroidManifest.xml' 24 java.srcDirs = ['test/instrumentation/src'] 25 res.srcDirs = ['test/instrumentation/res'] 44 'gingerbread/test/instrumentation/src', 45 'recyclerview/test/instrumentation/src' 47 res.srcDirs = ['recyclerview/test/instrumentation/res']
|
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
D | TestUtil.java | 50 TestResultInstrumentation instrumentation, in setupMtpDevice() argument 56 waitForStorages(instrumentation, manager, device.getDeviceId()); in setupMtpDevice() 59 instrumentation.show(Objects.toString(exp.getMessage())); in setupMtpDevice() 109 TestResultInstrumentation instrumentation, in waitForStorages() argument 124 instrumentation.show("Wait for storages."); in waitForStorages()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | InsetsSourceConsumerTest.java | 70 final Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); in setup() local 71 instrumentation.runOnMainSync(() -> { in setup() 72 final Context context = instrumentation.getTargetContext(); in setup() 83 instrumentation.waitForIdleSync(); in setup()
|
/frameworks/base/test-runner/src/android/test/ |
D | AndroidTestRunner.java | 211 Test test, Instrumentation instrumentation) { in setInstrumentationIfInstrumentationTestCase() argument 213 ((InstrumentationTestCase) test).injectInstrumentation(instrumentation); in setInstrumentationIfInstrumentationTestCase() 217 public void setInstrumentation(Instrumentation instrumentation) { in setInstrumentation() argument 218 mInstrumentation = instrumentation; in setInstrumentation() 226 public void setInstrumentaiton(Instrumentation instrumentation) { in setInstrumentaiton() argument 227 setInstrumentation(instrumentation); in setInstrumentaiton()
|
/frameworks/base/cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/testrunner/ |
D | InstrumentationAutomationSupport.java | 32 InstrumentationAutomationSupport(Instrumentation instrumentation) { in InstrumentationAutomationSupport() argument 33 mInstrumentation = instrumentation; in InstrumentationAutomationSupport()
|
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/util/ |
D | DrawingTestHelper.java | 42 final Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); in createCanvasActivity() local 46 instrumentation.newActivity( in createCanvasActivity() 57 instrumentation.callActivityOnCreate(activity, null); in createCanvasActivity()
|
/frameworks/base/ |
D | pathmap.mk | 28 multidex/instrumentation/src 44 android-support-multidex-instrumentation
|
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestAppTests2/ |
D | Android.mk | 21 LOCAL_STATIC_JAVA_LIBRARIES := android-support-multidex-instrumentation androidx.test.rules 44 LOCAL_STATIC_JAVA_LIBRARIES := android-support-multidex-instrumentation androidx.test.rules
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | OrientationUtil.java | 54 private OrientationUtil(Activity activity, Instrumentation instrumentation) { in OrientationUtil() argument 56 mInstrumentation = instrumentation; in OrientationUtil()
|
D | ListUtil.java | 35 public ListUtil(ListView listView, Instrumentation instrumentation) { in ListUtil() argument 37 mInstrumentation = instrumentation; in ListUtil()
|
/frameworks/base/packages/Shell/tests/src/com/android/shell/ |
D | UiBot.java | 44 public UiBot(Instrumentation instrumentation, int timeout) { in UiBot() argument 45 mInstrumentation = instrumentation; in UiBot() 46 mDevice = UiDevice.getInstance(instrumentation); in UiBot()
|
/frameworks/base/tests/FlickerTests/lib/src/com/android/server/wm/flicker/monitor/ |
D | WindowAnimationFrameStatsMonitor.java | 47 public WindowAnimationFrameStatsMonitor(Instrumentation instrumentation) { in WindowAnimationFrameStatsMonitor() argument 48 mInstrumentation = instrumentation; in WindowAnimationFrameStatsMonitor()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/instrumentation/ |
D | VisibilityLoggerMixin.java | 17 package com.android.settingslib.core.instrumentation; 19 import static com.android.settingslib.core.instrumentation.Instrumentable.METRICS_CATEGORY_UNKNOWN;
|
D | Instrumentable.java | 17 package com.android.settingslib.core.instrumentation;
|
/frameworks/base/tests/ActivityManagerPerfTests/ |
D | README.txt | 15 * If the test app is involved, it will measure the time and send it back to the instrumentation test 27 * Utilities that both the instrumentation test and test app can use 46 * The instrumentation test can collect that time by calling getReceivedTimeNs("tag") and 48 * Each timestamp sent to the instrumentation test is tagged with a tag since multiple timestamps
|
/frameworks/base/tests/GamePerformance/src/android/gameperformance/ |
D | ATraceRunner.java | 48 public ATraceRunner(Instrumentation instrumentation, in ATraceRunner() argument 53 mInstrumentation = instrumentation; in ATraceRunner()
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
D | EditTextTypeActivity.java | 60 final Instrumentation instrumentation = new Instrumentation(); in onCreate() local 95 instrumentation.sendKeyDownUpSync(code); in onCreate()
|
/frameworks/base/tools/bit/ |
D | aapt.cpp | 249 vector<Element*> instrumentation; in inspect_apk() local 250 root->FindElements("", "instrumentation", &instrumentation, true); in inspect_apk() 251 if (instrumentation.size() > 0) { in inspect_apk() 254 apk->runner = instrumentation[0]->GetAttr(ANDROID_NS, "name"); in inspect_apk()
|
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/ |
D | ManualBenchmarkState.java | 145 public void sendFullStatusReport(Instrumentation instrumentation, String key) { 156 instrumentation.sendStatus(Activity.RESULT_OK, status);
|