/base/useriam/user_auth_framework/frameworks/native/ipc/src/ |
D | executor_callback_proxy.cpp | 69 return GENERAL_ERROR; in OnBeginExecute() 73 return GENERAL_ERROR; in OnBeginExecute() 77 return GENERAL_ERROR; in OnBeginExecute() 82 return GENERAL_ERROR; in OnBeginExecute() 88 return GENERAL_ERROR; in OnBeginExecute() 90 int32_t result = GENERAL_ERROR; in OnBeginExecute() 93 return GENERAL_ERROR; in OnBeginExecute() 105 return GENERAL_ERROR; in OnEndExecute() 109 return GENERAL_ERROR; in OnEndExecute() 114 return GENERAL_ERROR; in OnEndExecute() [all …]
|
D | user_idm_proxy.cpp | 47 return GENERAL_ERROR; in OpenSession() 78 return GENERAL_ERROR; in GetCredentialInfo() 102 return GENERAL_ERROR; in GetCredentialInfo() 104 int32_t result = GENERAL_ERROR; in GetCredentialInfo() 115 return GENERAL_ERROR; in GetSecInfo() 136 return GENERAL_ERROR; in GetSecInfo() 138 int32_t result = GENERAL_ERROR; in GetSecInfo() 221 callback->OnResult(GENERAL_ERROR, extraInfo); in UpdateCredential() 241 return GENERAL_ERROR; in Cancel() 243 int32_t result = GENERAL_ERROR; in Cancel() [all …]
|
D | user_auth_proxy.cpp | 60 return GENERAL_ERROR; in GetAvailableStatus() 110 callback->OnGetExecutorPropertyResult(GENERAL_ERROR, attr); in GetProperty() 148 callback->OnSetExecutorPropertyResult(GENERAL_ERROR); in SetProperty() 286 return GENERAL_ERROR; in CancelAuthOrIdentify() 290 return GENERAL_ERROR; in CancelAuthOrIdentify() 295 return GENERAL_ERROR; in CancelAuthOrIdentify() 297 int32_t result = GENERAL_ERROR; in CancelAuthOrIdentify() 312 return GENERAL_ERROR; in GetVersion() 317 return GENERAL_ERROR; in GetVersion() 321 return GENERAL_ERROR; in GetVersion() [all …]
|
D | co_auth_stub.cpp | 35 return GENERAL_ERROR; in OnRemoteRequest() 60 return GENERAL_ERROR; in ExecutorRegisterStub() 66 return GENERAL_ERROR; in ExecutorRegisterStub()
|
/base/useriam/user_auth_framework/frameworks/native/client/src/ |
D | user_idm_client_impl.cpp | 68 callback->OnResult(GENERAL_ERROR, extraInfo); in AddCredential() 76 callback->OnResult(GENERAL_ERROR, extraInfo); in AddCredential() 97 callback->OnResult(GENERAL_ERROR, extraInfo); in UpdateCredential() 105 callback->OnResult(GENERAL_ERROR, extraInfo); in UpdateCredential() 120 return GENERAL_ERROR; in Cancel() 137 callback->OnResult(GENERAL_ERROR, extraInfo); in DeleteCredential() 145 callback->OnResult(GENERAL_ERROR, extraInfo); in DeleteCredential() 162 callback->OnResult(GENERAL_ERROR, extraInfo); in DeleteUser() 170 callback->OnResult(GENERAL_ERROR, extraInfo); in DeleteUser() 180 return GENERAL_ERROR; in EraseUser() [all …]
|
D | user_auth_client_impl.cpp | 38 return GENERAL_ERROR; in GetAvailableStatus() 56 callback->OnResult(GENERAL_ERROR, extraInfo); in GetProperty() 65 callback->OnResult(GENERAL_ERROR, extraInfo); in GetProperty() 83 callback->OnResult(GENERAL_ERROR, extraInfo); in SetProperty() 92 callback->OnResult(GENERAL_ERROR, extraInfo); in SetProperty() 110 callback->OnResult(GENERAL_ERROR, extraInfo); in BeginAuthentication() 118 callback->OnResult(GENERAL_ERROR, extraInfo); in BeginAuthentication() 136 callback->OnResult(GENERAL_ERROR, extraInfo); in BeginNorthAuthentication() 144 callback->OnResult(GENERAL_ERROR, extraInfo); in BeginNorthAuthentication() 155 return GENERAL_ERROR; in CancelAuthentication() [all …]
|
D | executor_messenger_client.cpp | 37 return GENERAL_ERROR; in SendData() 42 return GENERAL_ERROR; in SendData() 54 return GENERAL_ERROR; in Finish() 59 return GENERAL_ERROR; in Finish()
|
D | executor_callback_service.cpp | 52 return GENERAL_ERROR; in OnBeginExecute() 61 return GENERAL_ERROR; in OnEndExecute() 70 return GENERAL_ERROR; in OnSetProperty() 79 return GENERAL_ERROR; in OnGetProperty()
|
/base/useriam/user_auth_framework/common/executors/src/framework/ |
D | framework_executor_callback.cpp | 62 IF_FALSE_LOGE_AND_RETURN_VAL(getScheduleModeRet == true, ResultCode::GENERAL_ERROR); in OnBeginExecuteInner() 65 ResultCode ret = ResultCode::GENERAL_ERROR; in OnBeginExecuteInner() 123 IF_FALSE_LOGE_AND_RETURN_VAL(getAuthPropertyModeRet == true, ResultCode::GENERAL_ERROR); in OnSetPropertyInner() 125 ResultCode ret = ResultCode::GENERAL_ERROR; in OnSetPropertyInner() 150 IF_FALSE_LOGE_AND_RETURN_VAL(conditions != nullptr, ResultCode::GENERAL_ERROR); in OnGetPropertyInner() 151 IF_FALSE_LOGE_AND_RETURN_VAL(values != nullptr, ResultCode::GENERAL_ERROR); in OnGetPropertyInner() 155 IF_FALSE_LOGE_AND_RETURN_VAL(getAuthPropertyModeRet == true, ResultCode::GENERAL_ERROR); in OnGetPropertyInner() 158 return ResultCode::GENERAL_ERROR; in OnGetPropertyInner() 168 IF_FALSE_LOGE_AND_RETURN_VAL(command != nullptr, ResultCode::GENERAL_ERROR); in ProcessEnrollCommand() 175 IF_FALSE_LOGE_AND_RETURN_VAL(command != nullptr, ResultCode::GENERAL_ERROR); in ProcessAuthCommand() [all …]
|
/base/useriam/pin_auth/services/modules/executors/src/ |
D | pin_auth_executor_hdi.cpp | 41 return IamResultCode::GENERAL_ERROR; in GetExecutorInfo() 54 return IamResultCode::GENERAL_ERROR; in GetExecutorInfo() 63 return IamResultCode::GENERAL_ERROR; in GetTemplateInfo() 76 return IamResultCode::GENERAL_ERROR; in GetTemplateInfo() 86 return IamResultCode::GENERAL_ERROR; in OnRegisterFinish() 106 return IamResultCode::GENERAL_ERROR; in OnSetData() 122 return IamResultCode::GENERAL_ERROR; in Enroll() 126 return IamResultCode::GENERAL_ERROR; in Enroll() 132 return IamResultCode::GENERAL_ERROR; in Enroll() 149 return IamResultCode::GENERAL_ERROR; in Authenticate() [all …]
|
/base/useriam/face_auth/services/src/ |
D | face_auth_executor_hdi.cpp | 54 IF_FALSE_LOGE_AND_RETURN_VAL(executorProxy_ != nullptr, IamResultCode::GENERAL_ERROR); in GetExecutorInfo() 72 IF_FALSE_LOGE_AND_RETURN_VAL(executorProxy_ != nullptr, IamResultCode::GENERAL_ERROR); in GetTemplateInfo() 88 IF_FALSE_LOGE_AND_RETURN_VAL(executorProxy_ != nullptr, IamResultCode::GENERAL_ERROR); in OnRegisterFinish() 101 IF_FALSE_LOGE_AND_RETURN_VAL(executorProxy_ != nullptr, IamResultCode::GENERAL_ERROR); in Enroll() 102 IF_FALSE_LOGE_AND_RETURN_VAL(callbackObj != nullptr, IamResultCode::GENERAL_ERROR); in Enroll() 104 IF_FALSE_LOGE_AND_RETURN_VAL(callback != nullptr, IamResultCode::GENERAL_ERROR); in Enroll() 118 IF_FALSE_LOGE_AND_RETURN_VAL(executorProxy_ != nullptr, IamResultCode::GENERAL_ERROR); in Authenticate() 119 IF_FALSE_LOGE_AND_RETURN_VAL(callbackObj != nullptr, IamResultCode::GENERAL_ERROR); in Authenticate() 121 IF_FALSE_LOGE_AND_RETURN_VAL(callback != nullptr, IamResultCode::GENERAL_ERROR); in Authenticate() 134 IF_FALSE_LOGE_AND_RETURN_VAL(executorProxy_ != nullptr, IamResultCode::GENERAL_ERROR); in Identify() [all …]
|
/base/security/access_token/services/common/database/src/ |
D | sqlite_helper.cpp | 84 return GENERAL_ERROR; in BeginTransaction() 91 result = GENERAL_ERROR; in BeginTransaction() 101 return GENERAL_ERROR; in CommitTransaction() 108 result = GENERAL_ERROR; in CommitTransaction() 118 return GENERAL_ERROR; in RollbackTransaction() 125 result = GENERAL_ERROR; in RollbackTransaction() 140 return GENERAL_ERROR; in ExecuteSql() 147 result = GENERAL_ERROR; in ExecuteSql() 157 return GENERAL_ERROR; in GetVersion()
|
/base/useriam/user_auth_framework/frameworks/js/napi/user_auth/src/ |
D | auth_instance_v9.cpp | 61 return UserAuthResultCode::GENERAL_ERROR; in GetAvailableStatus() 71 return UserAuthResultCode::GENERAL_ERROR; in GetAvailableStatus() 81 return UserAuthResultCode::GENERAL_ERROR; in GetAvailableStatus() 121 return UserAuthResultCode::GENERAL_ERROR; in Init() 128 return UserAuthResultCode::GENERAL_ERROR; in Init() 185 return UserAuthResultCode::GENERAL_ERROR; in On() 192 return UserAuthResultCode::GENERAL_ERROR; in On() 229 return UserAuthResultCode::GENERAL_ERROR; in Off() 236 return UserAuthResultCode::GENERAL_ERROR; in Off() 248 return UserAuthResultCode::GENERAL_ERROR; in Off() [all …]
|
D | user_auth_callback_v6.cpp | 38 {ResultCode::GENERAL_ERROR, AuthenticationResult::GENERAL_ERROR}, 47 {ResultCode::IPC_ERROR, AuthenticationResult::GENERAL_ERROR}, 48 {ResultCode::INVALID_CONTEXT_ID, AuthenticationResult::GENERAL_ERROR}, 49 {ResultCode::WRITE_PARCEL_ERROR, AuthenticationResult::GENERAL_ERROR}, 50 {ResultCode::READ_PARCEL_ERROR, AuthenticationResult::GENERAL_ERROR}, 51 {ResultCode::CHECK_PERMISSION_FAILED, AuthenticationResult::GENERAL_ERROR}, 178 resultHolder->result = static_cast<int32_t>(ResultCode::GENERAL_ERROR); in OnResult()
|
/base/useriam/user_auth_framework/services/ipc/src/ |
D | executor_messenger_service.cpp | 48 return GENERAL_ERROR; in SendData() 53 return GENERAL_ERROR; in SendData() 64 return GENERAL_ERROR; in Finish() 69 return GENERAL_ERROR; in Finish()
|
D | user_idm_service.cpp | 79 return GENERAL_ERROR; in OpenSession() 171 callback->OnResult(GENERAL_ERROR, extraInfo); in AddCredential() 197 contextCallback->OnResult(GENERAL_ERROR, extraInfo); in AddCredential() 221 callback->OnResult(GENERAL_ERROR, extraInfo); in UpdateCredential() 243 return GENERAL_ERROR; in Cancel() 264 int32_t ret = GENERAL_ERROR; in CancelCurrentEnroll() 286 callback->OnResult(GENERAL_ERROR, extraInfo); in EnforceDelUser() 287 return GENERAL_ERROR; in EnforceDelUser() 335 callback->OnResult(GENERAL_ERROR, extraInfo); in DelUser() 381 callback->OnResult(GENERAL_ERROR, extraInfo); in DelCredential() [all …]
|
D | user_auth_service.cpp | 75 return GENERAL_ERROR; in GetAvailableStatus() 80 return GENERAL_ERROR; in GetAvailableStatus() 124 callback->OnGetExecutorPropertyResult(GENERAL_ERROR, values); in GetProperty() 164 callback->OnSetExecutorPropertyResult(GENERAL_ERROR); in SetProperty() 217 callback->OnResult(GENERAL_ERROR, extraInfo); in GetAuthContextCallback() 246 contextCallback->OnResult(GENERAL_ERROR, extraInfo); in Auth() 264 contextCallback->OnResult(GENERAL_ERROR, extraInfo); in Auth() 309 contextCallback->OnResult(GENERAL_ERROR, extraInfo); in AuthUser() 336 callback->OnResult(GENERAL_ERROR, extraInfo); in Identify() 357 contextCallback->OnResult(GENERAL_ERROR, extraInfo); in Identify() [all …]
|
/base/useriam/user_auth_framework/common/executors/src/async_command/ |
D | custom_command.cpp | 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() 85 return ResultCode::GENERAL_ERROR; in GetResult()
|
D | auth_command.cpp | 41 IF_FALSE_LOGE_AND_RETURN_VAL(attributes_ != nullptr, ResultCode::GENERAL_ERROR); in SendRequest() 44 IF_FALSE_LOGE_AND_RETURN_VAL(hdi != nullptr, ResultCode::GENERAL_ERROR); in SendRequest() 50 IF_FALSE_LOGE_AND_RETURN_VAL(getTemplateIdListRet == true, ResultCode::GENERAL_ERROR); in SendRequest() 53 IF_FALSE_LOGE_AND_RETURN_VAL(getTokenIdRet == true, ResultCode::GENERAL_ERROR); in SendRequest()
|
/base/useriam/face_auth/test/unittest/ |
D | face_auth_executor_hdi_unit_test.cpp | 46 {HDF_FAILURE, IamResultCode::GENERAL_ERROR}, 50 {static_cast<HDF_STATUS>(HDF_ERR_DEVICE_BUSY - 1), IamResultCode::GENERAL_ERROR}, 51 {static_cast<HDF_STATUS>(HDF_SUCCESS + 1), IamResultCode::GENERAL_ERROR}, 127 {IamAuthType::FACE, IamResultCode::GENERAL_ERROR}}, 129 {IamAuthType::FACE, IamResultCode::GENERAL_ERROR}}, 161 {IamExecutorRole::ALL_IN_ONE, IamResultCode::GENERAL_ERROR}}, 163 {IamExecutorRole::ALL_IN_ONE, IamResultCode::GENERAL_ERROR}}, 197 {IamExecutorSecureLevel::ESL3, IamResultCode::GENERAL_ERROR}}, 199 {IamExecutorSecureLevel::ESL3, IamResultCode::GENERAL_ERROR}}, 229 EXPECT_TRUE(ret == IamResultCode::GENERAL_ERROR); [all …]
|
D | face_auth_executor_callback_hdi_unit_test.cpp | 81 …{ResultCode::FAIL, IamResultCode::FAIL}, {ResultCode::GENERAL_ERROR, IamResultCode::GENERAL_ERROR}, 88 … {static_cast<ResultCode>(ResultCode::VENDOR_RESULT_CODE_BEGIN - 1), IamResultCode::GENERAL_ERROR}, 89 … {static_cast<ResultCode>(ResultCode::VENDOR_RESULT_CODE_BEGIN), IamResultCode::GENERAL_ERROR},
|
/base/useriam/user_auth_framework/test/unittest/services/src/ |
D | executor_messenger_service_test.cpp | 70 EXPECT_EQ(result1, GENERAL_ERROR); 73 EXPECT_EQ(result2, GENERAL_ERROR); 92 EXPECT_EQ(result1, GENERAL_ERROR); 97 EXPECT_EQ(result2, GENERAL_ERROR);
|
/base/useriam/user_auth_framework/services/core/src/ |
D | resource_node_impl.cpp | 142 return GENERAL_ERROR; in BeginExecute() 151 return GENERAL_ERROR; in EndExecute() 160 return GENERAL_ERROR; in SetProperty() 169 return GENERAL_ERROR; in GetProperty() 197 return GENERAL_ERROR; in SyncWithDriver() 203 return GENERAL_ERROR; in SyncWithDriver()
|
/base/useriam/user_auth_framework/test/fuzztest/executors/userauthdrivermanager_fuzzer/ |
D | user_auth_driver_manager_fuzzer.cpp | 65 return ResultCode::GENERAL_ERROR; in GetTemplateInfo() 79 return ResultCode::GENERAL_ERROR; in OnRegisterFinish() 93 return ResultCode::GENERAL_ERROR; in Enroll() 108 return ResultCode::GENERAL_ERROR; in Authenticate() 122 return ResultCode::GENERAL_ERROR; in Identify() 131 return ResultCode::GENERAL_ERROR; in Delete() 140 return ResultCode::GENERAL_ERROR; in Cancel() 150 return ResultCode::GENERAL_ERROR; in SendCommand()
|
/base/useriam/pin_auth/test/unittest/src/ |
D | pin_auth_executor_hdi_unit_test.cpp | 125 {IamAuthType::PIN, IamResultCode::GENERAL_ERROR}}, 127 {IamAuthType::PIN, IamResultCode::GENERAL_ERROR}}, 159 {IamExecutorRole::ALL_IN_ONE, IamResultCode::GENERAL_ERROR}}, 161 {IamExecutorRole::ALL_IN_ONE, IamResultCode::GENERAL_ERROR}}, 195 {IamExecutorSecureLevel::ESL3, IamResultCode::GENERAL_ERROR}}, 197 {IamExecutorSecureLevel::ESL3, IamResultCode::GENERAL_ERROR}}, 227 EXPECT_TRUE(ret == IamResultCode::GENERAL_ERROR); 277 EXPECT_TRUE(ret == IamResultCode::GENERAL_ERROR); 302 EXPECT_TRUE(ret == IamResultCode::GENERAL_ERROR); 326 EXPECT_TRUE(ret == IamResultCode::GENERAL_ERROR); [all …]
|