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()
352 public void setIDevice(IDevice newDevice) { in setIDevice() argument353 throwIfNull(newDevice); in setIDevice()355 if (!getIDevice().equals(newDevice)) { in setIDevice()357 mIDevice = newDevice; in setIDevice()
629 IDevice newDevice = EasyMock.createMock(IDevice.class); in testSetState_offline() local630 EasyMock.expect(newDevice.getSerialNumber()).andReturn(DEVICE_SERIAL).anyTimes(); in testSetState_offline()631 EasyMock.expect(newDevice.getState()).andReturn(DeviceState.OFFLINE).times(2); in testSetState_offline()632 EasyMock.replay(newDevice); in testSetState_offline()633 mDeviceListener.deviceChanged(newDevice, IDevice.CHANGE_STATE); in testSetState_offline()