mirror of
https://gitee.com/openharmony/distributedhardware_device_manager
synced 2024-11-23 08:19:49 +00:00
ead1afa184
Signed-off-by: 李巍 <liwei787@huawei.com>
48 lines
1.7 KiB
INI
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"
|
|
}
|
|
]
|
|
}
|