diff options
author | Ameya Thakur <ameyat@codeaurora.org> | 2017-07-14 12:52:15 -0700 |
---|---|---|
committer | P Adarsh Reddy <padarshr@codeaurora.org> | 2018-05-23 13:48:48 +0000 |
commit | 0c3eb91eee24412584ec881a2f229e4d25b5082a (patch) | |
tree | af6c4770f5f587841fdb8ca6d4225ffdb41127c1 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 8dd0f47b57692173bf1383898b8efdc6cd0a0975 (diff) |
ShutdownThread: Add support to wait for oem subsystem shutdown
We now delay powering off the device until the list of oem subsystems
which need to to a graceful shutdown and done with their shutdown tasks.
The list of subsystems that are critical for shutdown(if any) should be
present as a space separated list in the below property:
vendor.peripheral.shutdown_critical_list.
The state of each subsystem should be represented in:
vendor.peripheral.subsysName.state
The value should be either ONLINE or OFFLINE. We will delay the shutdown
till either all critical subsystem states go to OFFLINE or a timeout occurs,
whichever is sooner.
CRs-Fixed: 2247475
Change-Id: I09354ffd69720b2c125a167f831da4aeff382320
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions