-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.rvcam.u.rc
36 lines (32 loc) · 995 Bytes
/
init.rvcam.u.rc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Insert car-specific startup services here
on early-init
insmod /vendor/lib/modules/vehicle-core.ko
insmod /vendor/lib/modules/vehicle-dummy-hw.ko
on init
start servicemanager
start vendor.gralloc-v1
start vendor.rockchip_hwcproxy_aidl
start hwcomposer-3
start surfaceflinger
start vendor.rvcam-1-0
start vendor.vehicle-hal-rvcam
start cardisplayproxyd
start evs_rvcam_driver
start evsmanagerd
start evs_app
on post-fs-data
mkdir /data/system/car 0700 system system
mkdir /data/system/car/watchdog 0700 system system
# A property to enable EVS services conditionally
on property:persist.automotive.evs.mode=0
# stop EVS and automotive display services
stop cardisplayproxyd
stop evs_rvcam_driver
stop evsmanagerd
stop evs_app
on property:persist.automotive.evs.mode=1
# start EVS and automotive display services
start cardisplayproxyd
start evs_rvcam_driver
start evsmanagerd
start evs_app