distributedhardware_device_.../sa_profile/device_manager.cfg
李巍 ead1afa184 增加DM查询和监听设备功能
Signed-off-by: 李巍 <liwei787@huawei.com>
2024-10-11 11:00:41 +08:00

48 lines
1.7 KiB
INI

{
"jobs":[{
"name" : "service:device_manager",
"cmds" : [
"mkdir /data/service/el1/public/database 0711 ddms ddms",
"mkdir /data/service/el1/public/database/distributed_device_manager_service 02770 device_manager ddms"
]
}
],
"services" : [{
"name" : "device_manager",
"path" : ["/system/bin/sa_main", "/system/profile/device_manager.json"],
"uid" : "device_manager",
"gid" : ["device_manager", "access_token"],
"apl" : "system_basic",
"start-on-demand" : {
"commonevent" : [
{
"name" : "usual.event.BOOT_COMPLETED"
}
]
},
"permission" : [
"ohos.permission.DISTRIBUTED_DATASYNC",
"ohos.permission.DISTRIBUTED_SOFTBUS_CENTER",
"ohos.permission.GET_BUNDLE_INFO_PRIVILEGED",
"ohos.permission.ENABLE_DISTRIBUTED_HARDWARE",
"ohos.permission.MANAGE_LOCAL_ACCOUNTS",
"ohos.permission.MANAGE_SECURE_SETTINGS",
"ohos.permission.ACCESS_BLUETOOTH",
"ohos.permission.MANAGE_BLUETOOTH",
"ohos.permission.MANAGE_SETTINGS",
"ohos.permission.START_SYSTEM_DIALOG",
"ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS",
"ohos.permission.GET_BUNDLE_RESOURCES",
"ohos.permission.GET_WIFI_INFO",
"ohos.permission.SET_TIME",
"ohos.permission.SET_TIME_ZONE",
"ohos.permission.ALLOW_CONNECT_CAR"
],
"jobs" : {
"on-start" : "service:device_manager"
},
"secon" : "u:r:device_manager:s0"
}
]
}