Home
last modified time | relevance | path

Searched refs:executorSensorHint (Results 1 – 23 of 23) sorted by relevance

/drivers/peripheral/user_auth/hdi_service/coauth/src/
Dpool.c64 executorInfo->executorSensorHint == executorIndex->executorSensorHint); in IsExecutorNodeMatch()
140 SetExecutorConditionSensorHint(&condition, executorInfo->executorSensorHint); in QueryRepeatExecutor()
234 condition->executorSensorHint != INVALID_SENSOR_HINT && in IsExecutorMatch()
235 condition->executorSensorHint != credentialInfo->executorSensorHint) { in IsExecutorMatch()
291 ResultCode QueryCollecterMatcher(uint32_t authType, uint32_t executorSensorHint, uint32_t *matcher) in QueryCollecterMatcher() argument
313 …if (executorInfo->authType == authType && executorInfo->executorSensorHint == executorSensorHint && in QueryCollecterMatcher()
320 LOG_ERROR("can't found executor, sensor hint is %{public}u", executorSensorHint); in QueryCollecterMatcher()
326 uint64_t QueryCredentialExecutorIndex(uint32_t authType, uint32_t executorSensorHint) in QueryCredentialExecutorIndex() argument
344 …if (executorInfo->authType == authType && executorInfo->executorSensorHint == executorSensorHint && in QueryCredentialExecutorIndex()
350 LOG_ERROR("can't found executor, sensor hint is %{public}u", executorSensorHint); in QueryCredentialExecutorIndex()
[all …]
Dcoauth.c235 if (sensorHint != INVALID_SENSOR_HINT && sensorHint != executor->executorSensorHint) { in MountExecutorOnce()
297 return executor->executorSensorHint; in GetScheduleVeriferSensorHint()
Dexecutor_message.c486 SetCredentialConditionExecutorSensorHint(&condition, executorNode->executorSensorHint); in GetExecutorTemplateList()
/drivers/peripheral/user_auth/hdi_service/coauth/inc/
Dpool.h38 uint32_t executorSensorHint; member
57 uint32_t executorSensorHint; member
68 ResultCode QueryCollecterMatcher(uint32_t authType, uint32_t executorSensorHint, uint32_t *matcher);
69 uint64_t QueryCredentialExecutorIndex(uint32_t authType, uint32_t executorSensorHint);
74 void SetExecutorConditionSensorHint(ExecutorCondition *condition, uint32_t executorSensorHint);
/drivers/peripheral/user_auth/test/unittest/co_auth/
Dpool_test.cpp111 info1->executorSensorHint = 20;
116 info2->executorSensorHint = 20;
151 executorInfo.executorSensorHint = 2634;
156 executorInfo.executorSensorHint = hint;
189 info1.executorSensorHint = 20;
194 info2.executorSensorHint = 20;
216 info1.executorSensorHint = 20;
222 info2.executorSensorHint = 20;
259 EXPECT_EQ(condition.executorSensorHint, 20);
Dco_auth_test.cpp179 info1.executorSensorHint = 10;
183 info2.executorSensorHint = 20;
243 info.executorSensorHint = 10;
261 info.executorSensorHint = 10;
284 info.executorSensorHint = 10;
288 EXPECT_EQ(GetScheduleVeriferSensorHint(&schedule), info.executorSensorHint);
295 info.executorSensorHint = 10;
301 EXPECT_EQ(GetScheduleVeriferSensorHint(&schedule), info.executorSensorHint);
Dexecutor_message_test.cpp394 info.executorSensorHint = 10;
404 credInfo.executorSensorHint = 10;
420 info.executorSensorHint = 10;
437 credInfo->executorSensorHint = 10;
443 info.executorSensorHint = 20;
449 info.executorSensorHint = 10;
/drivers/peripheral/user_auth/hdi_service/user_auth/inc/
Dcontext_manager.h45 uint32_t executorSensorHint; member
52 uint32_t executorSensorHint; member
/drivers/peripheral/user_auth/hdi_service/database/inc/
Didm_database.h48 uint32_t executorSensorHint; member
69 …CredentialConditionExecutorSensorHint(CredentialCondition *condition, uint32_t executorSensorHint);
Didm_common.h33 uint32_t executorSensorHint; member
/drivers/peripheral/user_auth/hdi_service/service/
Duser_auth_interface_service.cpp90 temp.info.executorSensorHint = in->executors[i].executorSensorHint; in CopyScheduleInfoV1_1()
201 outInfo.info.executorSensorHint = inInfo.info.executorSensorHint; in CopyScheduleInfoV1_1ToV1_0()
400 const std::vector<uint8_t> &challenge, uint32_t executorSensorHint, ScheduleInfo &scheduleInfo) in BeginIdentification() argument
404 …int32_t ret = BeginIdentificationV1_1(contextId, authType, challenge, executorSensorHint, infoV1_1… in BeginIdentification()
410 …const std::vector<uint8_t> &challenge, uint32_t executorSensorHint, ScheduleInfoV1_1 &scheduleInfo) in BeginIdentificationV1_1() argument
420 param.executorSensorHint = executorSensorHint; in BeginIdentificationV1_1()
567 checkParam.executorSensorHint = param.executorSensorHint; in BeginEnrollmentV1_1()
616 out.executorSensorHint = in.executorSensorHint; in CopyCredentialInfo()
617 out.executorIndex = QueryCredentialExecutorIndex(in.authType, in.executorSensorHint); in CopyCredentialInfo()
795 out.executorSensorHint = in.executorSensorHint; in CopyExecutorInfo()
[all …]
/drivers/peripheral/user_auth/test/unittest/idm_test/
Duser_idm_funcs_test.cpp69 param.executorSensorHint = 10;
79 info.executorSensorHint = 10;
84 param.executorSensorHint = 10;
148 credInfo.executorSensorHint = 20;
151 param.executorSensorHint = 10;
/drivers/peripheral/user_auth/hdi_service/idm/inc/
Duser_idm_funcs.h31 uint32_t executorSensorHint; member
/drivers/interface/user_auth/v1_0/
DUserAuthTypes.idl126 unsigned int executorSensorHint;
185 unsigned int executorSensorHint;
251 unsigned int executorSensorHint;
272 unsigned int executorSensorHint;
DIUserAuthInterface.idl231 * @param executorSensorHint Indicates the executor sensor hint.
241 [in] unsigned int executorSensorHint, [out] struct ScheduleInfo scheduleInfo);
/drivers/peripheral/user_auth/test/unittest/service_test/src/
Duser_auth_interface_service_test.cpp788 uint32_t executorSensorHint = 0; variable
791 …EXPECT_EQ(service->BeginIdentification(contextId, authType, challenge, executorSensorHint, schedul…
804 uint32_t executorSensorHint = 0; variable
807 …EXPECT_EQ(service->BeginIdentification(contextId, authType, challenge, executorSensorHint, schedul…
830 uint32_t executorSensorHint = 0; variable
832 …EXPECT_EQ(service->BeginIdentification(contextId, authType, challenge, executorSensorHint, schedul…
847 uint32_t executorSensorHint = 0; variable
850 …EXPECT_EQ(service->BeginIdentificationV1_1(contextId, authType, challenge, executorSensorHint, sch…
863 uint32_t executorSensorHint = 0; variable
866 …EXPECT_EQ(service->BeginIdentificationV1_1(contextId, authType, challenge, executorSensorHint, sch…
[all …]
/drivers/peripheral/user_auth/test/unittest/user_auth_test/
Dcontext_manager_test.cpp123 executorInfo.executorSensorHint = 10;
319 executorInfo.executorSensorHint = 10;
343 executorInfo.executorSensorHint = 10;
356 credInfo.executorSensorHint = 10;
/drivers/peripheral/user_auth/hdi_service/database/src/
Didm_database.c659 limit->executorSensorHint != INVALID_SENSOR_HINT && in IsCredMatch()
660 limit->executorSensorHint != credentialInfo->executorSensorHint) { in IsCredMatch()
848 …tCredentialConditionExecutorSensorHint(CredentialCondition *condition, uint32_t executorSensorHint) in SetCredentialConditionExecutorSensorHint() argument
854 condition->executorSensorHint = executorSensorHint; in SetCredentialConditionExecutorSensorHint()
/drivers/interface/user_auth/v1_1/
DIUserAuthInterface.idl82 * @param executorSensorHint Indicates the executor sensor hint.
90 [in] unsigned int executorSensorHint, [out] struct ScheduleInfoV1_1 scheduleInfo);
/drivers/peripheral/user_auth/hdi_service/user_auth/src/
Dcontext_manager.c76 context->collectorSensorHint = params.executorSensorHint; in InitAuthContext()
154 context->collectorSensorHint = params->executorSensorHint; in InitIdentifyContext()
314 *sensorHint = credentialHal->executorSensorHint; in QueryAuthTempletaInfo()
323 if (credentialHal->executorSensorHint == *sensorHint) { in QueryAuthTempletaInfo()
/drivers/peripheral/user_auth/test/fuzztest/user_auth/userauthhdi_fuzzer/
Duser_auth_hdi_fuzzer.cpp55 executorRegisterInfo.executorSensorHint = parcel.ReadUint32(); in FillFuzzExecutorRegisterInfo()
127 authSolution.executorSensorHint = parcel.ReadUint32(); in FillFuzzAuthSolution()
170 enrollParam.executorSensorHint = parcel.ReadUint32(); in FillFuzzEnrollParam()
181 credentialInfo.executorSensorHint = parcel.ReadUint32(); in FillFuzzCredentialInfo()
/drivers/peripheral/user_auth/hdi_service/idm/src/
Duser_idm_funcs.c39 scheduleParam.collectorSensorHint = param->executorSensorHint; in GenerateIdmSchedule()
164 credentialInfo->executorSensorHint = GetScheduleVeriferSensorHint(schedule); in GetInfoFromResult()
/drivers/peripheral/user_auth/test/unittest/database/
Didm_database_test.cpp417 credInfo.executorSensorHint = 20;
569 EXPECT_EQ(condition.executorSensorHint, 20);