Home
last modified time | relevance | path

Searched refs:AppEventInfo (Results 1 - 5 of 5) sorted by relevance

/base/hiviewdfx/hiappevent/interfaces/native/inner_api/include/
H A Dapp_event_processor.h25 struct AppEventInfo { struct
42 const std::vector<AppEventInfo>& events) = 0;
45 virtual int ValidateEvent(const AppEventInfo& event) = 0;
/base/hiviewdfx/hiappevent/test/processor/
H A Dtest_processor.h28 const std::vector<AppEventInfo>& events) override;
31 int ValidateEvent(const AppEventInfo& event) override;
H A Dtest_processor.cpp52 void PrintEvent(const AppEventInfo& event) in PrintEvent()
54 HILOG_INFO(LOG_CORE, "AppEventInfo.domain=%{public}s", event.domain.c_str()); in PrintEvent()
55 HILOG_INFO(LOG_CORE, "AppEventInfo.name=%{public}s", event.name.c_str()); in PrintEvent()
56 HILOG_INFO(LOG_CORE, "AppEventInfo.eventType=%{public}d", event.eventType); in PrintEvent()
57 HILOG_INFO(LOG_CORE, "AppEventInfo.timestamp=%{public}" PRId64, event.timestamp); in PrintEvent()
58 HILOG_INFO(LOG_CORE, "AppEventInfo.params=%{public}s", event.params.c_str()); in PrintEvent()
66 const std::vector<AppEventInfo>& events) in OnReport()
87 int TestProcessor::ValidateEvent(const AppEventInfo& event) in ValidateEvent()
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/observer/
H A Dapp_event_processor_proxy.cpp35 AppEventInfo CreateAppEventInfo(std::shared_ptr<AppEventPack> event) in CreateAppEventInfo()
37 AppEventInfo appEventInfo = { in CreateAppEventInfo()
63 std::vector<AppEventInfo> eventInfos; in OnEvents()
/base/hiviewdfx/hiappevent/test/unittest/common/native/
H A Dhiappevent_inner_api_test.cpp208 const std::vector<AppEventInfo>& events) in CheckOnReport()
241 const std::vector<AppEventInfo>& events) override;
244 int ValidateEvent(const AppEventInfo& event) override;
255 const std::vector<AppEventInfo>& events) in OnReport()
261 std::cout << "AppEventInfo size=" << events.size() << std::endl; in OnReport()
263 std::cout << "AppEventInfo.domain=" << event.domain << std::endl; in OnReport()
264 std::cout << "AppEventInfo.name=" << event.name << std::endl; in OnReport()
265 std::cout << "AppEventInfo.eventType=" << event.eventType << std::endl; in OnReport()
266 std::cout << "AppEventInfo.timestamp=" << event.timestamp << std::endl; in OnReport()
267 std::cout << "AppEventInfo in OnReport()
[all...]

Completed in 5 milliseconds