diff options
| author | Nikita Ioffe <ioffe@google.com> | 2019-10-09 15:23:02 +0100 |
|---|---|---|
| committer | Nikita Ioffe <ioffe@google.com> | 2019-10-10 18:13:42 +0100 |
| commit | 1861b2d5d5675ff0e924a4ccea6d69496e244962 (patch) | |
| tree | d8efb7ccefa34881d7e2ab2021a7702149f5babd /code_coverage/empty_policy/code_coverage.arm.policy | |
| parent | 3f123303f0e807aea0cb65bf857007e2719b509e (diff) | |
userspace reboot: stop post-data services and wait for them to be killed
* Refactored code around stopping services a little bit to reuse it
between full reboot and userspace reboot.
* Add a scope_guard to fallback to full reboot in case userspace reboot
fails.
* In case of userspace reboot init will also wait for services to be
terminated/killed and log the ones that didn't react to
SIGTERM/SIGKILL in time.
* If some of the services didn't react to SIGKILL, fail userspace reboot.
Test: adb reboot userspace
Bug: 135984674
Change-Id: I820c7bc406169333b0f929f0eea028d8384eb2ac
Diffstat (limited to 'code_coverage/empty_policy/code_coverage.arm.policy')
0 files changed, 0 insertions, 0 deletions
