/foundation/arkui/ace_engine/frameworks/core/common/recorder/ |
H A D | node_data_cache.cpp | 38 auto pageUrl = frontEnd->GetCurrentPageUrl(); in GetCurrentPageUrl() local 40 if (StringUtils::EndWith(pageUrl, ".js")) { in GetCurrentPageUrl() 41 return pageUrl.substr(0, pageUrl.length() - PAGE_URL_SUFFIX_LENGTH); in GetCurrentPageUrl() 43 return pageUrl; in GetCurrentPageUrl() 64 void NodeDataCache::OnPageShow(const std::string& pageUrl) in OnPageShow() argument 67 pageUrl_ = pageUrl; in OnPageShow() 96 auto pageUrl = GetPageUrlByNode(node); in PutString() local 97 if (pageUrl.empty()) { in PutString() 101 auto iter = mergedConfig_->shareNodes.find(pageUrl); in PutString() 174 GetNodeData(const std::string& pageUrl, std::unordered_map<std::string, std::string>& nodes) GetNodeData() argument 192 Clear(const std::string& pageUrl) Clear() argument 212 GetExposureCfg(const std::string& pageUrl, const std::string& inspectId, ExposureCfg& cfg) GetExposureCfg() argument [all...] |
H A D | exposure_processor.cpp | 21 ExposureProcessor::ExposureProcessor(const std::string& pageUrl, const std::string& inspectorId) : pageUrl_(pageUrl) in ExposureProcessor() argument 24 NodeDataCache::Get().GetExposureCfg(pageUrl, inspectorId, cfg_); in ExposureProcessor() 29 const std::string& pageUrl, const std::string& inspectorId, double ratio, int duration) in ExposureProcessor() 30 : cfg_({ inspectorId, ratio, duration }), pageUrl_(pageUrl) in ExposureProcessor() 28 ExposureProcessor( const std::string& pageUrl, const std::string& inspectorId, double ratio, int duration) ExposureProcessor() argument
|
H A D | event_controller.cpp | 115 auto pageUrl = frontEnd->GetCurrentPageUrl(); in GetPageUrlByContainerId() local 116 if (StringUtils::EndWith(pageUrl, ".js")) { in GetPageUrlByContainerId() 117 pageUrl = pageUrl.substr(0, pageUrl.length() - PAGE_URL_SUFFIX_LENGTH); in GetPageUrlByContainerId() 119 return pageUrl; in GetPageUrlByContainerId() 122 void GetMatchedNodes(const std::string& pageUrl, const RefPtr<NG::UINode>& root, in GetMatchedNodes() argument 138 pageUrl, targetCfg.id, cfgIter->ratio, cfgIter->duration))); in GetMatchedNodes() 167 auto pageUrl = GetPageUrlByContainerId(containerId); in ApplyExposureCfgInner() local 168 if (pageUrl in ApplyExposureCfgInner() [all...] |
H A D | event_recorder.cpp | 70 EventParamsBuilder& EventParamsBuilder::SetPageUrl(const std::string& pageUrl) in SetPageUrl() argument 72 if (!pageUrl.empty()) { in SetPageUrl() 73 params_->emplace(KEY_PAGE, pageUrl); in SetPageUrl() 244 void EventRecorder::OnPageShow(const std::string& pageUrl, const std::string& param) in OnPageShow() argument 246 pageUrl_ = pageUrl; in OnPageShow() 247 NodeDataCache::Get().OnPageShow(pageUrl); in OnPageShow() 250 .SetText(pageUrl) in OnPageShow() 256 void EventRecorder::OnPageHide(const std::string& pageUrl, const int64_t duration) in OnPageHide() argument 260 .SetText(pageUrl) in OnPageHide()
|
H A D | node_data_cache.h | 53 void OnPageShow(const std::string& pageUrl); 75 void GetNodeData(const std::string& pageUrl, std::unordered_map<std::string, std::string>& nodes); 77 void Clear(const std::string& pageUrl); 79 void GetExposureCfg(const std::string& pageUrl, const std::string& inspectId, ExposureCfg& cfg);
|
H A D | exposure_processor.h | 34 ExposureProcessor(const std::string& pageUrl, const std::string& inspectorId); 35 ExposureProcessor(const std::string& pageUrl, const std::string& inspectorId, double ratio, int duration);
|
H A D | event_config.cpp | 42 auto pageUrl = item->GetString("pageUrl"); in Init() local 43 if (pageUrl.empty()) { in Init() 56 config_->emplace(std::move(pageUrl), std::move(pageCfg)); in Init()
|
H A D | event_recorder.h | 106 EventParamsBuilder& SetPageUrl(const std::string& pageUrl); 154 void OnPageShow(const std::string& pageUrl, const std::string& param); 155 void OnPageHide(const std::string& pageUrl, const int64_t duration);
|
/foundation/arkui/ace_engine/frameworks/core/components/page/ |
H A D | page_component.cpp | 27 PageComponent::PageComponent(int32_t pageId, const std::string& pageUrl, const RefPtr<Component>& child) in PageComponent() argument 30 pageId_(pageId), pageUrl_(pageUrl) in PageComponent() 34 int32_t pageId, const std::string& pageUrl, const ComposeId& cardComposeId, const RefPtr<Component>& child) in PageComponent() 37 pageId_(pageId), pageUrl_(pageUrl), cardComposeId_(cardComposeId) in PageComponent() 33 PageComponent( int32_t pageId, const std::string& pageUrl, const ComposeId& cardComposeId, const RefPtr<Component>& child) PageComponent() argument
|
H A D | page_component.h | 27 PageComponent(int32_t pageId, const std::string& pageUrl, const RefPtr<Component>& child); 29 int32_t pageId, const std::string& pageUrl, const ComposeId& cardComposeId, const RefPtr<Component>& child);
|
H A D | page_element.cpp | 24 PageElement::PageElement(int32_t pageId, const std::string& pageUrl, const ComposeId& id) in PageElement() argument 25 : ComposedElement(id), pageId_(pageId), pageUrl_(pageUrl) in PageElement() 29 int32_t pageId, const std::string& pageUrl, const ComposeId& cardComposeId, const ComposeId& id) in PageElement() 30 : ComposedElement(id), pageId_(pageId), pageUrl_(pageUrl), cardComposeId_(cardComposeId) in PageElement() 28 PageElement( int32_t pageId, const std::string& pageUrl, const ComposeId& cardComposeId, const ComposeId& id) PageElement() argument
|
/foundation/arkui/ace_engine/adapter/preview/osal/ |
H A D | event_report.cpp | 24 void EventReport::SendPageRouterException(PageRouterExcepType type, const std::string& pageUrl) {} in SendPageRouterException() argument 56 const std::string& pageUrl, uint32_t jankStatusVersion) {} in JankFrameReport() 74 void EventReport::ReportPageNodeOverflow(const std::string& pageUrl, int32_t nodeCount, int32_t threshold) {} in ReportPageNodeOverflow() argument 76 void EventReport::ReportPageDepthOverflow(const std::string& pageUrl, int32_t depth, int32_t threshold) {} in ReportPageDepthOverflow() argument 83 void EventReport::ReportPageShowMsg(const std::string& pageUrl, const std::string& bundleName, in ReportPageShowMsg() argument 90 void EventReport::ReportUiExtensionTransparentEvent(const std::string& pageUrl, const std::string& bundleName, in ReportUiExtensionTransparentEvent() argument 55 JankFrameReport(int64_t startTime, int64_t duration, const std::vector<uint16_t>& jank, const std::string& pageUrl, uint32_t jankStatusVersion) JankFrameReport() argument
|
/foundation/arkui/ace_engine/adapter/ohos/osal/ |
H A D | event_report.cpp | 156 void EventReport::SendPageRouterException(PageRouterExcepType type, const std::string& pageUrl) in SendPageRouterException() argument 161 .pageUrl = pageUrl, in SendPageRouterException() 332 const std::string& pageUrl, uint32_t jankStatusVersion) in JankFrameReport() 347 EVENT_KEY_PAGE_URL, pageUrl, in JankFrameReport() 369 const auto& pageUrl = data.baseInfo.pageUrl; in ReportEventComplete() local 387 EVENT_KEY_PAGE_URL, pageUrl, in ReportEventComplete() 445 EVENT_KEY_PAGE_URL, data.baseInfo.pageUrl, in ReportEventJankFrame() 476 const auto& pageUrl in ReportJankFrameApp() local 331 JankFrameReport(int64_t startTime, int64_t duration, const std::vector<uint16_t>& jank, const std::string& pageUrl, uint32_t jankStatusVersion) JankFrameReport() argument 503 const auto& pageUrl = info.baseInfo.pageUrl; ReportJankFrameFiltered() local 529 const auto& pageUrl = info.baseInfo.pageUrl; ReportJankFrameUnFiltered() local 553 ReportPageShowMsg(const std::string& pageUrl, const std::string& bundleName, const std::string& pageName) ReportPageShowMsg() argument 583 ReportPageNodeOverflow(const std::string& pageUrl, int32_t nodeCount, int32_t threshold) ReportPageNodeOverflow() argument 595 ReportPageDepthOverflow(const std::string& pageUrl, int32_t depth, int32_t threshold) ReportPageDepthOverflow() argument 647 ReportUiExtensionTransparentEvent(const std::string& pageUrl, const std::string& bundleName, const std::string& moduleName) ReportUiExtensionTransparentEvent() argument [all...] |
H A D | view_data_wrap_ohos.h | 196 void SetPageUrl(const std::string& pageUrl) override 198 viewData_.pageUrl = pageUrl; 203 return viewData_.pageUrl;
|
/foundation/arkui/ace_engine/frameworks/base/log/ |
H A D | event_report.h | 151 std::string pageUrl; member 163 static void SendPageRouterException(PageRouterExcepType type, const std::string& pageUrl = ""); 185 const std::string& pageUrl, uint32_t jankStatusVersion = 1); 193 static void ReportPageNodeOverflow(const std::string& pageUrl, int32_t nodeCount, int32_t threshold); 194 static void ReportPageDepthOverflow(const std::string& pageUrl, int32_t depth, int32_t threshold); 198 static void ReportPageShowMsg(const std::string& pageUrl, const std::string& bundleName, 202 static void ReportUiExtensionTransparentEvent(const std::string& pageUrl, const std::string& bundleName,
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/base/ |
H A D | transparent_node_detector.cpp | 37 void TransparentNodeDetector::PostCheckNodeTransparentTask(const RefPtr<FrameNode>& node, const std::string& pageUrl, in PostCheckNodeTransparentTask() argument 56 auto task = [weakNode = AceType::WeakClaim(AceType::RawPtr(rootNode)), detectCount, currentId, pageUrl]() { in PostCheckNodeTransparentTask() 68 TransparentNodeDetector::GetInstance().PostCheckNodeTransparentTask(root, pageUrl, detectCount); in PostCheckNodeTransparentTask() 78 EventReport::ReportUiExtensionTransparentEvent(pageUrl, bundleName, moduleName); in PostCheckNodeTransparentTask()
|
/foundation/arkui/ace_engine/test/mock/base/ |
H A D | mock_jank_frame_report.cpp | 34 void JankFrameReport::StartRecord(const std::string& pageUrl) {} in StartRecord() argument 49 void PerfMonitor::SetPageUrl(const std::string& pageUrl) {} in SetPageUrl() argument 71 void PerfMonitor::ReportPageShowMsg(const std::string& pageUrl, const std::string& bundleName, in ReportPageShowMsg() argument
|
H A D | mock_event_report.cpp | 27 void EventReport::SendPageRouterException(PageRouterExcepType type, const std::string& pageUrl) {} in SendPageRouterException() argument 65 void EventReport::ReportPageNodeOverflow(const std::string& pageUrl, int32_t nodeCount, int32_t threshold) {} in ReportPageNodeOverflow() argument 67 void EventReport::ReportPageDepthOverflow(const std::string& pageUrl, int32_t depth, int32_t threshold) {} in ReportPageDepthOverflow() argument
|
/foundation/arkui/ace_engine/interfaces/inner_api/ace/ |
H A D | ui_event.cpp | 32 const std::string& pageUrl, std::unordered_map<std::string, std::string>& nodeProperties) in GetNodeProperty() 34 UIEventFunc::GetNodeProperty(pageUrl, nodeProperties); in GetNodeProperty() 31 GetNodeProperty( const std::string& pageUrl, std::unordered_map<std::string, std::string>& nodeProperties) GetNodeProperty() argument
|
H A D | ui_event_func.cpp | 88 const std::string& pageUrl, std::unordered_map<std::string, std::string>& nodeProperties) in GetNodeProperty() 91 UIEventFunc::Get().getPropFunc_(pageUrl, nodeProperties); in GetNodeProperty() 87 GetNodeProperty( const std::string& pageUrl, std::unordered_map<std::string, std::string>& nodeProperties) GetNodeProperty() argument
|
/foundation/arkui/ace_engine/frameworks/core/components/rich_text/resource/ |
H A D | rich_text_delegate.cpp | 169 std::string pageUrl; in CreatePluginResource() 171 OHOS::Ace::Framework::DelegateClient::GetInstance().GetWebPageUrl(pageUrl, pageId); in CreatePluginResource() 173 delegate->pageUrl_ = pageUrl; in CreatePluginResource() 182 << RICHTEXT_PARAM_AND << NTC_PARAM_PAGE_PATH << RICHTEXT_PARAM_EQUALS << pageUrl; in CreatePluginResource() 362 std::string pageUrl; in HideRichText() local 364 OHOS::Ace::Framework::DelegateClient::GetInstance().GetWebPageUrl(pageUrl, pageId); in HideRichText() 366 if (pageUrl != pageUrl_ || pageId != pageId_) { in HideRichText() 463 [weak = WeakClaim(this)](const std::string& pageUrl, const int32_t pageId) { in BindPopPageSuccessMethod() 464 std::string url = pageUrl.substr(0, pageUrl in BindPopPageSuccessMethod() [all...] |
/foundation/arkui/ace_engine/adapter/ohos/entrance/ |
H A D | ui_event_impl.cpp | 40 const std::string& pageUrl, std::unordered_map<std::string, std::string>& nodeProperties) in OHOS_ACE_GetNodeProperty() 43 Recorder::NodeDataCache::Get().GetNodeData(pageUrl, nodeProperties); in OHOS_ACE_GetNodeProperty() 39 OHOS_ACE_GetNodeProperty( const std::string& pageUrl, std::unordered_map<std::string, std::string>& nodeProperties) OHOS_ACE_GetNodeProperty() argument
|
/foundation/arkui/ace_engine/test/unittest/interfaces/ |
H A D | ui_event_test.cpp | 64 std::string pageUrl = "Pages/Index"; in HWTEST_F() local 71 UIEvent::GetNodeProperty(pageUrl, nodeProperties); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/ |
H A D | jsi_base_utils.cpp | 159 std::string pageUrl; in GenerateSummaryBody() local 168 pageUrl = frontEnd->GetCurrentPageUrl(); in GenerateSummaryBody() 179 pageUrl = runningPage->GetUrl(); in GenerateSummaryBody() 188 if (!pageUrl.empty()) { in GenerateSummaryBody() 189 summaryBody.append("page: ").append(pageUrl).append("\n"); in GenerateSummaryBody() 229 showStack = TranslateBySourceMap(rawStack, pageUrl, sourceMaps, appMap, data); in GenerateSummaryBody() 231 showStack = TranslateStack(rawStack, pageUrl, pageMap, appMap, data); in GenerateSummaryBody() 317 std::string pageUrl; in TransSourceStack() local 322 pageUrl = frontEnd->GetCurrentPageUrl(); in TransSourceStack() 328 pageUrl in TransSourceStack() 373 TranslateStack(const std::string& stackStr, const std::string& pageUrl, const RefPtr<RevSourceMap>& pageMap, const RefPtr<RevSourceMap>& appMap, const AceType* data) TranslateStack() argument 431 TranslateBySourceMap(const std::string& stackStr, const std::string& pageUrl, const std::unordered_map<std::string, RefPtr<RevSourceMap>>& sourceMaps, const RefPtr<RevSourceMap>& appMap, const AceType* data) TranslateBySourceMap() argument [all...] |
/foundation/ability/ability_base/interfaces/kits/native/view_data/include/ |
H A D | view_data.h | 35 std::string pageUrl; member
|