davinci: rootdir: Move services to system-background cgroup

Change-Id: Id80f6369f943fc5fc1145cc6f13bddb2fe2b76e8
This commit is contained in:
Ethan Chen 2018-03-07 10:38:27 +00:00 committed by Arian
parent 4a9fbc3467
commit 450d2ccbf7
No known key found for this signature in database
GPG Key ID: 48029380598CE3B9
3 changed files with 17 additions and 0 deletions

View File

@ -6,3 +6,4 @@ service vendor.livedisplay-hal-2-0 /vendor/bin/hw/vendor.lineage.livedisplay@2.0
class hal
user system
group system
writepid /dev/cpuset/system-background/tasks

View File

@ -236,31 +236,37 @@ service vendor.qrtr-ns /vendor/bin/qrtr-ns -f
user vendor_qrtr
group vendor_qrtr
capabilities NET_BIND_SERVICE
writepid /dev/cpuset/system-background/tasks
service irsc_util /vendor/bin/irsc_util "/vendor/etc/sec_config"
class core
user root
oneshot
writepid /dev/cpuset/system-background/tasks
service vendor.rmt_storage /vendor/bin/rmt_storage
class core
user root
shutdown critical
ioprio rt 0
writepid /dev/cpuset/system-background/tasks
service vendor.tftp_server /vendor/bin/tftp_server
class core
user root
writepid /dev/cpuset/system-background/tasks
service vendor.sensors /vendor/bin/sscrpcd sensorspd
class early_hal
user system
group system
writepid /dev/cpuset/system-background/tasks
service vendor.sensors.qti /vendor/bin/sensors.qti
class core
user system
group system
writepid /dev/cpuset/system-background/tasks
service wpa_supplicant /vendor/bin/hw/wpa_supplicant \
-O/data/vendor/wifi/wpa/sockets -puse_p2p_group_interface=1 -dd \
@ -282,6 +288,7 @@ service vendor.cnss-daemon /vendor/bin/cnss-daemon -n -l
user system
group system inet net_admin wifi
capabilities NET_ADMIN
writepid /dev/cpuset/system-background/tasks
on property:sys.shutdown.requested=*
write /sys/kernel/shutdown_wlan/shutdown 1
@ -291,6 +298,7 @@ service vendor.loc_launcher /vendor/bin/loc_launcher
class late_start
user gps
group gps
writepid /dev/cpuset/system-background/tasks
service vendor.qcom-sh /vendor/bin/init.qcom.sh
class late_start
@ -317,6 +325,7 @@ service vendor.msm_irqbalance /vendor/bin/msm_irqbalance -f /vendor/etc/msm_irqb
class core
user root
group root
writepid /dev/cpuset/system-background/tasks
service vendor.power_off_alarm /vendor/bin/power_off_alarm
class core

View File

@ -139,17 +139,20 @@ service vendor.pd_mapper /vendor/bin/pd-mapper
class core
user system
group system
writepid /dev/cpuset/system-background/tasks
service vendor.per_mgr /vendor/bin/pm-service
class core
user system
group system
ioprio rt 4
writepid /dev/cpuset/system-background/tasks
service vendor.per_proxy /vendor/bin/pm-proxy
class core
user system
group system
writepid /dev/cpuset/system-background/tasks
disabled
on property:init.svc.vendor.per_mgr=running
@ -178,16 +181,19 @@ service vendor.thermal-engine /vendor/bin/thermal-engine
socket thermal-recv-passive-client stream 0666 system system
socket thermal-send-rule stream 0660 system system
group root
writepid /dev/cpuset/system-background/tasks
service vendor.hvdcp_opti /vendor/bin/hvdcp_opti
class main
user root
group system wakelock
writepid /dev/cpuset/system-background/tasks
service vendor.remosaic_daemon /vendor/bin/remosaic_daemon
class late_start
user camera
group camera
writepid /dev/cpuset/system-background/tasks
service vendor.nv_mac /vendor/bin/nv_mac
class main
@ -199,3 +205,4 @@ service vendor.motor /vendor/bin/hw/vendor.xiaomi.hardware.motor@1.0-service
class hal
user system
group system
writepid /dev/cpuset/system-background/tasks