/drivers/peripheral/user_auth/hdi_service/idm/src/ |
D | user_idm_funcs.c | 158 IAM_STATIC void GetInfoFromResult(CredentialInfoHal *credentialInfo, const ExecutorResultInfo *resu… in GetInfoFromResult() argument 161 credentialInfo->authType = schedule->authType; in GetInfoFromResult() 162 credentialInfo->templateId = result->templateId; in GetInfoFromResult() 163 credentialInfo->capabilityLevel = result->capabilityLevel; in GetInfoFromResult() 164 credentialInfo->executorSensorHint = GetScheduleVeriferSensorHint(schedule); in GetInfoFromResult() 165 credentialInfo->executorMatcher = schedule->executors[0].executorMatcher; in GetInfoFromResult() 169 CredentialInfoHal *credentialInfo) in GetCredentialInfoFromSchedule() argument 183 GetInfoFromResult(credentialInfo, executorInfo, schedule); in GetCredentialInfoFromSchedule() 204 CredentialInfoHal credentialInfo; in AddCredentialFunc() local 205 ret = GetCredentialInfoFromSchedule(executorResultInfo, &credentialInfo); in AddCredentialFunc() [all …]
|
/drivers/peripheral/user_auth/hdi_service/database/src/ |
D | idm_database.c | 403 IAM_STATIC ResultCode AddCredentialToUser(UserInfo *user, CredentialInfoHal *credentialInfo) in AddCredentialToUser() argument 416 ResultCode ret = UpdateEnrolledId(enrolledList, credentialInfo->authType); in AddCredentialToUser() 421 …ret = GenerateDeduplicateUint64(g_userInfoList, &credentialInfo->credentialId, IsCredentialIdDupli… in AddCredentialToUser() 431 …if (memcpy_s(credential, sizeof(CredentialInfoHal), credentialInfo, sizeof(CredentialInfoHal)) != … in AddCredentialToUser() 444 IAM_STATIC ResultCode AddUser(int32_t userId, CredentialInfoHal *credentialInfo) in AddUser() argument 467 ResultCode ret = AddCredentialToUser(user, credentialInfo); in AddUser() 485 ResultCode AddCredentialInfo(int32_t userId, CredentialInfoHal *credentialInfo) in AddCredentialInfo() argument 487 if (credentialInfo == NULL) { in AddCredentialInfo() 492 if (user == NULL && credentialInfo->authType == PIN_AUTH) { in AddCredentialInfo() 493 ResultCode ret = AddUser(userId, credentialInfo); in AddCredentialInfo() [all …]
|
D | idm_file_manager.c | 282 CredentialInfoHal *credentialInfo = Malloc(sizeof(CredentialInfoHal)); in StreamReadCredentialList() local 283 if (credentialInfo == NULL) { in StreamReadCredentialList() 287 result = StreamRead(parcel, index, credentialInfo, sizeof(CredentialInfoHal)); in StreamReadCredentialList() 290 Free(credentialInfo); in StreamReadCredentialList() 293 result = credentialList->insert(credentialList, credentialInfo); in StreamReadCredentialList() 296 Free(credentialInfo); in StreamReadCredentialList()
|
/drivers/peripheral/user_auth/hdi_service/coauth/src/ |
D | pool.c | 223 …TIC bool IsExecutorMatch(const ExecutorCondition *condition, const ExecutorInfoHal *credentialInfo) in IsExecutorMatch() argument 226 condition->executorIndex != credentialInfo->executorIndex) { in IsExecutorMatch() 230 condition->authType != credentialInfo->authType) { in IsExecutorMatch() 235 condition->executorSensorHint != credentialInfo->executorSensorHint) { in IsExecutorMatch() 239 condition->executorRole != credentialInfo->executorRole) { in IsExecutorMatch() 243 condition->executorMatcher != credentialInfo->executorMatcher) { in IsExecutorMatch()
|
/drivers/peripheral/user_auth/hdi_service/database/inc/ |
D | idm_database.h | 61 ResultCode AddCredentialInfo(int32_t userId, CredentialInfoHal *credentialInfo); 64 …ode DeleteCredentialInfo(int32_t userId, uint64_t credentialId, CredentialInfoHal *credentialInfo);
|
/drivers/peripheral/user_auth/test/fuzztest/user_auth/userauthhdi_fuzzer/ |
D | user_auth_hdi_fuzzer.cpp | 174 void FillFuzzCredentialInfo(Parcel &parcel, CredentialInfo &credentialInfo) in FillFuzzCredentialInfo() argument 176 credentialInfo.credentialId = parcel.ReadUint64(); in FillFuzzCredentialInfo() 177 credentialInfo.executorIndex = parcel.ReadUint64(); in FillFuzzCredentialInfo() 178 credentialInfo.templateId = parcel.ReadUint64(); in FillFuzzCredentialInfo() 179 credentialInfo.authType = static_cast<AuthType>(parcel.ReadInt32()); in FillFuzzCredentialInfo() 180 credentialInfo.executorMatcher = parcel.ReadUint32(); in FillFuzzCredentialInfo() 181 credentialInfo.executorSensorHint = parcel.ReadUint32(); in FillFuzzCredentialInfo()
|
/drivers/peripheral/user_auth/hdi_service/idm/inc/ |
D | user_idm_funcs.h | 43 ResultCode DeleteCredentialFunc(CredentialDeleteParam param, CredentialInfoHal *credentialInfo);
|
/drivers/peripheral/user_auth/hdi_service/service/ |
D | user_auth_interface_service.cpp | 707 CredentialInfo credentialInfo = {}; in GetCredential() local 708 CopyCredentialInfo(*credentialHal, credentialInfo); in GetCredential() 709 infos.push_back(credentialInfo); in GetCredential() 780 CredentialInfo credentialInfo = {}; in EnforceDeleteUser() local 781 CopyCredentialInfo(*credentialHal, credentialInfo); in EnforceDeleteUser() 782 deletedInfos.push_back(credentialInfo); in EnforceDeleteUser() 820 auto credentialInfo = static_cast<CredentialInfoHal *>(temp->data); in ObtainReconciliationData() local 821 templateIds.push_back(credentialInfo->templateId); in ObtainReconciliationData()
|
/drivers/peripheral/user_auth/test/unittest/database/ |
D | idm_database_test.cpp | 35 extern ResultCode AddCredentialToUser(UserInfo *user, CredentialInfoHal *credentialInfo); 36 extern ResultCode AddUser(int32_t userId, CredentialInfoHal *credentialInfo); 41 …extern bool IsCredMatch(const CredentialCondition *limit, const CredentialInfoHal *credentialInfo);
|
/drivers/peripheral/user_auth/test/unittest/idm_test/ |
D | user_idm_funcs_test.cpp | 44 CredentialInfoHal *credentialInfo);
|
/drivers/peripheral/user_auth/test/unittest/co_auth/ |
D | pool_test.cpp | 32 …rn bool IsExecutorMatch(const ExecutorCondition *condition, const ExecutorInfoHal *credentialInfo);
|