c2a4b05a931fbf3ecbf1915049b549b33dae8ba5 |
|
01-Oct-2015 |
Daniel Erat <derat@google.com> |
Support shutting down and rebooting. Implement the shutdown and reboot Binder methods from the IPowerManager interface. Also introduce a new PowerManagerClient class within libnativepower. Programs that wish to interact with the power manager should instantiate it a PowerManagerClient and then use it to issue commands to the power manager and to create WakeLock objects. Bug: 22122485 Change-Id: Id82d9221d7f90c18ae12221334e35ffd6e488e17
/system/nativepower/client/power_manager_client_unittest.cc
|