Home
last modified time | relevance | path

Searched refs:coAuthSchedule (Results 1 – 7 of 7) sorted by relevance

/drivers/peripheral/user_auth/hdi_service/coauth/src/
Dcoauth.c53 CoAuthSchedule *CopyCoAuthSchedule(const CoAuthSchedule *coAuthSchedule) in CopyCoAuthSchedule() argument
55 if (coAuthSchedule == NULL || !IsTemplateArraysValid(&(coAuthSchedule->templateIds))) { in CopyCoAuthSchedule()
64 if (memcpy_s(schedule, sizeof(CoAuthSchedule), coAuthSchedule, sizeof(CoAuthSchedule)) != EOK) { in CopyCoAuthSchedule()
71 ResultCode ret = CopyTemplateArrays(&(coAuthSchedule->templateIds), &(schedule->templateIds)); in CopyCoAuthSchedule()
80 void DestroyCoAuthSchedule(CoAuthSchedule *coAuthSchedule) in DestroyCoAuthSchedule() argument
82 if (coAuthSchedule == NULL) { in DestroyCoAuthSchedule()
85 DestroyScheduleNode(coAuthSchedule); in DestroyCoAuthSchedule()
105 ResultCode AddCoAuthSchedule(const CoAuthSchedule *coAuthSchedule) in AddCoAuthSchedule() argument
111 if (coAuthSchedule == NULL) { in AddCoAuthSchedule()
115 CoAuthSchedule *schedule = CopyCoAuthSchedule(coAuthSchedule); in AddCoAuthSchedule()
[all …]
/drivers/peripheral/user_auth/hdi_service/coauth/inc/
Dcoauth.h61 ResultCode AddCoAuthSchedule(const CoAuthSchedule *coAuthSchedule);
64 uint32_t GetScheduleVeriferSensorHint(const CoAuthSchedule *coAuthSchedule);
65 void DestroyCoAuthSchedule(CoAuthSchedule *coAuthSchedule);
66 CoAuthSchedule *CopyCoAuthSchedule(const CoAuthSchedule *coAuthSchedule);
/drivers/peripheral/user_auth/hdi_service/user_auth/src/
Dauth_level.c50 IAM_STATIC ResultCode QueryScheduleAsl(const CoAuthSchedule *coAuthSchedule, uint32_t *asl) in QueryScheduleAsl() argument
52 if (coAuthSchedule == NULL || asl == NULL || coAuthSchedule->executorSize == 0) { in QueryScheduleAsl()
58 for (uint32_t i = 0; i < coAuthSchedule->executorSize; ++i) { in QueryScheduleAsl()
59 uint32_t esl = coAuthSchedule->executors[i].esl; in QueryScheduleAsl()
67 ResultCode QueryScheduleAtl(const CoAuthSchedule *coAuthSchedule, uint32_t acl, uint32_t *atl) in QueryScheduleAtl() argument
69 if (coAuthSchedule == NULL || atl == NULL) { in QueryScheduleAtl()
74 ResultCode ret = QueryScheduleAsl(coAuthSchedule, &asl); in QueryScheduleAtl()
/drivers/peripheral/user_auth/hdi_service/user_auth/inc/
Dauth_level.h30 ResultCode QueryScheduleAtl(const CoAuthSchedule *coAuthSchedule, uint32_t acl, uint32_t *atl);
/drivers/peripheral/user_auth/test/unittest/user_auth_test/
Dauth_level_test.cpp26 extern ResultCode QueryScheduleAsl(const CoAuthSchedule *coAuthSchedule, uint32_t *asl);
/drivers/peripheral/user_auth/test/unittest/co_auth/
Dco_auth_test.cpp29 extern ResultCode MountExecutorOnce(const LinkedList *executors, CoAuthSchedule *coAuthSchedule,
32 extern ResultCode MountExecutor(const ScheduleParam *param, CoAuthSchedule *coAuthSchedule);
/drivers/peripheral/user_auth/hdi_service/service/
Duser_auth_interface_service.cpp262 auto coAuthSchedule = static_cast<CoAuthSchedule *>(tempNode->data); in BeginAuthenticationV1_1() local
263 if (!CopyScheduleInfoV1_1(coAuthSchedule, &temp)) { in BeginAuthenticationV1_1()