Home
last modified time | relevance | path

Searched refs:ErrorCode (Results 1 – 25 of 41) sorted by relevance

12

/base/miscservices/inputmethod/services/src/
Dinput_method_system_ability.cpp118 if (Init() != ErrorCode::NO_ERROR) { in OnStart()
141 return ErrorCode::NO_ERROR; in Init()
295 IMSA_HILOGE("%s %d\n", ErrorCode::ToString(ErrorCode::ERROR_USER_NOT_UNLOCKED), userId); in getDisplayMode()
296 return ErrorCode::ERROR_USER_NOT_UNLOCKED; in getDisplayMode()
299 return ErrorCode::NO_ERROR; in getDisplayMode()
314 IMSA_HILOGE("%s %d\n", ErrorCode::ToString(ErrorCode::ERROR_USER_NOT_UNLOCKED), userId); in getKeyboardWindowHeight()
315 return ErrorCode::ERROR_USER_NOT_UNLOCKED; in getKeyboardWindowHeight()
319 if (ret != ErrorCode::NO_ERROR) { in getKeyboardWindowHeight()
338 IMSA_HILOGE("%s %d\n", ErrorCode::ToString(ErrorCode::ERROR_USER_NOT_UNLOCKED), userId); in getCurrentKeyboardType()
339 return ErrorCode::ERROR_USER_NOT_UNLOCKED; in getCurrentKeyboardType()
[all …]
Dperuser_session.cpp285 if (ret != ErrorCode::NO_ERROR) { in ResetIme()
348 return ErrorCode::NO_ERROR; in AddClient()
353 return ErrorCode::ERROR_REMOTE_CLIENT_DIED; in AddClient()
361 return ErrorCode::ERROR_NULL_POINTER; in AddClient()
364 return ErrorCode::NO_ERROR; in AddClient()
405 return ErrorCode::ERROR_IME_BIND_FAILED; in StartInputMethod()
413 if (ret_init != ErrorCode::NO_ERROR) { in StartInputMethod()
414 …OGE("PerUserSession::StartInputMethod initializeInput fail %{public}s", ErrorCode::ToString(ret_in… in StartInputMethod()
419 return ErrorCode::NO_ERROR; in StartInputMethod()
434 … IMSA_HILOGE("Aborted! %{public}s", ErrorCode::ToString(ErrorCode::ERROR_BAD_PARAMETERS)); in StopInputMethod()
[all …]
Dperuser_setting.cpp52 if (ret != ErrorCode::NO_ERROR) { in Initialize()
61 if (ret != ErrorCode::NO_ERROR) { in Initialize()
86 … IMSA_HILOGI("%s [%d]\n", ErrorCode::ToString(ErrorCode::ERROR_IME_PACKAGE_DUPLICATED), userId_); in OnPackageAdded()
87 return ErrorCode::ERROR_IME_PACKAGE_DUPLICATED; in OnPackageAdded()
92 if (ret != ErrorCode::NO_ERROR) { in OnPackageAdded()
95 … IMSA_HILOGI("%s [%d]\n", ErrorCode::ToString(ErrorCode::ERROR_NOT_IME_PACKAGE), userId_); in OnPackageAdded()
96 return ErrorCode::ERROR_NOT_IME_PACKAGE; in OnPackageAdded()
103 return ErrorCode::NO_ERROR; in OnPackageAdded()
117 return ErrorCode::NO_ERROR; in OnPackageAdded()
136 … IMSA_HILOGI("%s [%d]\n", ErrorCode::ToString(ErrorCode::ERROR_NOT_IME_PACKAGE), userId_); in OnPackageRemoved()
[all …]
Dinput_method_system_ability_stub.cpp37 return ErrorCode::ERROR_STATUS_UNKNOWN_TRANSACTION; in OnRemoteRequest()
73 if (status == ErrorCode::NO_ERROR) { in OnRemoteRequest()
77 reply.WriteInt32(ErrorCode::ERROR_EX_ILLEGAL_STATE); in OnRemoteRequest()
85 if (status == ErrorCode::NO_ERROR) { in OnRemoteRequest()
89 reply.WriteInt32(ErrorCode::ERROR_EX_ILLEGAL_STATE); in OnRemoteRequest()
97 if (status == ErrorCode::NO_ERROR) { in OnRemoteRequest()
100 } else if (status == ErrorCode::ERROR_NULL_POINTER) { in OnRemoteRequest()
104 reply.WriteInt32(ErrorCode::ERROR_EX_ILLEGAL_STATE); in OnRemoteRequest()
112 if (ret != ErrorCode::NO_ERROR) { in OnRemoteRequest()
113 reply.WriteInt32(ErrorCode::ERROR_EX_ILLEGAL_STATE); // write exception code in OnRemoteRequest()
[all …]
Dplatform.cpp75 return ErrorCode::ERROR_NULL_POINTER; in UnbindInputMethodService()
102 return ErrorCode::ERROR_NULL_POINTER; in DestroyWindowToken()
127 return ErrorCode::ERROR_NULL_POINTER; in GetInputMethodProperty()
151 return ErrorCode::ERROR_NULL_POINTER; in SetInputMethodSetting()
Dplatform_callback_stub.cpp39 return ErrorCode::ERROR_STATUS_UNKNOWN_TRANSACTION; in OnRemoteRequest()
48 return ErrorCode::ERROR_STATUS_BAD_VALUE; in OnRemoteRequest()
52 return ErrorCode::ERROR_STATUS_BAD_VALUE; in OnRemoteRequest()
Dglobal.cpp32 namespace ErrorCode { namespace
/base/miscservices/inputmethod/frameworks/inputmethod_ability/src/
Dinput_method_core_proxy.cpp38 return ErrorCode::ERROR_NULL_POINTER; in initializeInput()
46 return ErrorCode::ERROR_NULL_POINTER; in initializeInput()
55 return ErrorCode::ERROR_NULL_POINTER; in initializeInput()
67 if (status != ErrorCode::NO_ERROR) { in initializeInput()
81 return ErrorCode::ERROR_NULL_POINTER; in InitInputControlChannel()
85 return ErrorCode::ERROR_EX_NULL_POINTER; in InitInputControlChannel()
92 return ErrorCode::ERROR_EX_NULL_POINTER; in InitInputControlChannel()
99 if (status != ErrorCode::NO_ERROR) { in InitInputControlChannel()
127 if (status != ErrorCode::NO_ERROR) { in SetClientState()
159 if (status != ErrorCode::NO_ERROR) { in startInput()
[all …]
Dinput_method_core_stub.cpp52 return ErrorCode::ERROR_STATUS_UNKNOWN_TRANSACTION; in OnRemoteRequest()
152 return ErrorCode::ERROR_NULL_POINTER; in initializeInput()
167 return ErrorCode::NO_ERROR; in initializeInput()
174 return ErrorCode::ERROR_NULL_POINTER; in InitInputControlChannel()
184 return ErrorCode::NO_ERROR; in InitInputControlChannel()
192 return ErrorCode::ERROR_NULL_POINTER; in startInput()
210 return ErrorCode::ERROR_NULL_POINTER; in stopInput()
215 return ErrorCode::NO_ERROR; in stopInput()
252 return ErrorCode::ERROR_NULL_POINTER; in hideKeyboard()
267 return ErrorCode::ERROR_NULL_POINTER; in setKeyboardType()
[all …]
Dinput_method_agent_stub.cpp41 return ErrorCode::ERROR_STATUS_UNKNOWN_TRANSACTION; in OnRemoteRequest()
60 return ErrorCode::NO_ERROR; in OnRemoteRequest()
70 return ErrorCode::NO_ERROR; in OnRemoteRequest()
76 return ErrorCode::NO_ERROR; in OnRemoteRequest()
Dinput_method_agent_proxy.cpp20 using namespace ErrorCode;
/base/hiviewdfx/hiappevent/test/unittest/common/native/
Dhiappevent_native_test.cpp113 ASSERT_EQ(res, ErrorCode::HIAPPEVENT_VERIFY_SUCCESSFUL);
143 ASSERT_EQ(res, ErrorCode::HIAPPEVENT_VERIFY_SUCCESSFUL);
162 ASSERT_EQ(res, ErrorCode::HIAPPEVENT_VERIFY_SUCCESSFUL);
195 ASSERT_EQ(res, ErrorCode::HIAPPEVENT_VERIFY_SUCCESSFUL);
229 ASSERT_EQ(res, ErrorCode::ERROR_INVALID_PARAM_NAME);
261 ASSERT_EQ(res, ErrorCode::ERROR_INVALID_PARAM_VALUE_LENGTH);
292 ASSERT_EQ(res, ErrorCode::ERROR_INVALID_PARAM_NUM);
314 ASSERT_EQ(res, ErrorCode::ERROR_INVALID_EVENT_NAME);
320 ASSERT_EQ(res, ErrorCode::ERROR_INVALID_EVENT_NAME);
326 ASSERT_EQ(res, ErrorCode::ERROR_INVALID_EVENT_NAME);
[all …]
/base/miscservices/inputmethod/frameworks/inputmethod_controller/src/
Dinput_client_stub.cpp35 return ErrorCode::ERROR_STATUS_UNKNOWN_TRANSACTION; in OnRemoteRequest()
77 return ErrorCode::NO_ERROR; in onInputReady()
82 return ErrorCode::NO_ERROR; in onInputReleased()
87 return ErrorCode::NO_ERROR; in setDisplayMode()
Dinput_client_proxy.cpp20 using namespace ErrorCode;
/base/miscservices/request/download/services/include/
Ddownload_service_task.h45 void GetRunResult(DownloadStatus &status, ErrorCode &code, PausedReason &reason);
51 void SetStatus(DownloadStatus status, ErrorCode code, PausedReason reason);
53 void SetError(ErrorCode code);
85 ErrorCode code_;
/base/update/updater/services/include/log/
Dlog.h29 #define ERROR_CODE(code) ErrorCode(code).OutputErrorCode((__FILE_NAME__), (__LINE__), (code))
134 class ErrorCode {
136 ErrorCode(enum UpdaterErrorCode level) {} in ErrorCode() function
138 ~ErrorCode() {}; in ~ErrorCode()
/base/miscservices/request/download/interfaces/kits/js/napi/download_single/include/
Ddownload_info.h34 void SetFailedReason(ErrorCode failedReason);
56 [[nodiscard]] ErrorCode GetFailedReason() const;
81 ErrorCode failedReason_;
/base/hiviewdfx/hilog/services/hilogtool/
Dlog_display.cpp73 string ParseErrorCode(ErrorCode errorCode) in ParseErrorCode()
197 outputStr += ParseErrorCode((ErrorCode)pBuffSizeRst->result); in ControlCmdResult()
220 outputStr += ParseErrorCode((ErrorCode)pBuffResizeRst->result); in ControlCmdResult()
259 outputStr += ParseErrorCode((ErrorCode)staInfoQueryRsp->result); in ControlCmdResult()
280 outputStr += ParseErrorCode((ErrorCode)staInfoClearRsp->result); in ControlCmdResult()
294 outputStr += ParseErrorCode((ErrorCode)pLogClearRst->result); in ControlCmdResult()
318 outputStr += ParseErrorCode((ErrorCode)pLogPersistStartRst->result); in ControlCmdResult()
340 outputStr += ParseErrorCode((ErrorCode)pLogPersistStopRst->result); in ControlCmdResult()
363 outputStr += ParseErrorCode((ErrorCode)pLogPersistQueryRst->result); in ControlCmdResult()
/base/web/webview/ohos_nweb/include/
Dnweb_url_resource_error.h44 virtual int ErrorCode() const = 0;
/base/hiviewdfx/hilog/services/hilogtool/include/
Dlog_display.h27 std::string ParseErrorCode(ErrorCode errorCode);
/base/miscservices/request/download/interfaces/kits/js/napi/download_single/src/
Ddownload_info.cpp42 void DownloadInfo::SetFailedReason(ErrorCode failedReason) in SetFailedReason()
97 ErrorCode DownloadInfo::GetFailedReason() const in GetFailedReason()
/base/notification/ans_standard/frameworks/ans/core/common/include/
Dans_inner_errors.h44 enum ErrorCode : uint32_t { enum
/base/miscservices/request/download/utils/include/
Dconstant.h26 enum ErrorCode { enum
/base/miscservices/request/download/services/src/
Ddownload_service_task.cpp156 void DownloadServiceTask::GetRunResult(DownloadStatus &status, ErrorCode &code, PausedReason &reaso… in GetRunResult()
177 void DownloadServiceTask::SetStatus(DownloadStatus status, ErrorCode code, PausedReason reason) in SetStatus()
179 auto stateChange = [this](DownloadStatus status, ErrorCode code, PausedReason reason) -> bool { in SetStatus()
263 void DownloadServiceTask::SetError(ErrorCode code) in SetError()
760 ErrorCode code = ERROR_UNKNOWN; in HandleFileError()
/base/miscservices/wallpaper/interfaces/kits/napi/
Dnapi_wallpaper_ability.cpp44 context->SetErrInfo(AsyncCall::ErrorCode::NOT_SUPPORT, "not support"); in NAPI_GetColors()
309 context->SetErrInfo(AsyncCall::ErrorCode::NOT_SUPPORT, "not support"); in NAPI_ScreenshotLiveWallpaper()
328 context->SetErrInfo(AsyncCall::ErrorCode::NOT_SUPPORT, "not support"); in NAPI_On()
345 context->SetErrInfo(AsyncCall::ErrorCode::NOT_SUPPORT, "not support"); in NAPI_Off()
363 context->SetErrInfo(AsyncCall::ErrorCode::NOT_SUPPORT, "not support"); in NAPI_GetFile()

12