1{ 2 "jobs" : [{ 3 "name" : "init", 4 "cmds" : [ 5 "chmod 666 /dev/mali0", 6 "chown system graphics /dev/mali0", 7 "mkdir /data/service/el0/render_service 0711 graphics graphics", 8 "mkdir /data/system 0771 system system", 9 "mkdir /data/system/RTShaderCache 0770 system system", 10 "mkdir /data/local 0751 root root", 11 "mkdir /data/local/shader_cache 0711 root root", 12 "mkdir /data/local/shader_cache/local 0711 root root", 13 "mkdir /data/local/shader_cache/local/system 0771 system system" 14 ] 15 }, { 16 "name": "services:restartrender_service", 17 "cmds": [ 18 "reset foundation", 19 "reset allocator_host", 20 "reset composer_host" 21 ] 22 } 23 ], 24 "services" : [{ 25 "name" : "render_service", 26 "path" : ["/system/bin/render_service"], 27 "critical" : [1, 5, 60], 28 "importance" : -20, 29 "uid" : "graphics", 30 "gid" : ["system", "tp_host", "data_reserve", "dev_dma_heap"], 31 "writepid" : ["/dev/memcg/perf_sensitive/cgroup.procs"], 32 "caps" : ["SYS_NICE"], 33 "bootevents": [ 34 "bootevent.renderservice.ready" 35 ], 36 "permission" : [ 37 "ohos.permission.REPORT_RESOURCE_SCHEDULE_EVENT" 38 ], 39 "secon" : "u:r:render_service:s0", 40 "jobs" : { 41 "on-restart" : "services:restartrender_service" 42 }, 43 "once" : 0 44 }, { 45 "name" : "bootanimation", 46 "path" : ["/system/bin/bootanimation"], 47 "bootevents": [ 48 "bootevent.bootanimation.started", 49 "bootevent.bootanimation.finished" 50 ], 51 "importance" : -20, 52 "once" : 1, 53 "uid" : "graphics", 54 "gid" : ["graphics", "data_reserve"], 55 "secon" : "u:r:bootanimation:s0" 56 } 57 ] 58} 59