Home
last modified time | relevance | path

Searched refs:eventSwitch (Results 1 – 11 of 11) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/navigator/
H A Dnavigator_event_hub_test_ng.cpp181 Recorder::EventSwitch eventSwitch; variable
182 eventSwitch.componentEnable = false;
183 Recorder::EventRecorder::Get().UpdateEventSwitch(eventSwitch);
200 Recorder::EventSwitch eventSwitch; variable
201 eventSwitch.componentEnable = true;
202 Recorder::EventRecorder::Get().UpdateEventSwitch(eventSwitch);
222 Recorder::EventSwitch eventSwitch; variable
223 eventSwitch.componentEnable = true;
224 Recorder::EventRecorder::Get().UpdateEventSwitch(eventSwitch);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/common/recorder/
H A Devent_controller.cpp65 EventSwitch eventSwitch; in NotifyConfigChange() local
70eventSwitch.pageEnable = eventSwitch.pageEnable || client.config.IsCategoryEnable(EventCategory::C… in NotifyConfigChange()
71 eventSwitch.exposureEnable = in NotifyConfigChange()
72eventSwitch.exposureEnable || client.config.IsCategoryEnable(EventCategory::CATEGORY_EXPOSURE); in NotifyConfigChange()
73 eventSwitch.componentEnable = in NotifyConfigChange()
74eventSwitch.componentEnable || client.config.IsCategoryEnable(EventCategory::CATEGORY_COMPONENT); in NotifyConfigChange()
75 eventSwitch.pageParamEnable = in NotifyConfigChange()
76eventSwitch.pageParamEnable || client.config.IsCategoryEnable(EventCategory::CATEGORY_PAGE_PARAM); in NotifyConfigChange()
103 EventRecorder::Get().UpdateEventSwitch(eventSwitch); in NotifyConfigChange()
H A Devent_recorder.cpp172 void EventRecorder::UpdateEventSwitch(const EventSwitch& eventSwitch) in UpdateEventSwitch() argument
174 eventSwitch_ = eventSwitch; in UpdateEventSwitch()
H A Devent_recorder.h141 void UpdateEventSwitch(const EventSwitch& eventSwitch);
/ohos5.0/base/hiviewdfx/hievent_lite/frameworks/
H A Dhiview_event.c43 if (g_hiviewConfig.eventSwitch == HIVIEW_FEATURE_ON && HIEVENT_COMPILE_TYPE > HIEVENT_NONE) { in HiEventInit()
53 if (g_hiviewConfig.eventSwitch == HIVIEW_FEATURE_OFF) { in HiEventPrintf()
75 if (g_hiviewConfig.eventSwitch == HIVIEW_FEATURE_OFF || num > EVENT_VALUE_MAX_NUM) { in HiEventCreate()
99 … if (g_hiviewConfig.eventSwitch == HIVIEW_FEATURE_OFF || event == NULL || event->payload == NULL || in HiEventPutInteger()
116 … if (g_hiviewConfig.eventSwitch == HIVIEW_FEATURE_OFF || event == NULL || event->payload == NULL) { in HiEventReport()
/ohos5.0/base/hiviewdfx/hievent_lite/command/
H A Dhievent_lite_command.c83 if (g_hiviewConfig.eventSwitch == HIVIEW_FEATURE_ON) { in HieventSetProc()
106 … g_hiviewConfig.eventSwitch = (flag == HIVIEW_FEATURE_ON) ? HIVIEW_FEATURE_ON : HIVIEW_FEATURE_OFF in SwitchEvent()
/ohos5.0/base/hiviewdfx/hiview_lite/
H A Dhiview_config.c24 .eventSwitch = HIEVENT_LITE_SWITCH,
H A Dhiview_config.h81 uint8 eventSwitch : 1; /* Indicates whether to enable the event component. */ member
/ohos5.0/base/hiviewdfx/hilog_lite/command/
H A Dhilog_command.h38 unsigned char eventSwitch : 1; /* Indicates whether to enable the event component. */ member
H A Dhilog_command.c59 .eventSwitch = HIVIEW_FEATURE_OFF,
/ohos5.0/base/hiviewdfx/hilog_lite/
H A DREADME.md133 …7f6a11699c401090b9c7b8fdffff30"></a><a name="ac47f6a11699c401090b9c7b8fdffff30"></a>eventSwitch</p>