• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2    "jobs" : [{
3            "name" : "init",
4            "cmds" : [
5                "mkdir /dev/char 0755 root system",
6                "mkdir /dev/v4l 0755 root system"
7            ]
8        },{
9            "name" : "post-fs-data",
10            "cmds" : [
11                "start mmi_uinput_service",
12                "start multimodalinput"
13            ]
14        },{
15            "name" : "early-boot",
16            "cmds" : [
17                "mkdir /data/service/el1/public/udev 0711 root system",
18                "mkdir /data/service/el1/public/multimodalinput 0744 input input",
19                "restorecon -F /data/service/el1/public/multimodalinput",
20                "restorecon -F /data/service/el1/public/udev"
21            ]
22        },{
23            "name" : "boot",
24            "cmds" : [
25                "exec /system/bin/udevadm trigger -s input"
26            ]
27        }
28    ],
29    "services" : [{
30            "name" : "multimodalinput",
31            "path" : ["/system/bin/sa_main", "/system/profile/multimodalinput.json"],
32            "critical" : [0, 5, 6],
33            "uid" : "input",
34            "gid" : ["input", "tp_host", "lcd_host", "sensor_host"],
35            "permission" : [
36                "ohos.permission.ACCESS_SERVICE_DM",
37                "ohos.permission.DISTRIBUTED_DATASYNC",
38                "ohos.permission.GET_RUNNING_INFO",
39                "ohos.permission.REPORT_RESOURCE_SCHEDULE_EVENT",
40                "ohos.permission.RUNNING_STATE_OBSERVER"
41            ],
42            "start-mode" : "condition",
43            "secon" : "u:r:multimodalinput:s0"
44        }, {
45            "name" : "mmi_uinput_service",
46            "path" : ["/system/bin/uinput_inject"],
47            "uid" : "input",
48            "gid" : ["input", "uhid", "input_user_host"],
49            "start-mode" : "condition",
50            "secon" : "u:r:mmi_uinput_service:s0"
51        }
52    ]
53}
54