15c9a7e148
A call to update_device_down() was made on the wrong object. Also adds unit tests for code paths to update_device_down() and update_device_up(). Partial-Bug: 1256950 Change-Id: I34e364d4c29441d0b62b665a4ce1d02b5d08d465