1{ 2 "jobs" : [ 3 { 4 "name" : "param:bootevent.useriam.fwkready=true && persist.useriam.isPinEnrolled=true", 5 "condition" : "bootevent.useriam.fwkready=true && persist.useriam.isPinEnrolled=true", 6 "cmds" : [ 7 "start pin_auth_host" 8 ] 9 }, 10 { 11 "name" : "param:persist.useriam.isPinEnrolled=true && useriam.isPinFunctionReady=false", 12 "condition" : "persist.useriam.isPinEnrolled=true && useriam.isPinFunctionReady=false", 13 "cmds" : [ 14 "start pin_auth_host" 15 ] 16 }, 17 { 18 "name" : "param:useriam.startSa=true", 19 "condition" : "useriam.startSa=true && useriam.isCredentialChecked=true", 20 "cmds" : [ 21 "start pin_auth_host" 22 ] 23 }, 24 { 25 "name" : "param:useriam.stopSa=true", 26 "condition" : "useriam.stopSa=true", 27 "cmds" : [ 28 "stop pin_auth_host" 29 ] 30 } 31 ], 32 "services" : [ 33 { 34 "name" : "pinauth", 35 "path" : [ 36 "/system/bin/sa_main", 37 "/system/profile/pinauth.json" 38 ], 39 "ondemand" : true, 40 "uid" : "useriam", 41 "gid" : [ 42 "useriam", 43 "shell" 44 ], 45 "apl" : "system_basic", 46 "permission" : [ 47 "ohos.permission.ACCESS_AUTH_RESPOOL", 48 "ohos.permission.VIBRATE" 49 ], 50 "permission_acls" : [ 51 "ohos.permission.ACCESS_AUTH_RESPOOL" 52 ], 53 "secon" : "u:r:pinauth:s0", 54 "start-mode" : "condition" 55 } 56 ] 57}