Home
last modified time | relevance | path

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

/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DDeviceManagerTest.java202 EasyMock.expect(mMockIDevice.isEmulator()).andStubReturn(Boolean.FALSE); in setUp()
374 EasyMock.expect(mMockIDevice.isEmulator()).andStubReturn(Boolean.TRUE); in testAllocateDevice_stubEmulator()
414 EasyMock.expect(mMockIDevice.isEmulator()).andStubReturn(Boolean.TRUE); in testFreeDevice_emulator()
448 EasyMock.expect(mMockIDevice.isEmulator()).andStubReturn(Boolean.FALSE); in testAllocateDevice_nullDevice()
563 EasyMock.expect(mockIDevice.isEmulator()).andReturn(Boolean.FALSE); in testFreeDevice_noop()
648 EasyMock.expect(excludedDevice.isEmulator()).andStubReturn(Boolean.FALSE); in testInit_includeDevice()
933 EasyMock.expect(mMockIDevice.isEmulator()).andStubReturn(Boolean.FALSE); in setCheckAvailableDeviceExpectations()
951 EasyMock.expect(mMockIDevice.isEmulator()).andStubReturn(Boolean.FALSE); in testFreeDevice_tcpDevice()
985 EasyMock.expect(mMockIDevice.isEmulator()).andStubReturn(Boolean.FALSE); in testFreeDevice_unavailable()
1049 EasyMock.expect(mMockIDevice.isEmulator()).andStubReturn(Boolean.FALSE); in testFreeDevice_unknown()
[all …]
DDeviceSelectionOptionsTest.java83 EasyMock.expect(mMockDevice.isEmulator()).andStubReturn(Boolean.FALSE); in setUp()
86 EasyMock.expect(mMockEmulatorDevice.isEmulator()).andStubReturn(Boolean.TRUE); in setUp()
353 EasyMock.expect(mockIpDevice.isEmulator()).andStubReturn(Boolean.FALSE);
DMockDeviceManager.java391 public boolean isEmulator(String serial) { in isEmulator() method in MockDeviceManager
/tools/tradefederation/core/src/com/android/tradefed/device/
DStubDevice.java56 public StubDevice(String serial, boolean isEmulator) { in StubDevice() argument
58 mIsEmulator = isEmulator; in StubDevice()
309 public boolean isEmulator() { in isEmulator() method in StubDevice
DDeviceSelectionOptions.java552 if ((emulatorRequested() || stubEmulatorRequested()) && !device.isEmulator()) { in checkDeviceTypeRequested()
557 && (device.isEmulator() in checkDeviceTypeRequested()
568 if (device.isEmulator() && (device instanceof StubDevice) && !stubEmulatorRequested()) { in checkDeviceTypeRequested()
DDeviceUtilStatsMonitor.java253 } else if (dvcMgr.isEmulator(serial)) { in notifyDeviceStateChange()
282 } else if (dvcMgr.isEmulator(serial)) { in shouldTrackDevice()
DIDeviceManager.java243 public boolean isEmulator(String serial); in isEmulator() method
DDeviceManager.java627 if (ideviceToReturn.isEmulator() && managedDevice.getEmulatorProcess() != null) { in freeDevice()
695 if (!device.getIDevice().isEmulator()) { in launchEmulator()
1358 public boolean isEmulator(String serial) { in isEmulator() method in DeviceManager
DNativeDevice.java3571 if (getIDevice().isEmulator()) { in getEmulatorOutput()
/tools/tradefederation/contrib/src/com/android/sdk/tests/
DEmulatorSmsPreparer.java36 Assert.assertTrue("device is not a emulator", device.getIDevice().isEmulator()); in setUp()
DEmulatorGpsPreparer.java41 Assert.assertTrue("device is not a emulator", device.getIDevice().isEmulator()); in setUp()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DInvocationExecution.java540 if (idevice != null && idevice.isEmulator()) { in reportLogs()