/base/miscservices/inputmethod/services/src/ |
D | input_method_system_ability.cpp | 118 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 …]
|
D | peruser_session.cpp | 285 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 …]
|
D | peruser_setting.cpp | 52 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 …]
|
D | input_method_system_ability_stub.cpp | 37 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 …]
|
D | platform.cpp | 75 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()
|
D | platform_callback_stub.cpp | 39 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()
|
D | global.cpp | 32 namespace ErrorCode { namespace
|
/base/miscservices/inputmethod/frameworks/inputmethod_ability/src/ |
D | input_method_core_proxy.cpp | 38 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 …]
|
D | input_method_core_stub.cpp | 52 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 …]
|
D | input_method_agent_stub.cpp | 41 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()
|
D | input_method_agent_proxy.cpp | 20 using namespace ErrorCode;
|
/base/hiviewdfx/hiappevent/test/unittest/common/native/ |
D | hiappevent_native_test.cpp | 113 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/ |
D | input_client_stub.cpp | 35 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()
|
D | input_client_proxy.cpp | 20 using namespace ErrorCode;
|
/base/miscservices/request/download/services/include/ |
D | download_service_task.h | 45 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/ |
D | log.h | 29 #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/ |
D | download_info.h | 34 void SetFailedReason(ErrorCode failedReason); 56 [[nodiscard]] ErrorCode GetFailedReason() const; 81 ErrorCode failedReason_;
|
/base/hiviewdfx/hilog/services/hilogtool/ |
D | log_display.cpp | 73 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/ |
D | nweb_url_resource_error.h | 44 virtual int ErrorCode() const = 0;
|
/base/hiviewdfx/hilog/services/hilogtool/include/ |
D | log_display.h | 27 std::string ParseErrorCode(ErrorCode errorCode);
|
/base/miscservices/request/download/interfaces/kits/js/napi/download_single/src/ |
D | download_info.cpp | 42 void DownloadInfo::SetFailedReason(ErrorCode failedReason) in SetFailedReason() 97 ErrorCode DownloadInfo::GetFailedReason() const in GetFailedReason()
|
/base/notification/ans_standard/frameworks/ans/core/common/include/ |
D | ans_inner_errors.h | 44 enum ErrorCode : uint32_t { enum
|
/base/miscservices/request/download/utils/include/ |
D | constant.h | 26 enum ErrorCode { enum
|
/base/miscservices/request/download/services/src/ |
D | download_service_task.cpp | 156 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/ |
D | napi_wallpaper_ability.cpp | 44 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()
|