Searched refs:newDevice (Results 1 – 3 of 3) sorted by relevance
469 public void setIDevice(IDevice newDevice) { in setIDevice() argument471 if (!getIDevice().equals(newDevice)) { in setIDevice()473 mDevice = newDevice; in setIDevice()
398 public void setIDevice(IDevice newDevice) { in setIDevice() argument399 throwIfNull(newDevice); in setIDevice()401 if (!getIDevice().equals(newDevice)) { in setIDevice()403 mIDevice = newDevice; in setIDevice()
699 IDevice newDevice = EasyMock.createMock(IDevice.class); in testSetState_offline() local700 EasyMock.expect(newDevice.getSerialNumber()).andReturn(DEVICE_SERIAL).anyTimes(); in testSetState_offline()701 EasyMock.expect(newDevice.getState()).andReturn(DeviceState.OFFLINE).times(2); in testSetState_offline()702 EasyMock.replay(newDevice); in testSetState_offline()703 mDeviceListener.deviceChanged(newDevice, IDevice.CHANGE_STATE); in testSetState_offline()