Home
last modified time | relevance | path

Searched refs:ERROR_CODE_INTERNAL_ERROR (Results 1 – 21 of 21) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/interfaces/napi/kits/overlay/
H A Djs_overlay.cpp57 NapiThrow(env, "UI execution context not found.", ERROR_CODE_INTERNAL_ERROR); in JSAddFrameNode()
83 NapiThrow(env, "UI execution context not found.", ERROR_CODE_INTERNAL_ERROR); in JSRemoveFrameNode()
96 NapiThrow(env, "UI execution context not found.", ERROR_CODE_INTERNAL_ERROR); in JSShowNode()
109 NapiThrow(env, "UI execution context not found.", ERROR_CODE_INTERNAL_ERROR); in JSHideNode()
120 NapiThrow(env, "UI execution context not found.", ERROR_CODE_INTERNAL_ERROR); in JSShowAllFrameNodes()
131 NapiThrow(env, "UI execution context not found.", ERROR_CODE_INTERNAL_ERROR); in JSHideAllFrameNodes()
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/ability/native/photo_editor_extension_ability/
H A Djs_photo_editor_extension_context.cpp95 …ThrowError(env, static_cast<int32_t>(PhotoEditorErrorCode::ERROR_CODE_INTERNAL_ERROR), ERR_MSG_INT… in OnSaveEditedContentWithUri()
105 …ct(env, CreateJsError(env, static_cast<int32_t>(PhotoEditorErrorCode::ERROR_CODE_INTERNAL_ERROR))); in OnSaveEditedContentWithUri()
114 …ct(env, CreateJsError(env, static_cast<int32_t>(PhotoEditorErrorCode::ERROR_CODE_INTERNAL_ERROR))); in OnSaveEditedContentWithUri()
148 …ThrowError(env, static_cast<int32_t>(PhotoEditorErrorCode::ERROR_CODE_INTERNAL_ERROR), ERR_MSG_INT… in OnSaveEditedContentWithImage()
158 …ct(env, CreateJsError(env, static_cast<int32_t>(PhotoEditorErrorCode::ERROR_CODE_INTERNAL_ERROR))); in OnSaveEditedContentWithImage()
167 …ct(env, CreateJsError(env, static_cast<int32_t>(PhotoEditorErrorCode::ERROR_CODE_INTERNAL_ERROR))); in OnSaveEditedContentWithImage()
H A Dphoto_editor_extension_context.cpp63 return PhotoEditorErrorCode::ERROR_CODE_INTERNAL_ERROR; in SaveEditedContent()
71 return PhotoEditorErrorCode::ERROR_CODE_INTERNAL_ERROR; in SaveEditedContent()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Dcomponent_snapshot.cpp49 callback_(nullptr, ERROR_CODE_INTERNAL_ERROR, [node = node_]() { in OnSurfaceCapture()
106 … std::pair<int32_t, std::shared_ptr<Media::PixelMap>> result(ERROR_CODE_INTERNAL_ERROR, nullptr); in GetPixelMap()
214 callback(nullptr, ERROR_CODE_INTERNAL_ERROR, nullptr); in Get()
227 callback(nullptr, ERROR_CODE_INTERNAL_ERROR, nullptr); in Get()
238 callback(nullptr, ERROR_CODE_INTERNAL_ERROR, nullptr); in Get()
261 callback(nullptr, ERROR_CODE_INTERNAL_ERROR, nullptr); in Create()
271 callback(nullptr, ERROR_CODE_INTERNAL_ERROR, nullptr); in Create()
356 std::pair<int32_t, std::shared_ptr<Media::PixelMap>> result(ERROR_CODE_INTERNAL_ERROR, nullptr); in GetSync()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_nav_path_stack.cpp50 case ERROR_CODE_INTERNAL_ERROR: in ErrorToMessage()
190 ProcessPromiseCallback(asyncContext, ERROR_CODE_INTERNAL_ERROR); in OnPushDestination()
203 ProcessPromiseCallback(asyncContext, ERROR_CODE_INTERNAL_ERROR); in OnPushDestination()
212 ProcessPromiseCallback(asyncContext, ERROR_CODE_INTERNAL_ERROR); in OnPushDestination()
H A Djs_navigation_stack.cpp84 return ERROR_CODE_INTERNAL_ERROR; in SetDataSourceObj()
810 CHECK_NULL_RETURN(navigationNode, ERROR_CODE_INTERNAL_ERROR); in CheckNavDestinationExists()
812 CHECK_NULL_RETURN(navigationPattern, ERROR_CODE_INTERNAL_ERROR); in CheckNavDestinationExists()
967 CHECK_NULL_RETURN(parentCustomNode, ERROR_CODE_INTERNAL_ERROR); in LoadDestination()
969 CHECK_NULL_RETURN(thisObjTmp, ERROR_CODE_INTERNAL_ERROR); in LoadDestination()
972 CHECK_NULL_RETURN(engine, ERROR_CODE_INTERNAL_ERROR); in LoadDestination()
H A Djs_view_context.cpp94 { ERROR_CODE_INTERNAL_ERROR, "Internal error." },
/ohos5.0/foundation/arkui/ace_engine/interfaces/napi/kits/router/
H A Djs_router.cpp359 NapiThrow(context->env, "UI execution context not found.", ERROR_CODE_INTERNAL_ERROR); in JSRouterPushWithCallback()
379 NapiThrow(context->env, "UI execution context not found.", ERROR_CODE_INTERNAL_ERROR); in JSRouterReplaceWithCallback()
431 NapiThrow(env, "UI execution context not found.", ERROR_CODE_INTERNAL_ERROR); in JsBackToIndex()
499 NapiThrow(env, "UI execution context not found.", ERROR_CODE_INTERNAL_ERROR); in JSRouterClear()
510 NapiThrow(env, "UI execution context not found.", ERROR_CODE_INTERNAL_ERROR); in JSRouterGetLength()
528 NapiThrow(env, "UI execution context not found.", ERROR_CODE_INTERNAL_ERROR); in JSRouterGetState()
570 NapiThrow(env, "UI execution context not found.", ERROR_CODE_INTERNAL_ERROR); in JSGetStateByIndex()
614 NapiThrow(env, "UI execution context not found.", ERROR_CODE_INTERNAL_ERROR); in JSGetStateByUrl()
741 NapiThrow(env, "UI execution context not found.", ERROR_CODE_INTERNAL_ERROR); in JSRouterEnableAlertBeforeBackPage()
793 NapiThrow(env, "UI execution context not found.", ERROR_CODE_INTERNAL_ERROR); in JSRouterDisableAlertBeforeBackPage()
[all …]
/ohos5.0/foundation/arkui/ace_engine/interfaces/napi/kits/component_snapshot/
H A Djs_component_snapshot.cpp308 callback(nullptr, ERROR_CODE_INTERNAL_ERROR, nullptr); in JSSnapshotGet()
339 callback(nullptr, ERROR_CODE_INTERNAL_ERROR, nullptr); in JSSnapshotFromBuilder()
381 NapiThrow(env, "Delegate is null", ERROR_CODE_INTERNAL_ERROR); in JSSnapshotGetSync()
397 case ERROR_CODE_INTERNAL_ERROR : in JSSnapshotGetSync()
399 NapiThrow(env, "Internal error!", ERROR_CODE_INTERNAL_ERROR); in JSSnapshotGetSync()
/ohos5.0/foundation/arkui/ace_engine/interfaces/napi/kits/drag_controller/
H A Djs_drag_controller.cpp273 NapiThrow(env, "convert drag action failed.", ERROR_CODE_INTERNAL_ERROR); in StartDrag()
285 NapiThrow(env, "ace engine delegate is null", ERROR_CODE_INTERNAL_ERROR); in StartDrag()
791 HandleFail(asyncCtx, ERROR_CODE_INTERNAL_ERROR, "msdp start drag failed."); in StartDragService()
836 HandleFail(asyncCtx, ERROR_CODE_INTERNAL_ERROR, "drag state is reject."); in OnMultipleComplete()
872 HandleFail(asyncCtx, ERROR_CODE_INTERNAL_ERROR, "drag state is reject."); in OnComplete()
1601 NapiThrow(env, "get container failed.", ERROR_CODE_INTERNAL_ERROR); in JSExecuteDrag()
1617 NapiThrow(env, "confirm current point info failed.", ERROR_CODE_INTERNAL_ERROR); in JSExecuteDrag()
1651 NapiThrow(env, "get container failed.", ERROR_CODE_INTERNAL_ERROR); in JSCreateDragAction()
1696 ERROR_CODE_INTERNAL_ERROR); in JSGetDragPreview()
1706 ERROR_CODE_INTERNAL_ERROR); in JSExecuteDrag()
[all …]
/ohos5.0/foundation/arkui/ace_engine/interfaces/napi/kits/promptaction/
H A Dprompt_action.cpp93 NapiThrow(env, "Can not get message from resource manager.", ERROR_CODE_INTERNAL_ERROR); in GetToastMessage()
121 NapiThrow(env, "Can not get message from resource manager.", ERROR_CODE_INTERNAL_ERROR); in GetToastDuration()
464 NapiThrow(env, "Can not get delegate.", ERROR_CODE_INTERNAL_ERROR); in ShowToast()
476 NapiThrow(env, "UI execution context not found.", ERROR_CODE_INTERNAL_ERROR); in ShowToast()
1206 std::string strCode = std::to_string(ERROR_CODE_INTERNAL_ERROR); in JSPromptThrowInterError()
1474 std::string strCode = std::to_string(ERROR_CODE_INTERNAL_ERROR); in JSPromptShowDialog()
1503 std::string strCode = std::to_string(ERROR_CODE_INTERNAL_ERROR); in JSPromptShowDialog()
1678 std::string strCode = std::to_string(ERROR_CODE_INTERNAL_ERROR); in JSPromptShowActionMenu()
1706 std::string strCode = std::to_string(ERROR_CODE_INTERNAL_ERROR); in JSPromptShowActionMenu()
1911 strMsg = ErrorToMessage(ERROR_CODE_INTERNAL_ERROR) + "Build custom dialog failed."; in GetErrorMsg()
[all …]
/ohos5.0/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/photo_editor_extension_ability/
H A Dphoto_editor_extension_context.h34 ERROR_CODE_INTERNAL_ERROR = 29600001, enumerator
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/error/
H A Derror_code.h29 constexpr int32_t ERROR_CODE_INTERNAL_ERROR = 100001; // Internal error. variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/overlay/
H A Dsheet_manager.cpp130 CHECK_NULL_RETURN(context, ERROR_CODE_INTERNAL_ERROR); in OpenBindSheetByUIContext()
132 CHECK_NULL_RETURN(overlayManager, ERROR_CODE_INTERNAL_ERROR); in OpenBindSheetByUIContext()
/ohos5.0/foundation/arkui/ace_engine/interfaces/napi/kits/focus_controller/
H A Djs_focus_controller.cpp78 NapiThrow(env, "An internal error occurred.", ERROR_CODE_INTERNAL_ERROR); in JSRequestFocus()
/ohos5.0/foundation/arkui/ace_engine/interfaces/napi/kits/animator/
H A Djs_animator.cpp255 … NapiThrow(env, "Internal error. Unwrap animator result is failed.", ERROR_CODE_INTERNAL_ERROR); in JSReset()
260 … NapiThrow(env, "Internal error. Option is null in AnimatorResult.", ERROR_CODE_INTERNAL_ERROR); in JSReset()
266 … NapiThrow(env, "Internal error. Animator is null in AnimatorResult.", ERROR_CODE_INTERNAL_ERROR); in JSReset()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/
H A Djsi_animator_bridge.cpp436 …untime->ThrowError("Internal error. Fail to get object property list.", ERROR_CODE_INTERNAL_ERROR); in JsAnimatorReset()
452 …untime->ThrowError("Internal error. Can not find the page for pageId.", ERROR_CODE_INTERNAL_ERROR); in JsAnimatorReset()
/ohos5.0/foundation/arkui/ace_engine/interfaces/napi/kits/componentutils/
H A Djs_component_utils.cpp48 NapiThrow(env, "UI execution context not found.", ERROR_CODE_INTERNAL_ERROR); in JSGetRectangleById()
/ohos5.0/foundation/arkui/ace_engine/interfaces/napi/kits/utils/
H A Dnapi_utils.cpp43 { ERROR_CODE_INTERNAL_ERROR, "Internal error. " },
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ng/
H A Dfrontend_delegate_declarative_ng.cpp1180 return {ERROR_CODE_INTERNAL_ERROR, nullptr}; in GetSyncSnapshot()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/
H A Dfrontend_delegate_declarative.cpp3381 return {ERROR_CODE_INTERNAL_ERROR, nullptr}; in GetSyncSnapshot()