/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ng/ |
D | page_router_manager.cpp | 179 if (target.errorCallback != nullptr) { in PushNamedRoute() 180 … target.errorCallback("The pages are pushed too much.", Framework::ERROR_CODE_PAGE_STACK_FULL); in PushNamedRoute() 626 if (target.errorCallback != nullptr) { in PushOhmUrl() 627 … target.errorCallback("The pages are pushed too much.", Framework::ERROR_CODE_PAGE_STACK_FULL); in PushOhmUrl() 680 …auto silentInstallErrorCallBack = [errorCallback = target.errorCallback, taskExecutor, instanceId]( in StartPush() 683 …taskExecutor->PostTask([errorCallback, errorCode, errorMsg]() { errorCallback(errorMsg, errorCode)… in StartPush() 697 if (target.errorCallback != nullptr) { in StartPush() 698 … target.errorCallback("The pages are pushed too much.", Framework::ERROR_CODE_PAGE_STACK_FULL); in StartPush() 707 if (info.errorCallback != nullptr) { in StartPush() 708 info.errorCallback("The uri of router is not exist.", Framework::ERROR_CODE_URI_ERROR); in StartPush() [all …]
|
D | frontend_delegate_declarative_ng.cpp | 389 const std::function<void(const std::string&, int32_t)>& errorCallback, uint32_t routerMode) in PushWithCallback() argument 393 … NG::RouterPageInfo({ uri, params, static_cast<NG::RouterMode>(routerMode), errorCallback })); in PushWithCallback() 398 const std::function<void(const std::string&, int32_t)>& errorCallback, uint32_t routerMode) in PushNamedRoute() argument 402 … NG::RouterPageInfo({ uri, params, static_cast<NG::RouterMode>(routerMode), errorCallback })); in PushNamedRoute() 421 const std::function<void(const std::string&, int32_t)>& errorCallback, uint32_t routerMode) in ReplaceWithCallback() argument 425 … NG::RouterPageInfo({ uri, params, static_cast<NG::RouterMode>(routerMode), errorCallback })); in ReplaceWithCallback() 430 const std::function<void(const std::string&, int32_t)>& errorCallback, uint32_t routerMode) in ReplaceNamedRoute() argument 434 … NG::RouterPageInfo({ uri, params, static_cast<NG::RouterMode>(routerMode), errorCallback })); in ReplaceNamedRoute()
|
D | frontend_delegate_declarative_ng.h | 98 …const std::function<void(const std::string&, int32_t)>& errorCallback, uint32_t routerMode = 0) ov… 100 …const std::function<void(const std::string&, int32_t)>& errorCallback, uint32_t routerMode = 0) ov… 104 …const std::function<void(const std::string&, int32_t)>& errorCallback, uint32_t routerMode = 0) ov… 106 …const std::function<void(const std::string&, int32_t)>& errorCallback, uint32_t routerMode = 0) ov…
|
D | page_router_manager.h | 48 std::function<void(const std::string&, int32_t)> errorCallback; member
|
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/ |
D | js_runtime.h | 53 const std::function<void(const std::string&, int32_t)>& errorCallback = nullptr) 77 const std::function<void(const std::string&, int32_t)>& errorCallback = nullptr) = 0; 82 std::function<void(const std::string&, const std::string&)>&& errorCallback) {} in SetErrorEventHandler() argument
|
D | ark_js_runtime.h | 73 const std::function<void(const std::string&, int32_t)>& errorCallback = nullptr) override; 92 const std::function<void(const std::string&, int32_t)>& errorCallback = nullptr) override; 128 void SetErrorEventHandler(ErrorEventHandler&& errorCallback) override in SetErrorEventHandler() argument 130 errorCallback_ = std::move(errorCallback); in SetErrorEventHandler()
|
D | ark_js_runtime.cpp | 155 const std::function<void(const std::string&, int32_t)>& errorCallback) in ExecuteJsBin() argument 160 HandleUncaughtException(errorCallback); in ExecuteJsBin() 275 const std::function<void(const std::string&, int32_t)>& errorCallback) in HandleUncaughtException() argument 283 if (!exception.IsEmpty() && !exception->IsHole() && errorCallback != nullptr) { in HandleUncaughtException() 284 …errorCallback("loading js file has crash or the uri of router is not exist.", Framework::ERROR_COD… in HandleUncaughtException()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
D | render_surface_impl.cpp | 39 auto errorCallback = [weak = WeakClaim(this), uiTaskExecutor](const std::string& errorId, in InitSurface() local 41 extSurface_ = AceType::MakeRefPtr<ExtSurface>(container->GetPipelineContext(), errorCallback); in InitSurface() 43 extSurface_->Create([weak = WeakClaim(this), errorCallback](int64_t id) mutable { in InitSurface()
|
D | media_player_impl.cpp | 49 auto errorCallback = [weak = WeakClaim(this), uiTaskExecutor]( in CreateMediaPlayer() local 61 player_ = AceType::MakeRefPtr<Player>(context, std::move(errorCallback)); in CreateMediaPlayer()
|
/foundation/arkui/ace_engine/frameworks/bridge/card_frontend/ |
D | form_frontend_declarative.cpp | 117 std::function<void(const std::string&, const std::string&)>&& errorCallback) in SetErrorEventHandler() argument 124 return jsEngine->SetErrorEventHandler(std::move(errorCallback)); in SetErrorEventHandler()
|
D | form_frontend_declarative.h | 49 std::function<void(const std::string&, const std::string&)>&& errorCallback) override;
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ |
D | frontend_delegate_declarative.h | 53 std::function<void(const std::string&, int32_t)> errorCallback; member 143 const std::function<void(const std::string&, int32_t)>& errorCallback = nullptr); 145 const std::function<void(const std::string&, int32_t)>& errorCallback = nullptr); 151 …const std::function<void(const std::string&, int32_t)>& errorCallback, uint32_t routerMode = 0) ov… 153 …const std::function<void(const std::string&, int32_t)>& errorCallback, uint32_t routerMode = 0) ov… 157 …const std::function<void(const std::string&, int32_t)>& errorCallback, uint32_t routerMode = 0) ov… 159 …const std::function<void(const std::string&, int32_t)>& errorCallback, uint32_t routerMode = 0) ov… 387 const std::function<void(const std::string&, int32_t)>& errorCallback); 389 const std::function<void(const std::string&, int32_t)>& errorCallback);
|
D | frontend_delegate_declarative.cpp | 828 const std::function<void(const std::string&, int32_t)>& errorCallback, uint32_t routerMode) in PushWithCallback() argument 833 … NG::RouterPageInfo({ uri, params, static_cast<NG::RouterMode>(routerMode), errorCallback })); in PushWithCallback() 837 Push(PageTarget(uri, static_cast<RouterMode>(routerMode)), params, errorCallback); in PushWithCallback() 841 const std::function<void(const std::string&, int32_t)>& errorCallback, uint32_t routerMode) in PushNamedRoute() argument 845 … NG::RouterPageInfo({ uri, params, static_cast<NG::RouterMode>(routerMode), errorCallback })); in PushNamedRoute() 873 const std::function<void(const std::string&, int32_t)>& errorCallback, uint32_t routerMode) in ReplaceWithCallback() argument 878 … NG::RouterPageInfo({ uri, params, static_cast<NG::RouterMode>(routerMode), errorCallback })); in ReplaceWithCallback() 882 Replace(PageTarget(uri, static_cast<RouterMode>(routerMode)), params, errorCallback); in ReplaceWithCallback() 886 const std::function<void(const std::string&, int32_t)>& errorCallback, uint32_t routerMode) in ReplaceNamedRoute() argument 890 … NG::RouterPageInfo({ uri, params, static_cast<NG::RouterMode>(routerMode), errorCallback })); in ReplaceNamedRoute() [all …]
|
/foundation/arkui/ace_engine/interfaces/napi/kits/router/ |
D | js_router.cpp | 313 auto errorCallback = [asyncContext](const std::string& message, int32_t errCode) mutable { in CommonRouterWithCallbackProcess() local 322 callback(asyncContext, errorCallback); in CommonRouterWithCallbackProcess() 329 …to callback = [](std::shared_ptr<RouterAsyncContext> context, const ErrorCallback& errorCallback) { in JSRouterPushWithCallback() argument 335 …delegate->PushWithCallback(context->uriString, context->paramsString, errorCallback, context->mode… in JSRouterPushWithCallback() 343 …to callback = [](std::shared_ptr<RouterAsyncContext> context, const ErrorCallback& errorCallback) { in JSRouterReplaceWithCallback() argument 349 …delegate->ReplaceWithCallback(context->uriString, context->paramsString, errorCallback, context->m… in JSRouterReplaceWithCallback() 357 …to callback = [](std::shared_ptr<RouterAsyncContext> context, const ErrorCallback& errorCallback) { in JSPushNamedRoute() argument 363 … delegate->PushNamedRoute(context->uriString, context->paramsString, errorCallback, context->mode); in JSPushNamedRoute() 371 …to callback = [](std::shared_ptr<RouterAsyncContext> context, const ErrorCallback& errorCallback) { in JSReplaceNamedRoute() argument 377 …delegate->ReplaceNamedRoute(context->uriString, context->paramsString, errorCallback, context->mod… in JSReplaceNamedRoute()
|
/foundation/multimedia/camera_framework/frameworks/native/camera/src/input/ |
D | camera_input.cpp | 151 void CameraInput::SetErrorCallback(std::shared_ptr<ErrorCallback> errorCallback) in SetErrorCallback() argument 153 if (errorCallback == nullptr) { in SetErrorCallback() 156 errorCallback_ = errorCallback; in SetErrorCallback()
|
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/ |
D | frontend_delegate.h | 63 … const std::function<void(const std::string&, int32_t)>& errorCallback, uint32_t routerMode = 0) 66 … const std::function<void(const std::string&, int32_t)>& errorCallback, uint32_t routerMode = 0) 72 … const std::function<void(const std::string&, int32_t)>& errorCallback, uint32_t routerMode = 0) 75 … const std::function<void(const std::string&, int32_t)>& errorCallback, uint32_t routerMode = 0)
|
D | frontend_delegate_impl.cpp | 571 const std::function<void(const std::string&, int32_t)>& errorCallback, uint32_t routerMode) in PushWithCallback() argument 573 Push(uri, params, errorCallback); in PushWithCallback() 577 const std::function<void(const std::string&, int32_t)>& errorCallback) in Push() argument 586 if (errorCallback != nullptr) { in Push() 587 errorCallback("The pages are pushed too much.", ERROR_CODE_PAGE_STACK_FULL); in Push() 596 if (errorCallback != nullptr) { in Push() 597 errorCallback("", ERROR_CODE_NO_ERROR); in Push() 602 if (errorCallback != nullptr) { in Push() 603 errorCallback("The uri of router is not exist.", ERROR_CODE_URI_ERROR); in Push() 624 const std::function<void(const std::string&, int32_t)>& errorCallback, uint32_t routerMode) in ReplaceWithCallback() argument [all …]
|
D | frontend_delegate_impl.h | 231 …const std::function<void(const std::string&, int32_t)>& errorCallback, uint32_t routerMode = 0) ov… 234 …const std::function<void(const std::string&, int32_t)>& errorCallback, uint32_t routerMode = 0) ov… 360 const std::function<void(const std::string&, int32_t)>& errorCallback); 362 const std::function<void(const std::string&, int32_t)>& errorCallback);
|
/foundation/arkui/ace_engine/frameworks/core/components/camera/ |
D | camera_element.cpp | 422 auto errorCallback = [weak = WeakClaim(this), uiTaskExecutor]( in CreateTexture() local 431 texture_ = AceType::MakeRefPtr<Texture>(context_, errorCallback); in CreateTexture() 433 texture_->Create([weak = WeakClaim(this), errorCallback](int64_t id) mutable { in CreateTexture() 436 cameraElement->CreateCamera(id, std::move(errorCallback)); in CreateTexture() 441 void CameraElement::CreateCamera(int64_t id, ErrorCallback&& errorCallback) in CreateCamera() argument 443 camera_ = AceType::MakeRefPtr<Camera>(id, context_, std::move(errorCallback), devicePosition_); in CreateCamera()
|
D | camera_element.h | 90 void CreateCamera(int64_t id, ErrorCallback &&errorCallback);
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/ |
D | jsi_declarative_engine.h | 253 const std::function<void(const std::string&, int32_t)>& errorCallback = nullptr); 263 const std::function<void(const std::string&, int32_t)>& errorCallback = nullptr) override; 336 std::function<void(const std::string&, const std::string&)>&& errorCallback) override;
|
/foundation/arkui/ace_engine/frameworks/core/components/xcomponent/ |
D | xcomponent_element.cpp | 205 auto errorCallback = [weak = WeakClaim(this), uiTaskExecutor]( in CreatePlatformResource() local 215 texture_ = AceType::MakeRefPtr<NativeTexture>(context_, errorCallback); in CreatePlatformResource() 220 [weak = WeakClaim(this), errorCallback](int64_t id) mutable { in CreatePlatformResource()
|
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/common/ |
D | js_engine.h | 118 const std::function<void(const std::string&, int32_t)>& errorCallback = nullptr) 224 std::function<void(const std::string&, const std::string&)>&& errorCallback) {} in SetErrorEventHandler() argument
|
/foundation/multimedia/camera_framework/interfaces/inner_api/native/camera/include/input/ |
D | camera_input.h | 229 void SetErrorCallback(std::shared_ptr<ErrorCallback> errorCallback);
|
/foundation/multimedia/audio_framework/frameworks/native/ohaudio/ |
D | OHAudioRenderer.cpp | 359 std::shared_ptr<AudioRendererErrorCallback> errorCallback = in SetRendererCallback() local 361 audioRenderer_->SetAudioRendererErrorCallback(errorCallback); in SetRendererCallback()
|