Home
last modified time | relevance | path

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

/drivers/peripheral/user_auth/hdi_service/user_auth/src/
Dauth_level.c30 Acl acl; member
40 uint32_t GetAtl(uint32_t acl, uint32_t asl) in GetAtl() argument
43 if (asl >= g_generationAtl[i].asl && acl >= g_generationAtl[i].acl) { in GetAtl()
67 ResultCode QueryScheduleAtl(const CoAuthSchedule *coAuthSchedule, uint32_t acl, uint32_t *atl) in QueryScheduleAtl() argument
79 *atl = GetAtl(acl, asl); in QueryScheduleAtl()
119 IAM_STATIC ResultCode GetAcl(int32_t userId, uint32_t authType, uint32_t *acl) in GetAcl() argument
130 *acl = 0; in GetAcl()
139 *acl = *acl < credInfo->capabilityLevel ? credInfo->capabilityLevel : *acl; in GetAcl()
167 … if (authSecureLevel >= g_generationAtl[i].asl && authCapabilityLevel >= g_generationAtl[i].acl) { in SingleAuthTrustLevel()
Dcontext_manager.c288 uint32_t *sensorHint, uint32_t *matcher, uint32_t *acl) in QueryAuthTempletaInfo() argument
316 *acl = credentialHal->capabilityLevel; in QueryAuthTempletaInfo()
344 uint32_t acl; in CreateAuthSchedule() local
345 …de ret = QueryAuthTempletaInfo(context, &templateIds, &verifierSensorHint, &executorMatcher, &acl); in CreateAuthSchedule()
365 ret = QueryScheduleAtl(*schedule, acl, &scheduleAtl); in CreateAuthSchedule()
/drivers/peripheral/user_auth/hdi_service/user_auth/inc/
Dauth_level.h29 uint32_t GetAtl(uint32_t acl, uint32_t asl);
30 ResultCode QueryScheduleAtl(const CoAuthSchedule *coAuthSchedule, uint32_t acl, uint32_t *atl);
/drivers/peripheral/user_auth/test/unittest/user_auth_test/
Dauth_level_test.cpp28 extern ResultCode GetAcl(int32_t userId, uint32_t authType, uint32_t *acl);
122 uint32_t acl = 0; variable
123 EXPECT_EQ(GetAcl(userId, authType, &acl), RESULT_NOT_ENROLLED);
126 EXPECT_EQ(GetAcl(userId, authType, &acl), RESULT_NOT_ENROLLED);
Dcontext_manager_test.cpp36 uint32_t *sensorHint, uint32_t *matcher, uint32_t *acl);
154 uint32_t acl = 0; variable
155 EXPECT_EQ(QueryAuthTempletaInfo(&context, &array, &hint, &matcher, &acl), RESULT_UNKNOWN);
/drivers/peripheral/user_auth/test/unittest/service_test/src/
Dsignature_operation.cpp147 uint32_t acl = FACE_AUTH_CAPABILITY_LEVEL; in GetDataTlvContent() local
152 … WriteTlv(AUTH_CAPABILITY_LEVEL, sizeof(acl), (const uint8_t *)&acl, ret) != RESULT_SUCCESS || in GetDataTlvContent()
/drivers/peripheral/pin_auth/hdi_service/main/src/
Dpin_func.c234 uint32_t acl = PIN_CAPABILITY_LEVEL; in GetDataTlvContent() local
244 … WriteTlv(AUTH_CAPABILITY_LEVEL, sizeof(acl), (const uint8_t *)&acl, ret) != RESULT_SUCCESS || in GetDataTlvContent()