Searched refs:atl (Results 1 - 4 of 4) sorted by relevance
/drivers/peripheral/user_auth/hdi_service/user_auth/src/ |
H A D | auth_level.c | 29 Atl atl; member 44 return g_generationAtl[i].atl; in GetAtl() 67 ResultCode QueryScheduleAtl(const CoAuthSchedule *coAuthSchedule, uint32_t acl, uint32_t *atl) in QueryScheduleAtl() argument 69 if (coAuthSchedule == NULL || atl == NULL) { in QueryScheduleAtl() 79 *atl = GetAtl(acl, asl); in QueryScheduleAtl() 151 ResultCode CheckAtlByExecutorAndCred(int32_t userId, uint32_t authType, uint32_t atl) in CheckAtlByExecutorAndCred() argument 161 if (atl > supportedAtl) { in CheckAtlByExecutorAndCred() 162 LOG_ERROR("atl does not support, authType:%{public}d, supportedAtl:%{public}u", authType, supportedAtl); in CheckAtlByExecutorAndCred() 173 if (atl > credInfoAtl) { in CheckAtlByExecutorAndCred() 174 LOG_ERROR("atl doe in CheckAtlByExecutorAndCred() [all...] |
H A D | context_manager.c | 623 uint32_t atl = ATL0; in CheckAndSetContextAtl() local 624 ResultCode ret = QueryScheduleAtl(schedule, info->capabilityLevel, &atl); in CheckAndSetContextAtl() 629 if (atl < context->authTrustLevel) { in CheckAndSetContextAtl() 630 LOG_ERROR("atl %u not satisfied, context atl:%u", atl, context->authTrustLevel); in CheckAndSetContextAtl() 633 LOG_INFO("context atl %{public}u:%{public}u", context->authTrustLevel, atl); in CheckAndSetContextAtl() 634 context->authTrustLevel = atl; in CheckAndSetContextAtl()
|
/drivers/peripheral/user_auth/hdi_service/user_auth/inc/ |
H A D | auth_level.h | 28 ResultCode CheckAtlByExecutorAndCred(int32_t userId, uint32_t authType, uint32_t atl); 30 ResultCode QueryScheduleAtl(const CoAuthSchedule *coAuthSchedule, uint32_t acl, uint32_t *atl);
|
/drivers/peripheral/user_auth/test/unittest/user_auth_test/ |
H A D | auth_level_test.cpp | 80 uint32_t atl = 0; in HWTEST_F() local 82 EXPECT_EQ(QueryScheduleAtl(&schedule, 0, &atl), RESULT_BAD_PARAM); in HWTEST_F()
|
Completed in 3 milliseconds