Home
last modified time | relevance | path

Searched refs:UserAuth (Results 1 – 25 of 398) sorted by relevance

12345678910>>...16

/base/useriam/user_auth_framework/frameworks/native/client/
Duser_auth_client_map19 OHOS::UserIam::UserAuth::UserAuthClientImpl::GetProperty*;
20 OHOS::UserIam::UserAuth::UserAuthClientImpl::SetProperty*;
21 OHOS::UserIam::UserAuth::UserAuthClientImpl::BeginAuthentication*;
22 OHOS::UserIam::UserAuth::UserAuthClientImpl::BeginIdentification*;
23 OHOS::UserIam::UserAuth::UserAuthClientImpl::CancelIdentification*;
24 OHOS::UserIam::UserAuth::UserAuthClientImpl::CancelAuthentication*;
25 OHOS::UserIam::UserAuth::UserAuthClientImpl::GetProxy*;
26 OHOS::UserIam::UserAuth::UserIdmClientImpl::DeleteUser*;
27 OHOS::UserIam::UserAuth::UserIdmClientImpl::OpenSession*;
28 OHOS::UserIam::UserAuth::UserIdmClientImpl::CloseSession*;
[all …]
/base/useriam/pin_auth/services/modules/executors/inc/
Dpin_auth_executor_hdi.h33 public UserAuth::IAuthExecutorHdi, public NoCopyable {
38 UserAuth::ResultCode GetExecutorInfo(UserAuth::ExecutorInfo &info) override;
39UserAuth::ResultCode GetTemplateInfo(uint64_t templateId, UserAuth::TemplateInfo &info) override;
40 UserAuth::ResultCode OnRegisterFinish(const std::vector<uint64_t> &templateIdList,
42UserAuth::ResultCode Enroll(uint64_t scheduleId, uint32_t tokenId, const std::vector<uint8_t> &ext…
43 const std::shared_ptr<UserAuth::IExecuteCallback> &callbackObj) override;
44 UserAuth::ResultCode Authenticate(uint64_t scheduleId, uint32_t tokenId,
46 const std::shared_ptr<UserAuth::IExecuteCallback> &callbackObj) override;
47UserAuth::ResultCode OnSetData(uint64_t scheduleId, uint64_t authSubType, const std::vector<uint8_…
48UserAuth::ResultCode Identify(uint64_t scheduleId, uint32_t tokenId, const std::vector<uint8_t> &e…
[all …]
Dpin_auth_executor_callback_hdi.h35 … explicit PinAuthExecutorCallbackHdi(std::shared_ptr<UserAuth::IExecuteCallback> frameworkCallback,
42 std::shared_ptr<UserAuth::IExecuteCallback> frameworkCallback_;
44 UserAuth::ResultCode ConvertResultCode(const int32_t in);
/base/useriam/face_auth/services/inc/
Dface_auth_executor_hdi.h36 namespace UserAuth = OHOS::UserIam::UserAuth; variable
37 class FaceAuthExecutorHdi : public UserAuth::IAuthExecutorHdi, public NoCopyable {
42 UserIam::UserAuth::ResultCode GetExecutorInfo(UserIam::UserAuth::ExecutorInfo &info) override;
43 …UserIam::UserAuth::ResultCode GetTemplateInfo(uint64_t templateId, UserAuth::TemplateInfo &info) o…
44 UserIam::UserAuth::ResultCode OnRegisterFinish(const std::vector<uint64_t> &templateIdList,
46 …UserIam::UserAuth::ResultCode Enroll(uint64_t scheduleId, uint32_t tokenId, const std::vector<uint…
47 const std::shared_ptr<UserAuth::IExecuteCallback> &callbackObj) override;
48 UserIam::UserAuth::ResultCode Authenticate(uint64_t scheduleId, uint32_t tokenId,
50 const std::shared_ptr<UserAuth::IExecuteCallback> &callbackObj) override;
51 …UserIam::UserAuth::ResultCode Identify(uint64_t scheduleId, uint32_t tokenId, const std::vector<ui…
[all …]
Dface_auth_executor_callback_hdi.h31 namespace UserAuth = OHOS::UserIam::UserAuth; variable
34 …explicit FaceAuthExecutorCallbackHdi(std::shared_ptr<UserAuth::IExecuteCallback> frameworkCallback…
42 UserIam::UserAuth::ResultCode ConvertResultCode(const int32_t in);
44 std::shared_ptr<UserAuth::IExecuteCallback> frameworkCallback_;
Dface_auth_driver_hdi.h33 namespace UserAuth = OHOS::UserIam::UserAuth; variable
34 class FaceAuthDriverHdi : public UserAuth::IAuthDriverHdi, public NoCopyable {
39 …void GetExecutorList(std::vector<std::shared_ptr<UserAuth::IAuthExecutorHdi>> &executorList) overr…
/base/account/os_account/interfaces/innerkits/account_iam/native/include/
Daccount_iam_info.h37 typedef UserIam::UserAuth::ResultCode ResultCode;
38 typedef UserIam::UserAuth::AuthType AuthType;
39 typedef UserIam::UserAuth::Attributes Attributes;
40 typedef UserIam::UserAuth::AuthTrustLevel AuthTrustLevel;
41 typedef UserIam::UserAuth::AuthenticationCallback AuthenticationCallback;
42 typedef UserIam::UserAuth::GetPropCallback GetPropCallback;
43 typedef UserIam::UserAuth::SetPropCallback SetPropCallback;
44 typedef UserIam::UserAuth::GetPropertyRequest GetPropertyRequest;
45 typedef UserIam::UserAuth::SetPropertyRequest SetPropertyRequest;
46 typedef UserIam::UserAuth::PropertyMode PropertyMode;
[all …]
/base/useriam/face_auth/services/src/
Dface_auth_executor_callback_hdi.cpp38 namespace UserAuth = OHOS::UserIam::UserAuth;
39 FaceAuthExecutorCallbackHdi::FaceAuthExecutorCallbackHdi(std::shared_ptr<UserAuth::IExecuteCallback… in FaceAuthExecutorCallbackHdi()
47 UserIam::UserAuth::ResultCode retCode = ConvertResultCode(result); in OnResult()
61 UserIam::UserAuth::ResultCode FaceAuthExecutorCallbackHdi::ConvertResultCode(const int32_t in) in ConvertResultCode()
66 return static_cast<UserIam::UserAuth::ResultCode>(in); in ConvertResultCode()
69 static const std::map<ResultCode, UserIam::UserAuth::ResultCode> data = { in ConvertResultCode()
70 {ResultCode::SUCCESS, UserIam::UserAuth::ResultCode::SUCCESS}, in ConvertResultCode()
71 {ResultCode::FAIL, UserIam::UserAuth::ResultCode::FAIL}, in ConvertResultCode()
72 {ResultCode::GENERAL_ERROR, UserIam::UserAuth::ResultCode::GENERAL_ERROR}, in ConvertResultCode()
73 {ResultCode::CANCELED, UserIam::UserAuth::ResultCode::CANCELED}, in ConvertResultCode()
[all …]
Dface_auth_executor_hdi.cpp45 using IamResultCode = OHOS::UserIam::UserAuth::ResultCode;
46 using IamExecutorRole = UserIam::UserAuth::ExecutorRole;
47 using IamExecutorInfo = UserIam::UserAuth::ExecutorInfo;
49 namespace UserAuth = OHOS::UserIam::UserAuth;
70 IamResultCode FaceAuthExecutorHdi::GetTemplateInfo(uint64_t templateId, UserAuth::TemplateInfo &inf… in GetTemplateInfo()
99 const std::shared_ptr<UserAuth::IExecuteCallback> &callbackObj) in Enroll()
116 const std::shared_ptr<UserAuth::IExecuteCallback> &callbackObj) in Authenticate()
132 …const std::vector<uint8_t> &extraInfo, const std::shared_ptr<UserAuth::IExecuteCallback> &callback… in Identify()
171 IamResultCode FaceAuthExecutorHdi::SendCommand(UserIam::UserAuth::PropertyMode commandId, in SendCommand()
172 …const std::vector<uint8_t> &extraInfo, const std::shared_ptr<UserAuth::IExecuteCallback> &callback… in SendCommand()
[all …]
/base/useriam/user_auth_framework/services/base/src/
Dhdi_wrapper.cpp23 namespace UserAuth { namespace
24 std::shared_ptr<OHOS::HDI::UserAuth::V1_0::IUserAuthInterface> HdiWrapper::GetHdiInstance() in GetHdiInstance()
26 auto hdi = OHOS::HDI::UserAuth::V1_0::IUserAuthInterface::Get(); in GetHdiInstance()
30 return Common::SptrToStdSharedPtr<OHOS::HDI::UserAuth::V1_0::IUserAuthInterface>(hdi); in GetHdiInstance()
35 auto hdi = OHOS::HDI::UserAuth::V1_0::IUserAuthInterface::Get(); in GetHdiRemoteObjInstance()
39 return HDI::hdi_objcast<OHOS::HDI::UserAuth::V1_0::IUserAuthInterface>(hdi); in GetHdiRemoteObjInstance()
/base/useriam/pin_auth/services/modules/executors/src/
Dpin_auth_executor_callback_hdi.cpp33 PinAuthExecutorCallbackHdi::PinAuthExecutorCallbackHdi(std::shared_ptr<UserIam::UserAuth::IExecuteC… in PinAuthExecutorCallbackHdi()
40 UserAuth::ResultCode retCode = ConvertResultCode(code); in OnResult()
62 UserAuth::ResultCode PinAuthExecutorCallbackHdi::ConvertResultCode(const int32_t in) in ConvertResultCode()
64 UserAuth::ResultCode hdiIn = static_cast<UserAuth::ResultCode>(in); in ConvertResultCode()
65 if (hdiIn < UserAuth::ResultCode::SUCCESS || hdiIn > UserAuth::ResultCode::LOCKED) { in ConvertResultCode()
67 return UserAuth::ResultCode::GENERAL_ERROR; in ConvertResultCode()
Dpin_auth_executor_hdi.cpp29 using IamResultCode = OHOS::UserIam::UserAuth::ResultCode;
30 using IamExecutorRole = UserIam::UserAuth::ExecutorRole;
37 IamResultCode PinAuthExecutorHdi::GetExecutorInfo(UserAuth::ExecutorInfo &info) in GetExecutorInfo()
59 IamResultCode PinAuthExecutorHdi::GetTemplateInfo(uint64_t templateId, UserAuth::TemplateInfo &info) in GetTemplateInfo()
96 OHOS::HiviewDFX::HiSysEvent::EventType::SECURITY, "EXECUTOR_TYPE", UserAuth::PIN, in OnRegisterFinish()
97 "CHANGE_TYPE", UserAuth::TRACE_DELETE_CREDENTIAL, "TRIGGER_REASON", "Reconciliation"); in OnRegisterFinish()
118 …const std::vector<uint8_t> &extraInfo, const std::shared_ptr<UserAuth::IExecuteCallback> &callback… in Enroll()
145 const std::shared_ptr<UserAuth::IExecuteCallback> &callbackObj) in Authenticate()
175 …const std::vector<uint8_t> &extraInfo, const std::shared_ptr<UserAuth::IExecuteCallback> &callback… in Identify()
215 IamResultCode PinAuthExecutorHdi::SendCommand(UserAuth::PropertyMode commandId, in SendCommand()
[all …]
/base/useriam/user_auth_framework/test/unittest/services/src/
Dschedule_node_helper_test.cpp27 namespace UserAuth { namespace
31 using HdiAuthResultInfo = OHOS::HDI::UserAuth::V1_0::AuthResultInfo;
32 using HdiAuthSolution = OHOS::HDI::UserAuth::V1_0::AuthSolution;
33 using HdiExecutorSendMsg = OHOS::HDI::UserAuth::V1_0::ExecutorSendMsg;
34 using HdiAuthType = OHOS::HDI::UserAuth::V1_0::AuthType;
35 using HdiEnrollParam = OHOS::HDI::UserAuth::V1_0::EnrollParam;
36 using HdiExecutorInfo = OHOS::HDI::UserAuth::V1_0::ExecutorInfo;
37 using HdiScheduleInfo = OHOS::HDI::UserAuth::V1_0::ScheduleInfo;
38 using HdiExecutorRole = OHOS::HDI::UserAuth::V1_0::ExecutorRole;
39 using HdiScheduleMode = OHOS::HDI::UserAuth::V1_0::ScheduleMode;
[all …]
Dcredential_info_test.cpp20 namespace UserAuth { namespace
23 using HdiCredential = OHOS::HDI::UserAuth::V1_0::CredentialInfo;
48 .authType = static_cast<OHOS::HDI::UserAuth::V1_0::AuthType>(4),
65 .authType = static_cast<OHOS::HDI::UserAuth::V1_0::AuthType>(4),
81 .authType = static_cast<OHOS::HDI::UserAuth::V1_0::AuthType>(4),
97 .authType = static_cast<OHOS::HDI::UserAuth::V1_0::AuthType>(4),
113 .authType = static_cast<OHOS::HDI::UserAuth::V1_0::AuthType>(4),
129 .authType = static_cast<OHOS::HDI::UserAuth::V1_0::AuthType>(4),
145 .authType = static_cast<OHOS::HDI::UserAuth::V1_0::AuthType>(4),
Dauthentication_impl_test.cpp28 namespace UserAuth { namespace
32 using HdiAuthResultInfo = OHOS::HDI::UserAuth::V1_0::AuthResultInfo;
33 using HdiAuthSolution = OHOS::HDI::UserAuth::V1_0::AuthSolution;
34 using HdiExecutorSendMsg = OHOS::HDI::UserAuth::V1_0::ExecutorSendMsg;
35 using HdiAuthType = OHOS::HDI::UserAuth::V1_0::AuthType;
36 using HdiEnrollParam = OHOS::HDI::UserAuth::V1_0::EnrollParam;
37 using HdiExecutorInfo = OHOS::HDI::UserAuth::V1_0::ExecutorInfo;
38 using HdiScheduleInfo = OHOS::HDI::UserAuth::V1_0::ScheduleInfo;
39 using HdiExecutorRole = OHOS::HDI::UserAuth::V1_0::ExecutorRole;
40 using HdiScheduleMode = OHOS::HDI::UserAuth::V1_0::ScheduleMode;
[all …]
Denrollment_impl_test.cpp27 namespace UserAuth { namespace
31 using HdiAuthType = OHOS::HDI::UserAuth::V1_0::AuthType;
32 using HdiEnrollParam = OHOS::HDI::UserAuth::V1_0::EnrollParam;
33 using HdiExecutorInfo = OHOS::HDI::UserAuth::V1_0::ExecutorInfo;
34 using HdiScheduleInfo = OHOS::HDI::UserAuth::V1_0::ScheduleInfo;
35 using HdiExecutorRole = OHOS::HDI::UserAuth::V1_0::ExecutorRole;
36 using HdiScheduleMode = OHOS::HDI::UserAuth::V1_0::ScheduleMode;
37 using HdiExecutorSecureLevel = OHOS::HDI::UserAuth::V1_0::ExecutorSecureLevel;
113 using HdiCredentialInfo = OHOS::HDI::UserAuth::V1_0::CredentialInfo;
114 using HdiEnrollResultInfo = OHOS::HDI::UserAuth::V1_0::EnrollResultInfo;
[all …]
Didentification_impl_test.cpp27 namespace UserAuth { namespace
31 using HdiScheduleInfo = OHOS::HDI::UserAuth::V1_0::ScheduleInfo;
32 using HdiScheduleMode = OHOS::HDI::UserAuth::V1_0::ScheduleMode;
33 using HdiAuthType = OHOS::HDI::UserAuth::V1_0::AuthType;
34 using HdiExecutorInfo = OHOS::HDI::UserAuth::V1_0::ExecutorInfo;
35 using HdiExecutorSecureLevel = OHOS::HDI::UserAuth::V1_0::ExecutorSecureLevel;
36 using HdiExecutorRole = OHOS::HDI::UserAuth::V1_0::ExecutorRole;
92 using HdiIdentifyResultInfo = OHOS::HDI::UserAuth::V1_0::IdentifyResultInfo;
105 using HdiIdentifyResultInfo = OHOS::HDI::UserAuth::V1_0::IdentifyResultInfo;
/base/useriam/user_auth_framework/test/unittest/services/mocks/
Dmock_iuser_auth_interface.h30 namespace UserAuth {
31 class MockIUserAuthInterface final : public HDI::UserAuth::V1_0::IUserAuthInterface {
33 using ExecutorRegisterInfo = OHOS::HDI::UserAuth::V1_0::ExecutorRegisterInfo;
34 using EnrollParam = OHOS::HDI::UserAuth::V1_0::EnrollParam;
35 using ScheduleInfo = OHOS::HDI::UserAuth::V1_0::ScheduleInfo;
36 using CredentialInfo = OHOS::HDI::UserAuth::V1_0::CredentialInfo;
37 using EnrolledInfo = OHOS::HDI::UserAuth::V1_0::EnrolledInfo;
38 using AuthType = OHOS::HDI::UserAuth::V1_0::AuthType;
39 using PinSubType = OHOS::HDI::UserAuth::V1_0::PinSubType;
40 using AuthSolution = OHOS::HDI::UserAuth::V1_0::AuthSolution;
[all …]
/base/useriam/user_auth_framework/test/unittest/executors/mock/
Dmock_iauth_executor_hdi.h25 namespace UserAuth {
27 using namespace OHOS::UserIam::UserAuth;
34 MOCK_METHOD2(GetTemplateInfo, ResultCode(uint64_t templateId, UserAuth::TemplateInfo &info));
39 const std::shared_ptr<UserAuth::IExecuteCallback> &callbackObj));
42 …const std::vector<uint8_t> &extraInfo, const std::shared_ptr<UserAuth::IExecuteCallback> &callback…
44 const std::shared_ptr<UserAuth::IExecuteCallback> &callbackObj));
48 const std::shared_ptr<UserAuth::IExecuteCallback> &callbackObj));
/base/useriam/user_auth_framework/test/fuzztest/services/servicecore_fuzzer/src/
Dservice_core_fuzzer.cpp23 using FuzzEntryFunc = decltype(OHOS::UserIam::UserAuth::ScheduleNodeFuzzTest);
25 OHOS::UserIam::UserAuth::ScheduleNodeFuzzTest,
26 OHOS::UserIam::UserAuth::ResourceNodePoolFuzzTest,
27 OHOS::UserIam::UserAuth::ResourceNodeFuzzTest,
/base/useriam/user_auth_framework/common/executors/include/public/
Diauth_executor_hdi.h29 namespace UserAuth {
36 virtual ResultCode GetTemplateInfo(uint64_t templateId, UserAuth::TemplateInfo &info) = 0;
40 const std::shared_ptr<UserAuth::IExecuteCallback> &callbackObj) = 0;
42 …const std::vector<uint8_t> &extraInfo, const std::shared_ptr<UserAuth::IExecuteCallback> &callback…
45 const std::shared_ptr<UserAuth::IExecuteCallback> &callbackObj) = 0;
49 const std::shared_ptr<UserAuth::IExecuteCallback> &callbackObj) = 0;
/base/useriam/user_auth_framework/test/fuzztest/executors/userauthdrivermanager_fuzzer/
Duser_auth_driver_manager_fuzzer.cpp34 namespace UserAuth { namespace
38 using namespace OHOS::UserIam::UserAuth;
61 ResultCode GetTemplateInfo(uint64_t templateId, UserAuth::TemplateInfo &templateInfo) override in GetTemplateInfo()
85 const std::shared_ptr<UserAuth::IExecuteCallback> &callbackObj) override in Enroll()
99 …const std::vector<uint8_t> &extraInfo, const std::shared_ptr<UserAuth::IExecuteCallback> &callback… in Authenticate()
114 const std::shared_ptr<UserAuth::IExecuteCallback> &callbackObj) override in Identify()
146 const std::shared_ptr<UserAuth::IExecuteCallback> &callbackObj) override in SendCommand()
173 void GetExecutorList(std::vector<std::shared_ptr<UserAuth::IAuthExecutorHdi>> &executorList) in GetExecutorList()
205 const std::map<std::string, UserAuth::HdiConfig> GLOBAL_HDI_NAME_TO_CONFIG = {
213 Singleton<UserAuth::DriverManager>::GetInstance().Start(GLOBAL_HDI_NAME_TO_CONFIG); in FuzzStart()
[all …]
/base/account/os_account/services/accountmgr/include/osaccount/
Dos_account_delete_user_idm_callback.h24 class OsAccountDeleteUserIdmCallback : public OHOS::UserIam::UserAuth::UserIdmClientCallback {
34 void OnResult(int32_t result, const UserIam::UserAuth::Attributes &extraInfo) override;
43 …void OnAcquireInfo(int32_t module, uint32_t acquireInfo, const UserIam::UserAuth::Attributes &extr…
/base/useriam/user_auth_framework/frameworks/native/client/src/
Duser_idm_callback_service.cpp25 namespace UserAuth { namespace
28 iamHitraceHelper_(Common::MakeShared<UserIam::UserAuth::IamHitraceHelper>("IDM InnerKit")) in IdmCallbackService()
64 std::vector<UserAuth::CredentialInfo> credInfoList; in OnCredentialInfos()
69 UserAuth::CredentialInfo info = {}; in OnCredentialInfos()
/base/useriam/user_auth_framework/common/executors/src/
Didriver_manager.cpp25 namespace UserAuth { namespace
28 return Singleton<UserAuth::DriverManager>::GetInstance().Start(hdiName2Config); in Start()

12345678910>>...16