Home
last modified time | relevance | path

Searched refs:authContext (Results 1 - 3 of 3) sorted by relevance

/drivers/peripheral/user_auth/hdi_service/user_auth/src/
H A Dcontext_manager.c105 IAM_STATIC ResultCode SetContextExpiredTime(UserAuthContext *authContext) in SetContextExpiredTime() argument
107 if (authContext == NULL) { in SetContextExpiredTime()
112 ResultCode result = GetPinExpiredInfo(authContext->userId, &expiredInfo); in SetContextExpiredTime()
119 authContext->authExpiredSysTime = NO_CHECK_PIN_EXPIRED_PERIOD; in SetContextExpiredTime()
122 authContext->authExpiredSysTime = UINT64_MAX; in SetContextExpiredTime()
124 authContext->authExpiredSysTime = expiredInfo.pinEnrolledSysTime + expiredInfo.pinExpiredPeriod; in SetContextExpiredTime()
586 UserAuthContext *authContext = GetContext(contextId); in DestroyContextbyId() local
587 if (authContext == NULL) { in DestroyContextbyId()
591 DestroyContext(authContext); in DestroyContextbyId()
H A Duser_auth_funcs.c52 UserAuthContext *authContext = NULL; in GenerateSolutionFunc() local
53 ResultCode result = GenerateAuthContext(param, &authContext); in GenerateSolutionFunc()
58 if (authContext == NULL) { in GenerateSolutionFunc()
59 LOG_ERROR("authContext is null"); in GenerateSolutionFunc()
62 if (!authContext->isExpiredReturnSuccess && authContext->authExpiredSysTime != NO_CHECK_PIN_EXPIRED_PERIOD) { in GenerateSolutionFunc()
64 if (nowTime > authContext->authExpiredSysTime) { in GenerateSolutionFunc()
69 ResultCode ret = CopySchedules(authContext, schedules); in GenerateSolutionFunc()
71 DestroyContext(authContext); in GenerateSolutionFunc()
/drivers/peripheral/user_auth/test/unittest/user_auth_test/
H A Dcontext_manager_test.cpp77 UserAuthContext authContext = {}; in HWTEST_F() local
78 authContext.contextId = contextId; in HWTEST_F()
79 g_contextList->insert(g_contextList, static_cast<void *>(&authContext)); in HWTEST_F()

Completed in 4 milliseconds