Home
last modified time | relevance | path

Searched refs:UIContentErrorCode (Results 1 – 25 of 50) sorted by relevance

12

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/common/
H A Dfrontend.h128 virtual UIContentErrorCode RunPage(const std::string& content, const std::string& params) in RunPage()
130 return UIContentErrorCode::NO_ERRORS; in RunPage()
132 …virtual UIContentErrorCode RunPage(const std::shared_ptr<std::vector<uint8_t>>& content, const std… in RunPage()
134 return UIContentErrorCode::NO_ERRORS; in RunPage()
136 virtual UIContentErrorCode RunDynamicPage( in RunDynamicPage()
139 return UIContentErrorCode::NO_ERRORS; in RunDynamicPage()
142 …virtual UIContentErrorCode RunPageByNamedRouter(const std::string& name, const std::string& params) in RunPageByNamedRouter()
144 return UIContentErrorCode::NO_ERRORS; in RunPageByNamedRouter()
281 virtual std::pair<RouterRecoverRecord, UIContentErrorCode> RestoreRouterStack( in RestoreRouterStack()
284 return std::make_pair(RouterRecoverRecord(), UIContentErrorCode::NO_ERRORS); in RestoreRouterStack()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/card_frontend/
H A Dform_frontend_delegate_declarative.cpp34 UIContentErrorCode FormFrontendDelegateDeclarative::RunCard(const std::string& url, const std::stri… in RunCard()
39 CHECK_NULL_RETURN(pageRouterManager, UIContentErrorCode::NULL_PAGE_ROUTER); in RunCard()
44 CHECK_NULL_RETURN(taskExecutor, UIContentErrorCode::NULL_POINTER); in RunCard()
47 CHECK_NULL_RETURN(container, UIContentErrorCode::NULL_POINTER); in RunCard()
60 return UIContentErrorCode::NO_ERRORS; in RunCard()
H A Dform_frontend_declarative.cpp48 UIContentErrorCode FormFrontendDeclarative::RunPage(const std::string& url, const std::string& para… in RunPage()
53 UIContentErrorCode FormFrontendDeclarative::RunDynamicPage( in RunDynamicPage()
60 return UIContentErrorCode::NULL_URL; in RunDynamicPage()
65 return UIContentErrorCode::NULL_POINTER; in RunDynamicPage()
74 return UIContentErrorCode::NULL_POINTER; in RunDynamicPage()
H A Dcard_frontend_delegate_declarative.cpp33 UIContentErrorCode CardFrontendDelegateDeclarative::RunCard( in RunCard()
38 CHECK_NULL_RETURN(pageRouterManager, UIContentErrorCode::NULL_PAGE_ROUTER); in RunCard()
43 CHECK_NULL_RETURN(taskExecutor, UIContentErrorCode::NULL_POINTER); in RunCard()
57 return UIContentErrorCode::NO_ERRORS; in RunCard()
H A Dcard_frontend_declarative.cpp89 UIContentErrorCode CardFrontendDeclarative::RunPage(const std::string& url, const std::string& para… in RunPage()
104 return UIContentErrorCode::NULL_URL; in RunPage()
110 return UIContentErrorCode::NULL_POINTER; in RunPage()
116 return UIContentErrorCode::NULL_POINTER; in RunPage()
H A Dform_frontend_declarative.h46 UIContentErrorCode RunPage(const std::string& url, const std::string& params) override;
47 UIContentErrorCode RunDynamicPage(
H A Dcard_frontend.cpp86 UIContentErrorCode CardFrontend::RunPage(const std::string& url, const std::string& params) in RunPage()
102 return UIContentErrorCode::NULL_URL; in RunPage()
113 return UIContentErrorCode::NO_ERRORS; in RunPage()
H A Dcard_frontend_delegate_declarative.h43 UIContentErrorCode RunCard(
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ng/
H A Ddeclarative_frontend_ng.cpp371 CHECK_NULL_RETURN(taskExecutor, UIContentErrorCode::NULL_POINTER); in RunPage()
384 return UIContentErrorCode::NO_ERRORS; in RunPage()
387 return UIContentErrorCode::NULL_POINTER; in RunPage()
390 UIContentErrorCode DeclarativeFrontendNG::RunPage( in RunPage()
397 return UIContentErrorCode::NO_STAGE; in RunPage()
402 return UIContentErrorCode::NO_ERRORS; in RunPage()
405 return UIContentErrorCode::NULL_POINTER; in RunPage()
412 return UIContentErrorCode::NO_ERRORS; in RunPageByNamedRouter()
414 return UIContentErrorCode::NULL_POINTER; in RunPageByNamedRouter()
575 std::pair<RouterRecoverRecord, UIContentErrorCode> DeclarativeFrontendNG::RestoreRouterStack( in RestoreRouterStack()
[all …]
H A Ddeclarative_frontend_ng.h47 UIContentErrorCode RunPage(const std::string& url, const std::string& params) override;
48 UIContentErrorCode RunPage(
50UIContentErrorCode RunPageByNamedRouter(const std::string& name, const std::string& params) overri…
141 std::pair<RouterRecoverRecord, UIContentErrorCode> RestoreRouterStack(
H A Dpage_router_manager.h79 UIContentErrorCode RunCard(
200 std::pair<RouterRecoverRecord, UIContentErrorCode> RestoreRouterStack(
283UIContentErrorCode LoadCard(int32_t pageId, const RouterPageInfo& target, const std::string& param…
H A Dpage_router_manager.cpp180 UIContentErrorCode PageRouterManager::RunCard( in RunCard()
1000 std::pair<RouterRecoverRecord, UIContentErrorCode> PageRouterManager::RestoreRouterStack( in RestoreRouterStack()
1004 return std::make_pair(RouterRecoverRecord(), UIContentErrorCode::WRONG_PAGE_ROUTER); in RestoreRouterStack()
1013 std::make_pair(RouterRecoverRecord(), UIContentErrorCode::NULL_POINTER)); in RestoreRouterStack()
1016 std::make_pair(RouterRecoverRecord(), UIContentErrorCode::WRONG_PAGE_ROUTER)); in RestoreRouterStack()
1020 std::make_pair(RouterRecoverRecord(), UIContentErrorCode::WRONG_PAGE_ROUTER)); in RestoreRouterStack()
1047 return std::make_pair(topRecord, UIContentErrorCode::NO_ERRORS); in RestoreRouterStack()
1563 return UIContentErrorCode::NULL_CARD_CALLBACK; in LoadCard()
1568 return UIContentErrorCode::NULL_CARD_RES; in LoadCard()
1574 return UIContentErrorCode::CARD_PAGE_NOT_READY; in LoadCard()
[all …]
/ohos5.0/foundation/arkui/ace_engine/adapter/preview/entrance/
H A Dui_content_impl.h43UIContentErrorCode Initialize(OHOS::Rosen::Window* window, const std::string& url, napi_value stor…
44 UIContentErrorCode Initialize(OHOS::Rosen::Window* window, in Initialize()
46 return UIContentErrorCode::NO_ERRORS; in Initialize()
48 UIContentErrorCode InitializeByName(OHOS::Rosen::Window *window, const std::string &name, in InitializeByName()
50 return UIContentErrorCode::NO_ERRORS; in InitializeByName()
64 UIContentErrorCode Restore(OHOS::Rosen::Window* window, const std::string& contentInfo, in Restore()
66 return UIContentErrorCode::NO_ERRORS; in Restore()
175 UIContentErrorCode CommonInitialize(OHOS::Rosen::Window* window, const std::string& contentInfo,
H A Dui_content_impl.cpp312 UIContentErrorCode UIContentImpl::Initialize(OHOS::Rosen::Window* window, const std::string& url, in Initialize()
315 auto errorCode = UIContentErrorCode::NO_ERRORS; in Initialize()
327 UIContentErrorCode UIContentImpl::CommonInitialize(OHOS::Rosen::Window* window, in CommonInitialize()
353 CHECK_NULL_RETURN(container, UIContentErrorCode::NULL_POINTER); in CommonInitialize()
435 return UIContentErrorCode::NO_ERRORS; in CommonInitialize()
/ohos5.0/foundation/window/window_manager/test/common/mock/
H A Dmock_uicontent.h28 MOCK_METHOD3(Initialize, UIContentErrorCode(OHOS::Rosen::Window* window, const std::string& url,
30 MOCK_METHOD3(Initialize, UIContentErrorCode(OHOS::Rosen::Window* window,
32 …MOCK_METHOD3(InitializeByName, UIContentErrorCode(OHOS::Rosen::Window* window, const std::string& …
42 …MOCK_METHOD4(Restore, UIContentErrorCode(OHOS::Rosen::Window* window, const std::string& contentIn…
/ohos5.0/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_native_test/include/
H A Dmock_ui_content.h30 MOCK_METHOD3(Initialize, UIContentErrorCode(OHOS::Rosen::Window *window, const std::string &url,
32 MOCK_METHOD3(Initialize, UIContentErrorCode(OHOS::Rosen::Window *window,
34 MOCK_METHOD3(InitializeByName, UIContentErrorCode(OHOS::Rosen::Window *window,
44 …MOCK_METHOD4(Restore, UIContentErrorCode(OHOS::Rosen::Window *window, const std::string &contentIn…
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/entrance/
H A Dui_content_impl.h63UIContentErrorCode Initialize(OHOS::Rosen::Window* window, const std::string& url, napi_value stor…
64 UIContentErrorCode Initialize(
66UIContentErrorCode Initialize(OHOS::Rosen::Window* window, const std::shared_ptr<std::vector<uint8…
68 UIContentErrorCode InitializeByName(
82 UIContentErrorCode Restore(OHOS::Rosen::Window* window, const std::string& contentInfo,
369 UIContentErrorCode InitializeInner(
371 UIContentErrorCode CommonInitialize(
373 UIContentErrorCode CommonInitializeForm(
H A Dace_container.cpp1130 UIContentErrorCode AceContainer::SetViewNew( in SetViewNew()
1134 CHECK_NULL_RETURN(view, UIContentErrorCode::NULL_POINTER); in SetViewNew()
1136 CHECK_NULL_RETURN(container, UIContentErrorCode::NULL_POINTER); in SetViewNew()
1149 return UIContentErrorCode::NO_ERRORS; in SetViewNew()
1182 UIContentErrorCode AceContainer::RunPage( in RunPage()
1186 CHECK_NULL_RETURN(container, UIContentErrorCode::NULL_POINTER); in RunPage()
1193 return UIContentErrorCode::NULL_URL; in RunPage()
1198 CHECK_NULL_RETURN(front, UIContentErrorCode::NULL_POINTER); in RunPage()
1202 return UIContentErrorCode::INVALID_URL; in RunPage()
1212 UIContentErrorCode AceContainer::RunPage( in RunPage()
[all …]
/ohos5.0/foundation/arkui/ace_engine/test/mock/interfaces/
H A Dmock_uicontent.h35 MOCK_METHOD3(Initialize, UIContentErrorCode(OHOS::Rosen::Window* window, const std::string& url,
37 MOCK_METHOD3(Initialize, UIContentErrorCode(OHOS::Rosen::Window* window,
39 MOCK_METHOD3(InitializeByName, UIContentErrorCode(OHOS::Rosen::Window *window,
49 …MOCK_METHOD4(Restore, UIContentErrorCode(OHOS::Rosen::Window* window, const std::string& contentIn…
/ohos5.0/foundation/arkui/ace_engine/interfaces/inner_api/ace/
H A Dui_content.h105 …virtual UIContentErrorCode Initialize(OHOS::Rosen::Window* window, const std::string& url, napi_va…
106 virtual UIContentErrorCode Initialize(
108 virtual UIContentErrorCode Initialize(OHOS::Rosen::Window* window, in Initialize()
111 return UIContentErrorCode::NO_ERRORS; in Initialize()
113 … virtual UIContentErrorCode InitializeByName(OHOS::Rosen::Window *window, const std::string &name,
129 virtual UIContentErrorCode Restore(
H A Dconstants.h20 enum UIContentErrorCode : uint16_t { enum
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/
H A Ddeclarative_frontend.h59 UIContentErrorCode RunPage(const std::string& url, const std::string& params) override;
60 UIContentErrorCode RunPage(
63UIContentErrorCode RunPageByNamedRouter(const std::string& name, const std::string& params) overri…
193 std::pair<RouterRecoverRecord, UIContentErrorCode> RestoreRouterStack(
H A Ddeclarative_frontend.cpp667 UIContentErrorCode DeclarativeFrontend::RunPage(const std::string& url, const std::string& params) in Initialize()
674 CHECK_NULL_RETURN(taskExecutor, UIContentErrorCode::NULL_POINTER); in Initialize()
691 return UIContentErrorCode::NO_ERRORS; in Initialize()
695 return UIContentErrorCode::NULL_POINTER; in Initialize()
698 UIContentErrorCode DeclarativeFrontend::RunPage( in Initialize()
705 return UIContentErrorCode::NO_STAGE; in Initialize()
710 return UIContentErrorCode::NO_ERRORS; in Initialize()
713 return UIContentErrorCode::NULL_POINTER; in Initialize()
722 return UIContentErrorCode::NULL_POINTER; in Initialize()
794 std::pair<RouterRecoverRecord, UIContentErrorCode> DeclarativeFrontend::RestoreRouterStack( in Initialize()
[all …]
H A Dfrontend_delegate_declarative.cpp162 UIContentErrorCode FrontendDelegateDeclarative::RunPage( in RunPage()
176 return UIContentErrorCode::PARSE_MANIFEST_FAILED; in RunPage()
189 CHECK_NULL_RETURN(pageRouterManager_, UIContentErrorCode::NULL_PAGE_ROUTER); in RunPage()
202 return UIContentErrorCode::NO_ERRORS; in RunPage()
2214 UIContentErrorCode FrontendDelegateDeclarative::LoadPage( in LoadPage()
2222 return UIContentErrorCode::INVALID_PAGE_ID; in LoadPage()
2233 return UIContentErrorCode::STAGING_PAGE_EXIST; in LoadPage()
2288 return UIContentErrorCode::NO_ERRORS; in LoadPage()
3270 std::make_pair(RouterRecoverRecord(), UIContentErrorCode::WRONG_PAGE_ROUTER)); in RestoreRouterStack()
3295 UIContentErrorCode::NO_ERRORS); in RestoreRouterStack()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/frontend/
H A Dcj_frontend_abstract.cpp175 UIContentErrorCode CJFrontendAbstract::RunPage(const std::string& url, const std::string& params) in RunPage()
181 return UIContentErrorCode::NULL_URL; in RunPage()
185 return UIContentErrorCode::NO_ERRORS; in RunPage()

12