Searched refs:isEmulator (Results 1 – 15 of 15) sorted by relevance
39 Assert.assertTrue("device is not a emulator", device.getIDevice().isEmulator()); in setUp()
43 Assert.assertTrue("device is not a emulator", device.getIDevice().isEmulator()); in setUp()
116 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()
56 public StubDevice(String serial, boolean isEmulator) { in StubDevice() argument58 mIsEmulator = isEmulator; in StubDevice()310 public boolean isEmulator() { in isEmulator() method in StubDevice
225 public boolean isEmulator(String serial); in isEmulator() method
253 } else if (dvcMgr.isEmulator(serial)) { in notifyDeviceStateChange()282 } else if (dvcMgr.isEmulator(serial)) { in shouldTrackDevice()
393 if ((emulatorRequested() || stubEmulatorRequested()) && !device.isEmulator()) { in matches()396 if (deviceRequested() && device.isEmulator()) { in matches()399 if (device.isEmulator() && (device instanceof StubDevice) && !stubEmulatorRequested()) { in matches()
537 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
3325 if (getIDevice().isEmulator()) { in getEmulatorOutput()
194 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 …]
72 EasyMock.expect(mMockDevice.isEmulator()).andStubReturn(Boolean.FALSE); in setUp()75 EasyMock.expect(mMockEmulatorDevice.isEmulator()).andStubReturn(Boolean.TRUE); in setUp()
373 public boolean isEmulator(String serial) { in isEmulator() method in MockDeviceManager
191 } else if (!device.getIDevice().isEmulator()) { in launchEmulatorForAvd()
438 if (device.getIDevice() != null && device.getIDevice().isEmulator()) { in reportLogs()
456 if (device.getIDevice() != null && device.getIDevice().isEmulator()) { in reportLogs()