Searched refs:doShell (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/tools/preload2/src/com/android/preload/ |
D | DeviceUtils.java | 65 public static void doShell(IDevice device, String cmdline, long timeout, TimeUnit unit) { in doShell() method in DeviceUtils 66 doShell(device, cmdline, new NullShellOutputReceiver(), timeout, unit); in doShell() 75 doShell(device, cmdline, rec, timeout, unit); in doShellReturnString() 82 public static void doShell(IDevice device, String cmdline, IShellOutputReceiver receiver, in doShell() method in DeviceUtils 95 doShell(device, "am start -n " + name + " /." + activity, 30, TimeUnit.SECONDS); in doAMStart() 166 doShell(device, STOP_SHELL_CMD, 1, TimeUnit.SECONDS); in overwritePreloaded() 168 doShell(device, REMOUNT_SYSTEM_CMD, 1, TimeUnit.SECONDS); in overwritePreloaded() 170 doShell(device, DELETE_PRELOADED_CMD, 1, TimeUnit.SECONDS); in overwritePreloaded() 172 doShell(device, DELETE_CACHE_CMD, 1, TimeUnit.SECONDS); in overwritePreloaded() 175 doShell(device, CREATE_EMPTY_PRELOADED_CMD, 500, TimeUnit.MILLISECONDS); in overwritePreloaded() [all …]
|
/frameworks/base/tools/preload2/src/com/android/preload/actions/ |
D | RunMonkeyAction.java | 98 DeviceUtils.doShell(device, "monkey -p " + pkg + " " + ITERATIONS, 1, in run() 119 DeviceUtils.doShell(device, "force-stop " + packageName, 5, TimeUnit.SECONDS); in forceStop() 120 DeviceUtils.doShell(device, "kill " + packageName, 5, TimeUnit.SECONDS); in forceStop() 121 DeviceUtils.doShell(device, "kill `pid " + packageName + "`", 5, TimeUnit.SECONDS); in forceStop()
|