Searched refs:name_len (Results 1 – 1 of 1) sorted by relevance
/frameworks/native/cmds/servicemanager/ |
D | service_manager.c | 112 static int svc_can_register(const uint16_t *name, size_t name_len, pid_t spid, uid_t uid) in svc_can_register() argument 120 return check_mac_perms_from_lookup(spid, uid, perm, str8(name, name_len)) ? 1 : 0; in svc_can_register() 129 static int svc_can_find(const uint16_t *name, size_t name_len, pid_t spid, uid_t uid) in svc_can_find() argument 132 return check_mac_perms_from_lookup(spid, uid, perm, str8(name, name_len)) ? 1 : 0; in svc_can_find()
|