diff options
author | Santos Cordon <santoscordon@google.com> | 2019-02-01 21:28:47 +0000 |
---|---|---|
committer | Santos Cordon <santoscordon@google.com> | 2019-02-15 17:23:18 +0000 |
commit | 12f92eb6cf222b9998c3a8affaa909a44b5c0ad0 (patch) | |
tree | acbbf0a68c368ec7346bb07c93e2207120c644d8 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | b68b8a84831d480c1c254dcb271f0f31f95f315f (diff) |
Add force suspend API to PowerManager.
Add a hidden system API (protected by DEVICE_POWER) that forces suspend,
ignoring any existing wakelock. Add a shell cmd to trigger the API
to run.
Bug: 111991113
Test: 'adb shell svc power forcesuspend'
Change-Id: I5a258e1b7c8b1391fe1baf3930dd9d9af47235c9
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions