加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
multimodalinput.cfg 2.11 KB
一键复制 编辑 原始数据 按行查看 历史
王豪 提交于 2024-07-31 03:45 . add
{
"jobs" : [{
"name" : "init",
"cmds" : [
"mkdir /dev/char 0755 root system",
"mkdir /dev/v4l 0755 root system"
]
},{
"name" : "post-fs-data",
"cmds" : [
"start mmi_uinput_service",
"start multimodalinput"
]
},{
"name" : "early-boot",
"cmds" : [
"mkdir /data/service/el1/public/udev 0711 root system",
"mkdir /data/service/el1/public/multimodalinput 0744 input input",
"restorecon -F /data/service/el1/public/multimodalinput",
"restorecon -F /data/service/el1/public/udev"
]
}
],
"services" : [{
"name" : "multimodalinput",
"path" : ["/system/bin/sa_main", "/system/profile/multimodalinput.json"],
"critical" : [0, 5, 6],
"uid" : "input",
"gid" : ["input", "tp_host", "lcd_host", "sensor_host", "consumerir_host"],
"permission" : [
"ohos.permission.ACCESS_SERVICE_DM",
"ohos.permission.DISTRIBUTED_DATASYNC",
"ohos.permission.GET_RUNNING_INFO",
"ohos.permission.REPORT_RESOURCE_SCHEDULE_EVENT",
"ohos.permission.RUNNING_STATE_OBSERVER",
"ohos.permission.START_SYSTEM_DIALOG",
"ohos.permission.ACCESS_NOTIFICATION_POLICY",
"ohos.permission.SET_TELEPHONY_STATE",
"ohos.permission.MANAGE_SECURE_SETTINGS",
"ohos.permission.MANAGE_SETTINGS",
"ohos.permission.GET_TELEPHONY_STATE",
"ohos.permission.MANAGE_LOCAL_ACCOUNTS"
],
"start-mode" : "condition",
"secon" : "u:r:multimodalinput:s0"
}, {
"name" : "mmi_uinput_service",
"path" : ["/system/bin/uinput_inject"],
"uid" : "input",
"gid" : ["input", "uhid", "input_user_host"],
"start-mode" : "condition",
"secon" : "u:r:mmi_uinput_service:s0"
}
]
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化