/ohos5.0/foundation/arkui/ace_engine/frameworks/core/common/recorder/ |
H A D | event_recorder.cpp | 164 EventRecorder& EventRecorder::Get() in Get() 166 static EventRecorder eventRecorder; in Get() 170 EventRecorder::EventRecorder() {} in EventRecorder() function in OHOS::Ace::Recorder::EventRecorder 177 bool EventRecorder::IsPageRecordEnable() const in IsPageRecordEnable() 182 bool EventRecorder::IsPageParamRecordEnable() const in IsPageParamRecordEnable() 187 bool EventRecorder::IsExposureRecordEnable() const in IsExposureRecordEnable() 192 bool EventRecorder::IsComponentRecordEnable() const in IsComponentRecordEnable() 223 int32_t EventRecorder::GetContainerId() in GetContainerId() 231 const std::string& EventRecorder::GetPageUrl() in GetPageUrl() 239 const std::string& EventRecorder::GetNavDstName() const in GetNavDstName() [all …]
|
H A D | event_recorder.h | 133 class ACE_FORCE_EXPORT EventRecorder final { 135 static EventRecorder& Get(); 164 EventRecorder(); 165 ~EventRecorder() = default; 186 ACE_DISALLOW_COPY_AND_MOVE(EventRecorder);
|
H A D | event_config.cpp | 72 EventRecorder::Get().pageEnable_ = globalSwitchVal->GetBool("page", true); in ParseSwitch() 73 EventRecorder::Get().componentEnable_ = globalSwitchVal->GetBool("component", true); in ParseSwitch() 74 EventRecorder::Get().exposureEnable_ = globalSwitchVal->GetBool("exposure", true); in ParseSwitch() 75 EventRecorder::Get().pageParamEnable_ = globalSwitchVal->GetBool("pageParam", true); in ParseSwitch()
|
H A D | event_controller.cpp | 52 bool isOriginEnable = EventRecorder::Get().IsExposureRecordEnable(); in Register() 54 bool isCurrentEnable = EventRecorder::Get().IsExposureRecordEnable(); in Register() 103 EventRecorder::Get().UpdateEventSwitch(eventSwitch); in NotifyConfigChange() 153 auto containerId = EventRecorder::Get().GetContainerId(); in ApplyNewestConfig() 166 auto containerId = EventRecorder::Get().GetContainerId(); in ApplyExposureCfgInner()
|
H A D | exposure_processor.cpp | 57 navDstName_ = EventRecorder::Get().GetNavDstName(); in OnVisibleChange() 67 EventRecorder::Get().OnExposure(std::move(builder)); in OnVisibleChange()
|
H A D | node_data_cache.cpp | 78 EventRecorder::Get().SetContainerChanged(); in OnBeforePagePop()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/common/recorder/ |
H A D | event_recorder_test.cpp | 802 Recorder::EventRecorder::Get().pageEnable_ = false; 814 Recorder::EventRecorder::Get().pageEnable_ = true; 826 Recorder::EventRecorder::Get().pageEnable_ = false; 848 Recorder::EventRecorder::Get().componentEnable_ = true; 894 Recorder::EventRecorder::Get().componentEnable_ = true; 1087 Recorder::EventRecorder::Get().navShowTime_ = 0; 1101 Recorder::EventRecorder::Get().navDstName_ = ""; 1159 Recorder::EventRecorder::Get().exposureEnable_ = true; 1171 Recorder::EventRecorder::Get().exposureEnable_ = false; 1183 Recorder::EventRecorder::Get().exposureEnable_ = true; [all …]
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/navigator/ |
H A D | navigator_event_hub_test_ng.cpp | 180 Recorder::EventRecorder::Get().componentEnable_ = false; 183 Recorder::EventRecorder::Get().UpdateEventSwitch(eventSwitch); 186 EXPECT_FALSE(Recorder::EventRecorder::Get().IsComponentRecordEnable()); 199 Recorder::EventRecorder::Get().componentEnable_ = true; 202 Recorder::EventRecorder::Get().UpdateEventSwitch(eventSwitch); 207 EXPECT_TRUE(Recorder::EventRecorder::Get().IsComponentRecordEnable()); 221 Recorder::EventRecorder::Get().componentEnable_ = true; 224 Recorder::EventRecorder::Get().UpdateEventSwitch(eventSwitch); 230 EXPECT_TRUE(Recorder::EventRecorder::Get().IsComponentRecordEnable());
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navrouter/ |
H A D | navdestination_event_hub.cpp | 73 if (Recorder::EventRecorder::Get().IsPageRecordEnable()) { in FireOnShownEvent() 82 Recorder::EventRecorder::Get().OnNavDstShow(std::move(builder)); in FireOnShownEvent() 98 if (Recorder::EventRecorder::Get().IsPageRecordEnable()) { in FireOnHiddenEvent() 104 Recorder::EventRecorder::Get().OnNavDstHide(std::move(builder)); in FireOnHiddenEvent()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/button/ |
H A D | toggle_button_event_hub.h | 51 if (Recorder::EventRecorder::Get().IsComponentRecordEnable()) { in UpdateChangeEvent() 62 Recorder::EventRecorder::Get().OnChange(std::move(builder)); in UpdateChangeEvent()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/toggle/ |
H A D | switch_event_hub.h | 56 if (Recorder::EventRecorder::Get().IsComponentRecordEnable()) { in UpdateChangeEvent() 67 Recorder::EventRecorder::Get().OnChange(std::move(builder)); in UpdateChangeEvent()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/radio/ |
H A D | radio_event_hub.h | 49 if (Recorder::EventRecorder::Get().IsComponentRecordEnable()) { in UpdateChangeEvent() 60 Recorder::EventRecorder::Get().OnChange(std::move(builder)); in UpdateChangeEvent()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/checkbox/ |
H A D | checkbox_event_hub.h | 51 if (Recorder::EventRecorder::Get().IsComponentRecordEnable()) { in UpdateChangeEvent() 62 Recorder::EventRecorder::Get().OnChange(std::move(builder)); in UpdateChangeEvent()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/checkboxgroup/ |
H A D | checkboxgroup_event_hub.h | 55 if (Recorder::EventRecorder::Get().IsComponentRecordEnable()) { in UpdateChangeEvent() 66 Recorder::EventRecorder::Get().OnChange(std::move(builder)); in UpdateChangeEvent()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navigator/ |
H A D | navigator_event_hub.cpp | 30 if (Recorder::EventRecorder::Get().IsComponentRecordEnable()) { in NavigatePage() 41 Recorder::EventRecorder::Get().OnEvent(std::move(builder)); in NavigatePage()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/panel/ |
H A D | sliding_panel_event_hub.h | 60 if (!Recorder::EventRecorder::Get().IsComponentRecordEnable()) { in FireSizeChangeEvent() 84 Recorder::EventRecorder::Get().OnChange(std::move(builder)); in FireSizeChangeEvent()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/stepper/ |
H A D | stepper_event_hub.h | 102 if (!Recorder::EventRecorder::Get().IsComponentRecordEnable()) { in RecordEvent() 112 Recorder::EventRecorder::Get().OnEvent(std::move(builder)); in RecordEvent()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/stage/ |
H A D | page_pattern.cpp | 262 if (Recorder::EventRecorder::Get().IsPageRecordEnable()) { in OnShow() 266 …param = Recorder::EventRecorder::Get().IsPageParamRecordEnable() ? entryPageInfo->GetPageParams() … in OnShow() 269 Recorder::EventRecorder::Get().OnPageShow(pageInfo_->GetPageUrl(), param); in OnShow() 313 if (Recorder::EventRecorder::Get().IsPageRecordEnable()) { in OnHide() 319 Recorder::EventRecorder::Get().OnPageHide(pageInfo_->GetPageUrl(), duration); in OnHide()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/search/ |
H A D | search_event_hub.h | 48 if (Recorder::EventRecorder::Get().IsComponentRecordEnable()) { in FireOnSubmit() 56 Recorder::EventRecorder::Get().OnEvent(std::move(builder)); in FireOnSubmit()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/video/ |
H A D | video_event_hub.h | 184 if (!Recorder::EventRecorder::Get().IsComponentRecordEnable()) { in RecorderOnEvent() 194 Recorder::EventRecorder::Get().OnEvent(std::move(builder)); in RecorderOnEvent()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper/ |
H A D | swiper_event_hub.h | 116 if (Recorder::EventRecorder::Get().IsComponentRecordEnable()) { in FireChangeEvent() 127 Recorder::EventRecorder::Get().OnChange(std::move(builder)); in FireChangeEvent()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/ |
H A D | pattern.h | 566 if (!Recorder::EventRecorder::Get().IsComponentRecordEnable()) { in GetLongPressEventRecorder() 586 Recorder::EventRecorder::Get().OnEvent(std::move(builder)); in GetLongPressEventRecorder() 689 if (!Recorder::EventRecorder::Get().IsComponentRecordEnable()) { in InitClickEventRecorder() 705 Recorder::EventRecorder::Get().OnClick(std::move(builder)); in InitClickEventRecorder()
|
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/entrance/ |
H A D | ui_event_impl.cpp | 57 auto containerId = Recorder::EventRecorder::Get().GetContainerId(); in OHOS_ACE_GetSimplifiedInspectorTree()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_picker/ |
H A D | textpicker_dialog_view.cpp | 563 if (Recorder::EventRecorder::Get().IsComponentRecordEnable()) { in CreateConfirmNode() 566 Recorder::EventRecorder::Get().OnEvent(std::move(builder)); in CreateConfirmNode() 818 if (Recorder::EventRecorder::Get().IsComponentRecordEnable()) { in CreateCancelNode() 821 Recorder::EventRecorder::Get().OnEvent(std::move(builder)); in CreateCancelNode() 1108 if (Recorder::EventRecorder::Get().IsComponentRecordEnable()) { in CreateForwardNode() 1111 Recorder::EventRecorder::Get().OnEvent(std::move(builder)); in CreateForwardNode() 1155 if (Recorder::EventRecorder::Get().IsComponentRecordEnable()) { in CreateBackwardNode() 1158 Recorder::EventRecorder::Get().OnEvent(std::move(builder)); in CreateBackwardNode()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text_input/ |
H A D | text_field_pattern_testfour.cpp | 448 Recorder::EventRecorder::Get().UpdateEventSwitch(es); 486 Recorder::EventRecorder::Get().UpdateEventSwitch(es);
|