Home | History | Annotate | Download | only in metric

Lines Matching defs:device

17 package com.android.tradefed.device.metric;
21 import com.android.tradefed.device.DeviceNotAvailableException;
22 import com.android.tradefed.device.ITestDevice;
37 // Path of 32 bit test libs on target device.
39 // Path of 64 bit test libs on target device.
41 // Path of vts test directory on target device.
51 for (ITestDevice device : getDevices()) {
54 device.enableAdbRoot();
56 device.executeShellCommand("setenforce 0");
58 device.executeShellCommand(String.format("rm -rf %s/*.vts.trace", VTS_TMP_DIR));
59 device.executeShellCommand("chmod 777 " + VTS_TMP_DIR);
60 device.executeShellCommand("chmod 777 " + VTS_TMP_LIB_DIR_32);
61 device.executeShellCommand("chmod 777 " + VTS_TMP_LIB_DIR_64);
62 device.executeShellCommand(
76 for (ITestDevice device : getDevices()) {
79 pullTraceFiles(device, moduleName);
81 device.executeShellCommand(
84 device.executeShellCommand(String.format("rm -rf %s/*.vts.trace", VTS_TMP_DIR));
91 private void pullTraceFiles(ITestDevice device, String moduleName)
111 String out = device.executeShellCommand(String.format("ls %s/*.vts.trace", VTS_TMP_DIR));
116 device.pullFile(line, trace_file);