switch back to svc power reboot by default
- adb reboot cuts some shutdown sequence from system server and
gives issue like modem not shutdown properly.
- need to specify -a to use adb reboot.
- also fix broken svc power reboot path as adb is kept longer
than before and waiting for device after reboot command returns
immediately while shutdown is not done yet.
- add -v option to toggle selinux to be permissive before reboot.
This helps init to use lsof to list all files.
bug: 36984129
Test: python packages/services/Car/tools/bootanalyze/bootanalyze.py -r -c packages/services/Car/tools/bootanalyze/config.yaml -n 100 -f -e 20 -w 40 -v
Change-Id: I9a3871941b71700f80a5b22d965687ac17f66ccb
(cherry picked from commit 24d4399574f847467d1939a1bbf233945d23a0ee)
1 file changed