Home
last modified time | relevance | path

Searched refs:authTypeList (Results 1 – 25 of 32) sorted by relevance

12

/ohos5.0/base/useriam/user_auth_framework/test/unittest/services/src/
H A Dwidget_client_test.cpp180 std::vector<AuthType> authTypeList; variable
194 std::vector<AuthType> authTypeList; variable
210 std::vector<AuthType> authTypeList; variable
226 std::vector<AuthType> authTypeList; variable
242 std::vector<AuthType> authTypeList; variable
258 std::vector<AuthType> authTypeList; variable
274 std::vector<AuthType> authTypeList; variable
292 std::vector<AuthType> authTypeList; variable
310 std::vector<AuthType> authTypeList; variable
326 std::vector<AuthType> authTypeList; variable
[all …]
H A Dwidget_context_test.cpp273 std::vector<AuthType> authTypeList; variable
300 std::set<AuthType> authTypeList; variable
301 authTypeList.insert(FACE);
302 authTypeList.insert(ALL);
345 std::set<AuthType> authTypeList; variable
346 authTypeList.insert(FACE);
360 std::set<AuthType> authTypeList; variable
372 std::set<AuthType> authTypeList; variable
373 authTypeList.insert(AuthType::PIN);
388 std::set<AuthType> authTypeList; variable
[all …]
H A Dauth_widget_helper_test.cpp95 std::vector<AuthType> authTypeList; variable
96 authTypeList.push_back(FACE);
97 authTypeList.push_back(ALL);
98 authTypeList.push_back(PIN);
99 authTypeList.push_back(FINGERPRINT);
102 EXPECT_FALSE(AuthWidgetHelper::CheckValidSolution(userId, authTypeList, atl, validTypeList));
H A Dwidget_schedule_node_impl_test.cpp84 …std::vector<AuthType> authTypeList = {AuthType::ALL, AuthType::PIN, AuthType::FACE, AuthType::FING… variable
87 EXPECT_TRUE(schedule->StartAuthList(authTypeList, true, AuthIntent::DEFAULT));
97 …std::vector<AuthType> authTypeList = {AuthType::ALL, AuthType::PIN, AuthType::FACE, AuthType::FING… variable
100 schedule->StartAuthList(authTypeList, false, AuthIntent::DEFAULT);
101 EXPECT_TRUE(schedule->StopAuthList(authTypeList));
111 …std::vector<AuthType> authTypeList = {AuthType::ALL, AuthType::PIN, AuthType::FACE, AuthType::FING… variable
114 schedule->StartAuthList(authTypeList, true, AuthIntent::DEFAULT);
H A Duser_auth_service_test.cpp1706 std::vector<AuthType> authTypeList; variable
1716 std::vector<AuthType> authTypeList; variable
1727 std::vector<AuthType> authTypeList; variable
1728 authTypeList.push_back(AuthType::PIN);
1729 authTypeList.push_back(AuthType::FACE);
1741 std::vector<AuthType> authTypeList; variable
1742 authTypeList.push_back(AuthType::PIN);
1743 authTypeList.push_back(AuthType::FACE);
1781 std::vector<AuthType> authTypeList; variable
1782 authTypeList.push_back(AuthType::PIN);
[all …]
/ohos5.0/base/useriam/user_auth_framework/services/context/src/
H A Dwidget_client.cpp84 std::vector<AuthType> authTypeList = {}; in OnNotice() local
85 if (!GetAuthTypeList(notice, authTypeList)) { in OnNotice()
89 ProcessNotice(notice, authTypeList); in OnNotice()
98 if (authTypeList.size() == 1 && authTypeList[0] == AuthType::ALL) { in ProcessNotice()
101 schedule_->StopAuthList(authTypeList); in ProcessNotice()
108 schedule_->StopAuthList(authTypeList); in ProcessNotice()
110 … if ((authTypeList.size() == 1 && authTypeList[0] == AuthType::ALL) || authTypeList.size() != 1) { in ProcessNotice()
195 authTypeList_ = authTypeList; in SetAuthTypeList()
285 authTypeList.emplace_back(AuthType::ALL); in GetAuthTypeList()
293 authTypeList.emplace_back(type); in GetAuthTypeList()
[all …]
H A Dauth_widget_helper.cpp51 para.authTypeList = std::move(validType); in InitWidgetContextParam()
138 …const std::vector<AuthType> &authTypeList, const AuthTrustLevel &atl, std::vector<AuthType> &valid… in CheckValidSolution() argument
140 …I("start userId:%{public}d atl:%{public}u typeSize:%{public}zu", userId, atl, authTypeList.size()); in CheckValidSolution()
149 for (auto &type : authTypeList) { in CheckValidSolution()
H A Dwidget_context.cpp217 WidgetClient::Instance().SetAuthTypeList(para_.authTypeList); in OnStart()
295 void WidgetContext::ExecuteAuthList(const std::set<AuthType> &authTypeList, bool endAfterFirstFail, in ExecuteAuthList() argument
301 for (auto &authType : authTypeList) { in ExecuteAuthList()
408 void WidgetContext::StopAuthList(const std::vector<AuthType> &authTypeList) in StopAuthList() argument
412 for (auto &authType : authTypeList) { in StopAuthList()
460 for (auto &authType : para_.authTypeList) { in ConnectExtension()
H A Dwidget_json.cpp203 std::vector<AuthType> authTypeList; in AuthTypeList() local
205 authTypeList.emplace_back(Str2AuthType(type)); in AuthTypeList()
207 return authTypeList; in AuthTypeList()
/ohos5.0/base/useriam/user_auth_framework/services/context/inc/
H A Dwidget_client.h40 void SetAuthTypeList(const std::vector<AuthType> &authTypeList);
64 bool GetAuthTypeList(const WidgetNotice &notice, std::vector<AuthType> &authTypeList);
66 void ProcessNotice(const WidgetNotice &notice, std::vector<AuthType> &authTypeList);
H A Dwidget_context.h70 void ExecuteAuthList(const std::set<AuthType> &authTypeList, bool endAfterFirstFail,
75 void StopAuthList(const std::vector<AuthType> &authTypeList) override;
H A Dauth_widget_helper.h31 …const std::vector<AuthType> &authTypeList, const AuthTrustLevel &atl, std::vector<AuthType> &valid…
H A Dcontext_factory.h51 std::vector<AuthType> authTypeList {};
/ohos5.0/base/theme/screenlock_mgr/services/src/
H A Dstrongauthmanager.cpp136 std::vector<UserIam::UserAuth::AuthType> authTypeList; in RegistUserAuthSuccessEventListener() local
137 authTypeList.emplace_back(AuthType::PIN); in RegistUserAuthSuccessEventListener()
138 authTypeList.emplace_back(AuthType::FACE); in RegistUserAuthSuccessEventListener()
139 authTypeList.emplace_back(AuthType::FINGERPRINT); in RegistUserAuthSuccessEventListener()
149 authTypeList, listener_); in RegistUserAuthSuccessEventListener()
/ohos5.0/base/useriam/user_auth_framework/test/unittest/inner_api/src/
H A Duser_auth_client_test.cpp689 std::vector<AuthType> authTypeList; variable
690 authTypeList.push_back(AuthType::PIN);
691 authTypeList.push_back(AuthType::FACE);
692 authTypeList.push_back(AuthType::FINGERPRINT);
717 std::vector<AuthType> authTypeList; variable
718 authTypeList.push_back(AuthType::PIN);
719 authTypeList.push_back(AuthType::FACE);
720 authTypeList.push_back(AuthType::FINGERPRINT);
728 std::vector<AuthType> authTypeList; variable
729 authTypeList.push_back(AuthType::PIN);
[all …]
H A Duser_auth_proxy_test.cpp457 std::vector<AuthType> authTypeList; variable
458 authTypeList.push_back(AuthType::PIN);
459 authTypeList.push_back(AuthType::FACE);
460 authTypeList.push_back(AuthType::FINGERPRINT);
461 proxy->RegistUserAuthSuccessEventListener(authTypeList, testCallback);
/ohos5.0/base/useriam/user_auth_framework/services/core/inc/
H A Dwidget_schedule_node_callback.h35 virtual void ExecuteAuthList(const std::set<AuthType> &authTypeList, bool endAfterFirstFail,
40 virtual void StopAuthList(const std::vector<AuthType> &authTypeList) = 0;
H A Dwidget_schedule_node.h58 virtual bool StartAuthList(const std::vector<AuthType> &authTypeList, bool endAfterFirstFail,
60 virtual bool StopAuthList(const std::vector<AuthType> &authTypeList) = 0;
/ohos5.0/base/useriam/user_auth_framework/test/unittest/services/mocks/
H A Dmock_widget_schedule_node_callback.h31 … MOCK_METHOD3(ExecuteAuthList, void(const std::set<AuthType> &authTypeList, bool endAfterFirstFail,
36 MOCK_METHOD1(StopAuthList, void(const std::vector<AuthType> &authTypeList));
H A Dmock_widget_schedule_node.h29 …MOCK_METHOD3(StartAuthList, bool(const std::vector<AuthType> &authTypeList, bool endAfterFirstFail,
/ohos5.0/base/useriam/user_auth_framework/services/core/src/
H A Dwidget_schedule_node_impl.cpp112 bool WidgetScheduleNodeImpl::StartAuthList(const std::vector<AuthType> &authTypeList, bool endAfter… in StartAuthList() argument
117 for (auto authType : authTypeList) { in StartAuthList()
126 bool WidgetScheduleNodeImpl::StopAuthList(const std::vector<AuthType> &authTypeList) in StopAuthList() argument
129 stopAuthTypeList_ = authTypeList; in StopAuthList()
H A Dwidget_schedule_node_impl.h42 bool StartAuthList(const std::vector<AuthType> &authTypeList, bool endAfterFirstFail,
44 bool StopAuthList(const std::vector<AuthType> &authTypeList) override;
/ohos5.0/base/useriam/user_auth_framework/test/fuzztest/clients/userauthclient_fuzzer/
H A Duser_auth_client_fuzzer.cpp223 std::vector<AuthType> authTypeList; in FuzzClientRegistUserAuthSuccessEventListener() local
224 authTypeList.push_back(AuthType::PIN); in FuzzClientRegistUserAuthSuccessEventListener()
225 authTypeList.push_back(AuthType::FACE); in FuzzClientRegistUserAuthSuccessEventListener()
226 authTypeList.push_back(AuthType::FINGERPRINT); in FuzzClientRegistUserAuthSuccessEventListener()
228 UserAuthClientImpl::Instance().RegistUserAuthSuccessEventListener(authTypeList, listener); in FuzzClientRegistUserAuthSuccessEventListener()
/ohos5.0/base/useriam/user_auth_framework/test/fuzztest/services/context/remoteauthcontext_fuzzer/
H A Dremote_auth_context_fuzzer.cpp244 std::vector<AuthType> authTypeList = {PIN, FACE, FINGERPRINT}; in FuzzCheckValidSolution() local
247 AuthWidgetHelper::CheckValidSolution(userId, authTypeList, atl, validTypeList); in FuzzCheckValidSolution()
/ohos5.0/base/useriam/user_auth_framework/test/fuzztest/services/userauthservice_fuzzer/
H A Duser_auth_service_fuzzer.cpp329 std::vector<AuthType> authTypeList; in FuzzRegistUserAuthSuccessEventListener() local
332 authTypeList.push_back(static_cast<AuthType>(iter)); in FuzzRegistUserAuthSuccessEventListener()
340 g_userAuthService.RegistUserAuthSuccessEventListener(authTypeList, callback); in FuzzRegistUserAuthSuccessEventListener()

12