/foundation/arkui/ace_engine_lite/frameworks/src/core/base/ |
H A D | dft_impl.cpp | 32 const char * const pagePath = JsAppContext::GetInstance()->GetCurrentJsPath(); in GetPagePath() local 33 if (pagePath == nullptr) { in GetPagePath() 40 size_t len = strlen(pagePath) - suffixLen; in GetPagePath() 46 if (memcpy_s(path, len, pagePath, len) != EOK) { in GetPagePath()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navigation/ |
H A D | navigation_event_hub.cpp | 25 auto pagePath = navigationNode->GetNavigationPathInfo(); in FireOnAppear() local 26 ACE_SCOPED_TRACE_COMMERCIAL("Navigation Main Page: %s", pagePath.c_str()); in FireOnAppear()
|
H A D | navigation_group_node.h | 246 void SetNavigationPathInfo(const std::string& moduleName, const std::string& pagePath) in SetNavigationPathInfo() argument 248 navigationPathInfo_ = pagePath; in SetNavigationPathInfo()
|
H A D | navigation_model.h | 45 virtual void SetNavigationPathInfo(const std::string& moduleName, const std::string& pagePath) {}; in SetNavigationPathInfo() argument
|
H A D | navigation_model_ng.h | 33 void SetNavigationPathInfo(const std::string& moduleName, const std::string& pagePath) override;
|
/foundation/arkui/ace_engine_lite/frameworks/src/core/router/ |
H A D | js_page_state_machine.h | 24 #define JS_PAGE_RETURN_IF_ERROR(error, pagePath) \ 28 ace_free(pagePath); \ 29 pagePath = nullptr; \
|
/foundation/arkui/ace_engine/frameworks/bridge/common/manifest/ |
H A D | manifest_parser.h | 54 void SetPagePath(const std::string& pagePath) in SetPagePath() argument 57 manifestRouter_->InsertPageList(pagePath); in SetPagePath()
|
/foundation/arkui/ace_engine/frameworks/base/log/ |
H A D | ace_performance_check.cpp | 89 bool AceScopedPerformanceCheck::CheckIsRuleContainsPage(const std::string& ruleType, const std::string& pagePath) in CheckIsRuleContainsPage() argument 101 auto value = indexJson->GetString("pagePath", {}); in CheckIsRuleContainsPage() 102 if (value == pagePath) { in CheckIsRuleContainsPage() 196 pageJson->Put("pagePath", codeInfo.sources.c_str()); in RecordPageNodeCountAndDepth() 234 pageJson->Put("pagePath", codeInfo.sources.c_str()); in RecordFunctionTimeout() 253 pageJson->Put("pagePath", codeInfo.sources.c_str()); in RecordVsyncTimeout() 288 pageJson->Put("pagePath", codeInfo.sources.c_str()); in RecordForEachItemsCount() 318 pageJson->Put("pagePath", codeInfo.sources.c_str()); in RecordFlexLayoutsCount() 352 auto pagePath = currentPath_; in GetCurrentSourceMap() local 356 judgePath = DEBUG_PATH + moduleName + ETS_PATH + pagePath in GetCurrentSourceMap() [all...] |
H A D | ace_performance_check.h | 78 static bool CheckIsRuleContainsPage(const std::string& ruleType, const std::string& pagePath);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navrouter/ |
H A D | navdestination_group_node.h | 131 void SetNavDestinationPathInfo(const std::string& moduleName, const std::string& pagePath) in SetNavDestinationPathInfo() argument 133 navDestinationPathInfo_ = pagePath; in SetNavDestinationPathInfo()
|
H A D | navdestination_model.h | 61 virtual void SetNavDestinationPathInfo(const std::string& moduleName, const std::string& pagePath) {}; in SetNavDestinationPathInfo() argument
|
H A D | navdestination_model_ng.h | 65 void SetNavDestinationPathInfo(const std::string& moduleName, const std::string& pagePath) override;
|
H A D | navdestination_model_ng.cpp | 712 void NavDestinationModelNG::SetNavDestinationPathInfo(const std::string& moduleName, const std::string& pagePath) in SetNavDestinationPathInfo() argument 718 navDestination->SetNavDestinationPathInfo(moduleName, pagePath); in SetNavDestinationPathInfo()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/stage/ |
H A D | stage_manager.cpp | 180 auto pagePath = pageInfo->GetFullPath(); in PushPage() local 181 ACE_SCOPED_TRACE_COMMERCIAL("Router Main Page: %s", pagePath.c_str()); in PushPage() 183 UiSessionManager::GetInstance().OnRouterChange(pagePath, "routerPushPage"); in PushPage() 229 auto pagePath = pageInfo->GetFullPath(); in PushPage() 230 stage->PerformanceCheck(pageNode, endTime - startTime, pagePath); in PushPage()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/ |
H A D | jsi_declarative_engine.cpp | 285 * 1. @bundle:{bundleName}/{moduleName}/ets/{pagePath} 290 * 2. @bundle:{bundleName}/{moduleName}@{harModuleName}/ets/{pagePath} 294 * In this case, since the compiler did not generate the harModuleName field and pagePath is a relative path during 295 * compilation, wee need to split the harModuleName and normal pathPath fields from the original pagePath. 297 * original pagePath: "../../../../har/src/main/ets/pages/harPageTwo" 299 * -> result pagePath: "pages/harPageTwo" 303 std::string BuildOhmUrl(const std::string& bundleName, const std::string& moduleName, const std::string& pagePath) in BuildOhmUrl() argument 306 std::string ohmUrl = tempUrl + "/ets/" + pagePath; in BuildOhmUrl() 307 auto pos = pagePath.rfind("../"); in BuildOhmUrl() 311 std::string newPagePath = pagePath in BuildOhmUrl() 325 ParseNamedRouterParams(const EcmaVM* vm, const panda::Local<panda::ObjectRef>& params, std::string& bundleName, std::string& moduleName, std::string& pagePath, std::string& pageFullPath, std::string& ohmUrl) ParseNamedRouterParams() argument 1514 auto pagePath = url; LoadPluginComponent() local 1731 std::string pagePath; AddToNamedRouterMap() local 1983 const auto& pagePath = it->second.pagePath; PreloadNamedRouter() local [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ng/ |
H A D | page_router_manager.cpp | 279 auto pagePath = Framework::JsiDeclarativeEngine::GetPagePath(target.url); in PushNamedRouteInner() local 291 auto PageInfoByPagePath = FindPageInStack(pagePath); in PushNamedRouteInner() 293 // get pageInfo by pagePath, find page in stack, move postion and update params. in PushNamedRouteInner() 800 auto pagePath = Framework::JsiDeclarativeEngine::GetPagePath(url); in GetPageNameAndPath() local 801 if (!pagePath.empty()) { in GetPageNameAndPath() 802 tempUrl = pagePath; in GetPageNameAndPath() 909 auto pagePath = entryPageInfo->GetPagePath(); in GetCurrentPageSourceMap() local 914 pagePath.substr(0, pagePath.size() - JS_FILE_EXTENSION_LENGTH) + TS_SUFFIX; in GetCurrentPageSourceMap() 917 pagePath in GetCurrentPageSourceMap() 1468 auto pagePath = Framework::JsiDeclarativeEngine::GetFullPathInfo(keyInfo); CreatePage() local 2064 std::string pagePath = Framework::JsiDeclarativeEngine::GetPagePath(info.url); ReplacePageInNewLifecycle() local [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_navdestination.cpp | 94 std::string pagePath; in Create() local 110 // first parameter = pathInfo{'moduleName': stringA, 'pagePath': stringB} in Create() 118 pagePath = infoObj->GetProperty(NG::NAVIGATION_PAGE_PATH)->ToString(); in Create() 120 NavDestinationModel::GetInstance()->SetNavDestinationPathInfo(moduleName, pagePath); in Create() 148 pagePath = infoObj->GetProperty(NG::NAVIGATION_PAGE_PATH)->ToString(); in Create() 150 NavDestinationModel::GetInstance()->SetNavDestinationPathInfo(moduleName, pagePath); in Create()
|
H A D | js_navigation.cpp | 157 std::string pagePath; in Create() local 166 // first parameter = pathInfo{'moduleName': stringA, 'pagePath': stringB, 'isUserCreateStack': bool} in Create() 175 pagePath = infoObj->GetProperty(NG::NAVIGATION_PAGE_PATH)->ToString(); in Create() 192 // pathInfo{'moduleName': stringA, 'pagePath': stringB, 'isUserCreateStack': bool} in Create() 208 pagePath = infoObj->GetProperty(NG::NAVIGATION_PAGE_PATH)->ToString(); in Create() 239 NavigationModel::GetInstance()->SetNavigationPathInfo(moduleName, pagePath); in Create()
|
/foundation/arkui/ace_engine/frameworks/bridge/plugin_frontend/ |
H A D | plugin_frontend_delegate.cpp | 690 std::string pagePath = manifestParser_->GetRouter()->GetPagePath(target.url); in Push() local 691 if (!pagePath.empty()) { in Push() 692 LoadPage(GenerateNextPageId(), PageTarget(pagePath, target.container), false, params); in Push() 705 std::string pagePath = manifestParser_->GetRouter()->GetPagePath(target.url); in Replace() local 706 if (!pagePath.empty()) { in Replace() 707 LoadReplacePage(GenerateNextPageId(), PageTarget(pagePath, target.container), params); in Replace() 751 std::string pagePath = manifestParser_->GetRouter()->GetPagePath(target.url); in BackWithTarget() local 752 if (!pagePath.empty()) { in BackWithTarget() 758 PopToPage(pagePath); in BackWithTarget()
|
/foundation/arkui/ace_engine/frameworks/base/perfmonitor/ |
H A D | perf_monitor.cpp | 36 std::string ParsePageUrl(const std::string& pagePath) in ParsePageUrl() argument 40 StringUtils::StringSplitter(pagePath, '/', paths); in ParsePageUrl() 43 return pagePath; in ParsePageUrl()
|
H A D | perf_monitor.h | 101 std::string ParsePageUrl(const std::string& pagePath);
|
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/ |
H A D | frontend_delegate_impl.cpp | 616 std::string pagePath = manifestParser_->GetRouter()->GetPagePath(uri); in Push() local 617 if (!pagePath.empty()) { in Push() 619 LoadPage(GenerateNextPageId(), pagePath, false, params); in Push() local 661 std::string pagePath = manifestParser_->GetRouter()->GetPagePath(uri); in Replace() local 662 if (!pagePath.empty()) { in Replace() 663 LoadReplacePage(GenerateNextPageId(), pagePath, params); in Replace() local 704 std::string pagePath = manifestParser_->GetRouter()->GetPagePath(uri); in BackImplement() local 705 pageId_ = GetPageIdByUrl(pagePath); in BackImplement() 706 if (!pagePath.empty()) { in BackImplement() 711 PopToPage(pagePath); in BackImplement() [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ |
H A D | declarative_frontend.h | 113 void SetPagePath(const std::string& pagePath) in SetPagePath() argument 116 delegate_->SetPagePath(pagePath); in SetPagePath()
|
H A D | frontend_delegate_declarative.cpp | 1249 std::string pagePath = manifestParser_->GetRouter()->GetPagePath(target.url); in StartPush() local 1250 if (!pagePath.empty()) { in StartPush() 1251 LoadPage(GenerateNextPageId(), PageTarget(target, pagePath), false, params); in StartPush() 1291 std::string pagePath = manifestParser_->GetRouter()->GetPagePath(target.url); in StartReplace() local 1292 if (!pagePath.empty()) { in StartReplace() 1293 LoadReplacePage(GenerateNextPageId(), PageTarget(target, pagePath), params); in StartReplace() 1382 std::string pagePath; in StartBack() local 1393 pagePath = pageRouteStack_[pageRouteSize - 2].url; in StartBack() 1397 if (!pagePath.empty()) { in StartBack() 1398 LoadPage(pageId_, PageTarget(target, pagePath), fals in StartBack() 1404 std::string pagePath = manifestParser_->GetRouter()->GetPagePath(target.url, ".js"); StartBack() local [all...] |
H A D | frontend_delegate_declarative.h | 318 void SetPagePath(const std::string& pagePath) in SetPagePath() argument 321 manifestParser_->SetPagePath(pagePath); in SetPagePath()
|