Lines Matching refs:permission
155 * permission and if acting on other uids the grants to do so.
157 bool checkBinderPermission(perm_t permission, int32_t targetUid = UID_SELF);
161 * permission and the target uid is the caller or the caller is system.
163 bool checkBinderPermissionSelfOrSystem(perm_t permission, int32_t targetUid);
167 * permission or the target of the operation is the caller's uid. This is
168 * for operation where the permission is only for cross-uid activity and all
172 bool checkBinderPermissionOrSelfTarget(perm_t permission, int32_t targetUid);
175 * Helper method to check that the caller has the required permission as
178 * Returns NO_ERROR on success, PERMISSION_DENIED on a permission error and
182 KeyStoreServiceReturnCode checkBinderPermissionAndKeystoreState(perm_t permission,