2021-07-19 09:28:31 +00:00
|
|
|
{
|
|
|
|
"jobs" : [{
|
2022-01-18 12:15:01 +00:00
|
|
|
"name" : "init",
|
|
|
|
"cmds" : [
|
2024-06-03 03:17:47 +00:00
|
|
|
"chmod 666 /dev/mali0",
|
|
|
|
"chown system graphics /dev/mali0",
|
2023-08-21 07:13:51 +00:00
|
|
|
"mkdir /data/service/el0/render_service 0711 graphics graphics",
|
|
|
|
"mkdir /data/system 0771 system system",
|
2024-04-19 08:46:17 +00:00
|
|
|
"mkdir /data/system/RTShaderCache 0770 system system",
|
|
|
|
"mkdir /data/local 0751 root root",
|
|
|
|
"mkdir /data/local/shader_cache 0711 root root",
|
|
|
|
"mkdir /data/local/shader_cache/local 0711 root root",
|
|
|
|
"mkdir /data/local/shader_cache/local/system 0771 system system"
|
2022-01-18 12:15:01 +00:00
|
|
|
]
|
2022-09-19 06:25:05 +00:00
|
|
|
}, {
|
|
|
|
"name": "services:restartrender_service",
|
|
|
|
"cmds": [
|
|
|
|
"reset foundation",
|
2023-07-10 02:09:12 +00:00
|
|
|
"reset allocator_host",
|
|
|
|
"reset composer_host"
|
2022-09-19 06:25:05 +00:00
|
|
|
]
|
2021-07-19 09:28:31 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"services" : [{
|
2022-01-05 02:18:59 +00:00
|
|
|
"name" : "render_service",
|
|
|
|
"path" : ["/system/bin/render_service"],
|
2024-03-25 08:19:26 +00:00
|
|
|
"critical" : [1, 5, 60],
|
2022-07-26 06:23:39 +00:00
|
|
|
"importance" : -20,
|
2023-05-15 01:20:32 +00:00
|
|
|
"uid" : "graphics",
|
2024-08-20 03:22:23 +00:00
|
|
|
"gid" : ["system", "tp_host", "data_reserve"],
|
2024-08-03 06:58:29 +00:00
|
|
|
"writepid" : ["/dev/memcg/perf_sensitive/cgroup.procs"],
|
2022-05-16 12:19:22 +00:00
|
|
|
"caps" : ["SYS_NICE"],
|
2024-06-17 14:20:46 +00:00
|
|
|
"bootevents": [
|
|
|
|
"bootevent.renderservice.ready"
|
|
|
|
],
|
2023-11-03 08:52:50 +00:00
|
|
|
"permission" : [
|
2024-09-19 09:00:26 +00:00
|
|
|
"ohos.permission.REPORT_RESOURCE_SCHEDULE_EVENT",
|
|
|
|
"ohos.permission.MANAGE_SETTINGS"
|
2023-11-03 08:52:50 +00:00
|
|
|
],
|
2022-09-19 06:25:05 +00:00
|
|
|
"secon" : "u:r:render_service:s0",
|
|
|
|
"jobs" : {
|
|
|
|
"on-restart" : "services:restartrender_service"
|
|
|
|
},
|
|
|
|
"once" : 0
|
2022-01-20 14:04:43 +00:00
|
|
|
}, {
|
|
|
|
"name" : "bootanimation",
|
|
|
|
"path" : ["/system/bin/bootanimation"],
|
2023-08-24 06:24:09 +00:00
|
|
|
"bootevents": [
|
|
|
|
"bootevent.bootanimation.started",
|
|
|
|
"bootevent.bootanimation.finished"
|
|
|
|
],
|
2022-08-15 10:43:38 +00:00
|
|
|
"importance" : -20,
|
2022-01-20 14:04:43 +00:00
|
|
|
"once" : 1,
|
2022-06-13 09:31:23 +00:00
|
|
|
"uid" : "graphics",
|
2024-08-20 03:22:23 +00:00
|
|
|
"gid" : ["graphics", "data_reserve"],
|
2022-05-06 04:29:26 +00:00
|
|
|
"secon" : "u:r:bootanimation:s0"
|
2021-07-19 09:28:31 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|