Searched refs:newDevice (Results 1 – 3 of 3) sorted by relevance
625 public void setIDevice(IDevice newDevice) { in setIDevice() argument627 if (!getIDevice().equals(newDevice)) { in setIDevice()629 mDevice = newDevice; in setIDevice()
559 public void setIDevice(IDevice newDevice) { in setIDevice() argument560 throwIfNull(newDevice); in setIDevice()562 if (!getIDevice().equals(newDevice)) { in setIDevice()564 mIDevice = newDevice; in setIDevice()
614 IDevice newDevice = mock(IDevice.class); in testSetState_offline() local615 when(newDevice.getSerialNumber()).thenReturn(DEVICE_SERIAL); in testSetState_offline()616 when(newDevice.getState()).thenReturn(DeviceState.OFFLINE); in testSetState_offline()618 mDeviceListener.deviceChanged(newDevice, IDevice.CHANGE_STATE); in testSetState_offline()622 verify(newDevice, times(2)).getState(); in testSetState_offline()