| /platform_testing/tests/functional/externalstorage/src/com/android/functional/externalstoragetests/ |
| D | ExternalStorageHelper.java | 118 public String executeShellCommand(String command) { in executeShellCommand() method in ExternalStorageHelper 119 ParcelFileDescriptor pfd = mUiAutomation.executeShellCommand(command); in executeShellCommand() 144 executeShellCommand(String.format("dd if=/dev/zero of=%s/%s bs=1024 count=%d", in fillInStorage() 156 return Boolean.parseBoolean(executeShellCommand("sm has-adoptable").trim()); in hasAdoptable() 163 disks = executeShellCommand("sm list-disks adoptable"); in getAdoptionDisk() 174 return (null != executeShellCommand("sm list-volumes public")); in hasPublicVolume() 189 if (null != (lines = executeShellCommand("sm list-volumes " + volType).split("\n"))) { in getAdoptionVolumeInfo() 204 executeShellCommand(String.format("sm partition %s %s", getAdoptionDisk(), type)); in partitionDisk() 207 executeShellCommand("sm forget all"); in partitionDisk() 208 executeShellCommand(String.format("sm partition %s %s", getAdoptionDisk(), type)); in partitionDisk() [all …]
|
| D | AdoptableStorageTests.java | 195 storageHelper.executeShellCommand("pm move-package " + storageHelper.SETTINGS_PKG + " " in testTransferSystemApp() 204 storageHelper.executeShellCommand(String.format("sm partition %s %s", in tearDown() 207 storageHelper.executeShellCommand("sm forget all"); in tearDown()
|
| D | PortableStorageTests.java | 56 storageHelper.executeShellCommand(String.format( in testAdoptAsPortableViaUI() 60 storageHelper.executeShellCommand(String.format("sm forget all")); in testAdoptAsPortableViaUI()
|
| /platform_testing/tests/functional/applinktests/src/com/android/functional/applinktests/ |
| D | AppLinkTests.java | 192 executeShellCommand("pm clear " + TEST_PKG_NAME); in tearDown() 193 executeShellCommand("pm clear " + YOUTUBE_PKG_NAME); in tearDown() 194 executeShellCommand("pm set-app-link " + TEST_PKG_NAME + " undefined"); in tearDown() 195 executeShellCommand("pm set-app-link " + YOUTUBE_PKG_NAME + " always"); in tearDown() 204 String out = executeShellCommand(String.format( in openLink() 238 return executeShellCommand(String.format("pm get-app-link %s", pkgName)); in getAppLink() 243 executeShellCommand(String.format("pm set-app-link %s %s", pkgName, valueToBeSet)); in setAppLink() 247 private String executeShellCommand(String command) { in executeShellCommand() method in AppLinkTests 251 ParcelFileDescriptor pfd = mUiAutomation.executeShellCommand(command); in executeShellCommand()
|
| /platform_testing/tests/androidbvt/src/com/android/androidbvt/ |
| D | SysUIMultiUserTests.java | 67 cmdOut = mABvtHelper.executeShellCommand("pm list users"); in testMultiUserCreate() 71 cmdOut = mABvtHelper.executeShellCommand("pm create-user test"); in testMultiUserCreate() 86 cmdOut = mABvtHelper.executeShellCommand("pm list users"); in testMultiUserCreate() 120 cmdOut = mABvtHelper.executeShellCommand("pm remove-user " + secondUserId); in testMultiUserCreate()
|
| D | SysUIMultiWindowTests.java | 74 List<String> cmdOut = mABvtHelper.executeShellCommand("am stack list"); in testLaunchInMultiwindow() 85 mUiAutomation.executeShellCommand( in testLaunchInMultiwindow() 105 mUiAutomation.executeShellCommand( in testLaunchInMultiwindow()
|
| D | AndroidBvtHelper.java | 95 public List<String> executeShellCommand(String cmd) { in executeShellCommand() method in AndroidBvtHelper 100 ParcelFileDescriptor pfd = mUiAutomation.executeShellCommand(cmd); in executeShellCommand() 153 executeShellCommand(cmd); in removeDir()
|
| D | PlayStoreDownloadTests.java | 97 mABvtHelper.executeShellCommand(cmd); in uninstallFromPlayStore()
|
| D | SysBugReportTests.java | 95 results = mABvtHelper.executeShellCommand(BUGREPORT_CHECK); in isBugReportGenerated()
|
| D | SysUILockScreenTests.java | 182 mDevice.executeShellCommand(command); in unlockScreen()
|
| /platform_testing/tests/jank/ime_wear/src/com/android/wearable/ime/janktests/ |
| D | IMEJankTestsHelper.java | 175 mDevice.executeShellCommand(String.format(ENABLE_IME_CMD, KEYBOARD_ID)); in activateIMEKeyboard() 176 mDevice.executeShellCommand(String.format(SET_IME_CMD, KEYBOARD_ID)); in activateIMEKeyboard() 185 mDevice.executeShellCommand(String.format(ENABLE_IME_CMD, HANDWRITING_ID)); in activateIMEHandwriting() 186 mDevice.executeShellCommand(String.format(SET_IME_CMD, HANDWRITING_ID)); in activateIMEHandwriting()
|
| /platform_testing/tests/perf/PowerPerfTest/src/com/android/powerperf/tests/ |
| D | PowerPerfTest.java | 49 String result = getUiDevice().executeShellCommand(mScriptFilePath); in testPowerPerf()
|
| /platform_testing/tests/perf/PerformanceAppTest/src/com/android/performanceapp/tests/ |
| D | AppLaunchTests.java | 149 .executeShellCommand(ATRACE_START)); in testAppLaunchPerformance() 175 getInstrumentation().getUiAutomation().executeShellCommand(ATRACE_DUMP); in testAppLaunchPerformance() 196 … getInstrumentation().getUiAutomation().executeShellCommand(ATRACE_STOP)); in testAppLaunchPerformance() 202 getInstrumentation().getUiAutomation().executeShellCommand( in testAppLaunchPerformance()
|
| /platform_testing/libraries/aupt-lib/src/android/support/test/aupt/ |
| D | GraphicsStatsMonitor.java | 190 executeShellCommand(String.format("dumpsys gfxinfo %s reset", stat.packageName)); in clearGraphicsStats() 202 BufferedReader stream = executeShellCommand("dumpsys graphicsstats"); in gatherGraphicsStats() 295 public BufferedReader executeShellCommand (String command) { in executeShellCommand() method in GraphicsStatsMonitor 296 ParcelFileDescriptor stdout = getUiAutomation().executeShellCommand(command); in executeShellCommand()
|
| D | ProcessStatusTracker.java | 190 BufferedReader stream = executeShellCommand("ps"); in getRunningAppProcesses() 231 public BufferedReader executeShellCommand (String command) { in executeShellCommand() method in ProcessStatusTracker 232 ParcelFileDescriptor stdout = getUiAutomation().executeShellCommand(command); in executeShellCommand()
|
| D | DataCollector.java | 329 mInstrumentation.getUiAutomation().executeShellCommand(command); in saveProcessOutput()
|
| /platform_testing/tests/jank/UbSystemUiJankTests/src/android/platform/systemui/tests/jank/ |
| D | SystemUiJankTests.java | 137 mDevice.executeShellCommand("am force-stop " + pkg); in forceStopPackages() 193 mDevice.executeShellCommand(DISABLE_COMMAND + GMAIL_PACKAGE_NAME); in blockNotifications() 197 mDevice.executeShellCommand(ENABLE_COMMAND + GMAIL_PACKAGE_NAME); in unblockNotifications()
|
| /platform_testing/libraries/chrome-app-helper/src/android/platform/test/helpers/ |
| D | ChromeHelperImpl.java | 61 mDevice.executeShellCommand("getprop dev.chrome.package"); in getPackage() 83 mDevice.executeShellCommand("getprop dev.chrome.name"); in getLauncherName()
|
| /platform_testing/tests/functional/permission/src/com/android/functional/permissiontests/ |
| D | PermissionHelper.java | 77 ParcelFileDescriptor pfd = mUiAutomation.executeShellCommand("pm list permissions -g -d"); in populateDangerousPermissionGroupInfo() 326 mUiAutomation.executeShellCommand(command); in grantOrRevokePermissionViaAdb() 417 mUiAutomation.executeShellCommand(String.format("pm clear %s", packageName)); in cleanPackage()
|
| /platform_testing/tests/jank/uibench_wear/src/com/android/wearable/uibench/janktests/ |
| D | UiBenchJankTestsHelper.java | 163 mDevice.executeShellCommand(String.format(cmd, KEYBOARD_SERVICE_NAME)); in enableKeyboardIME()
|
| /platform_testing/tests/functional/notificationtests/src/com/android/notification/functional/ |
| D | NotificationHelper.java | 153 mInst.getUiAutomation().executeShellCommand(command); in executeAdbCommand()
|