Home
last modified time | relevance | path

Searched refs:isEmulator (Results 1 – 11 of 11) sorted by relevance

/tools/tradefederation/core/javatests/com/android/tradefed/device/
DDeviceManagerTest.java173 when(mMockIDevice.isEmulator()).thenReturn(Boolean.FALSE); in setUp()
336 when(mMockIDevice.isEmulator()).thenReturn(Boolean.TRUE); in testAllocateDevice_stubEmulator()
374 when(mMockIDevice.isEmulator()).thenReturn(Boolean.TRUE); in testFreeDevice_emulator()
410 when(mMockIDevice.isEmulator()).thenReturn(Boolean.FALSE); in testAllocateDevice_nullDevice()
484 when(mockIDevice.isEmulator()).thenReturn(Boolean.FALSE); in testFreeDevice_noop()
564 when(excludedDevice.isEmulator()).thenReturn(Boolean.FALSE); in testInit_includeDevice()
841 when(mMockIDevice.isEmulator()).thenReturn(Boolean.FALSE); in setCheckAvailableDeviceExpectations()
858 when(mMockIDevice.isEmulator()).thenReturn(Boolean.FALSE); in testFreeDevice_tcpDevice()
892 when(mMockIDevice.isEmulator()).thenReturn(Boolean.FALSE); in testFreeDevice_unavailable()
950 when(mMockIDevice.isEmulator()).thenReturn(Boolean.FALSE); in testFreeDevice_recovery()
[all …]
DDeviceSelectionOptionsTest.java90 when(mMockDevice.isEmulator()).thenReturn(Boolean.FALSE); in setUp()
93 when(mMockEmulatorDevice.isEmulator()).thenReturn(Boolean.TRUE); in setUp()
350 when(mockIpDevice.isEmulator()).thenReturn(Boolean.FALSE);
DMockDeviceManager.java373 public boolean isEmulator(String serial) { in isEmulator() method in MockDeviceManager
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DStubDevice.java52 public StubDevice(String serial, boolean isEmulator) { in StubDevice() argument
54 mIsEmulator = isEmulator; in StubDevice()
245 public boolean isEmulator() { in isEmulator() method in StubDevice
/tools/tradefederation/core/src/com/android/tradefed/device/
DIDeviceManager.java274 public boolean isEmulator(String serial); in isEmulator() method
DDeviceSelectionOptions.java622 if ((emulatorRequested() || stubEmulatorRequested()) && !device.isEmulator()) { in checkDeviceTypeRequested()
628 && (device.isEmulator() in checkDeviceTypeRequested()
648 if (device.isEmulator() && (device instanceof StubDevice) && !stubEmulatorRequested()) { in checkDeviceTypeRequested()
DDeviceManager.java728 if (ideviceToReturn.isEmulator() && managedDevice.getEmulatorProcess() != null) { in freeDevice()
1588 public boolean isEmulator(String serial) { in isEmulator() method in DeviceManager
DNativeDevice.java4589 if (getIDevice().isEmulator()) { in getEmulatorOutput()
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DEmulatorMemoryCpuCapturer.java46 managedTestDevice.getIDevice().isEmulator(), in EmulatorMemoryCpuCapturer()
/tools/tradefederation/contrib/src/com/android/performance/tests/
DBaseEmulatorPerfTest.java71 Preconditions.checkArgument(testInfo.getDevice().getIDevice().isEmulator()); in run()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DInvocationExecution.java1361 if (idevice != null && idevice.isEmulator()) { in reportLogs()