Home
last modified time | relevance | path

Searched refs:DeviceUtils (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/tools/preload2/src/com/android/preload/actions/
DRunMonkeyAction.java20 import com.android.preload.DeviceUtils;
93 DeviceUtils.doShell(device, "monkey -p " + pkg + " " + ITERATIONS, 1, in run()
114 DeviceUtils.doShell(device, "force-stop " + packageName, 5, TimeUnit.SECONDS); in forceStop()
115 DeviceUtils.doShell(device, "kill " + packageName, 5, TimeUnit.SECONDS); in forceStop()
116 DeviceUtils.doShell(device, "kill `pid " + packageName + "`", 5, TimeUnit.SECONDS); in forceStop()
/frameworks/base/tools/preload2/src/com/android/preload/
DMain.java182 DeviceUtils.init(DEFAULT_TIMEOUT_MILLIS); in initDevice()
184 IDevice devices[] = DeviceUtils.findDevices(DEFAULT_TIMEOUT_MILLIS); in initDevice()
207 String buildType = DeviceUtils.getBuildType(device); in initDevice()
213 if (DeviceUtils.hasPrebuiltBootImage(device)) { in initDevice()
220 DeviceUtils.enableTracing(device); in initDevice()
225 if (!DeviceUtils.removePreloaded(device, 15 * 60) /* 15m timeout */) { in initDevice()
DDeviceUtils.java33 public class DeviceUtils { class
133 DeviceUtils.doShellReturnString(device, "cat /etc/preloaded-classes", 1, TimeUnit.SECONDS); in removePreloaded()