Home
last modified time | relevance | path

Searched refs:runShellCommand (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/tests/BackgroundDexOptServiceIntegrationTests/src/com/android/server/pm/
DBackgroundDexOptServiceIntegrationTests.java144 private static String runShellCommand(String cmd) throws IOException { in runShellCommand() method in BackgroundDexOptServiceIntegrationTests
163 return runShellCommand(cmd).split("\n"); in runShellCommandSplitLines()
195 runShellCommand(cmd); in fillUpStorage()
206 String result = runShellCommand("cmd package bg-dexopt-job " + PACKAGE_NAME); in runBackgroundDexOpt()
237 runShellCommand("df -h /data"); in logSpaceRemaining()
242 runShellCommand(String.format("cmd package compile -f -m %s %s", filter, pkg)); in compilePackageWithFilter()
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
DSettingsHelper.java45 ShellHelper.runShellCommand("settings put %s %s %s default", namespace, key, value); in set()
76 ShellHelper.runShellCommand("settings delete %s %s", namespace, key); in delete()
103 return ShellHelper.runShellCommand("settings get %s %s", namespace, key); in get()
DShellHelper.java37 public static String runShellCommand(@NonNull String template, Object...args) { in runShellCommand() method in ShellHelper
/frameworks/base/tests/FlickerTests/lib/src/com/android/server/wm/flicker/monitor/
DTraceMonitor.java19 import static com.android.compatibility.common.util.SystemUtil.runShellCommand;
58 runShellCommand(copyCommand); in save()
DScreenRecorder.java19 import static com.android.compatibility.common.util.SystemUtil.runShellCommand;
61 runShellCommand("killall -s 2 screenrecord"); in stop()
/frameworks/base/tests/ActivityManagerPerfTests/utils/src/com/android/frameworks/perftests/am/util/
DUtils.java33 runShellCommand("am wait-for-broadcast-idle"); in drainBroadcastQueue()
39 public static String runShellCommand(String cmd) { in runShellCommand() method in Utils
/frameworks/base/tests/ServiceCrashTest/src/com/android/tests/servicecrashtest/
DServiceCrashTest.java56 SystemUtil.runShellCommand(getInstrumentation(), in setAMConstants()
59 SystemUtil.runShellCommand(getInstrumentation(), "settings put global " in setAMConstants()
/frameworks/base/tests/FlickerTests/lib/src/com/android/server/wm/flicker/
DAutomationUtils.java23 import static com.android.compatibility.common.util.SystemUtil.runShellCommand;
240 runShellCommand("am force-stop " + packageName); in stopPackage()
257 final String result = runShellCommand( in targetPackageIsRunning()
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
DBenchmarkRunner.java75 ShellHelper.runShellCommand("am wait-for-broadcast-idle"); in prepareForNextRun()
/frameworks/base/tests/ActivityManagerPerfTests/tests/src/com/android/frameworks/perftests/am/util/
DTargetPackageUtils.java91 final String result = Utils.runShellCommand( in targetPackageIsRunning()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DSysuiTestCase.java95 protected void runShellCommand(String command) throws IOException { in runShellCommand() method in SysuiTestCase