graphic_graphic_2d/graphic.cfg
SuellaSun e7f272b511
surpport interface for switching tp in rs.
Signed-off-by: SuellaSun <sunyang34@huawei.com>
2023-09-16 09:14:31 +00:00

49 lines
1.5 KiB
INI

{
"jobs" : [{
"name" : "init",
"cmds" : [
"chmod 666 /dev/mali0",
"chown system graphics /dev/mali0",
"mkdir /data/service/el0/render_service 0711 graphics graphics",
"mkdir /data/system 0771 system system",
"mkdir /data/system/RTShaderCache 0770 system system"
]
}, {
"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", "tp_host"],
"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",
"bootevent.bootanimation.finished"
],
"importance" : -20,
"once" : 1,
"uid" : "graphics",
"gid" : ["graphics"],
"secon" : "u:r:bootanimation:s0"
}
]
}