graphic_graphic_2d/graphic.cfg
chenlushen 105873926d Add lock to avoid probabilistic crash & modify hwc name
Signed-off-by: chenlushen <chenlushen1@huawei.com>
Change-Id: Id5476a4c8e40c88f250ccebeb71ca5e4ec940647
2023-07-10 11:43:35 +08:00

44 lines
1.3 KiB
INI

{
"jobs" : [{
"name" : "init",
"cmds" : [
"chmod 666 /dev/mali0",
"chown system graphics /dev/mali0",
"mkdir /data/service/el0/render_service 0711 graphics graphics"
]
}, {
"name": "services:restartrender_service",
"cmds": [
"reset foundation",
"reset bootanimation",
"reset allocator_host",
"reset composer_host"
]
}
],
"services" : [{
"name" : "render_service",
"path" : ["/system/bin/render_service"],
"critical" : [0, 5, 60],
"importance" : -20,
"uid" : "graphics",
"gid" : ["system"],
"caps" : ["SYS_NICE"],
"secon" : "u:r:render_service:s0",
"jobs" : {
"on-restart" : "services:restartrender_service"
},
"once" : 0
}, {
"name" : "bootanimation",
"path" : ["/system/bin/bootanimation"],
"bootevents": "bootevent.bootanimation.started",
"importance" : -20,
"once" : 1,
"uid" : "graphics",
"gid" : ["graphics"],
"secon" : "u:r:bootanimation:s0"
}
]
}