1 Star 0 Fork 1.8K

xxfeng_hw/graphic_graphic_2d

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
graphic.cfg 1.58 KB
一键复制 编辑 原始数据 按行查看 历史
李明康 提交于 2023-11-03 16:52 . add permission
{
"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 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"],
"permission" : [
"ohos.permission.REPORT_RESOURCE_SCHEDULE_EVENT"
],
"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"
}
]
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/xxfeng-hw/graphic_standard.git
git@gitee.com:xxfeng-hw/graphic_standard.git
xxfeng-hw
graphic_standard
graphic_graphic_2d
master

搜索帮助