[AAE ADB] Simulate 'suspend' via ADB
Add ADB commands:
adb shell dumpsys car_service suspend
adb shell dumpsys car_service resume
or
adb shell dumpsys activity service com.android.car suspend
adb shell dumpsys activity service com.android.car resume
The 'suspend' command initiates SHUTDOWN_PREPARE. After all the
preparations are complete, this code goes into a loop rather than
attempting to power down the CPU. This should allow us to test
Suspend to RAM before the RH850 code and hardware are ready.
The 'resume' command exits the shutdown loop and transitions the
SOC back to the ON state.
Fixes: 125346852
Test: Manually ran ADB commands on a Hawk
Change-Id: I85c7b8526350fca3cb4bb1b6d8b2ac648ae4d206
3 files changed