Searched refs:runShellCommand (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/tests/BackgroundDexOptServiceIntegrationTests/src/com/android/server/pm/ |
D | BackgroundDexOptServiceIntegrationTests.java | 144 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/ |
D | SettingsHelper.java | 45 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()
|
D | ShellHelper.java | 37 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/ |
D | TraceMonitor.java | 19 import static com.android.compatibility.common.util.SystemUtil.runShellCommand; 58 runShellCommand(copyCommand); in save()
|
D | ScreenRecorder.java | 19 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/ |
D | Utils.java | 33 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/ |
D | ServiceCrashTest.java | 56 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/ |
D | AutomationUtils.java | 23 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/ |
D | BenchmarkRunner.java | 75 ShellHelper.runShellCommand("am wait-for-broadcast-idle"); in prepareForNextRun()
|
/frameworks/base/tests/ActivityManagerPerfTests/tests/src/com/android/frameworks/perftests/am/util/ |
D | TargetPackageUtils.java | 91 final String result = Utils.runShellCommand( in targetPackageIsRunning()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
D | SysuiTestCase.java | 95 protected void runShellCommand(String command) throws IOException { in runShellCommand() method in SysuiTestCase
|