| /platform_testing/libraries/system-helpers/commands-helper/src/android/system/helpers/ |
| D | CommandsHelper.java | 76 public String executeShellCommand(String command) { in executeShellCommand() method in CommandsHelper 78 return UiDevice.getInstance(mInstrumentation).executeShellCommand(command); in executeShellCommand() 95 return Arrays.asList(executeShellCommand(command).split(separatorChars)); in executeShellCommandAndSplitOutput() 105 return getInstance().executeShellCommand(command); in execute()
|
| /platform_testing/tests/functional/applinktests/src/com/android/functional/applinktests/ |
| D | AppLinkTests.java | 204 executeShellCommand("pm clear " + TEST_PKG_NAME); in tearDown() 205 executeShellCommand("pm clear " + YOUTUBE_PKG_NAME); in tearDown() 206 executeShellCommand("pm set-app-link " + TEST_PKG_NAME + " undefined"); in tearDown() 207 executeShellCommand("pm set-app-link " + YOUTUBE_PKG_NAME + " always"); in tearDown() 216 String out = executeShellCommand(String.format( in openLink() 250 return executeShellCommand(String.format("pm get-app-link %s", pkgName)); in getAppLink() 255 executeShellCommand(String.format("pm set-app-link %s %s", pkgName, valueToBeSet)); in setAppLink() 259 private String executeShellCommand(String command) { in executeShellCommand() method in AppLinkTests 263 ParcelFileDescriptor pfd = mUiAutomation.executeShellCommand(command); in executeShellCommand()
|
| /platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/ |
| D | AutoLauncherStrategy.java | 80 CommandsHelper.getInstance(mInstrumentation).executeShellCommand( in openMediaFacet() 104 CommandsHelper.getInstance(mInstrumentation).executeShellCommand( in openMapsFacet() 116 CommandsHelper.getInstance(mInstrumentation).executeShellCommand( in openApp()
|
| /platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/ |
| D | LockscreenHelper.java | 218 mDevice.executeShellCommand(command); in unlockScreen() 223 mDevice.executeShellCommand(command); in unlockScreen() 253 mCommandsHelper.executeShellCommand(String.format(SET_PIN_COMMAND, passcode)); in setScreenLockViaShell() 256 mCommandsHelper.executeShellCommand(String.format(SET_PASSWORD_COMMAND, passcode)); in setScreenLockViaShell() 259 mCommandsHelper.executeShellCommand(String.format(SET_PATTERN_COMMAND, passcode)); in setScreenLockViaShell() 270 mCommandsHelper.executeShellCommand(String.format(CLEAR_COMMAND, pwd)); in removeScreenLockViaShell()
|
| D | OverviewHelper.java | 139 mCommandsHelper.executeShellCommand("am force-stop " + pkg); in forceStopPackages()
|
| /platform_testing/tests/perf/PerfTransitionTest/src/com/android/apptransition/tests/ |
| D | LatencyTests.java | 185 mDevice.executeShellCommand(FINGERPRINT_WAKE_FAKE_COMMAND); in testFingerprintWakeAndUnlock() 215 mDevice.executeShellCommand(TURN_ON_SCREEN_COMMAND); in testScreenTurnOn() 271 mDevice.executeShellCommand(String.format(AM_START_COMMAND_TEMPLATE, in testRotationLatency() 312 mDevice.executeShellCommand(String.format(AM_START_COMMAND_TEMPLATE, in testAppToRecents() 341 mDevice.executeShellCommand(String.format(AM_START_COMMAND_TEMPLATE, in testSettingsSearch()
|
| D | AppTransitionTests.java | 202 .executeShellCommand(DROP_CACHE_SCRIPT); in testColdLaunchFromLauncher() 222 .executeShellCommand(DROP_CACHE_SCRIPT); in testColdLaunchFromLauncher() 476 .executeShellCommand(DROP_CACHE_SCRIPT); in cleanTestApps() 581 .executeShellCommand(launchCmd); in run() 647 getInstrumentation().getUiAutomation().executeShellCommand( in closeApps()
|
| /platform_testing/tests/perf/PowerPerfTest/src/com/android/powerperf/tests/ |
| D | PowerPerfTest.java | 49 String result = getUiDevice().executeShellCommand(mScriptFilePath); in testPowerPerf()
|
| /platform_testing/libraries/system-helpers/package-helper/src/android/system/helpers/ |
| D | PackageHelper.java | 53 cmdHelper.executeShellCommand(String.format("pm clear %s", packageName)); in cleanPackage()
|
| /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 | 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 | FilesystemUtil.java | 56 ParcelFileDescriptor pfd = instr.getUiAutomation().executeShellCommand(command); in saveProcessOutput()
|
| D | AuptTestRunner.java | 349 AuptTestRunner.this.getUiAutomation().executeShellCommand( 354 AuptTestRunner.this.getUiAutomation().executeShellCommand( 692 AuptTestRunner.this.getUiAutomation().executeShellCommand(command);
|
| /platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/ |
| D | BatteryStatsListener.java | 185 automation.executeShellCommand(CMD_DUMPSYS)); in dumpBatteryStats() 211 automation.executeShellCommand(CMD_DUMPSYS_RESET)); in resetBatteryStats()
|
| D | BaseMetricListener.java | 246 getInstrumentation().getUiAutomation().executeShellCommand(command)); in executeCommandBlocking()
|
| /platform_testing/utils/dpad/src/android/platform/test/utils/ |
| D | DPadUtil.java | 142 mDevice.executeShellCommand(String.format("input keyevent --longpress %d", keyCode)); in longPressKeyCode()
|
| /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/jank/UbSystemUiJankTests/src/android/platform/systemui/tests/jank/ |
| D | SystemUiJankTests.java | 283 mDevice.executeShellCommand(DISABLE_COMMAND + GMAIL_PACKAGE_NAME); in blockNotifications() 287 mDevice.executeShellCommand(ENABLE_COMMAND + GMAIL_PACKAGE_NAME); in unblockNotifications() 798 mDevice.executeShellCommand(PULSE_COMMAND); in testAmbientWakeUp() 939 mDevice.executeShellCommand(command); in testPinAppearance() 958 mDevice.executeShellCommand("am force-stop " + SETTINGS_PACKAGE); in afterLaunchSettingsLoop()
|
| /platform_testing/libraries/system-helpers/permission-helper/src/android/system/helpers/ |
| D | PermissionHelper.java | 106 ParcelFileDescriptor pfd = mUiAutomation.executeShellCommand("pm list permissions -g -d"); in populateDangerousPermissionGroupInfo() 350 mUiAutomation.executeShellCommand(command); in grantOrRevokePermissionViaAdb()
|
| /platform_testing/utils/wifistrengthscanner/src/com/android/test/util/wifistrengthscanner/ |
| D | WifiStrengthScannerInstrumentation.java | 172 ParcelFileDescriptor pfd = getUiAutomation().executeShellCommand(cmd); in executeCommand()
|
| /platform_testing/tests/functional/notificationtests/src/com/android/notification/functional/ |
| D | NotificationHelper.java | 112 mInst.getUiAutomation().executeShellCommand(command); in executeAdbCommand()
|
| D | NotificationInteractionTests.java | 313 mDevice.executeShellCommand(command); in setAppOpsMode()
|