1{ 2 "import" : [ 3 "/vendor/etc/init.${ohos.boot.hardware}.usb.cfg" 4 ], 5 "jobs" : [{ 6 "name" : "boot && param:persist.sys.usb.config=*", 7 "condition" : "boot && persist.sys.usb.config=*", 8 "cmds" : [ 9 "setparam sys.usb.config ${persist.sys.usb.config}" 10 ] 11 }, { 12 "name" : "param:sys.usb.config=none && param:sys.usb.configfs=0", 13 "condition" : "sys.usb.config=none && sys.usb.configfs=0", 14 "cmds" : [ 15 "stop hdcd" 16 ] 17 } 18 ], 19 "services" : [{ 20 "name" : "hdcd", 21 "path" : ["/system/bin/hdcd"], 22 "socket" : [{ 23 "name" : "hdcd", 24 "family" : "AF_UNIX", 25 "type" : "SOCK_SEQPACKET", 26 "protocol" : "default", 27 "permissions" : "0660", 28 "uid" : "system", 29 "gid" : "system" 30 }], 31 "apl" : "normal", 32 "permission" : [ 33 "ohos.permission.CHANGE_ABILITY_ENABLED_STATE", 34 "ohos.permission.DUMP", 35 "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED", 36 "ohos.permission.INSTALL_BUNDLE", 37 "ohos.permission.LISTEN_BUNDLE_CHANGE", 38 "ohos.permission.REMOVE_CACHE_FILES", 39 "ohos.permission.ACCELEROMETER", 40 "ohos.permission.CLEAN_BACKGROUND_PROCESSES", 41 "ohos.permission.START_ABILITIES_FROM_BACKGROUND", 42 "ohos.permission.PERMISSION_USED_STATS" 43 ], 44 "permission_acls" : [ 45 "ohos.permission.CHANGE_ABILITY_ENABLED_STATE", 46 "ohos.permission.DUMP", 47 "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED", 48 "ohos.permission.INSTALL_BUNDLE", 49 "ohos.permission.LISTEN_BUNDLE_CHANGE", 50 "ohos.permission.REMOVE_CACHE_FILES", 51 "ohos.permission.START_ABILITIES_FROM_BACKGROUND", 52 "ohos.permission.PERMISSION_USED_STATS" 53 ], 54 "sandbox" : 0, 55 "start-mode" : "condition", 56 "secon" : "u:r:hdcd:s0", 57 "disabled" : 1 58 } 59 ] 60} 61