/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
D | ManagedDeviceListTest.java | 61 ITestDevice d = mManagedDeviceList.findOrCreate(new StubDevice("foo")); in testFindOrCreate() 66 assertEquals(d, mManagedDeviceList.findOrCreate(new StubDevice("foo"))); in testFindOrCreate() 75 assertNull(mManagedDeviceList.findOrCreate(new StubDevice("????"))); in testFindOrCreate_invalidSerial() 84 IManagedTestDevice d = mManagedDeviceList.findOrCreate(new StubDevice("foo")); in testAllocate() 100 IManagedTestDevice d = mManagedDeviceList.findOrCreate(new StubDevice("foo")); in testHandleDeviceEvent()
|
D | DeviceSelectionOptionsTest.java | 312 IDevice emulatorDevice = new StubDevice("emulator", true); 319 IDevice emulatorDevice = new StubDevice("emulator", true); 630 IDevice gceDevice = new StubDevice("stub-device:0"); 641 IDevice gceDevice = new StubDevice("stub-device:0");
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/python/ |
D | PythonBinaryHostTestTest.java | 21 import com.android.tradefed.device.StubDevice; 105 EasyMock.expect(mMockDevice.getIDevice()).andReturn(new StubDevice("serial")); in testRun() 145 EasyMock.expect(mMockDevice.getIDevice()).andReturn(new StubDevice("serial")); in testRun_withAdbPath() 175 EasyMock.expect(mMockDevice.getIDevice()).andReturn(new StubDevice("serial")); in testRunFail_exception() 220 EasyMock.expect(mMockDevice.getIDevice()).andReturn(new StubDevice("serial")); in testRunFail_failureOnly()
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | DeviceSelectionOptions.java | 48 LOCAL_EMULATOR(StubDevice.class), 221 && (!(device instanceof StubDevice) || (device instanceof FastbootDevice))) { in getSerials() 497 && (!(device instanceof StubDevice) || (device instanceof FastbootDevice))) { in matches() 522 && (!(device instanceof StubDevice) || (device instanceof FastbootDevice))) { in matches() 568 if (device.isEmulator() && (device instanceof StubDevice) && !stubEmulatorRequested()) { in checkDeviceTypeRequested()
|
D | StubDevice.java | 47 public class StubDevice implements IDevice { class 52 public StubDevice(String serial) { in StubDevice() method in StubDevice 56 public StubDevice(String serial, boolean isEmulator) { in StubDevice() method in StubDevice
|
D | ManagedTestDeviceFactory.java | 127 } else if (idevice instanceof StubDevice) { in createDevice() 139 if (idevice instanceof StubDevice) { in checkFrameworkSupport()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/binary/ |
D | ExecutableHostTest.java | 26 import com.android.tradefed.device.StubDevice; 105 if (!(mDevice.getIDevice() instanceof StubDevice)) { in runBinary() 126 if (!(mDevice.getIDevice() instanceof StubDevice)) { in runBinary()
|
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/ |
D | VmRemoteDevice.java | 18 import com.android.tradefed.device.StubDevice; 21 public class VmRemoteDevice extends StubDevice {
|
D | ManagedRemoteDevice.java | 23 import com.android.tradefed.device.StubDevice; 94 if (!(getIDevice() instanceof StubDevice)) { in postInvocationTearDown()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/junit4/ |
D | BaseHostJUnit4TestTest.java | 30 import com.android.tradefed.device.StubDevice; 174 EasyMock.expect(mMockDevice.getIDevice()).andReturn(new StubDevice("serial")); in testRunDeviceTests() 235 EasyMock.expect(mMockDevice.getIDevice()).andReturn(new StubDevice("serial")); in testRunDeviceTests_asUser() 305 EasyMock.expect(mMockDevice.getIDevice()).andReturn(new StubDevice("serial")); in testRunDeviceTests_crashedInstrumentation()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/module/ |
D | CarModuleController.java | 20 import com.android.tradefed.device.StubDevice; 32 if (device.getIDevice() instanceof StubDevice) { in shouldRun()
|
D | MinSdkModuleController.java | 21 import com.android.tradefed.device.StubDevice; 43 if (device.getIDevice() instanceof StubDevice) { in shouldRun()
|
D | NativeBridgeModuleController.java | 20 import com.android.tradefed.device.StubDevice; 38 if (device.getIDevice() instanceof StubDevice) { in shouldRun()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/token/ |
D | TelephonyTokenProvider.java | 20 import com.android.tradefed.device.StubDevice; 30 if (device.getIDevice() instanceof StubDevice) { in hasToken()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/host/ |
D | PrettyTestEventLogger.java | 21 import com.android.tradefed.device.StubDevice; 81 if (!(device.getIDevice() instanceof StubDevice)) { in logOnAllDevices()
|
/tools/tradefederation/core/src/com/android/tradefed/build/ |
D | BootstrapBuildProvider.java | 23 import com.android.tradefed.device.StubDevice; 106 if (!(device.getIDevice() instanceof StubDevice)) { in getBuild()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/build/ |
D | BootstrapBuildProviderTest.java | 22 import com.android.tradefed.device.StubDevice; 71 EasyMock.expect(mMockDevice.getIDevice()).andReturn(new StubDevice("serial")); in testGetBuild_stubDevice()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | TestInvocation.java | 29 import com.android.tradefed.device.StubDevice; 490 if (device.getIDevice() instanceof StubDevice) { in takeBugreport() 537 if (testDevice.getIDevice() instanceof StubDevice) { in logDeviceBatteryLevel() 671 if (!(context.getDevice(deviceName).getIDevice() instanceof StubDevice)) { in invoke() 765 if (!(context.getDevice(deviceName).getIDevice() instanceof StubDevice)) { in invoke()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/module/ |
D | CarModuleControllerTest.java | 23 import com.android.tradefed.device.StubDevice; 60 EasyMock.expect(mMockDevice.getIDevice()).andReturn(new StubDevice("serial")); in testStubDevice()
|
D | NativeBridgeModuleControllerTest.java | 23 import com.android.tradefed.device.StubDevice; 57 EasyMock.expect(mMockDevice.getIDevice()).andReturn(new StubDevice("serial")); in testStubDevice()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | VersionedTfLauncher.java | 24 import com.android.tradefed.device.StubDevice; 87 } else if (!(device.getIDevice() instanceof StubDevice)) { in preRun()
|
/tools/tradefederation/core/src/com/android/tradefed/device/recovery/ |
D | UsbResetMultiDeviceRecovery.java | 31 import com.android.tradefed.device.StubDevice; 110 if (iDevice instanceof StubDevice && !(iDevice instanceof DeviceManager.FastbootDevice)) { in shouldReset()
|
D | RunConfigDeviceRecovery.java | 31 import com.android.tradefed.device.StubDevice; 73 if (device.getIDevice() instanceof StubDevice in recoverDevices()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/retry/ |
D | ResultsPlayer.java | 20 import com.android.tradefed.device.StubDevice; 62 if (device.getIDevice() instanceof StubDevice) { in run()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/recovery/ |
D | UsbResetMultiDeviceRecoveryTest.java | 32 import com.android.tradefed.device.StubDevice; 87 when(mDevice.getIDevice()).thenReturn(new StubDevice(SERIAL)); in testRecover_stub()
|