/foundation/ability/ability_runtime/test/unittest/event_report_test/ |
H A D | event_report_test.cpp | 52 EXPECT_EQ(EventReport::ConvertEventName(eventName), "INVALIDEVENTNAME"); in HWTEST_F() 54 EXPECT_EQ(EventReport::ConvertEventName(EventName::START_ABILITY_ERROR), "START_ABILITY_ERROR"); in HWTEST_F() 55 EXPECT_EQ(EventReport::ConvertEventName(EventName::TERMINATE_ABILITY_ERROR), "TERMINATE_ABILITY_ERROR"); in HWTEST_F() 56 EXPECT_EQ(EventReport::ConvertEventName(EventName::START_EXTENSION_ERROR), "START_EXTENSION_ERROR"); in HWTEST_F() 57 EXPECT_EQ(EventReport::ConvertEventName(EventName::STOP_EXTENSION_ERROR), "STOP_EXTENSION_ERROR"); in HWTEST_F() 58 EXPECT_EQ(EventReport::ConvertEventName(EventName::CONNECT_SERVICE_ERROR), "CONNECT_SERVICE_ERROR"); in HWTEST_F() 59 EXPECT_EQ(EventReport::ConvertEventName(EventName::DISCONNECT_SERVICE_ERROR), "DISCONNECT_SERVICE_ERROR"); in HWTEST_F() 61 EXPECT_EQ(EventReport::ConvertEventName(EventName::START_ABILITY), "START_ABILITY"); in HWTEST_F() 62 EXPECT_EQ(EventReport::ConvertEventName(EventName::TERMINATE_ABILITY), "TERMINATE_ABILITY"); in HWTEST_F() 63 EXPECT_EQ(EventReport in HWTEST_F() [all...] |
/foundation/arkui/ace_engine/adapter/preview/osal/ |
H A D | event_report.cpp | 20 void EventReport::SendEvent(const EventInfo& eventInfo) {} in SendEvent() 22 void EventReport::SendAppStartException(AppStartExcepType type) {} in SendAppStartException() 24 void EventReport::SendPageRouterException(PageRouterExcepType type, const std::string& pageUrl) {} in SendPageRouterException() 26 void EventReport::SendComponentException(ComponentExcepType type) {} in SendComponentException() 28 void EventReport::SendAPIChannelException(APIChannelExcepType type) {} in SendAPIChannelException() 30 void EventReport::SendRenderException(RenderExcepType type) {} in SendRenderException() 32 void EventReport::SendJsException(JsExcepType type) {} in SendJsException() 34 void EventReport::SendAnimationException(AnimationExcepType type) {} in SendAnimationException() 36 void EventReport::SendEventException(EventExcepType type) {} in SendEventException() 38 void EventReport [all...] |
/foundation/communication/netstack/test/unittest/utils/common_utils/ |
H A D | netstack_hisysevent_test.cpp | 62 EventReport::GetInstance().validFlag = true; in HWTEST_F() 63 ASSERT_EQ(EventReport::GetInstance().IsValid(), true); in HWTEST_F() 68 EventReport::GetInstance().validFlag = false; in HWTEST_F() 69 ASSERT_EQ(EventReport::GetInstance().IsValid(), false); in HWTEST_F() 77 EventReport::GetInstance().ProcessHttpPerfHiSysevent(httpPerfInfo); in HWTEST_F() 78 EXPECT_EQ(EventReport::GetInstance().eventInfo.successCount, 0); in HWTEST_F() 86 EventReport::GetInstance().ProcessHttpPerfHiSysevent(httpPerfInfo); in HWTEST_F() 87 EXPECT_EQ(EventReport::GetInstance().eventInfo.successCount, 1); in HWTEST_F() 95 EventReport::GetInstance().reportTime = time(0) - REPORT_INTERVAL - 1; in HWTEST_F() 96 EventReport in HWTEST_F() [all...] |
/foundation/arkui/ace_engine/test/mock/base/ |
H A D | mock_event_report.cpp | 19 void EventReport::SendEvent(const EventInfo& eventInfo) {} in SendEvent() 21 void EventReport::SendJsCardRenderTimeEvent( in SendJsCardRenderTimeEvent() 25 void EventReport::SendAppStartException(AppStartExcepType type) {} in SendAppStartException() 27 void EventReport::SendPageRouterException(PageRouterExcepType type, const std::string& pageUrl) {} in SendPageRouterException() 29 void EventReport::SendComponentException(ComponentExcepType type) {} in SendComponentException() 31 void EventReport::SendAPIChannelException(APIChannelExcepType type) {} in SendAPIChannelException() 33 void EventReport::SendRenderException(RenderExcepType type) {} in SendRenderException() 35 void EventReport::SendJsException(JsExcepType type) {} in SendJsException() 37 void EventReport::SendAnimationException(AnimationExcepType type) {} in SendAnimationException() 39 void EventReport [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | event_report.cpp | 48 void EventReport::SendBundleSystemEvent(BundleEventType bundleEventType, const EventInfo& eventInfo) in SendBundleSystemEvent() 74 void EventReport::SendScanSysEvent(BMSEventType bMSEventType) in SendScanSysEvent() 78 EventReport::SendSystemEvent(bMSEventType, eventInfo); in SendScanSysEvent() 81 void EventReport::SendUserSysEvent(UserEventType userEventType, int32_t userId) in SendUserSysEvent() 87 EventReport::SendSystemEvent(BMSEventType::BMS_USER_EVENT, eventInfo); in SendUserSysEvent() 90 void EventReport::SendComponentStateSysEventForException(const std::string &bundleName, in SendComponentStateSysEventForException() 101 EventReport::SendSystemEvent(bmsEventType, eventInfo); in SendComponentStateSysEventForException() 104 void EventReport::SendComponentStateSysEvent(const std::string &bundleName, in SendComponentStateSysEvent() 115 EventReport::SendSystemEvent(bmsEventType, eventInfo); in SendComponentStateSysEvent() 118 void EventReport [all...] |
H A D | bundle_user_mgr_host_impl.cpp | 96 EventReport::SendUserSysEvent(UserEventType::CREATE_START, userId); in CreateNewUser() 97 EventReport::SendCpuSceneEvent(ACCESSTOKEN_PROCESS_NAME, 1 << 1); // second scene in CreateNewUser() 108 EventReport::SendUserSysEvent(UserEventType::CREATE_END, userId); in CreateNewUser() 251 EventReport::SendUserSysEvent(UserEventType::REMOVE_START, userId); in InnerRemoveUser() 252 EventReport::SendCpuSceneEvent(ACCESSTOKEN_PROCESS_NAME, 1 << 1); // second scene in InnerRemoveUser() 297 EventReport::SendUserSysEvent(UserEventType::REMOVE_END, userId); in ProcessRemoveUser()
|
/foundation/communication/netstack/utils/common_utils/include/ |
H A D | netstack_hisysevent.h | 53 class EventReport { class 57 static EventReport &GetInstance(); 61 EventReport(); 62 ~EventReport() = default; 63 EventReport(const EventReport &eventReport) = delete; 64 const EventReport &operator=(const EventReport &eventReport) = delete;
|
/foundation/communication/netstack/utils/common_utils/src/ |
H A D | netstack_hisysevent.cpp | 50 EventReport::EventReport() in EventReport() function in OHOS::NetStack::EventReport 55 void EventReport::InitPackageName() in InitPackageName() 66 bool EventReport::IsValid() in IsValid() 71 EventReport &EventReport::GetInstance() in GetInstance() 73 static EventReport instance; in GetInstance() 77 void EventReport::ProcessHttpPerfHiSysevent(const HttpPerfInfo &httpPerfInfo) in ProcessHttpPerfHiSysevent() 109 void EventReport::ResetCounters() in ResetCounters() 122 std::string EventReport [all...] |
/foundation/multimedia/image_effect/frameworks/native/utils/dfx/ |
H A D | event_report.cpp | 35 std::unordered_map<std::string, void (*)(const EventInfo &eventInfo)> EventReport::sysEventFuncMap_ = { 62 std::unordered_map<EventDataType, std::string> EventReport::sysEventDataTypeMap_ = { 104 void EventReport::ReportHiSysEvent(const std::string &eventName, const EventInfo &eventInfo) in ReportHiSysEvent() 115 void EventReport::ReportRegisterCustomFilterEvent(const EventInfo &eventInfo) in ReportRegisterCustomFilterEvent() 134 void EventReport::ReportAddFilterEvent(const EventInfo &eventInfo) in ReportAddFilterEvent() 147 void EventReport::ReportRemoveFilterEvent(const EventInfo &eventInfo) in ReportRemoveFilterEvent() 166 std::string EventReport::ConvertDataType(const EventDataType &dataType) in ConvertDataType() 176 void EventReport::ReportInputDataTypeEvent(const EventInfo &eventInfo) in ReportInputDataTypeEvent() 190 void EventReport::ReportOutputDataTypeEvent(const EventInfo &eventInfo) in ReportOutputDataTypeEvent() 204 void EventReport [all...] |
/foundation/communication/netmanager_base/test/netcommon/unittest/net_common_test/ |
H A D | errorcode_convertor_test.cpp | 67 EventReport::SendSupplierFaultEvent(eventInfo); in HWTEST_F() 68 EventReport::SendSupplierBehaviorEvent(eventInfo); in HWTEST_F() 69 EventReport::SendRequestFaultEvent(eventInfo); in HWTEST_F() 70 EventReport::SendRequestBehaviorEvent(eventInfo); in HWTEST_F() 71 EventReport::SendMonitorFaultEvent(eventInfo); in HWTEST_F() 72 EventReport::SendMonitorBehaviorEvent(eventInfo); in HWTEST_F()
|
/foundation/arkui/ace_engine/adapter/ohos/osal/ |
H A D | event_report.cpp | 123 void EventReport::SendEvent(const EventInfo& eventInfo) in SendEvent() 135 void EventReport::SendJsCardRenderTimeEvent( in SendJsCardRenderTimeEvent() 146 void EventReport::SendAppStartException(AppStartExcepType type) in SendAppStartException() 156 void EventReport::SendPageRouterException(PageRouterExcepType type, const std::string& pageUrl) in SendPageRouterException() 167 void EventReport::SendComponentException(ComponentExcepType type) in SendComponentException() 177 void EventReport::SendAPIChannelException(APIChannelExcepType type) in SendAPIChannelException() 187 void EventReport::SendRenderException(RenderExcepType type) in SendRenderException() 197 void EventReport::SendJsException(JsExcepType type) in SendJsException() 207 void EventReport::SendAnimationException(AnimationExcepType type) in SendAnimationException() 217 void EventReport [all...] |
/foundation/communication/netmanager_base/utils/common_utils/src/ |
H A D | event_report.cpp | 46 void EventReport::SendSupplierFaultEvent(const EventInfo &eventInfo) in SendSupplierFaultEvent() 55 void EventReport::SendSupplierBehaviorEvent(const EventInfo &eventInfo) in SendSupplierBehaviorEvent() 66 void EventReport::SendRequestFaultEvent(const EventInfo &eventInfo) in SendRequestFaultEvent() 73 void EventReport::SendRequestBehaviorEvent(const EventInfo &eventInfo) in SendRequestBehaviorEvent() 80 void EventReport::SendMonitorFaultEvent(const EventInfo &eventInfo) in SendMonitorFaultEvent() 87 void EventReport::SendMonitorBehaviorEvent(const EventInfo &eventInfo) in SendMonitorBehaviorEvent()
|
/foundation/ability/ability_runtime/services/common/src/ |
H A D | event_report.cpp | 64 void EventReport::SendAppEvent(const EventName &eventName, HiSysEventType type, const EventInfo &eventInfo) in SendAppEvent() 112 void EventReport::LogErrorEvent(const std::string &name, HiSysEventType type, const EventInfo &eventInfo) in LogErrorEvent() 125 void EventReport::LogStartAbilityEvent(const std::string &name, HiSysEventType type, const EventInfo &eventInfo) in LogStartAbilityEvent() 137 void EventReport::LogTerminateAbilityEvent(const std::string &name, HiSysEventType type, const EventInfo &eventInfo) in LogTerminateAbilityEvent() 147 void EventReport::LogAbilityOnForegroundEvent(const std::string &name, HiSysEventType type, const EventInfo &eventInfo) in LogAbilityOnForegroundEvent() 160 void EventReport::LogAbilityOnBackgroundEvent(const std::string &name, HiSysEventType type, const EventInfo &eventInfo) in LogAbilityOnBackgroundEvent() 172 void EventReport::LogAbilityOnActiveEvent(const std::string &name, HiSysEventType type, const EventInfo &eventInfo) in LogAbilityOnActiveEvent() 186 void EventReport::LogStartStandardEvent(const std::string &name, HiSysEventType type, const EventInfo &eventInfo) in LogStartStandardEvent() 202 void EventReport::LogStartAbilityByAppLinking(const std::string &name, HiSysEventType type, const EventInfo &eventInfo) in LogStartAbilityByAppLinking() 218 void EventReport [all...] |
/foundation/arkui/ace_engine/frameworks/base/longframe/ |
H A D | long_frame_report.h | 22 typedef void* EventReport; typedef 32 EventReport reporter = nullptr;
|
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/ |
H A D | jsi_animator_bridge.cpp | 101 EventReport::SendAnimationException(AnimationExcepType::ANIMATION_PAGE_ERR); in HandleJsAnimatorContext() 116 EventReport::SendAnimationException(AnimationExcepType::ANIMATION_BRIDGE_ERR); in CallAnimationStartJs() 121 EventReport::SendAnimationException(AnimationExcepType::ANIMATION_BRIDGE_ERR); in CallAnimationStartJs() 141 EventReport::SendAnimationException(AnimationExcepType::ANIMATION_BRIDGE_ERR); in CallAnimationFinishJs() 146 EventReport::SendAnimationException(AnimationExcepType::ANIMATION_BRIDGE_ERR); in CallAnimationFinishJs() 166 EventReport::SendAnimationException(AnimationExcepType::ANIMATION_BRIDGE_ERR); in CallAnimationCancelJs() 171 EventReport::SendAnimationException(AnimationExcepType::ANIMATION_BRIDGE_ERR); in CallAnimationCancelJs() 191 EventReport::SendAnimationException(AnimationExcepType::ANIMATION_BRIDGE_ERR); in CallAnimationRepeatJs() 196 EventReport::SendAnimationException(AnimationExcepType::ANIMATION_BRIDGE_ERR); in CallAnimationRepeatJs() 216 EventReport in CallAnimationFrameJs() [all...] |
H A D | jsi_animation_bridge.cpp | 108 EventReport::SendAnimationException(AnimationExcepType::ANIMATION_PAGE_ERR); in HandleJsAnimationContext() 130 EventReport::SendAnimationException(AnimationExcepType::ANIMATION_BRIDGE_ERR); in CallAnimationFinishJs() 135 EventReport::SendAnimationException(AnimationExcepType::ANIMATION_BRIDGE_ERR); in CallAnimationFinishJs() 156 EventReport::SendAnimationException(AnimationExcepType::ANIMATION_BRIDGE_ERR); in CallAnimationCancelJs() 161 EventReport::SendAnimationException(AnimationExcepType::ANIMATION_BRIDGE_ERR); in CallAnimationCancelJs() 182 EventReport::SendAnimationException(AnimationExcepType::ANIMATION_BRIDGE_ERR); in JsUpdatePlayState() 256 EventReport::SendAnimationException(AnimationExcepType::ANIMATION_PAGE_ERR); in JsAnimationStartTimeGet() 302 EventReport::SendAnimationException(AnimationExcepType::ANIMATION_PAGE_ERR); in JsAnimationStartTimeSet() 322 EventReport::SendAnimationException(AnimationExcepType::ANIMATION_PAGE_ERR); in JsAnimationPendingGet() 366 EventReport in JsAnimationPlayStateGet() [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/ |
H A D | js_command.cpp | 34 EventReport::SendJsException(JsExcepType::GET_NODE_ERR); in GetNodeFromPage() 170 EventReport::SendJsException(JsExcepType::CREATE_NODE_ERR); in CreateDomNode() 183 EventReport::SendJsException(JsExcepType::CREATE_NODE_ERR); in CreateDomNode() 246 EventReport::SendJsException(JsExcepType::CREATE_NODE_ERR); in CreateDomElement() 370 EventReport::SendJsException(JsExcepType::CREATE_DOM_BODY_ERR); in Execute() 414 EventReport::SendJsException(JsExcepType::CREATE_NODE_ERR); in Execute() 428 EventReport::SendJsException(JsExcepType::CREATE_NODE_ERR); in Execute() 488 EventReport::SendJsException(JsExcepType::REMOVE_DOM_ELEMENT_ERR); in Execute() 495 EventReport::SendJsException(JsExcepType::REMOVE_DOM_ELEMENT_ERR); in Execute() 522 EventReport in Execute() [all...] |
/foundation/multimedia/image_effect/frameworks/native/capi/ |
H A D | image_effect.cpp | 112 EventReport::ReportHiSysEvent(ADD_FILTER_STATISTIC, eventInfo); in OH_ImageEffect_AddFilterByFilter() 168 EventReport::ReportHiSysEvent(ADD_FILTER_STATISTIC, eventInfo); in OH_ImageEffect_InsertFilterByFilter() 202 EventReport::ReportHiSysEvent(REMOVE_FILTER_STATISTIC, eventInfo); in OH_ImageEffect_RemoveFilter() 242 EventReport::ReportHiSysEvent(REMOVE_FILTER_STATISTIC, eventInfo); in OH_ImageEffect_RemoveFilterByIndex() 349 EventReport::ReportHiSysEvent(INPUT_DATA_TYPE_STATISTIC, eventInfo); in OH_ImageEffect_SetOutputSurface() 370 EventReport::ReportHiSysEvent(OUTPUT_DATA_TYPE_STATISTIC, eventInfo); in OH_ImageEffect_GetInputSurface() 391 EventReport::ReportHiSysEvent(INPUT_DATA_TYPE_STATISTIC, eventInfo); in OH_ImageEffect_SetInputPixelmap() 410 EventReport::ReportHiSysEvent(OUTPUT_DATA_TYPE_STATISTIC, eventInfo); in OH_ImageEffect_SetOutputPixelmap() 433 EventReport::ReportHiSysEvent(INPUT_DATA_TYPE_STATISTIC, eventInfo); in OH_ImageEffect_SetInputNativeBuffer() 453 EventReport in OH_ImageEffect_SetOutputNativeBuffer() [all...] |
/foundation/ability/ability_runtime/services/appmgr/src/ |
H A D | app_mgr_event.cpp | 80 AAFwk::EventReport::SendAtomicServiceEvent(eventName, HiSysEventType::BEHAVIOR, eventInfo); in SendCreateAtomicServiceProcessEvent() 126 AAFwk::EventReport::SendProcessStartEvent(AAFwk::EventName::PROCESS_START, eventInfo); in SendProcessStartEvent() 166 AAFwk::EventReport::SendProcessStartFailedEvent(AAFwk::EventName::PROCESS_START_FAILED, eventInfo); in SendProcessStartFailedEvent() 220 AAFwk::EventReport::SendProcessStartFailedEvent(AAFwk::EventName::PROCESS_START_FAILED, eventInfo); in SendChildProcessStartFailedEvent() 252 AAFwk::EventReport::SendProcessStartFailedEvent(AAFwk::EventName::PROCESS_START_FAILED, eventInfo); in SendRenderProcessStartFailedEvent() 261 AAFwk::EventReport::SendKeyEvent(AAFwk::EventName::RESTART_PROCESS_BY_SAME_APP, in SendReStartProcessEvent()
|
/foundation/arkui/ace_engine/frameworks/core/components/list/ |
H A D | interactive_effect.cpp | 92 EventReport::SendComponentException(ComponentExcepType::GET_THEME_ERR); in TouchDownAnimation() 105 EventReport::SendComponentException(ComponentExcepType::GET_THEME_ERR); in TouchUpAnimation() 117 EventReport::SendComponentException(ComponentExcepType::GET_THEME_ERR); in CancelTouchAnimation() 185 EventReport::SendComponentException(ComponentExcepType::GET_THEME_ERR); in BuildClickAnimation()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/platform/ohos/ |
H A D | rs_event_detector_test.cpp | 105 * @tc.desc: Verify function EventReport
112 rsTimeOutDetector->EventReport(1);
in HWTEST_F() 115 rsTimeOutDetector->EventReport(1);
in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/ |
H A D | rs_event_detector.cpp | 73 EventReport(durationStampMs); in SetLoopFinishTag() 78 void RSTimeOutDetector::EventReport(uint64_t costTimeMs) in EventReport() function in OHOS::Rosen::RSTimeOutDetector
|
/foundation/bundlemanager/distributed_bundle_framework/services/dbms/include/ |
H A D | event_report.h | 40 class EventReport { class
|
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
H A D | dom_list.cpp | 274 EventReport::SendComponentException(ComponentExcepType::LIST_COMPONENT_ERR); in ResetInitializedStyle() 681 EventReport::SendComponentException(ComponentExcepType::LIST_COMPONENT_ERR); in CallSpecializedMethod() 693 EventReport::SendComponentException(ComponentExcepType::LIST_COMPONENT_ERR); in ExpandGroup() 719 EventReport::SendComponentException(ComponentExcepType::LIST_COMPONENT_ERR); in ScrollToMethod() 724 EventReport::SendComponentException(ComponentExcepType::LIST_COMPONENT_ERR); in ScrollToMethod() 733 EventReport::SendComponentException(ComponentExcepType::LIST_COMPONENT_ERR); in ScrollByMethod() 738 EventReport::SendComponentException(ComponentExcepType::LIST_COMPONENT_ERR); in ScrollByMethod() 747 EventReport::SendComponentException(ComponentExcepType::LIST_COMPONENT_ERR); in ScrollArrowMethod() 752 EventReport::SendComponentException(ComponentExcepType::LIST_COMPONENT_ERR); in ScrollArrowMethod() 761 EventReport in ScrollToEdgeMethod() [all...] |
/foundation/bundlemanager/distributed_bundle_framework/services/dbms/src/ |
H A D | event_report.cpp | 43 void EventReport::SendSystemEvent( in SendSystemEvent()
|