-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.rvcam.s.rc
35 lines (31 loc) · 969 Bytes
/
init.rvcam.s.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
# 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.rvcam-1-0
start vendor.hwcomposer-2-1
start vendor.gralloc-4-0
start surfaceflinger
start vendor.vehicle-hal-2.0
start automotive_display
start evs_rvcam_driver
start evs_manager
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 automotive_display
stop evs_rvcam_driver
stop evs_manager
stop evs_app
on property:persist.automotive.evs.mode=1
# start EVS and automotive display services
start automotive_display
start evs_rvcam_driver
start evs_manager
start evs_app