Home
last modified time | relevance | path

Searched refs:idevice (Results 1 – 10 of 10) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/device/
DManagedTestDeviceFactory.java71 public IManagedTestDevice createDevice(IDevice idevice) { in createDevice() argument
73 if (idevice instanceof VmRemoteDevice) { in createDevice()
76 idevice, in createDevice()
77 new DeviceStateMonitor(mDeviceManager, idevice, mFastbootEnabled), in createDevice()
80 } else if (idevice instanceof RemoteAvdIDevice) { in createDevice()
83 idevice, in createDevice()
84 new DeviceStateMonitor(mDeviceManager, idevice, mFastbootEnabled), in createDevice()
87 } else if (idevice instanceof StubLocalAndroidVirtualDevice) { in createDevice()
91 idevice, in createDevice()
92 new DeviceStateMonitor(mDeviceManager, idevice, mFastbootEnabled), in createDevice()
[all …]
DManagedDeviceList.java227 public IManagedTestDevice findOrCreate(IDevice idevice) {
228 if (!isValidDeviceSerial(idevice.getSerialNumber())) {
233 IManagedTestDevice d = find(idevice.getSerialNumber());
236 d = mDeviceFactory.createDevice(idevice);
DNativeDevice.java4518 IDevice idevice = getIDevice(); in getDeviceDescriptor() local
4521 if (idevice instanceof NullDevice) { in getDeviceDescriptor()
4522 isTemporary = ((NullDevice) idevice).isTemporary(); in getDeviceDescriptor()
4527 idevice.getSerialNumber(), in getDeviceDescriptor()
4529 idevice instanceof StubDevice, in getDeviceDescriptor()
4530 idevice.getState(), in getDeviceDescriptor()
4533 getDisplayString(selector.getDeviceProductType(idevice)), in getDeviceDescriptor()
4534 getDisplayString(selector.getDeviceProductVariant(idevice)), in getDeviceDescriptor()
4535 getDisplayString(idevice.getProperty(DeviceProperties.SDK_VERSION)), in getDeviceDescriptor()
4536 getDisplayString(idevice.getProperty(DeviceProperties.BUILD_ALIAS)), in getDeviceDescriptor()
[all …]
/tools/tradefederation/core/remote/src/com/android/tradefed/command/remote/
DDeviceDescriptor.java96 IDevice idevice) { in DeviceDescriptor() argument
114 idevice); in DeviceDescriptor()
131 IDevice idevice) { in DeviceDescriptor() argument
149 idevice); in DeviceDescriptor()
169 IDevice idevice) { in DeviceDescriptor() argument
186 mIDevice = idevice; in DeviceDescriptor()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DMockDeviceManager.java121 IDevice idevice) { in setNumDevicesStub() argument
122 if (idevice instanceof TcpDevice) { in setNumDevicesStub()
124 } else if (idevice instanceof NullDevice) { in setNumDevicesStub()
126 } else if (idevice instanceof StubDevice) { in setNumDevicesStub()
134 IDevice mockIDevice = idevice; in setNumDevicesStub()
DDeviceManagerTest.java181 public IManagedTestDevice createDevice(IDevice idevice) { in setUp()
182 mMockTestDevice.setIDevice(idevice); in setUp()
1008 public IManagedTestDevice createDevice(IDevice idevice) { in testFreeDevice_unavailable()
1009 mMockTestDevice.setIDevice(idevice); in testFreeDevice_unavailable()
1069 public IManagedTestDevice createDevice(IDevice idevice) { in testFreeDevice_recovery()
1070 mMockTestDevice.setIDevice(idevice); in testFreeDevice_recovery()
1134 public IManagedTestDevice createDevice(IDevice idevice) { in testFreeDevice_unknown()
1135 mMockTestDevice.setIDevice(idevice); in testFreeDevice_unknown()
1199 public IManagedTestDevice createDevice(IDevice idevice) { in testFreeDevice_unknown_subName()
1200 mMockTestDevice.setIDevice(idevice); in testFreeDevice_unknown_subName()
/tools/tradefederation/core/src/com/android/tradefed/device/battery/
DBatteryController.java59 IDevice idevice = device.getIDevice(); in getDeviceChargingState() local
60 if (idevice instanceof StubDevice) { in getDeviceChargingState()
/tools/tradefederation/core/src/com/android/tradefed/device/helper/
DTelephonyHelper.java158 private static IRemoteAndroidTestRunner createTestRunner(IDevice idevice) { in createTestRunner() argument
159 return new DefaultRemoteAndroidTestRunner(PACKAGE_NAME, AJUR_RUNNER, idevice); in createTestRunner()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DInvocationExecution.java657 IDevice idevice = device.getIDevice(); in reportLogs() local
659 if (!(idevice instanceof StubDevice)) { in reportLogs()
670 if (idevice != null && idevice.isEmulator()) { in reportLogs()
/tools/tradefederation/core/tests/res/testdata/
Dtradefed-prebuilt-cts-8.0_r21.jarMETA-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...