Home
last modified time | relevance | path

Searched refs:AuthWidgetHelper (Results 1 - 6 of 6) sorted by relevance

/base/useriam/user_auth_framework/test/unittest/services/src/
H A Dauth_widget_helper_test.cpp72 EXPECT_TRUE(AuthWidgetHelper::InitWidgetContextParam(authParam, validType, widgetParam, para)); in HWTEST_F()
89 EXPECT_FALSE(AuthWidgetHelper::InitWidgetContextParam(authParam, validType, widgetParam, para)); in HWTEST_F()
102 EXPECT_FALSE(AuthWidgetHelper::CheckValidSolution(userId, authTypeList, atl, validTypeList)); in HWTEST_F()
112 EXPECT_EQ(AuthWidgetHelper::CheckReuseUnlockResult(para, authParam, extraInfo), INVALID_PARAMETERS); in HWTEST_F()
116 EXPECT_EQ(AuthWidgetHelper::CheckReuseUnlockResult(para, authParam, extraInfo), INVALID_PARAMETERS); in HWTEST_F()
119 EXPECT_EQ(AuthWidgetHelper::CheckReuseUnlockResult(para, authParam, extraInfo), INVALID_PARAMETERS); in HWTEST_F()
137 EXPECT_EQ(AuthWidgetHelper::CheckReuseUnlockResult(para, authParam, extraInfo), HDF_FAILURE); in HWTEST_F()
146 EXPECT_EQ(AuthWidgetHelper::CheckReuseUnlockResult(para, authParam, extraInfo), HDF_SUCCESS); in HWTEST_F()
149 EXPECT_EQ(AuthWidgetHelper::CheckReuseUnlockResult(para, authParam, extraInfo), SUCCESS); in HWTEST_F()
/base/useriam/user_auth_framework/services/context/src/
H A Dauth_widget_helper.cpp33 bool AuthWidgetHelper::InitWidgetContextParam(const AuthParamInner &authParam, std::vector<AuthType> &validType, in InitWidgetContextParam()
59 bool AuthWidgetHelper::GetUserAuthProfile(int32_t userId, const AuthType &authType, in GetUserAuthProfile()
106 bool AuthWidgetHelper::ParseAttributes(const Attributes &values, const AuthType &authType, in ParseAttributes()
130 int32_t AuthWidgetHelper::CheckValidSolution(int32_t userId, in CheckValidSolution()
158 int32_t AuthWidgetHelper::SetReuseUnlockResult(int32_t apiVersion, const HdiReuseUnlockInfo &info, in SetReuseUnlockResult()
180 int32_t AuthWidgetHelper::CheckReuseUnlockResult(const ContextFactory::AuthWidgetContextPara &para, in CheckReuseUnlockResult()
H A Dwidget_context.cpp451 if (!AuthWidgetHelper::GetUserAuthProfile(para_.userId, authType, profile)) { in ConnectExtension()
/base/useriam/user_auth_framework/services/context/inc/
H A Dauth_widget_helper.h26 class AuthWidgetHelper { class
/base/useriam/user_auth_framework/test/fuzztest/services/context/remoteauthcontext_fuzzer/
H A Dremote_auth_context_fuzzer.cpp211 AuthWidgetHelper::InitWidgetContextParam(authParam, validType, widgetParam, para); in FuzzAuthWidgetHelper()
219 AuthWidgetHelper::GetUserAuthProfile(userId, authType, profile); in FuzzGetUserAuthProfile()
248 AuthWidgetHelper::CheckValidSolution(userId, authTypeList, atl, validTypeList); in FuzzCheckValidSolution()
265 AuthWidgetHelper::CheckReuseUnlockResult(para, authParam, extraInfo); in FuzzCheckReuseUnlockResult()
/base/useriam/user_auth_framework/services/ipc/src/
H A Duser_auth_service.cpp861 if (!AuthWidgetHelper::InitWidgetContextParam(authParam, validType, widgetParam, para)) { in StartWidgetContext()
888 int32_t ret = AuthWidgetHelper::CheckValidSolution( in CheckValidSolution()
961 if (AuthWidgetHelper::CheckReuseUnlockResult(para, authParam, extraInfo) == SUCCESS) { in AuthWidget()

Completed in 6 milliseconds