Searched refs:isEmulator (Results 1 – 12 of 12) sorted by relevance
202 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 …]
83 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);
391 public boolean isEmulator(String serial) { in isEmulator() method in MockDeviceManager
56 public StubDevice(String serial, boolean isEmulator) { in StubDevice() argument58 mIsEmulator = isEmulator; in StubDevice()309 public boolean isEmulator() { in isEmulator() method in StubDevice
552 if ((emulatorRequested() || stubEmulatorRequested()) && !device.isEmulator()) { in checkDeviceTypeRequested()557 && (device.isEmulator() in checkDeviceTypeRequested()568 if (device.isEmulator() && (device instanceof StubDevice) && !stubEmulatorRequested()) { in checkDeviceTypeRequested()
253 } else if (dvcMgr.isEmulator(serial)) { in notifyDeviceStateChange()282 } else if (dvcMgr.isEmulator(serial)) { in shouldTrackDevice()
243 public boolean isEmulator(String serial); in isEmulator() method
627 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
3571 if (getIDevice().isEmulator()) { in getEmulatorOutput()
36 Assert.assertTrue("device is not a emulator", device.getIDevice().isEmulator()); in setUp()
41 Assert.assertTrue("device is not a emulator", device.getIDevice().isEmulator()); in setUp()
540 if (idevice != null && idevice.isEmulator()) { in reportLogs()