Home
last modified time | relevance | path

Searched refs:eventInfo (Results 1 - 25 of 274) sorted by relevance

1234567891011

/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dinner_event_report.cpp148 std::string GetInstallType(const EventInfo& eventInfo) in GetInstallType() argument
151 if (eventInfo.isFreeInstallMode) { in GetInstallType()
153 } else if (eventInfo.isPreInstallApp) { in GetInstallType()
160 std::string GetInstallScene(const EventInfo& eventInfo) in GetInstallScene() argument
165 if (eventInfo.preBundleScene == INSTALL_SCENE_STR_MAP_KEY[i]) { in GetInstallScene()
174 std::string GetUserEventType(const EventInfo& eventInfo) in GetUserEventType() argument
179 if (eventInfo.userEventType == USER_TYPE_STR_MAP_KEY[i]) { in GetUserEventType()
189 std::unordered_map<BMSEventType, void (*)(const EventInfo& eventInfo)>
192 [](const EventInfo& eventInfo) {
193 InnerSendBundleInstallExceptionEvent(eventInfo);
285 SendSystemEvent(BMSEventType bmsEventType, const EventInfo& eventInfo) SendSystemEvent() argument
295 InnerSendBundleInstallExceptionEvent(const EventInfo& eventInfo) InnerSendBundleInstallExceptionEvent() argument
310 InnerSendBundleUninstallExceptionEvent(const EventInfo& eventInfo) InnerSendBundleUninstallExceptionEvent() argument
324 InnerSendBundleUpdateExceptionEvent(const EventInfo& eventInfo) InnerSendBundleUpdateExceptionEvent() argument
338 InnerSendPreBundleRecoverExceptionEvent(const EventInfo& eventInfo) InnerSendPreBundleRecoverExceptionEvent() argument
352 InnerSendBundleStateChangeExceptionEvent(const EventInfo& eventInfo) InnerSendBundleStateChangeExceptionEvent() argument
366 InnerSendBundleCleanCacheExceptionEvent(const EventInfo& eventInfo) InnerSendBundleCleanCacheExceptionEvent() argument
379 InnerSendBootScanStartEvent(const EventInfo& eventInfo) InnerSendBootScanStartEvent() argument
389 InnerSendBootScanEndEvent(const EventInfo& eventInfo) InnerSendBootScanEndEvent() argument
399 InnerSendBundleInstallEvent(const EventInfo& eventInfo) InnerSendBundleInstallEvent() argument
422 InnerSendBundleUninstallEvent(const EventInfo& eventInfo) InnerSendBundleUninstallEvent() argument
438 InnerSendBundleUpdateEvent(const EventInfo& eventInfo) InnerSendBundleUpdateEvent() argument
460 InnerSendPreBundleRecoverEvent(const EventInfo& eventInfo) InnerSendPreBundleRecoverEvent() argument
480 InnerSendBundleStateChangeEvent(const EventInfo& eventInfo) InnerSendBundleStateChangeEvent() argument
496 InnerSendBundleCleanCacheEvent(const EventInfo& eventInfo) InnerSendBundleCleanCacheEvent() argument
509 InnerSendUserEvent(const EventInfo& eventInfo) InnerSendUserEvent() argument
521 InnerSendQuickFixEvent(const EventInfo& eventInfo) InnerSendQuickFixEvent() argument
535 InnerSendCpuSceneEvent(const EventInfo& eventInfo) InnerSendCpuSceneEvent() argument
546 InnerSendAOTSummaryEvent(const EventInfo& eventInfo) InnerSendAOTSummaryEvent() argument
558 InnerSendAOTRecordEvent(const EventInfo& eventInfo) InnerSendAOTRecordEvent() argument
571 InnerSendQueryOfContinueTypeEvent(const EventInfo& eventInfo) InnerSendQueryOfContinueTypeEvent() argument
583 InnerSendFreeInstallEvent(const EventInfo& eventInfo) InnerSendFreeInstallEvent() argument
595 InnerSendBmsDiskSpaceEvent(const EventInfo& eventInfo) InnerSendBmsDiskSpaceEvent() argument
605 InnerSendAppConitolRule(const EventInfo& eventInfo) InnerSendAppConitolRule() argument
[all...]
H A Devent_report.cpp48 void EventReport::SendBundleSystemEvent(BundleEventType bundleEventType, const EventInfo& eventInfo) in SendBundleSystemEvent() argument
51 if (eventInfo.errCode != ERR_OK) { in SendBundleSystemEvent()
59 SendSystemEvent(bmsEventType, eventInfo); in SendBundleSystemEvent()
71 SendSystemEvent(bmsEventType, eventInfo); in SendBundleSystemEvent()
76 EventInfo eventInfo; in SendScanSysEvent() local
77 eventInfo.timeStamp = BundleUtil::GetCurrentTimeMs(); in SendScanSysEvent()
78 EventReport::SendSystemEvent(bMSEventType, eventInfo); in SendScanSysEvent()
83 EventInfo eventInfo; in SendUserSysEvent() local
84 eventInfo.timeStamp = BundleUtil::GetCurrentTimeMs(); in SendUserSysEvent()
85 eventInfo in SendUserSysEvent()
93 EventInfo eventInfo; SendComponentStateSysEventForException() local
107 EventInfo eventInfo; SendComponentStateSysEvent() local
121 EventInfo eventInfo; SendCleanCacheSysEvent() local
138 EventInfo eventInfo; SendCleanCacheSysEventWithIndex() local
156 EventInfo eventInfo; SendQueryAbilityInfoByContinueTypeSysEvent() local
167 EventInfo eventInfo; SendCpuSceneEvent() local
177 EventInfo eventInfo; SendFreeInstallEvent() local
189 EventInfo eventInfo; SendDiskSpaceEvent() local
196 SendAppConitolRuleEvent(const EventInfo& eventInfo) SendAppConitolRuleEvent() argument
201 SendSystemEvent(BMSEventType bmsEventType, const EventInfo& eventInfo) SendSystemEvent() argument
[all...]
/foundation/ability/ability_runtime/services/common/src/
H A Devent_report.cpp64 void EventReport::SendAppEvent(const EventName &eventName, HiSysEventType type, const EventInfo &eventInfo) in SendAppEvent() argument
77 EVENT_KEY_APP_PID, eventInfo.pid, in SendAppEvent()
78 EVENT_KEY_VERSION_CODE, eventInfo.versionCode, in SendAppEvent()
79 EVENT_KEY_VERSION_NAME, eventInfo.versionName, in SendAppEvent()
80 EVENT_KEY_BUNDLE_NAME, eventInfo.bundleName, in SendAppEvent()
81 EVENT_KEY_ABILITY_NAME, eventInfo.abilityName, in SendAppEvent()
82 EVENT_KEY_START_TYPE, eventInfo.startType); in SendAppEvent()
87 eventInfo.bundleName.c_str(), eventInfo.abilityName.c_str()); in SendAppEvent()
92 EVENT_KEY_USERID, eventInfo in SendAppEvent()
112 LogErrorEvent(const std::string &name, HiSysEventType type, const EventInfo &eventInfo) LogErrorEvent() argument
125 LogStartAbilityEvent(const std::string &name, HiSysEventType type, const EventInfo &eventInfo) LogStartAbilityEvent() argument
137 LogTerminateAbilityEvent(const std::string &name, HiSysEventType type, const EventInfo &eventInfo) LogTerminateAbilityEvent() argument
147 LogAbilityOnForegroundEvent(const std::string &name, HiSysEventType type, const EventInfo &eventInfo) LogAbilityOnForegroundEvent() argument
160 LogAbilityOnBackgroundEvent(const std::string &name, HiSysEventType type, const EventInfo &eventInfo) LogAbilityOnBackgroundEvent() argument
172 LogAbilityOnActiveEvent(const std::string &name, HiSysEventType type, const EventInfo &eventInfo) LogAbilityOnActiveEvent() argument
186 LogStartStandardEvent(const std::string &name, HiSysEventType type, const EventInfo &eventInfo) LogStartStandardEvent() argument
202 LogStartAbilityByAppLinking(const std::string &name, HiSysEventType type, const EventInfo &eventInfo) LogStartAbilityByAppLinking() argument
218 SendAbilityEvent(const EventName &eventName, HiSysEventType type, const EventInfo &eventInfo) SendAbilityEvent() argument
259 SendAtomicServiceEvent(const EventName &eventName, HiSysEventType type, const EventInfo &eventInfo) SendAtomicServiceEvent() argument
293 SendGrantUriPermissionEvent(const EventName &eventName, const EventInfo &eventInfo) SendGrantUriPermissionEvent() argument
323 SendExtensionEvent(const EventName &eventName, HiSysEventType type, const EventInfo &eventInfo) SendExtensionEvent() argument
353 SendKeyEvent(const EventName &eventName, HiSysEventType type, const EventInfo &eventInfo) SendKeyEvent() argument
388 SendAppLaunchEvent(const EventName &eventName, const EventInfo &eventInfo) SendAppLaunchEvent() argument
411 SendAppForegroundEvent(const EventName &eventName, const EventInfo &eventInfo) SendAppForegroundEvent() argument
435 SendAppBackgroundEvent(const EventName &eventName, const EventInfo &eventInfo) SendAppBackgroundEvent() argument
458 SendProcessStartEvent(const EventName &eventName, const EventInfo &eventInfo) SendProcessStartEvent() argument
498 SendProcessStartFailedEvent(const EventName &eventName, const EventInfo &eventInfo) SendProcessStartFailedEvent() argument
543 SendProcessExitEvent(const EventName &eventName, const EventInfo &eventInfo) SendProcessExitEvent() argument
561 SendStartServiceEvent(const EventName &eventName, const EventInfo &eventInfo) SendStartServiceEvent() argument
584 SendStopServiceEvent(const EventName &eventName, const EventInfo &eventInfo) SendStopServiceEvent() argument
607 SendConnectServiceEvent(const EventName &eventName, const EventInfo &eventInfo) SendConnectServiceEvent() argument
629 SendDisconnectServiceEvent(const EventName &eventName, const EventInfo &eventInfo) SendDisconnectServiceEvent() argument
646 SendStartAbilityOtherExtensionEvent(const EventName &eventName, const EventInfo &eventInfo) SendStartAbilityOtherExtensionEvent() argument
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dinner_event_report.h31 * @param eventType Indicates the bms eventInfo.
32 * @param eventInfo Indicates the eventInfo.
34 static void SendSystemEvent(BMSEventType eventType, const EventInfo& eventInfo);
38 static void InnerSendBundleInstallExceptionEvent(const EventInfo& eventInfo);
39 static void InnerSendBundleUninstallExceptionEvent(const EventInfo& eventInfo);
40 static void InnerSendBundleUpdateExceptionEvent(const EventInfo& eventInfo);
41 static void InnerSendPreBundleRecoverExceptionEvent(const EventInfo& eventInfo);
42 static void InnerSendBundleStateChangeExceptionEvent(const EventInfo& eventInfo);
43 static void InnerSendBundleCleanCacheExceptionEvent(const EventInfo& eventInfo);
[all...]
/foundation/ability/ability_runtime/services/appmgr/src/
H A Dapp_mgr_event.cpp62 AAFwk::EventInfo eventInfo; in SendCreateAtomicServiceProcessEvent() local
63 eventInfo.abilityName = abilityName; in SendCreateAtomicServiceProcessEvent()
64 eventInfo.moduleName = moduleName; in SendCreateAtomicServiceProcessEvent()
65 eventInfo.bundleName = appRecord->GetBundleName(); in SendCreateAtomicServiceProcessEvent()
67 eventInfo.callerUid = appRecord->GetCallerUid() == -1 ? IPCSkeleton::GetCallingUid() : appRecord->GetCallerUid(); in SendCreateAtomicServiceProcessEvent()
73 eventInfo.callerBundleName = ""; in SendCreateAtomicServiceProcessEvent()
74 eventInfo.callerProcessName = nativeTokenInfo.processName; in SendCreateAtomicServiceProcessEvent()
76 eventInfo.callerBundleName = callerAppRecord->GetName(); in SendCreateAtomicServiceProcessEvent()
77 eventInfo.callerProcessName = callerAppRecord->GetProcessName(); in SendCreateAtomicServiceProcessEvent()
80 AAFwk::EventReport::SendAtomicServiceEvent(eventName, HiSysEventType::BEHAVIOR, eventInfo); in SendCreateAtomicServiceProcessEvent()
84 SendProcessStartEvent(const std::shared_ptr<AppRunningRecord> &callerAppRecord, const std::shared_ptr<AppRunningRecord> &appRecord, AAFwk::EventInfo &eventInfo) SendProcessStartEvent() argument
130 SendProcessStartFailedEvent(std::shared_ptr<AppRunningRecord> callerAppRecord, std::shared_ptr<AppRunningRecord> appRecord, AAFwk::EventInfo &eventInfo) SendProcessStartFailedEvent() argument
170 UpdateCallerInfo(AAFwk::EventInfo &eventInfo, std::shared_ptr<AppRunningRecord> callerAppRecord, std::shared_ptr<AppRunningRecord> appRecord) UpdateCallerInfo() argument
204 AAFwk::EventInfo eventInfo; SendChildProcessStartFailedEvent() local
236 AAFwk::EventInfo eventInfo; SendRenderProcessStartFailedEvent() local
256 SendReStartProcessEvent(AAFwk::EventInfo &eventInfo, int32_t appUid, int64_t restartTime) SendReStartProcessEvent() argument
[all...]
/foundation/communication/netmanager_base/utils/common_utils/src/
H A Devent_report.cpp46 void EventReport::SendSupplierFaultEvent(const EventInfo &eventInfo) in SendSupplierFaultEvent() argument
49 EVENT_KEY_NET_SUPPLIER_UPDATE_SUPPLIERID, eventInfo.updateSupplierId, in SendSupplierFaultEvent()
50 EVENT_KEY_NET_SUPPLIER_UPDATE_SUPPLIERINFO, eventInfo.supplierInfo, EVENT_KEY_NET_SUPPLIER_UPDATE_NETLINKID, in SendSupplierFaultEvent()
51 eventInfo.updateNetlinkId, EVENT_KEY_NET_SUPPLIER_UPDATE_NETLINKINFO, eventInfo.netlinkInfo, in SendSupplierFaultEvent()
52 EVENT_KEY_ERROR_TYPE, eventInfo.errorType, EVENT_KEY_ERROR_MSG, eventInfo.errorMsg); in SendSupplierFaultEvent()
55 void EventReport::SendSupplierBehaviorEvent(const EventInfo &eventInfo) in SendSupplierBehaviorEvent() argument
58 EVENT_KEY_NET_SUPPLIER_REGISTER_BEARERTYPE, eventInfo.bearerType, EVENT_KEY_NET_SUPPLIER_REGISTER_IDENT, in SendSupplierBehaviorEvent()
59 eventInfo in SendSupplierBehaviorEvent()
66 SendRequestFaultEvent(const EventInfo &eventInfo) SendRequestFaultEvent() argument
73 SendRequestBehaviorEvent(const EventInfo &eventInfo) SendRequestBehaviorEvent() argument
80 SendMonitorFaultEvent(const EventInfo &eventInfo) SendMonitorFaultEvent() argument
87 SendMonitorBehaviorEvent(const EventInfo &eventInfo) SendMonitorBehaviorEvent() argument
[all...]
/foundation/communication/netstack/utils/common_utils/src/
H A Dnetstack_hisysevent.cpp62 // init eventInfo in InitPackageName()
85 eventInfo.totalCount += 1; in ProcessHttpPerfHiSysevent()
87 eventInfo.successCount += 1; in ProcessHttpPerfHiSysevent()
88 eventInfo.totalTime += httpPerfInfo.totalTime; in ProcessHttpPerfHiSysevent()
89 eventInfo.totalRate += httpPerfInfo.size / httpPerfInfo.totalTime; in ProcessHttpPerfHiSysevent()
90 eventInfo.totalDnsTime += httpPerfInfo.dnsTime; in ProcessHttpPerfHiSysevent()
91 eventInfo.totalTlsTime += httpPerfInfo.tlsTime; in ProcessHttpPerfHiSysevent()
92 eventInfo.totalFirstRecvTime += httpPerfInfo.firstRecvTime; in ProcessHttpPerfHiSysevent()
93 eventInfo.totalTcpTime += httpPerfInfo.tcpTime; in ProcessHttpPerfHiSysevent()
100 eventInfo in ProcessHttpPerfHiSysevent()
139 SendHttpPerfEvent(const EventInfo &eventInfo) SendHttpPerfEvent() argument
[all...]
/foundation/communication/netmanager_ext/services/networksharemanager/src/
H A Dnetworkshare_hisysevent.cpp33 EventInfo eventInfo; in SendFaultEvent() local
34 eventInfo.operatorType = static_cast<int32_t>(operatorType); in SendFaultEvent()
35 eventInfo.errorType = static_cast<int32_t>(errorCode); in SendFaultEvent()
36 eventInfo.errorMsg = errorMsg; in SendFaultEvent()
37 eventInfo.sharingType = -1; in SendFaultEvent()
39 NetEventReport::SendSetupFaultEvent(eventInfo); in SendFaultEvent()
41 NetEventReport::SendCancleFaultEvent(eventInfo); in SendFaultEvent()
50 EventInfo eventInfo; in SendFaultEvent() local
51 eventInfo.sharingType = static_cast<int32_t>(sharingType); in SendFaultEvent()
52 eventInfo in SendFaultEvent()
64 EventInfo eventInfo; SendBehaviorEvent() local
[all...]
/foundation/communication/netmanager_ext/services/vpnmanager/src/
H A Dnetworkvpn_hisysevent.cpp25 VpnEventInfo eventInfo; in SendFaultEvent() local
26 eventInfo.legacy = static_cast<int32_t>(isLegacy); in SendFaultEvent()
27 eventInfo.operatorType = static_cast<int32_t>(operatorType); in SendFaultEvent()
28 eventInfo.errorType = static_cast<int32_t>(errorCode); in SendFaultEvent()
29 eventInfo.errorMsg = errorMsg; in SendFaultEvent()
30 NetEventReport::SendVpnConnectEvent(eventInfo); in SendFaultEvent()
36 VpnEventInfo eventInfo; in SendFaultEventConnSetting() local
37 eventInfo.legacy = static_cast<int32_t>(isLegacy); in SendFaultEventConnSetting()
38 eventInfo.operatorType = static_cast<int32_t>(VpnEventOperator::OPERATION_CONNECT_SETTING); in SendFaultEventConnSetting()
39 eventInfo in SendFaultEventConnSetting()
47 VpnEventInfo eventInfo; SendFaultEventConnDestroy() local
[all...]
/foundation/ability/ability_runtime/test/unittest/event_report_test/
H A Devent_report_test.cpp112 EventInfo eventInfo; in HWTEST_F() local
113 EventReport::SendAppEvent(eventName, type, eventInfo); in HWTEST_F()
127 EventInfo eventInfo; in HWTEST_F() local
128 EventReport::SendAppEvent(eventName, type, eventInfo); in HWTEST_F()
142 EventInfo eventInfo; in HWTEST_F() local
143 eventInfo.extensionType = 0; in HWTEST_F()
144 EventReport::SendAppEvent(eventName, type, eventInfo); in HWTEST_F()
158 EventInfo eventInfo; in HWTEST_F() local
159 EventReport::SendAppEvent(eventName, type, eventInfo); in HWTEST_F()
173 EventInfo eventInfo; in HWTEST_F() local
188 EventInfo eventInfo; HWTEST_F() local
203 EventInfo eventInfo; HWTEST_F() local
218 EventInfo eventInfo; HWTEST_F() local
233 EventInfo eventInfo; HWTEST_F() local
248 EventInfo eventInfo; HWTEST_F() local
263 EventInfo eventInfo; HWTEST_F() local
278 EventInfo eventInfo; HWTEST_F() local
294 EventInfo eventInfo; HWTEST_F() local
310 EventInfo eventInfo; HWTEST_F() local
326 EventInfo eventInfo; HWTEST_F() local
341 EventInfo eventInfo; HWTEST_F() local
356 EventInfo eventInfo; HWTEST_F() local
371 EventInfo eventInfo; HWTEST_F() local
386 EventInfo eventInfo; HWTEST_F() local
401 EventInfo eventInfo; HWTEST_F() local
416 EventInfo eventInfo; HWTEST_F() local
431 EventInfo eventInfo; HWTEST_F() local
446 EventInfo eventInfo; HWTEST_F() local
461 EventInfo eventInfo; HWTEST_F() local
476 EventInfo eventInfo; HWTEST_F() local
491 EventInfo eventInfo; HWTEST_F() local
506 EventInfo eventInfo; HWTEST_F() local
520 EventInfo eventInfo; HWTEST_F() local
537 EventInfo eventInfo; HWTEST_F() local
554 EventInfo eventInfo; HWTEST_F() local
571 EventInfo eventInfo; HWTEST_F() local
590 EventInfo eventInfo; HWTEST_F() local
609 EventInfo eventInfo; HWTEST_F() local
626 EventInfo eventInfo; HWTEST_F() local
643 EventInfo eventInfo; HWTEST_F() local
660 EventInfo eventInfo; HWTEST_F() local
677 EventInfo eventInfo; HWTEST_F() local
693 EventInfo eventInfo; HWTEST_F() local
[all...]
/foundation/multimedia/image_effect/frameworks/native/utils/dfx/
H A Devent_report.cpp35 std::unordered_map<std::string, void (*)(const EventInfo &eventInfo)> EventReport::sysEventFuncMap_ = {
36 { REGISTER_CUSTOM_FILTER_STATISTIC, [](const EventInfo &eventInfo) {
37 ReportRegisterCustomFilterEvent(eventInfo);
39 { ADD_FILTER_STATISTIC, [](const EventInfo &eventInfo) {
40 ReportAddFilterEvent(eventInfo);
42 { REMOVE_FILTER_STATISTIC, [](const EventInfo &eventInfo) {
43 ReportRemoveFilterEvent(eventInfo);
45 { INPUT_DATA_TYPE_STATISTIC, [](const EventInfo &eventInfo) {
46 ReportInputDataTypeEvent(eventInfo);
48 { OUTPUT_DATA_TYPE_STATISTIC, [](const EventInfo &eventInfo) {
104 ReportHiSysEvent(const std::string &eventName, const EventInfo &eventInfo) ReportHiSysEvent() argument
115 ReportRegisterCustomFilterEvent(const EventInfo &eventInfo) ReportRegisterCustomFilterEvent() argument
134 ReportAddFilterEvent(const EventInfo &eventInfo) ReportAddFilterEvent() argument
147 ReportRemoveFilterEvent(const EventInfo &eventInfo) ReportRemoveFilterEvent() argument
176 ReportInputDataTypeEvent(const EventInfo &eventInfo) ReportInputDataTypeEvent() argument
190 ReportOutputDataTypeEvent(const EventInfo &eventInfo) ReportOutputDataTypeEvent() argument
204 ReportRenderFailedEvent(const EventInfo &eventInfo) ReportRenderFailedEvent() argument
224 ReportSaveImageEffectEvent(const EventInfo &eventInfo) ReportSaveImageEffectEvent() argument
231 ReportRestoreImageEffectEvent(const EventInfo &eventInfo) ReportRestoreImageEffectEvent() argument
[all...]
H A Devent_report.h58 IMAGE_EFFECT_EXPORT static void ReportHiSysEvent(const std::string &eventName, const EventInfo &eventInfo);
61 static void ReportRegisterCustomFilterEvent(const EventInfo &eventInfo);
62 static void ReportAddFilterEvent(const EventInfo &eventInfo);
63 static void ReportRemoveFilterEvent(const EventInfo &eventInfo);
64 static void ReportInputDataTypeEvent(const EventInfo &eventInfo);
65 static void ReportOutputDataTypeEvent(const EventInfo &eventInfo);
66 static void ReportRenderFailedEvent(const EventInfo &eventInfo);
67 static void ReportSaveImageEffectEvent(const EventInfo &eventInfo);
68 static void ReportRestoreImageEffectEvent(const EventInfo &eventInfo);
72 static std::unordered_map<std::string, void (*)(const EventInfo &eventInfo)> sysEventFuncMap
[all...]
/foundation/communication/netmanager_ext/utils/event_report/src/
H A Dnet_event_report.cpp38 int32_t NetEventReport::SendSetupFaultEvent(const EventInfo &eventInfo) in SendSetupFaultEvent() argument
41 EVENT_KEY_SHARING_TYPE, eventInfo.sharingType, EVENT_KEY_OPERATION_TYPE, eventInfo.operatorType, in SendSetupFaultEvent()
42 EVENT_KEY_ERROR_TYPE, eventInfo.errorType, EVENT_KEY_ERROR_MSG, eventInfo.errorMsg); in SendSetupFaultEvent()
46 int32_t NetEventReport::SendCancleFaultEvent(const EventInfo &eventInfo) in SendCancleFaultEvent() argument
49 EVENT_KEY_SHARING_TYPE, eventInfo.sharingType, EVENT_KEY_OPERATION_TYPE, eventInfo.operatorType, in SendCancleFaultEvent()
50 EVENT_KEY_ERROR_TYPE, eventInfo.errorType, EVENT_KEY_ERROR_MSG, eventInfo in SendCancleFaultEvent()
54 SendTimeBehaviorEvent(const EventInfo &eventInfo) SendTimeBehaviorEvent() argument
61 SendVpnConnectEvent(const VpnEventInfo &eventInfo) SendVpnConnectEvent() argument
[all...]
/foundation/distributeddatamgr/relational_store/frameworks/native/dfx/src/
H A Drdb_fault_hiview_reporter.cpp49 void RdbFaultHiViewReporter::ReportFault(const RdbCorruptedEvent &eventInfo) in ReportFault() argument
51 if (IsReportCorruptedFault(eventInfo.path)) { in ReportFault()
52 RdbCorruptedEvent eventInfoAppend = eventInfo; in ReportFault()
59 CreateCorruptedFlag(eventInfo.path); in ReportFault()
63 void RdbFaultHiViewReporter::ReportRestore(const RdbCorruptedEvent &eventInfo, bool repair) in ReportRestore() argument
65 if (IsReportCorruptedFault(eventInfo.path) && repair) { in ReportRestore()
68 RdbCorruptedEvent eventInfoAppend = eventInfo; in ReportRestore()
71 SqliteUtils::Anonymous(eventInfo.storeName).c_str(), eventInfo.errorCode, eventInfoAppend.appendix.c_str()); in ReportRestore()
73 DeleteCorruptedFlag(eventInfo in ReportRestore()
76 Report(const RdbCorruptedEvent &eventInfo) Report() argument
173 RdbCorruptedEvent eventInfo; Create() local
203 Update(RdbCorruptedEvent &eventInfo, const std::map<std::string, DebugInfo> &infos) Update() argument
225 GetBundleName(const RdbCorruptedEvent &eventInfo) GetBundleName() argument
[all...]
/foundation/ability/form_fwk/test/unittest/fms_form_event_report_test/
H A Dfms_form_event_report_test.cpp59 FormEventInfo eventInfo; in HWTEST_F() local
60 FormEventReport::SendFormEvent(eventName, type, eventInfo); in HWTEST_F()
74 FormEventInfo eventInfo; in HWTEST_F() local
75 FormEventReport::SendFormEvent(eventName, type, eventInfo); in HWTEST_F()
89 FormEventInfo eventInfo; in HWTEST_F() local
90 FormEventReport::SendFormEvent(eventName, type, eventInfo); in HWTEST_F()
104 FormEventInfo eventInfo; in HWTEST_F() local
105 FormEventReport::SendFormEvent(eventName, type, eventInfo); in HWTEST_F()
119 FormEventInfo eventInfo; in HWTEST_F() local
120 FormEventReport::SendFormEvent(eventName, type, eventInfo); in HWTEST_F()
134 FormEventInfo eventInfo; HWTEST_F() local
149 FormEventInfo eventInfo; HWTEST_F() local
164 FormEventInfo eventInfo; HWTEST_F() local
179 FormEventInfo eventInfo; HWTEST_F() local
194 FormEventInfo eventInfo; HWTEST_F() local
209 FormEventInfo eventInfo; HWTEST_F() local
224 FormEventInfo eventInfo; HWTEST_F() local
239 FormEventInfo eventInfo; HWTEST_F() local
254 FormEventInfo eventInfo; HWTEST_F() local
269 FormEventInfo eventInfo; HWTEST_F() local
284 FormEventInfo eventInfo; HWTEST_F() local
298 FormEventInfo eventInfo; HWTEST_F() local
[all...]
/foundation/ability/ability_runtime/services/common/include/
H A Devent_report.h115 static void SendAppEvent(const EventName &eventName, HiSysEventType type, const EventInfo &eventInfo);
116 static void SendAbilityEvent(const EventName &eventName, HiSysEventType type, const EventInfo &eventInfo);
117 static void SendAtomicServiceEvent(const EventName &eventName, HiSysEventType type, const EventInfo &eventInfo);
118 static void SendExtensionEvent(const EventName &eventName, HiSysEventType type, const EventInfo &eventInfo);
119 static void SendKeyEvent(const EventName &eventName, HiSysEventType type, const EventInfo &eventInfo);
120 static void SendAppLaunchEvent(const EventName &eventName, const EventInfo &eventInfo);
121 static void SendAppForegroundEvent(const EventName &eventName, const EventInfo &eventInfo);
122 static void SendAppBackgroundEvent(const EventName &eventName, const EventInfo &eventInfo);
123 static void SendProcessStartEvent(const EventName &eventName, const EventInfo &eventInfo);
124 static void SendProcessStartFailedEvent(const EventName &eventName, const EventInfo &eventInfo);
[all...]
/foundation/ability/form_fwk/services/src/
H A Dform_event_report.cpp86 const FormEventInfo &eventInfo) in SendFormEvent()
103 EVENT_KEY_BUNDLE_NAME, eventInfo.bundleName, in SendFormEvent()
104 EVENT_KEY_MODULE_NAME, eventInfo.moduleName, in SendFormEvent()
105 EVENT_KEY_ABILITY_NAME, eventInfo.abilityName); in SendFormEvent()
112 EVENT_KEY_BUNDLE_NAME, eventInfo.bundleName, in SendFormEvent()
113 EVENT_KEY_MODULE_NAME, eventInfo.moduleName, in SendFormEvent()
114 EVENT_KEY_ABILITY_NAME, eventInfo.abilityName, in SendFormEvent()
115 EVENT_KEY_HOST_BUNDLE_NAME, eventInfo.hostBundleName); in SendFormEvent()
121 EVENT_KEY_FORM_ID, eventInfo.formId, in SendFormEvent()
122 EVENT_KEY_BUNDLE_NAME, eventInfo in SendFormEvent()
85 SendFormEvent(const FormEventName &eventName, HiSysEventType type, const FormEventInfo &eventInfo) SendFormEvent() argument
132 SendSecondFormEvent(const FormEventName &eventName, HiSysEventType type, const FormEventInfo &eventInfo) SendSecondFormEvent() argument
175 SendThirdFormEvent(const FormEventName &eventName, HiSysEventType type, const FormEventInfo &eventInfo) SendThirdFormEvent() argument
218 SendFormRefreshCountEvent(const FormEventName &eventName, HiSysEventType type, const NewFormEventInfo &eventInfo) SendFormRefreshCountEvent() argument
243 SendFourthFormEvent(const FormEventName &eventName, HiSysEventType type, const NewFormEventInfo &eventInfo, const Want &want) SendFourthFormEvent() argument
278 SendFirstAddFormEvent(const FormEventName &eventName, HiSysEventType type, const NewFormEventInfo &eventInfo) SendFirstAddFormEvent() argument
301 SendFirstUpdateFormEvent(const FormEventName &eventName, HiSysEventType type, const NewFormEventInfo &eventInfo) SendFirstUpdateFormEvent() argument
[all...]
H A Dform_record_report.cpp99 NewFormEventInfo eventInfo; in HandleFormRefreshCount() local
100 eventInfo.formId = formId; in HandleFormRefreshCount()
101 eventInfo.bundleName = record.bundleName; in HandleFormRefreshCount()
102 eventInfo.moduleName = record.moduleName; in HandleFormRefreshCount()
103 eventInfo.formName = record.formName; in HandleFormRefreshCount()
104 eventInfo.dailyRefreshTimes = record.dailyRefreshTimes; in HandleFormRefreshCount()
105 eventInfo.invisibleRefreshTimes = record.invisibleRefreshTimes; in HandleFormRefreshCount()
106 eventInfo.hfRefreshBlockTimes = record.hfRefreshBlockTimes; in HandleFormRefreshCount()
107 eventInfo.invisibleRefreshBlockTimes = record.invisibleRefreshBlockTimes; in HandleFormRefreshCount()
108 eventInfo in HandleFormRefreshCount()
[all...]
/foundation/communication/netmanager_ext/services/netfirewallmanager/src/
H A Dnetfirewall_hisysevent.cpp49 NetFirewallEvent eventInfo; in SendFirewallConfigReport() local
50 eventInfo.userId = userId; in SendFirewallConfigReport()
51 eventInfo.errorType = errorCode; in SendFirewallConfigReport()
53 eventInfo.errorMsg = convertor.ConvertErrorCode(errorCode); in SendFirewallConfigReport()
54 instance.SendNetFirewallRuleFault(eventInfo, NET_FIREWALL_CONF_FAULT); in SendFirewallConfigReport()
64 NetFirewallEvent eventInfo; in SendFirewallRequestReport() local
65 eventInfo.userId = userId; in SendFirewallRequestReport()
66 eventInfo.errorType = errorCode; in SendFirewallRequestReport()
68 eventInfo.errorMsg = convertor.ConvertErrorCode(errorCode); in SendFirewallRequestReport()
69 instance.SendNetFirewallRuleFault(eventInfo, NET_FIREWALL_REQ_FAUL in SendFirewallRequestReport()
79 NetFirewallEvent eventInfo; SendRecordRequestReport() local
90 NetFirewallEvent eventInfo; SendInitDefaultRequestReport() local
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/
H A Dkv_hiview_reporter.cpp66 KVDBCorruptedEvent eventInfo(options); in ReportKVDBCorruptedFault()
67 eventInfo.errorCode = errorCode; in ReportKVDBCorruptedFault()
68 eventInfo.systemErrorNo = systemErrorNo; in ReportKVDBCorruptedFault()
69 eventInfo.appendix = appendix; in ReportKVDBCorruptedFault()
70 eventInfo.storeName = storeTuple.storeId; in ReportKVDBCorruptedFault()
71 eventInfo.bundleName = storeTuple.appId; in ReportKVDBCorruptedFault()
72 eventInfo.errorOccurTime = GetCurrentMicrosecondTimeFormat(); in ReportKVDBCorruptedFault()
73 if (IsReportCorruptedFault(eventInfo.appendix, storeTuple.storeId)) { in ReportKVDBCorruptedFault()
74 CreateCorruptedFlag(eventInfo.appendix, storeTuple.storeId); in ReportKVDBCorruptedFault()
75 auto corruptedTime = GetFileStatInfo(eventInfo in ReportKVDBCorruptedFault()
161 ReportCommonFault(const KVDBCorruptedEvent &eventInfo) ReportCommonFault() argument
[all...]
/foundation/communication/netstack/test/unittest/utils/common_utils/
H A Dnetstack_hisysevent_test.cpp78 EXPECT_EQ(EventReport::GetInstance().eventInfo.successCount, 0); in HWTEST_F()
87 EXPECT_EQ(EventReport::GetInstance().eventInfo.successCount, 1); in HWTEST_F()
97 EXPECT_EQ(EventReport::GetInstance().eventInfo.totalTime, 0); in HWTEST_F()
106 uint32_t preSuccessCount = EventReport::GetInstance().eventInfo.successCount; in HWTEST_F()
109 EXPECT_EQ(EventReport::GetInstance().eventInfo.successCount, preSuccessCount + 1); in HWTEST_F()
114 EventReport::GetInstance().eventInfo.totalCount = 10; in HWTEST_F()
115 EventReport::GetInstance().eventInfo.successCount = 5; in HWTEST_F()
116 EventReport::GetInstance().eventInfo.totalTime = 10.0; in HWTEST_F()
117 EventReport::GetInstance().eventInfo.totalRate = 5.0; in HWTEST_F()
118 EventReport::GetInstance().eventInfo in HWTEST_F()
[all...]
/foundation/multimodalinput/input/tools/event_inject/src/
H A Dinput_parse.cpp100 bool ParseEvents(cJSON* eventInfo, DeviceEvent& event) in ParseEvents() argument
102 if (!cJSON_IsArray(eventInfo)) { in ParseEvents()
103 MMI_HILOGE("The eventInfo is not array"); in ParseEvents()
106 int32_t eventSize = cJSON_GetArraySize(eventInfo); in ParseEvents()
108 cJSON* eventArray = cJSON_GetArrayItem(eventInfo, i); in ParseEvents()
129 void ParseEventsObj(cJSON* eventInfo, DeviceEvent& event) in ParseEventsObj() argument
131 if (!cJSON_IsObject(eventInfo)) { in ParseEventsObj()
132 MMI_HILOGE("The eventInfo is not object"); in ParseEventsObj()
135 GetJsonData(eventInfo, "eventType", event.eventType); in ParseEventsObj()
136 GetJsonData(eventInfo, "even in ParseEventsObj()
161 cJSON* eventInfo = cJSON_GetArrayItem(events, i); ParseData() local
[all...]
/foundation/multimodalinput/input/intention/cooperate/plugin/src/
H A Devent_manager.cpp37 std::shared_ptr<EventInfo> eventInfo = std::make_shared<EventInfo>(); in RegisterListener() local
38 eventInfo->type = EventType::LISTENER; in RegisterListener()
39 eventInfo->msgId = MessageId::COORDINATION_ADD_LISTENER; in RegisterListener()
40 eventInfo->pid = event.pid; in RegisterListener()
42 FI_HILOGI("Add cooperate listener (%{public}d)", eventInfo->pid); in RegisterListener()
44 [eventInfo](const auto &item) { in RegisterListener()
45 return ((item != nullptr) && (item->pid == eventInfo->pid)); in RegisterListener()
48 *iter = eventInfo; in RegisterListener()
50 listeners_.emplace_back(eventInfo); in RegisterListener()
89 std::shared_ptr<EventInfo> eventInfo in StartCooperate() local
100 std::shared_ptr<EventInfo> eventInfo = calls_[EventType::START]; StartCooperateFinish() local
142 std::shared_ptr<EventInfo> eventInfo = std::make_shared<EventInfo>(); StopCooperate() local
152 std::shared_ptr<EventInfo> eventInfo = calls_[EventType::STOP]; StopCooperateFinish() local
[all...]
/foundation/communication/netmanager_ext/services/mdnsmanager/src/
H A Dmdns_service.cpp50 void SendRequestEvent(const EventInfo &eventInfo) in SendRequestEvent() argument
53 auto code = eventInfo.errorType; in SendRequestEvent()
56 HiSysEvent::EventType::BEHAVIOR, EVENT_KEY_REQUEST_TYPE, eventInfo.type, EVENT_KEY_REQUEST_DATA, in SendRequestEvent()
57 eventInfo.data); in SendRequestEvent()
60 EVENT_KEY_REQUEST_TYPE, eventInfo.type, EVENT_KEY_REQUEST_DATA, eventInfo.data, in SendRequestEvent()
61 EVENT_KEY_ERROR_TYPE, eventInfo.errorType, EVENT_KEY_ERROR_MSG, in SendRequestEvent()
142 EventInfo eventInfo; in RegisterService() local
143 eventInfo.type = static_cast<int32_t>(MdnsServiceInterfaceCode::CMD_REGISTER); in RegisterService()
144 eventInfo in RegisterService()
157 EventInfo eventInfo; UnRegisterService() local
244 EventInfo eventInfo; StartDiscoverService() local
259 EventInfo eventInfo; StopDiscoverService() local
274 EventInfo eventInfo; ResolveService() local
[all...]
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/mock/src/
H A Drdb_fault_hiview_reporter.cpp20 void RdbFaultHiViewReporter::ReportFault(const RdbCorruptedEvent &eventInfo) in ReportFault() argument
22 (void)eventInfo; in ReportFault()
25 void RdbFaultHiViewReporter::ReportRestore(const RdbCorruptedEvent &eventInfo, bool repair) in ReportRestore() argument
27 (void)eventInfo; in ReportRestore()
30 void RdbFaultHiViewReporter::Report(const RdbCorruptedEvent &eventInfo) in Report() argument
32 (void)eventInfo; in Report()
65 RdbCorruptedEvent eventInfo; in Create() local
66 return eventInfo; in Create()
74 void RdbFaultHiViewReporter::Update(RdbCorruptedEvent &eventInfo, const std::map<std::string, DebugInfo> &infos) in Update() argument
76 (void)eventInfo; in Update()
80 GetBundleName(const RdbCorruptedEvent &eventInfo) GetBundleName() argument
[all...]

Completed in 17 milliseconds

1234567891011