Home
last modified time | relevance | path

Searched refs:GENERAL_ERROR (Results 1 – 25 of 112) sorted by relevance

12345

/base/useriam/user_auth_framework/frameworks/native/ipc/src/
Dexecutor_callback_proxy.cpp69 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 …]
Duser_idm_proxy.cpp47 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()
137 return GENERAL_ERROR; in GetSecInfo()
139 int32_t result = GENERAL_ERROR; in GetSecInfo()
222 callback->OnResult(GENERAL_ERROR, extraInfo); in UpdateCredential()
242 return GENERAL_ERROR; in Cancel()
244 int32_t result = GENERAL_ERROR; in Cancel()
[all …]
Duser_auth_proxy.cpp62 return GENERAL_ERROR; in GetAvailableStatus()
121 callback->OnGetExecutorPropertyResult(GENERAL_ERROR, attr); in GetProperty()
160 callback->OnSetExecutorPropertyResult(GENERAL_ERROR); in SetProperty()
377 return GENERAL_ERROR; in CancelAuthOrIdentify()
381 return GENERAL_ERROR; in CancelAuthOrIdentify()
387 return GENERAL_ERROR; in CancelAuthOrIdentify()
389 int32_t result = GENERAL_ERROR; in CancelAuthOrIdentify()
404 return GENERAL_ERROR; in GetVersion()
410 return GENERAL_ERROR; in GetVersion()
414 return GENERAL_ERROR; in GetVersion()
[all …]
/base/useriam/user_auth_framework/frameworks/native/executors/src/framework/
Dframework_executor_callback.cpp62 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()
152 IF_FALSE_LOGE_AND_RETURN_VAL(conditions != nullptr, ResultCode::GENERAL_ERROR); in OnGetPropertyInner()
153 IF_FALSE_LOGE_AND_RETURN_VAL(values != nullptr, ResultCode::GENERAL_ERROR); in OnGetPropertyInner()
157 IF_FALSE_LOGE_AND_RETURN_VAL(getAuthPropertyModeRet == true, ResultCode::GENERAL_ERROR); in OnGetPropertyInner()
160 return ResultCode::GENERAL_ERROR; in OnGetPropertyInner()
171 IF_FALSE_LOGE_AND_RETURN_VAL(command != nullptr, ResultCode::GENERAL_ERROR); in ProcessEnrollCommand()
178 IF_FALSE_LOGE_AND_RETURN_VAL(command != nullptr, ResultCode::GENERAL_ERROR); in ProcessAuthCommand()
185 IF_FALSE_LOGE_AND_RETURN_VAL(command != nullptr, ResultCode::GENERAL_ERROR); in ProcessIdentifyCommand()
[all …]
/base/useriam/fingerprint_auth/services/src/
Dsensor_illumination_manager.cpp58 IF_FALSE_LOGE_AND_RETURN_VAL(executor != nullptr, UserAuth::GENERAL_ERROR); in ProcessSaCommand()
61 UserAuth::ResultCode result = UserAuth::GENERAL_ERROR; in ProcessSaCommand()
109 return UserAuth::GENERAL_ERROR; in EnableSensorIllumination()
114 return UserAuth::GENERAL_ERROR; in EnableSensorIllumination()
119 IF_FALSE_LOGE_AND_RETURN_VAL(acquireRet == UserAuth::SUCCESS, UserAuth::GENERAL_ERROR); in EnableSensorIllumination()
125 return UserAuth::GENERAL_ERROR; in EnableSensorIllumination()
131 …GE_AND_RETURN_VAL(param.enableSensorIllumination.centerX < MAX_X_Y_VALUE, UserAuth::GENERAL_ERROR); in EnableSensorIllumination()
132 …GE_AND_RETURN_VAL(param.enableSensorIllumination.centerY < MAX_X_Y_VALUE, UserAuth::GENERAL_ERROR); in EnableSensorIllumination()
133 …GE_AND_RETURN_VAL(param.enableSensorIllumination.radius < MAX_RADIUS_LEN, UserAuth::GENERAL_ERROR); in EnableSensorIllumination()
138 …SE_LOGE_AND_RETURN_VAL(enableResultCode == UserAuth::ResultCode::SUCCESS, UserAuth::GENERAL_ERROR); in EnableSensorIllumination()
[all …]
Dfingerprint_auth_executor_hdi.cpp53 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 OnRegisterFinish()
91 IF_FALSE_LOGE_AND_RETURN_VAL(executorProxy_ != nullptr, IamResultCode::GENERAL_ERROR); in Enroll()
92 IF_FALSE_LOGE_AND_RETURN_VAL(callbackObj != nullptr, IamResultCode::GENERAL_ERROR); in Enroll()
94 IF_FALSE_LOGE_AND_RETURN_VAL(callback != nullptr, IamResultCode::GENERAL_ERROR); in Enroll()
107 IF_FALSE_LOGE_AND_RETURN_VAL(executorProxy_ != nullptr, IamResultCode::GENERAL_ERROR); in Authenticate()
108 IF_FALSE_LOGE_AND_RETURN_VAL(callbackObj != nullptr, IamResultCode::GENERAL_ERROR); in Authenticate()
110 IF_FALSE_LOGE_AND_RETURN_VAL(callback != nullptr, IamResultCode::GENERAL_ERROR); in Authenticate()
124 IF_FALSE_LOGE_AND_RETURN_VAL(executorProxy_ != nullptr, IamResultCode::GENERAL_ERROR); in Identify()
125 IF_FALSE_LOGE_AND_RETURN_VAL(callbackObj != nullptr, IamResultCode::GENERAL_ERROR); in Identify()
[all …]
/base/useriam/user_auth_framework/frameworks/native/client/src/
Duser_auth_client_impl.cpp90 return GENERAL_ERROR; in GetAvailableStatus()
108 callback->OnResult(GENERAL_ERROR, extraInfo); in GetProperty()
117 callback->OnResult(GENERAL_ERROR, extraInfo); in GetProperty()
129 return GENERAL_ERROR; in SetPropertyInner()
133 IF_FALSE_LOGE_AND_RETURN_VAL(keys.size() == 1, GENERAL_ERROR); in SetPropertyInner()
140 IF_FALSE_LOGE_AND_RETURN_VAL(getArrayRet, GENERAL_ERROR); in SetPropertyInner()
143 IF_FALSE_LOGE_AND_RETURN_VAL(setModeRet, GENERAL_ERROR); in SetPropertyInner()
146 IF_FALSE_LOGE_AND_RETURN_VAL(setArrayRet, GENERAL_ERROR); in SetPropertyInner()
150 IF_FALSE_LOGE_AND_RETURN_VAL(wrapper != nullptr, GENERAL_ERROR); in SetPropertyInner()
167 callback->OnResult(GENERAL_ERROR, retExtraInfo); in SetProperty()
[all …]
Duser_idm_client_impl.cpp69 callback->OnResult(GENERAL_ERROR, extraInfo); in AddCredential()
77 callback->OnResult(GENERAL_ERROR, extraInfo); in AddCredential()
98 callback->OnResult(GENERAL_ERROR, extraInfo); in UpdateCredential()
106 callback->OnResult(GENERAL_ERROR, extraInfo); in UpdateCredential()
121 return GENERAL_ERROR; in Cancel()
138 callback->OnResult(GENERAL_ERROR, extraInfo); in DeleteCredential()
146 callback->OnResult(GENERAL_ERROR, extraInfo); in DeleteCredential()
163 callback->OnResult(GENERAL_ERROR, extraInfo); in DeleteUser()
171 callback->OnResult(GENERAL_ERROR, extraInfo); in DeleteUser()
181 return GENERAL_ERROR; in EraseUser()
[all …]
Dexecutor_messenger_client.cpp37 return GENERAL_ERROR; in SendData()
42 return GENERAL_ERROR; in SendData()
54 return GENERAL_ERROR; in Finish()
59 return GENERAL_ERROR; in Finish()
Dexecutor_callback_service.cpp54 return GENERAL_ERROR; in OnBeginExecute()
64 return GENERAL_ERROR; in OnEndExecute()
74 return GENERAL_ERROR; in OnSetProperty()
84 return GENERAL_ERROR; in OnGetProperty()
/base/useriam/fingerprint_auth/services_ex/src/
Dsensor_illumination_task.cpp79 return ResultCode::GENERAL_ERROR; in GetBackgroundAlpha()
107 IF_FALSE_LOGE_AND_RETURN_VAL(canvas != nullptr, ResultCode::GENERAL_ERROR); in DrawCanvas()
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()
183 IF_FALSE_LOGE_AND_RETURN_VAL(renderContext != nullptr, ResultCode::GENERAL_ERROR); in EnableSensorIllumination()
189 IF_FALSE_LOGE_AND_RETURN_VAL(convertRetX == true, ResultCode::GENERAL_ERROR); in EnableSensorIllumination()
192 IF_FALSE_LOGE_AND_RETURN_VAL(convertRetY == true, ResultCode::GENERAL_ERROR); in EnableSensorIllumination()
211 IF_FALSE_LOGE_AND_RETURN_VAL(drawResult == ResultCode::SUCCESS, ResultCode::GENERAL_ERROR); in EnableSensorIllumination()
232 IF_FALSE_LOGE_AND_RETURN_VAL(rsSurface_ != nullptr, ResultCode::GENERAL_ERROR); in DrawSurfaceNode()
[all …]
/base/useriam/pin_auth/services/modules/executors/src/
Dpin_auth_executor_hdi.cpp43 return IamResultCode::GENERAL_ERROR; in GetExecutorInfo()
56 return IamResultCode::GENERAL_ERROR; in GetExecutorInfo()
66 return IamResultCode::GENERAL_ERROR; in OnRegisterFinish()
86 return IamResultCode::GENERAL_ERROR; in OnSetData()
102 return IamResultCode::GENERAL_ERROR; in Enroll()
106 return IamResultCode::GENERAL_ERROR; in Enroll()
112 return IamResultCode::GENERAL_ERROR; in Enroll()
128 return IamResultCode::GENERAL_ERROR; in Authenticate()
132 return IamResultCode::GENERAL_ERROR; in Authenticate()
138 return IamResultCode::GENERAL_ERROR; in Authenticate()
[all …]
/base/useriam/user_auth_framework/frameworks/js/napi/user_auth/src/
Dauth_instance_v9.cpp42 return UserAuthResultCode::GENERAL_ERROR; in GetAvailableStatus()
52 return UserAuthResultCode::GENERAL_ERROR; in GetAvailableStatus()
62 return UserAuthResultCode::GENERAL_ERROR; in GetAvailableStatus()
102 return UserAuthResultCode::GENERAL_ERROR; in Init()
109 return UserAuthResultCode::GENERAL_ERROR; in Init()
166 return UserAuthResultCode::GENERAL_ERROR; in On()
173 return UserAuthResultCode::GENERAL_ERROR; in On()
210 return UserAuthResultCode::GENERAL_ERROR; in Off()
217 return UserAuthResultCode::GENERAL_ERROR; in Off()
229 return UserAuthResultCode::GENERAL_ERROR; in Off()
[all …]
Duser_auth_widget_mgr_v10.cpp48 return UserAuthResultCode::GENERAL_ERROR; in Init()
55 return UserAuthResultCode::GENERAL_ERROR; in Init()
100 return UserAuthResultCode::GENERAL_ERROR; in On()
107 return UserAuthResultCode::GENERAL_ERROR; in On()
130 return UserAuthResultCode::GENERAL_ERROR; in On()
144 return UserAuthResultCode::GENERAL_ERROR; in Off()
151 return UserAuthResultCode::GENERAL_ERROR; in Off()
178 return UserAuthResultCode::GENERAL_ERROR; in Off()
Duser_auth_callback_v6.cpp39 {ResultCode::GENERAL_ERROR, AuthenticationResult::GENERAL_ERROR},
48 {ResultCode::IPC_ERROR, AuthenticationResult::GENERAL_ERROR},
49 {ResultCode::INVALID_CONTEXT_ID, AuthenticationResult::GENERAL_ERROR},
50 {ResultCode::WRITE_PARCEL_ERROR, AuthenticationResult::GENERAL_ERROR},
51 {ResultCode::READ_PARCEL_ERROR, AuthenticationResult::GENERAL_ERROR},
52 {ResultCode::CHECK_PERMISSION_FAILED, AuthenticationResult::GENERAL_ERROR},
189 resultHolder->result = static_cast<int32_t>(ResultCode::GENERAL_ERROR); in OnResult()
Duser_auth_instance_v10.cpp218 return UserAuthResultCode::GENERAL_ERROR; in Init()
225 return UserAuthResultCode::GENERAL_ERROR; in Init()
268 return UserAuthResultCode::GENERAL_ERROR; in On()
275 return UserAuthResultCode::GENERAL_ERROR; in On()
298 return UserAuthResultCode::GENERAL_ERROR; in On()
312 return UserAuthResultCode::GENERAL_ERROR; in Off()
319 return UserAuthResultCode::GENERAL_ERROR; in Off()
345 return UserAuthResultCode::GENERAL_ERROR; in Off()
360 return UserAuthResultCode::GENERAL_ERROR; in Start()
367 return UserAuthResultCode::GENERAL_ERROR; in Start()
[all …]
/base/useriam/face_auth/services/src/
Dface_auth_executor_hdi.cpp53 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 OnRegisterFinish()
91 IF_FALSE_LOGE_AND_RETURN_VAL(executorProxy_ != nullptr, IamResultCode::GENERAL_ERROR); in Enroll()
92 IF_FALSE_LOGE_AND_RETURN_VAL(callbackObj != nullptr, IamResultCode::GENERAL_ERROR); in Enroll()
94 IF_FALSE_LOGE_AND_RETURN_VAL(callback != nullptr, IamResultCode::GENERAL_ERROR); in Enroll()
107 IF_FALSE_LOGE_AND_RETURN_VAL(executorProxy_ != nullptr, IamResultCode::GENERAL_ERROR); in Authenticate()
108 IF_FALSE_LOGE_AND_RETURN_VAL(callbackObj != nullptr, IamResultCode::GENERAL_ERROR); in Authenticate()
110 IF_FALSE_LOGE_AND_RETURN_VAL(callback != nullptr, IamResultCode::GENERAL_ERROR); in Authenticate()
123 IF_FALSE_LOGE_AND_RETURN_VAL(executorProxy_ != nullptr, IamResultCode::GENERAL_ERROR); in Identify()
124 IF_FALSE_LOGE_AND_RETURN_VAL(callbackObj != nullptr, IamResultCode::GENERAL_ERROR); in Identify()
[all …]
Dscreen_brightness_manager.cpp60 IF_FALSE_LOGE_AND_RETURN_VAL(executor != nullptr, UserAuth::GENERAL_ERROR); in ProcessSaCommand()
64 UserAuth::ResultCode result = UserAuth::GENERAL_ERROR; in ProcessSaCommand()
103 return UserAuth::GENERAL_ERROR; in ProcessScreenBrightnessIncreaseBegin()
108 return UserAuth::GENERAL_ERROR; in ProcessScreenBrightnessIncreaseBegin()
113 IF_FALSE_LOGE_AND_RETURN_VAL(acquireRet == UserAuth::SUCCESS, UserAuth::GENERAL_ERROR); in ProcessScreenBrightnessIncreaseBegin()
119 return UserAuth::GENERAL_ERROR; in ProcessScreenBrightnessIncreaseBegin()
138 return UserAuth::GENERAL_ERROR; in ProcessScreenBrightnessIncreaseEnd()
/base/security/access_token/services/common/database/src/
Dsqlite_helper.cpp84 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/services/ipc/src/
Dexecutor_messenger_service.cpp48 return GENERAL_ERROR; in SendData()
53 return GENERAL_ERROR; in SendData()
64 return GENERAL_ERROR; in Finish()
69 return GENERAL_ERROR; in Finish()
Duser_idm_service.cpp82 return GENERAL_ERROR; in OpenSession()
117 return GENERAL_ERROR; in GetCredentialInfoInner()
127 return GENERAL_ERROR; in GetCredentialInfoInner()
171 return GENERAL_ERROR; in GetSecInfoInner()
212 callback->OnResult(GENERAL_ERROR, extraInfo); in AddCredential()
239 contextCallback->OnResult(GENERAL_ERROR, extraInfo); in AddCredential()
279 return GENERAL_ERROR; in Cancel()
300 int32_t ret = GENERAL_ERROR; in CancelCurrentEnroll()
322 callback->OnResult(GENERAL_ERROR, extraInfo); in EnforceDelUser()
323 return GENERAL_ERROR; in EnforceDelUser()
[all …]
/base/useriam/user_auth_framework/frameworks/native/executors/src/async_command/
Dcustom_command.cpp45 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()
Dauth_command.cpp41 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()
48 IF_FALSE_LOGE_AND_RETURN_VAL(getTemplateIdListRet == true, ResultCode::GENERAL_ERROR); in SendRequest()
51 IF_FALSE_LOGE_AND_RETURN_VAL(getTokenIdRet == true, ResultCode::GENERAL_ERROR); in SendRequest()
54 IF_FALSE_LOGE_AND_RETURN_VAL(getEndAfterFirstFailRet == true, ResultCode::GENERAL_ERROR); in SendRequest()
57 IF_FALSE_LOGE_AND_RETURN_VAL(getExtraInfoRet == true, ResultCode::GENERAL_ERROR); in SendRequest()
/base/useriam/user_auth_framework/services/context/src/
Dsimple_auth_context.cpp34 IF_FALSE_LOGE_AND_RETURN_VAL(scheduleList_.size() == 1, GENERAL_ERROR); in SetFreezingTimeAndRemainTimes()
36 IF_FALSE_LOGE_AND_RETURN_VAL(scheduleNode != nullptr, GENERAL_ERROR); in SetFreezingTimeAndRemainTimes()
39 IF_FALSE_LOGE_AND_RETURN_VAL(resourceNode != nullptr, GENERAL_ERROR); in SetFreezingTimeAndRemainTimes()
42 IF_FALSE_LOGE_AND_RETURN_VAL(optionalTemplateIdList.has_value(), GENERAL_ERROR); in SetFreezingTimeAndRemainTimes()
54 IF_FALSE_LOGE_AND_RETURN_VAL(ret == SUCCESS, GENERAL_ERROR); in SetFreezingTimeAndRemainTimes()
57 IF_FALSE_LOGE_AND_RETURN_VAL(getFreezingTimeRet == true, GENERAL_ERROR); in SetFreezingTimeAndRemainTimes()
59 IF_FALSE_LOGE_AND_RETURN_VAL(getRemainTimesRet == true, GENERAL_ERROR); in SetFreezingTimeAndRemainTimes()
/base/useriam/user_auth_framework/test/fuzztest/executors/userauthdrivermanager_fuzzer/
Duser_auth_driver_manager_fuzzer.cpp66 return ResultCode::GENERAL_ERROR; in OnRegisterFinish()
76 return ResultCode::GENERAL_ERROR; in Enroll()
86 return ResultCode::GENERAL_ERROR; in Authenticate()
96 return ResultCode::GENERAL_ERROR; in Identify()
105 return ResultCode::GENERAL_ERROR; in Delete()
114 return ResultCode::GENERAL_ERROR; in Cancel()
124 return ResultCode::GENERAL_ERROR; in SendCommand()
134 return ResultCode::GENERAL_ERROR; in GetProperty()
148 return ResultCode::GENERAL_ERROR; in SetCachedTemplates()

12345