Home | History | Annotate | Download | only in targetprep

Lines Matching defs:device

22 import com.android.tradefed.device.DeviceNotAvailableException;
23 import com.android.tradefed.device.ITestDevice;
29 * A {@link ITargetPreparer} that pushes files from tests zip onto device, mark them as executable
30 * and invokes the binary or script on device. See also {@link TestFilePushSetup}.
42 + "'su' on device, typically only available on debug builds.")
49 public void setUp(ITestDevice device, IBuildInfo buildInfo)
56 super.setUp(device, buildInfo);
59 if (!device.doesFileExist(devicePath)) {
63 if (device.isDirectory(devicePath)) {
68 device.executeShellCommand(String.format("chmod 755 %s", devicePath));
74 device.executeShellCommand(devicePath, receiver,
77 device.waitForDeviceAvailable();