HomeSort by relevance Sort by last modified time
    Searched refs:TestDevice (Results 1 - 17 of 17) sorted by null

  /cts/tools/host/src/com/android/cts/
DeviceObserver.java 32 * Notify after installing apk complete on the {@link TestDevice}
40 * Notify after uninstalling apk complete on the {@link TestDevice}.
47 * Notify after installing apk timeout on the {@link TestDevice}
49 * @param testDevice the {@link TestDevice} whose install action timeout.
51 void notifyInstallingTimeout(final TestDevice testDevice);
56 * @param testDevice the {@link TestDevice} whose install action timeout
58 void notifyUninstallingTimeout(final TestDevice testDevice)
    [all...]
DeviceManager.java 43 ArrayList<TestDevice> mDevices;
48 mDevices = new ArrayList<TestDevice>();
78 public TestDevice[] allocateDevices(final int num) throws DeviceNotAvailableException {
80 ArrayList<TestDevice> deviceList;
81 TestDevice td;
92 deviceList = new ArrayList<TestDevice>();
96 if (td.getStatus() == TestDevice.STATUS_IDLE) {
105 return deviceList.toArray(new TestDevice[num]);
109 * Get TestDevice list that available for executing tests.
113 public final TestDevice[] getDeviceList()
    [all...]
TestCase.java 194 public void run(final TestDevice device) throws DeviceDisconnectedException,
212 public void run(final TestDevice device, final Test test)
234 public void notifyInstallingTimeout(final TestDevice testDevice) {
236 mCurrentTest.notifyInstallingTimeout(testDevice);
241 public void notifyUninstallingTimeout(final TestDevice testDevice) {
243 mCurrentTest.notifyUninstallingTimeout(testDevice);
SignatureCheckPackage.java 75 public void run(final TestDevice device, final String javaPkgName,
103 public ArrayList<String> startSignatureTest(TestDevice device)
137 private void runSignatureTestCommand(TestDevice device)
156 private final TestDevice device;
158 public SignatureTestResultObserver(TestDevice td) {
195 Matcher matcher = TestDevice.INSTRUMENT_RESULT_PATTERN.matcher(res);
ReferenceAppTestPackage.java 81 public void run(final TestDevice device, final String javaPkgName,
147 private void runTests(final TestDevice device,
188 private void takeSnapshot(TestDevice device,
226 private final TestDevice device;
228 public ReferenceAppResultsObserver(TestDevice td) {
Test.java 39 protected TestDevice mDevice;
320 public void run(final TestDevice device) throws DeviceDisconnectedException,
406 public void notifyInstallingTimeout(final TestDevice testDevice) {
410 public void notifyUninstallingTimeout(final TestDevice testDevice) {
TestSuite.java 271 public void run(final TestDevice device, final String javaPkgName)
301 public void run(final TestDevice device, final Test test)
334 public void notifyInstallingTimeout(final TestDevice testDevice) {
336 mCurrentTestCase.notifyInstallingTimeout(testDevice);
340 mCurrentSubSuite.notifyInstallingTimeout(testDevice);
345 public void notifyUninstallingTimeout(final TestDevice testDevice) {
347 mCurrentTestCase.notifyUninstallingTimeout(testDevice);
351 mCurrentSubSuite.notifyUninstallingTimeout(testDevice);
    [all...]
TestHost.java 447 * Run the specified {@link TestSession} on the specified {@link TestDevice}(s)
450 * @param deviceId the ID of the specified {@link TestDevice}
466 TestDevice device = sDeviceManager.allocateFreeDeviceById(deviceId);
593 * List the ID, name and status of all {@link TestDevice} which connected to
596 * @return a string list of {@link TestDevice}'s id, name and status.
600 TestDevice[] devices = sDeviceManager.getDeviceList();
602 for (TestDevice device : devices) {
613 public TestDevice[] getDeviceList() {
622 public TestDevice getFirstAvailableDevice() {
623 for (TestDevice td : sDeviceManager.getDeviceList())
    [all...]
TestPackage.java 67 protected TestDevice mDevice;
594 public void notifyInstallingTimeout(final TestDevice testDevice) {
601 genPackageActionTimeoutCause(testDevice, "Installing");
605 public void notifyUninstallingTimeout(final TestDevice testDevice) {
612 genPackageActionTimeoutCause(testDevice, "Uninstalling");
618 * @param testDevice The {@link TestDevice} which got timeout.
621 private void genPackageActionTimeoutCause(final TestDevice testDevice, String type)
    [all...]
TestSession.java 29 private TestDevice mDevice;
155 public TestDevice getDevice() {
330 * Set the {@link TestDevice} which will run the test.
332 * @param device The {@link TestDevice} will run the test.
334 public void setTestDevice(final TestDevice device) {
TestDevice.java 59 public class TestDevice implements DeviceObserver {
136 TestDevice(final String serialNumber) {
141 public TestDevice(IDevice device) {
198 * Return the Device instance associated with this TestDevice.
843 * Get the serial number of the {@link TestDevice}.
845 * @return the serial number of the {@link TestDevice}
1055 private TestDevice mTargetDevice;
1061 * @param testDevice the {@TestDevice} which got the timeout.
1064 TestDevice testDevice)
    [all...]
ConsoleUi.java 501 TestDevice td = mHost.getFirstAvailableDevice();
604 public boolean checkDeviceExists(TestDevice[] availableDevices, String specifiedId) {
605 for (TestDevice dev : availableDevices) {
620 public int getDeviceId(TestDevice[] availableDevices, String idStr) {
622 TestDevice dev = availableDevices[i];
    [all...]
TestSessionLog.java 19 import com.android.cts.TestDevice.DeviceParameterCollector;
117 mDeviceParameterBase = new ArrayList<TestDevice.DeviceParameterCollector>();
602 public void setDeviceInfo(final TestDevice.DeviceParameterCollector dInfo) {
  /cts/tools/host/test/com/android/cts/
DeviceManagerTests.java 24 private TestDevice d1, d2, d3;
32 d1 = new TestDevice(d1SerialNumber);
33 d2 = new TestDevice(d2SerialNumber);
34 d3 = new TestDevice(d3SerialNumber);
48 TestDevice[] devices;
82 d1.setStatus(TestDevice.STATUS_BUSY);
83 d3.setStatus(TestDevice.STATUS_OFFLINE);
100 TestDevice[] devices;
119 d1.setStatus(TestDevice.STATUS_BUSY);
120 d2.setStatus(TestDevice.STATUS_OFFLINE)
    [all...]
ConsoleTests.java 512 ArrayList<TestDevice> devList = new ArrayList<TestDevice>();
513 devList.add(new TestDevice("dev-100"));
514 devList.add(new TestDevice("dev-101"));
515 TestDevice[] devices = devList.toArray(new TestDevice[4]);
TestSessionBuilderTests.java 39 import com.android.cts.TestDevice.DeviceParameterCollector;
    [all...]
  /prebuilt/common/tradefed/
tradefed-prebuilt.jar 

Completed in 70 milliseconds