watchdog: Move platform watchdog daemon to gs-common
Bug: 238701471 Change-Id: I002a7f82167c6d9aa11f4ec23860eb443551713a
This commit is contained in:
parent
e944962e23
commit
83f4a079c2
1 changed files with 0 additions and 9 deletions
|
@ -295,9 +295,6 @@ on init
|
||||||
# Power Stats HAL
|
# Power Stats HAL
|
||||||
chown system system /dev/bbd_pwrstat
|
chown system system /dev/bbd_pwrstat
|
||||||
|
|
||||||
# start watchdogd
|
|
||||||
start watchdogd
|
|
||||||
|
|
||||||
# Add a boost for NNAPI HAL
|
# Add a boost for NNAPI HAL
|
||||||
write /proc/vendor_sched/nnapi_prefer_idle 0
|
write /proc/vendor_sched/nnapi_prefer_idle 0
|
||||||
write /proc/vendor_sched/nnapi_uclamp_min 512
|
write /proc/vendor_sched/nnapi_uclamp_min 512
|
||||||
|
@ -840,12 +837,6 @@ service insmod_sh_common /vendor/bin/init.insmod.sh /vendor/etc/init.insmod.gs20
|
||||||
disabled
|
disabled
|
||||||
oneshot
|
oneshot
|
||||||
|
|
||||||
# Set watchdog timer to 30 seconds and pet it every 10 seconds to get a 20 second margin
|
|
||||||
service watchdogd /system/bin/watchdogd 10 20
|
|
||||||
class core
|
|
||||||
oneshot
|
|
||||||
seclabel u:r:watchdogd:s0
|
|
||||||
|
|
||||||
# bugreport is triggered by holding down volume down, volume up and power
|
# bugreport is triggered by holding down volume down, volume up and power
|
||||||
service bugreport /system/bin/dumpstate -d -p -z
|
service bugreport /system/bin/dumpstate -d -p -z
|
||||||
class main
|
class main
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue