/base/useriam/fingerprint_auth/services/src/ |
D | fingerprint_auth_executor_callback_hdi.cpp | 78 UserAuth::ResultCode retCode = ConvertResultCode(result); in OnResult() 106 UserAuth::ResultCode FingerprintAuthExecutorCallbackHdi::ConvertResultCode(const int32_t in) in ConvertResultCode() 108 ResultCode hdiIn = static_cast<ResultCode>(in); in ConvertResultCode() 109 if (hdiIn > ResultCode::VENDOR_RESULT_CODE_BEGIN) { in ConvertResultCode() 111 return static_cast<UserAuth::ResultCode>(in); in ConvertResultCode() 114 static const std::map<ResultCode, UserAuth::ResultCode> data = { in ConvertResultCode() 115 { ResultCode::SUCCESS, UserAuth::ResultCode::SUCCESS }, in ConvertResultCode() 116 { ResultCode::FAIL, UserAuth::ResultCode::FAIL }, in ConvertResultCode() 117 { ResultCode::GENERAL_ERROR, UserAuth::ResultCode::GENERAL_ERROR }, in ConvertResultCode() 118 { ResultCode::CANCELED, UserAuth::ResultCode::CANCELED }, in ConvertResultCode() [all …]
|
D | sensor_illumination_manager.cpp | 55 UserAuth::ResultCode SensorIlluminationManager::ProcessSaCommand( in ProcessSaCommand() 61 UserAuth::ResultCode result = UserAuth::GENERAL_ERROR; in ProcessSaCommand() 95 UserAuth::ResultCode disableResultCode = taskInProc_->DisableSensorIllumination(); in OnHdiDisconnect() 96 if (disableResultCode != UserAuth::ResultCode::SUCCESS) { in OnHdiDisconnect() 104 UserAuth::ResultCode SensorIlluminationManager::EnableSensorIllumination( in EnableSensorIllumination() 135 …UserAuth::ResultCode enableResultCode = taskInProc->EnableSensorIllumination(param.enableSensorIll… in EnableSensorIllumination() 138 …IF_FALSE_LOGE_AND_RETURN_VAL(enableResultCode == UserAuth::ResultCode::SUCCESS, UserAuth::GENERAL_… in EnableSensorIllumination() 146 UserAuth::ResultCode SensorIlluminationManager::DisableSensorIllumination( in DisableSensorIllumination() 158 UserAuth::ResultCode disableResultCode = taskInProc_->DisableSensorIllumination(); in DisableSensorIllumination() 159 if (disableResultCode != UserAuth::ResultCode::SUCCESS) { in DisableSensorIllumination() [all …]
|
/base/useriam/face_auth/services/src/ |
D | face_auth_executor_callback_hdi.cpp | 77 UserAuth::ResultCode retCode = ConvertResultCode(result); in OnResult() 102 UserAuth::ResultCode FaceAuthExecutorCallbackHdi::ConvertResultCode(const int32_t in) in ConvertResultCode() 104 ResultCode hdiIn = static_cast<ResultCode>(in); in ConvertResultCode() 105 if (hdiIn > ResultCode::VENDOR_RESULT_CODE_BEGIN) { in ConvertResultCode() 107 return static_cast<UserAuth::ResultCode>(in); in ConvertResultCode() 110 static const std::map<ResultCode, UserAuth::ResultCode> data = { in ConvertResultCode() 111 { ResultCode::SUCCESS, UserAuth::ResultCode::SUCCESS }, in ConvertResultCode() 112 { ResultCode::FAIL, UserAuth::ResultCode::FAIL }, in ConvertResultCode() 113 { ResultCode::GENERAL_ERROR, UserAuth::ResultCode::GENERAL_ERROR }, in ConvertResultCode() 114 { ResultCode::CANCELED, UserAuth::ResultCode::CANCELED }, in ConvertResultCode() [all …]
|
/base/useriam/pin_auth/services/modules/executors/src/ |
D | pin_auth_verifier_hdi.cpp | 32 UserAuth::ResultCode PinAuthVerifierHdi::GetExecutorInfo(UserAuth::ExecutorInfo &info) in GetExecutorInfo() 37 return UserAuth::ResultCode::GENERAL_ERROR; in GetExecutorInfo() 41 … UserAuth::ResultCode result = ConvertHdiResultCode(verifierProxy_->GetExecutorInfo(verifierInfo)); in GetExecutorInfo() 42 if (result != UserAuth::ResultCode::SUCCESS) { in GetExecutorInfo() 46 if (MoveHdiExecutorInfo(verifierInfo, info) != UserAuth::ResultCode::SUCCESS) { in GetExecutorInfo() 48 return UserAuth::ResultCode::GENERAL_ERROR; in GetExecutorInfo() 50 return UserAuth::ResultCode::SUCCESS; in GetExecutorInfo() 53 UserAuth::ResultCode PinAuthVerifierHdi::OnRegisterFinish(const std::vector<uint64_t> &templateIdLi… in OnRegisterFinish() 59 return UserAuth::ResultCode::GENERAL_ERROR; in OnRegisterFinish() 62 UserAuth::ResultCode result = ConvertHdiResultCode(status); in OnRegisterFinish() [all …]
|
D | pin_auth_collector_hdi.cpp | 32 UserAuth::ResultCode PinAuthCollectorHdi::GetExecutorInfo(UserAuth::ExecutorInfo &info) in GetExecutorInfo() 37 return UserAuth::ResultCode::GENERAL_ERROR; in GetExecutorInfo() 41 …UserAuth::ResultCode result = ConvertHdiResultCode(collectorProxy_->GetExecutorInfo(collectorInfo)… in GetExecutorInfo() 42 if (result != UserAuth::ResultCode::SUCCESS) { in GetExecutorInfo() 46 if (MoveHdiExecutorInfo(collectorInfo, info) != UserAuth::ResultCode::SUCCESS) { in GetExecutorInfo() 48 return UserAuth::ResultCode::GENERAL_ERROR; in GetExecutorInfo() 50 return UserAuth::ResultCode::SUCCESS; in GetExecutorInfo() 53 UserAuth::ResultCode PinAuthCollectorHdi::OnRegisterFinish(const std::vector<uint64_t> &templateIdL… in OnRegisterFinish() 59 return UserAuth::ResultCode::GENERAL_ERROR; in OnRegisterFinish() 62 UserAuth::ResultCode result = ConvertHdiResultCode(status); in OnRegisterFinish() [all …]
|
D | pin_auth_all_in_one_hdi.cpp | 39 UserAuth::ResultCode PinAuthAllInOneHdi::GetExecutorInfo(UserAuth::ExecutorInfo &info) in GetExecutorInfo() 43 return UserAuth::ResultCode::GENERAL_ERROR; in GetExecutorInfo() 48 UserAuth::ResultCode result = ConvertHdiResultCode(status); in GetExecutorInfo() 49 if (result != UserAuth::ResultCode::SUCCESS) { in GetExecutorInfo() 54 if (ret != UserAuth::ResultCode::SUCCESS) { in GetExecutorInfo() 56 return UserAuth::ResultCode::GENERAL_ERROR; in GetExecutorInfo() 58 return UserAuth::ResultCode::SUCCESS; in GetExecutorInfo() 61 UserAuth::ResultCode PinAuthAllInOneHdi::OnRegisterFinish(const std::vector<uint64_t> &templateIdLi… in OnRegisterFinish() 66 return UserAuth::ResultCode::GENERAL_ERROR; in OnRegisterFinish() 69 UserAuth::ResultCode result = ConvertHdiResultCode(status); in OnRegisterFinish() [all …]
|
D | pin_auth_executor_hdi_common.cpp | 27 UserAuth::ResultCode ConvertAuthType(AuthType in, UserAuth::AuthType &out) in ConvertAuthType() 35 return UserAuth::ResultCode::GENERAL_ERROR; in ConvertAuthType() 38 return UserAuth::ResultCode::SUCCESS; in ConvertAuthType() 41 UserAuth::ResultCode ConvertExecutorRole(ExecutorRole in, UserAuth::ExecutorRole &out) in ConvertExecutorRole() 51 return UserAuth::ResultCode::GENERAL_ERROR; in ConvertExecutorRole() 54 return UserAuth::ResultCode::SUCCESS; in ConvertExecutorRole() 57 UserAuth::ResultCode ConvertExecutorSecureLevel(ExecutorSecureLevel in, UserAuth::ExecutorSecureLev… in ConvertExecutorSecureLevel() 68 return UserAuth::ResultCode::GENERAL_ERROR; in ConvertExecutorSecureLevel() 71 return UserAuth::ResultCode::SUCCESS; in ConvertExecutorSecureLevel() 74 UserAuth::ResultCode MoveHdiExecutorInfo(ExecutorInfo &in, UserAuth::ExecutorInfo &out) in MoveHdiExecutorInfo() [all …]
|
/base/useriam/user_auth_framework/frameworks/native/executors/src/framework/ |
D | framework_executor_callback.cpp | 56 ResultCode FrameworkExecutorCallback::OnBeginExecuteInner(uint64_t scheduleId, std::vector<uint8_t>… in OnBeginExecuteInner() 63 IF_FALSE_LOGE_AND_RETURN_VAL(getScheduleModeRet == true, ResultCode::GENERAL_ERROR); in OnBeginExecuteInner() 66 ResultCode ret = ResultCode::GENERAL_ERROR; in OnBeginExecuteInner() 90 ResultCode FrameworkExecutorCallback::OnEndExecuteInner(uint64_t scheduleId, const Attributes &cons… in OnEndExecuteInner() 92 ResultCode ret = ProcessCancelCommand(scheduleId); in OnEndExecuteInner() 122 ResultCode FrameworkExecutorCallback::OnSetPropertyInner(const Attributes &properties) in OnSetPropertyInner() 127 IF_FALSE_LOGE_AND_RETURN_VAL(getAuthPropertyModeRet == true, ResultCode::GENERAL_ERROR); in OnSetPropertyInner() 129 ResultCode ret; in OnSetPropertyInner() 158 IF_FALSE_LOGE_AND_RETURN_VAL(getDestRoleRet == true, ResultCode::GENERAL_ERROR); in OnSendData() 161 IF_FALSE_LOGE_AND_RETURN_VAL(getExtraInfoRet == true, ResultCode::GENERAL_ERROR); in OnSendData() [all …]
|
/base/useriam/fingerprint_auth/services_ex/src/ |
D | sensor_illumination_task.cpp | 58 ResultCode GetBackgroundAlpha(int32_t currScreenBrightness, uint32_t &outAlpha) in GetBackgroundAlpha() 76 return ResultCode::SUCCESS; in GetBackgroundAlpha() 79 return ResultCode::GENERAL_ERROR; in GetBackgroundAlpha() 105 ResultCode DrawCanvas(std::shared_ptr<RSPaintFilterCanvas> canvas, const CanvasParam ¶m) in DrawCanvas() 107 IF_FALSE_LOGE_AND_RETURN_VAL(canvas != nullptr, ResultCode::GENERAL_ERROR); in DrawCanvas() 129 return ResultCode::SUCCESS; in DrawCanvas() 160 ResultCode SensorIlluminationTask::EnableSensorIllumination(uint32_t centerX, uint32_t centerY, uin… in EnableSensorIllumination() 169 IF_FALSE_LOGE_AND_RETURN_VAL(rsSurfaceNode != nullptr, ResultCode::GENERAL_ERROR); in EnableSensorIllumination() 172 IF_FALSE_LOGE_AND_RETURN_VAL(defaultDisplay != nullptr, ResultCode::GENERAL_ERROR); in EnableSensorIllumination() 180 IF_FALSE_LOGE_AND_RETURN_VAL(rsSurface != nullptr, ResultCode::GENERAL_ERROR); in EnableSensorIllumination() [all …]
|
/base/useriam/face_auth/test/unittest/ |
D | face_auth_executor_callback_hdi_unit_test.cpp | 34 using IamResultCode = OHOS::UserIam::UserAuth::ResultCode; 78 …static const std::map<ResultCode, IamResultCode> data = { { ResultCode::SUCCESS, IamResultCode::SU… 79 …{ ResultCode::FAIL, IamResultCode::FAIL }, { ResultCode::GENERAL_ERROR, IamResultCode::GENERAL_ERR… 80 …{ ResultCode::CANCELED, IamResultCode::CANCELED }, { ResultCode::TIMEOUT, IamResultCode::TIMEOUT }, 81 { ResultCode::BUSY, IamResultCode::BUSY }, 82 { ResultCode::INVALID_PARAMETERS, IamResultCode::INVALID_PARAMETERS }, 83 …{ ResultCode::LOCKED, IamResultCode::LOCKED }, { ResultCode::NOT_ENROLLED, IamResultCode::NOT_ENRO… 84 { ResultCode::OPERATION_NOT_SUPPORT, IamResultCode::FAIL }, 85 …{ static_cast<ResultCode>(ResultCode::VENDOR_RESULT_CODE_BEGIN - 1), IamResultCode::GENERAL_ERROR … 86 … { static_cast<ResultCode>(ResultCode::VENDOR_RESULT_CODE_BEGIN), IamResultCode::GENERAL_ERROR }, [all …]
|
/base/useriam/fingerprint_auth/test/unittest/ |
D | fingerprint_auth_executor_callback_hdi_unit_test.cpp | 34 using IamResultCode = OHOS::UserIam::UserAuth::ResultCode; 78 …static const std::map<ResultCode, IamResultCode> data = { { ResultCode::SUCCESS, IamResultCode::SU… 79 …{ ResultCode::FAIL, IamResultCode::FAIL }, { ResultCode::GENERAL_ERROR, IamResultCode::GENERAL_ERR… 80 …{ ResultCode::CANCELED, IamResultCode::CANCELED }, { ResultCode::TIMEOUT, IamResultCode::TIMEOUT }, 81 { ResultCode::BUSY, IamResultCode::BUSY }, 82 { ResultCode::INVALID_PARAMETERS, IamResultCode::INVALID_PARAMETERS }, 83 …{ ResultCode::LOCKED, IamResultCode::LOCKED }, { ResultCode::NOT_ENROLLED, IamResultCode::NOT_ENRO… 84 { ResultCode::OPERATION_NOT_SUPPORT, IamResultCode::FAIL }, 85 …{ static_cast<ResultCode>(ResultCode::VENDOR_RESULT_CODE_BEGIN - 1), IamResultCode::GENERAL_ERROR … 86 … { static_cast<ResultCode>(ResultCode::VENDOR_RESULT_CODE_BEGIN), IamResultCode::GENERAL_ERROR }, [all …]
|
/base/useriam/user_auth_framework/interfaces/inner_api/iam_executor/ |
D | iam_executor_iauth_executor_hdi.h | 56 virtual ResultCode GetExecutorInfo(ExecutorInfo &info) = 0; 66 virtual ResultCode OnRegisterFinish(const std::vector<uint64_t> &templateIdList, 75 virtual ResultCode Cancel(uint64_t scheduleId) = 0; 85 …virtual ResultCode SendMessage(uint64_t scheduleId, int32_t srcRole, const std::vector<uint8_t> &m… 95 virtual ResultCode Enroll(uint64_t scheduleId, const EnrollParam ¶m, 106 virtual ResultCode Authenticate(uint64_t scheduleId, const AuthenticateParam ¶m, 117 virtual ResultCode Collect(uint64_t scheduleId, const CollectParam ¶m, 128 virtual ResultCode Identify(uint64_t scheduleId, const IdentifyParam ¶m, 137 virtual ResultCode Delete(const std::vector<uint64_t> &templateIdList); 147 virtual ResultCode SendCommand(PropertyMode commandId, const std::vector<uint8_t> &extraInfo, [all …]
|
/base/useriam/fingerprint_auth/services/inc/ |
D | fingerprint_auth_all_in_one_executor_hdi.h | 41 UserAuth::ResultCode GetExecutorInfo(UserAuth::ExecutorInfo &info) override; 42 UserAuth::ResultCode OnRegisterFinish(const std::vector<uint64_t> &templateIdList, 44 …UserAuth::ResultCode SendMessage(uint64_t scheduleId, int32_t srcRole, const std::vector<uint8_t> … 45 UserAuth::ResultCode Enroll(uint64_t scheduleId, const UserAuth::EnrollParam ¶m, 47 UserAuth::ResultCode Authenticate(uint64_t scheduleId, const UserAuth::AuthenticateParam ¶m, 49 UserAuth::ResultCode Identify(uint64_t scheduleId, const UserAuth::IdentifyParam ¶m, 51 UserAuth::ResultCode Delete(const std::vector<uint64_t> &templateIdList) override; 52 UserAuth::ResultCode Cancel(uint64_t scheduleId) override; 53 …UserAuth::ResultCode SendCommand(UserAuth::PropertyMode commandId, const std::vector<uint8_t> &ext… 55 UserAuth::ResultCode GetProperty(const std::vector<uint64_t> &templateIdList, [all …]
|
/base/useriam/face_auth/services/inc/ |
D | face_auth_all_in_one_executor_hdi.h | 41 UserAuth::ResultCode GetExecutorInfo(UserAuth::ExecutorInfo &info) override; 42 UserAuth::ResultCode OnRegisterFinish(const std::vector<uint64_t> &templateIdList, 44 …UserAuth::ResultCode SendMessage(uint64_t scheduleId, int32_t srcRole, const std::vector<uint8_t> … 45 UserAuth::ResultCode Enroll(uint64_t scheduleId, const UserAuth::EnrollParam ¶m, 47 UserAuth::ResultCode Authenticate(uint64_t scheduleId, const UserAuth::AuthenticateParam ¶m, 49 UserAuth::ResultCode Identify(uint64_t scheduleId, const UserAuth::IdentifyParam ¶m, 51 UserAuth::ResultCode Delete(const std::vector<uint64_t> &templateIdList) override; 52 UserAuth::ResultCode Cancel(uint64_t scheduleId) override; 53 …UserAuth::ResultCode SendCommand(UserAuth::PropertyMode commandId, const std::vector<uint8_t> &ext… 55 UserAuth::ResultCode GetProperty(const std::vector<uint64_t> &templateIdList, [all …]
|
/base/useriam/user_auth_framework/frameworks/native/executors/src/async_command/ |
D | custom_command.cpp | 42 ResultCode CustomCommand::SendRequest() in SendRequest() 45 IF_FALSE_LOGE_AND_RETURN_VAL(attributes_ != nullptr, ResultCode::GENERAL_ERROR); in SendRequest() 48 IF_FALSE_LOGE_AND_RETURN_VAL(hdi != nullptr, ResultCode::GENERAL_ERROR); in SendRequest() 53 IF_FALSE_LOGE_AND_RETURN_VAL(getAuthPropertyModeRet == true, ResultCode::GENERAL_ERROR); in SendRequest() 57 IF_FALSE_LOGE_AND_RETURN_VAL(getExtraInfoRet == true, ResultCode::GENERAL_ERROR); in SendRequest() 59 …ResultCode ret = hdi->SendCommand(static_cast<UserAuth::PropertyMode>(commandId), extraInfo, share… in SendRequest() 60 if (ret != ResultCode::SUCCESS) { in SendRequest() 67 return ResultCode::SUCCESS; in SendRequest() 70 void CustomCommand::OnResultInner(ResultCode result, const std::vector<uint8_t> &extraInfo) in OnResultInner() 86 ResultCode CustomCommand::GetResult() in GetResult() [all …]
|
/base/useriam/user_auth_framework/test/unittest/executors/mock/ |
D | mock_iauth_executor_hdi.h | 33 MOCK_METHOD1(GetExecutorInfo, ResultCode(ExecutorInfo &info)); 35 OnRegisterFinish, ResultCode(const std::vector<uint64_t> &templateIdList, 37 MOCK_METHOD1(Cancel, ResultCode(uint64_t scheduleId)); 38 …MOCK_METHOD3(SendMessage, ResultCode(uint64_t scheduleId, int32_t srcRole, const std::vector<uint8… 39 MOCK_METHOD3(Enroll, ResultCode(uint64_t scheduleId, const EnrollParam ¶m, 42 ResultCode(uint64_t scheduleId, const AuthenticateParam ¶m, 45 ResultCode(uint64_t scheduleId, const CollectParam ¶m, 47 MOCK_METHOD3(Identify, ResultCode(uint64_t scheduleId, const IdentifyParam ¶m, 49 MOCK_METHOD1(Delete, ResultCode(const std::vector<uint64_t> &templateIdList)); 50 …MOCK_METHOD3(SendCommand, ResultCode(PropertyMode commandId, const std::vector<uint8_t> &extraInfo, [all …]
|
/base/useriam/user_auth_framework/frameworks/native/executors/include/framework/ |
D | framework_executor_callback.h | 52 ResultCode OnBeginExecuteInner(uint64_t scheduleId, std::vector<uint8_t> &publicKey, 54 ResultCode OnEndExecuteInner(uint64_t scheduleId, const Attributes &consumerAttr); 55 ResultCode OnSetPropertyInner(const Attributes &properties); 56 ResultCode OnGetPropertyInner(std::shared_ptr<Attributes> conditions, 58 ResultCode ProcessEnrollCommand(uint64_t scheduleId, const Attributes &properties); 59 ResultCode ProcessAuthCommand(uint64_t scheduleId, const Attributes &properties); 60 ResultCode ProcessIdentifyCommand(uint64_t scheduleId, const Attributes &properties); 61 ResultCode ProcessCancelCommand(uint64_t scheduleId); 62 ResultCode ProcessDeleteTemplateCommand(const Attributes &properties); 63 ResultCode ProcessSetCachedTemplates(const Attributes &properties); [all …]
|
/base/useriam/user_auth_framework/test/fuzztest/executors/userauthdrivermanager_fuzzer/ |
D | user_auth_driver_manager_fuzzer.cpp | 44 …ResultCode SendMessage(uint64_t scheduleId, int32_t srcRole, const std::vector<uint8_t> &msg) over… in SendMessage() 48 return ResultCode::GENERAL_ERROR; in SendMessage() 50 return static_cast<ResultCode>(fuzzParcel_->ReadInt32()); in SendMessage() 53 ResultCode GetExecutorInfo(ExecutorInfo &executorInfo) override in GetExecutorInfo() 59 return ResultCode::SUCCESS; in GetExecutorInfo() 67 return static_cast<ResultCode>(fuzzParcel_->ReadInt32()); in GetExecutorInfo() 70 ResultCode OnRegisterFinish(const std::vector<uint64_t> &templateIdList, in OnRegisterFinish() 75 return ResultCode::GENERAL_ERROR; in OnRegisterFinish() 77 return static_cast<ResultCode>(fuzzParcel_->ReadInt32()); in OnRegisterFinish() 80 ResultCode Enroll(uint64_t scheduleId, const EnrollParam ¶m, in Enroll() [all …]
|
/base/useriam/pin_auth/services/modules/executors/inc/ |
D | pin_auth_all_in_one_hdi.h | 37 UserAuth::ResultCode GetExecutorInfo(UserAuth::ExecutorInfo &info) override; 38 UserAuth::ResultCode OnRegisterFinish(const std::vector<uint64_t> &templateIdList, 40 …UserAuth::ResultCode SendMessage(uint64_t scheduleId, int32_t srcRole, const std::vector<uint8_t> … 41 UserAuth::ResultCode Enroll(uint64_t scheduleId, const UserAuth::EnrollParam ¶m, 43 UserAuth::ResultCode Authenticate(uint64_t scheduleId, const UserAuth::AuthenticateParam ¶m, 45 …UserAuth::ResultCode OnSetData(uint64_t scheduleId, uint64_t authSubType, const std::vector<uint8_… 47 UserAuth::ResultCode Delete(const std::vector<uint64_t> &templateIdList) override; 48 UserAuth::ResultCode Cancel(uint64_t scheduleId) override; 49 UserAuth::ResultCode GetProperty(const std::vector<uint64_t> &templateIdList, 54 …UserAuth::ResultCode ConvertAttributeKeyToPropertyType(const UserAuth::Attributes::AttributeKey in… [all …]
|
/base/useriam/user_auth_framework/frameworks/js/napi/user_auth/src/ |
D | user_auth_callback_v6.cpp | 37 {ResultCode::SUCCESS, AuthenticationResult::SUCCESS}, 38 {ResultCode::FAIL, AuthenticationResult::COMPARE_FAILURE}, 39 {ResultCode::GENERAL_ERROR, AuthenticationResult::GENERAL_ERROR}, 40 {ResultCode::CANCELED, AuthenticationResult::CANCELED}, 41 {ResultCode::TIMEOUT, AuthenticationResult::TIMEOUT}, 42 {ResultCode::TYPE_NOT_SUPPORT, AuthenticationResult::NO_SUPPORT}, 43 {ResultCode::TRUST_LEVEL_NOT_SUPPORT, AuthenticationResult::NO_SUPPORT}, 44 {ResultCode::BUSY, AuthenticationResult::BUSY}, 45 {ResultCode::INVALID_PARAMETERS, AuthenticationResult::INVALID_PARAMETERS}, 46 {ResultCode::LOCKED, AuthenticationResult::LOCKED}, [all …]
|
/base/useriam/user_auth_framework/frameworks/native/executors/src/ |
D | iauth_executor_hdi.cpp | 25 ResultCode IAuthExecutorHdi::Enroll(uint64_t scheduleId, const EnrollParam ¶m, in Enroll() 32 ResultCode IAuthExecutorHdi::Authenticate(uint64_t scheduleId, const AuthenticateParam ¶m, in Authenticate() 39 ResultCode IAuthExecutorHdi::Collect(uint64_t scheduleId, const CollectParam ¶m, in Collect() 46 ResultCode IAuthExecutorHdi::Identify(uint64_t scheduleId, const IdentifyParam ¶m, in Identify() 53 ResultCode IAuthExecutorHdi::Delete(const std::vector<uint64_t> &templateIdList) in Delete() 59 ResultCode IAuthExecutorHdi::SendCommand(PropertyMode commandId, const std::vector<uint8_t> &extraI… in SendCommand() 66 ResultCode IAuthExecutorHdi::GetProperty(const std::vector<uint64_t> &templateIdList, in GetProperty() 73 ResultCode IAuthExecutorHdi::SetCachedTemplates(const std::vector<uint64_t> &templateIdList) in SetCachedTemplates() 79 ResultCode IAuthExecutorHdi::NotifyCollectorReady(uint64_t scheduleId) in NotifyCollectorReady()
|
/base/useriam/user_auth_framework/services/remote_connect/inc/ |
D | remote_connect_manager.h | 38 ResultCode OpenConnection(const std::string &connectionName, 40 ResultCode CloseConnection(const std::string &connectionName); 41 ResultCode RegisterConnectionListener(const std::string &connectionName, 43 ResultCode RegisterConnectionListener(const std::string &endPointName, 45 ResultCode UnregisterConnectionListener(const std::string &connectionName, 47 ResultCode UnregisterConnectionListener(const std::string &endPointName); 48 ResultCode SendMessage(const std::string &connectionName,
|
D | soft_bus_manager.h | 42 …ResultCode OpenConnection(const std::string &connectionName, const uint32_t tokenId, const std::st… 43 ResultCode CloseConnection(const std::string &connectionName); 45 ResultCode SendMessage(const std::string &connectionName, 63 ResultCode RegistDeviceManagerListener(); 64 ResultCode UnRegistDeviceManagerListener(); 65 ResultCode RegistSoftBusListener(); 66 ResultCode UnRegistSoftBusListener(); 68 ResultCode DeviceInit(); 70 ResultCode ServiceSocketInit(); 73 ResultCode ServiceSocketListen(const int32_t socketId); [all …]
|
/base/useriam/user_auth_framework/test/fuzztest/executors/userauthexecutor_fuzzer/ |
D | user_auth_executor_fuzzer.cpp | 49 …ResultCode SendMessage(uint64_t scheduleId, int32_t srcRole, const std::vector<uint8_t> &msg) over… in SendMessage() 53 return ResultCode::GENERAL_ERROR; in SendMessage() 55 return static_cast<ResultCode>(fuzzParcel_->ReadInt32()); in SendMessage() 58 ResultCode GetExecutorInfo(ExecutorInfo &executorInfo) override in GetExecutorInfo() 64 return ResultCode::SUCCESS; in GetExecutorInfo() 72 return static_cast<ResultCode>(fuzzParcel_->ReadInt32()); in GetExecutorInfo() 75 ResultCode OnRegisterFinish(const std::vector<uint64_t> &templateIdList, in OnRegisterFinish() 80 return ResultCode::GENERAL_ERROR; in OnRegisterFinish() 82 return static_cast<ResultCode>(fuzzParcel_->ReadInt32()); in OnRegisterFinish() 85 ResultCode Enroll(uint64_t scheduleId, const EnrollParam ¶m, in Enroll() [all …]
|
/base/useriam/user_auth_framework/frameworks/native/executors/include/async_command/ |
D | custom_command.h | 30 ResultCode GetResult(); 33 ResultCode SendRequest() override; 35 void OnResultInner(ResultCode result, const std::vector<uint8_t> &extraInfo) override; 39 void SetResult(ResultCode resultCode); 41 ResultCode result_ = ResultCode::GENERAL_ERROR;
|