Home
last modified time | relevance | path

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

/tools/tradefederation/core/prod-tests/src/com/android/sdk/tests/
DEmulatorSmsPreparer.java39 Assert.assertTrue("device is not a emulator", device.getIDevice().isEmulator()); in setUp()
DEmulatorGpsPreparer.java43 Assert.assertTrue("device is not a emulator", device.getIDevice().isEmulator()); in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DSdkAvdPreparerTest.java116 EasyMock.expect(mMockIDevice.isEmulator()).andReturn(true); in testSetUp()
143 EasyMock.expect(mMockIDevice.isEmulator()).andReturn(true); in testSetUp_noAvdName()
178 EasyMock.expect(mMockIDevice.isEmulator()).andReturn(true); in testSetUp_failedBoot()
/tools/tradefederation/core/src/com/android/tradefed/device/
DStubDevice.java56 public StubDevice(String serial, boolean isEmulator) { in StubDevice() argument
58 mIsEmulator = isEmulator; in StubDevice()
310 public boolean isEmulator() { in isEmulator() method in StubDevice
DIDeviceManager.java225 public boolean isEmulator(String serial); in isEmulator() method
DDeviceUtilStatsMonitor.java253 } else if (dvcMgr.isEmulator(serial)) { in notifyDeviceStateChange()
282 } else if (dvcMgr.isEmulator(serial)) { in shouldTrackDevice()
DDeviceSelectionOptions.java393 if ((emulatorRequested() || stubEmulatorRequested()) && !device.isEmulator()) { in matches()
396 if (deviceRequested() && device.isEmulator()) { in matches()
399 if (device.isEmulator() && (device instanceof StubDevice) && !stubEmulatorRequested()) { in matches()
DDeviceManager.java537 if (ideviceToReturn.isEmulator() && managedDevice.getEmulatorProcess() != null) { in freeDevice()
605 if (!device.getIDevice().isEmulator()) { in launchEmulator()
1270 public boolean isEmulator(String serial) { in isEmulator() method in DeviceManager
DNativeDevice.java3325 if (getIDevice().isEmulator()) { in getEmulatorOutput()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DDeviceManagerTest.java194 EasyMock.expect(mMockIDevice.isEmulator()).andStubReturn(Boolean.FALSE); in setUp()
320 EasyMock.expect(mMockIDevice.isEmulator()).andStubReturn(Boolean.TRUE); in testAllocateDevice_stubEmulator()
339 EasyMock.expect(mMockIDevice.isEmulator()).andStubReturn(Boolean.TRUE); in testFreeDevice_emulator()
372 EasyMock.expect(mMockIDevice.isEmulator()).andStubReturn(Boolean.FALSE); in testAllocateDevice_nullDevice()
489 EasyMock.expect(mockIDevice.isEmulator()).andReturn(Boolean.FALSE); in testFreeDevice_noop()
575 EasyMock.expect(excludedDevice.isEmulator()).andStubReturn(Boolean.FALSE); in testInit_includeDevice()
867 EasyMock.expect(mMockIDevice.isEmulator()).andStubReturn(Boolean.FALSE); in setCheckAvailableDeviceExpectations()
887 EasyMock.expect(mMockIDevice.isEmulator()).andStubReturn(Boolean.FALSE); in testFreeDevice_tcpDevice()
919 EasyMock.expect(mMockIDevice.isEmulator()).andStubReturn(Boolean.FALSE); in testFreeDevice_unavailable()
982 EasyMock.expect(mMockIDevice.isEmulator()).andStubReturn(Boolean.FALSE); in testFreeDevice_unknown()
[all …]
DDeviceSelectionOptionsTest.java72 EasyMock.expect(mMockDevice.isEmulator()).andStubReturn(Boolean.FALSE); in setUp()
75 EasyMock.expect(mMockEmulatorDevice.isEmulator()).andStubReturn(Boolean.TRUE); in setUp()
DMockDeviceManager.java373 public boolean isEmulator(String serial) { in isEmulator() method in MockDeviceManager
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DSdkAvdPreparer.java191 } else if (!device.getIDevice().isEmulator()) { in launchEmulatorForAvd()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DInvocationExecution.java438 if (device.getIDevice() != null && device.getIDevice().isEmulator()) { in reportLogs()
DTestInvocation.java456 if (device.getIDevice() != null && device.getIDevice().isEmulator()) { in reportLogs()