Home
last modified time | relevance | path

Searched refs:EventRecorder (Results 1 – 25 of 44) sorted by relevance

12

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/common/recorder/
H A Devent_recorder.cpp164 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 Devent_recorder.h133 class ACE_FORCE_EXPORT EventRecorder final {
135 static EventRecorder& Get();
164 EventRecorder();
165 ~EventRecorder() = default;
186 ACE_DISALLOW_COPY_AND_MOVE(EventRecorder);
H A Devent_config.cpp72 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 Devent_controller.cpp52 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 Dexposure_processor.cpp57 navDstName_ = EventRecorder::Get().GetNavDstName(); in OnVisibleChange()
67 EventRecorder::Get().OnExposure(std::move(builder)); in OnVisibleChange()
H A Dnode_data_cache.cpp78 EventRecorder::Get().SetContainerChanged(); in OnBeforePagePop()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/common/recorder/
H A Devent_recorder_test.cpp802 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 Dnavigator_event_hub_test_ng.cpp180 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 Dnavdestination_event_hub.cpp73 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 Dtoggle_button_event_hub.h51 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 Dswitch_event_hub.h56 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 Dradio_event_hub.h49 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 Dcheckbox_event_hub.h51 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 Dcheckboxgroup_event_hub.h55 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 Dnavigator_event_hub.cpp30 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 Dsliding_panel_event_hub.h60 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 Dstepper_event_hub.h102 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 Dpage_pattern.cpp262 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 Dsearch_event_hub.h48 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 Dvideo_event_hub.h184 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 Dswiper_event_hub.h116 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 Dpattern.h566 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 Dui_event_impl.cpp57 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 Dtextpicker_dialog_view.cpp563 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 Dtext_field_pattern_testfour.cpp448 Recorder::EventRecorder::Get().UpdateEventSwitch(es);
486 Recorder::EventRecorder::Get().UpdateEventSwitch(es);

12