Home
last modified time | relevance | path

Searched refs:eventName (Results 1 - 25 of 209) sorted by relevance

123456789

/foundation/ability/ability_runtime/test/unittest/event_report_test/
H A Devent_report_test.cpp51 EventName eventName = static_cast<EventName>(-1); in HWTEST_F() local
52 EXPECT_EQ(EventReport::ConvertEventName(eventName), "INVALIDEVENTNAME"); in HWTEST_F()
109 EventName eventName = static_cast<EventName>(-1); in HWTEST_F() local
110 EXPECT_EQ(EventReport::ConvertEventName(eventName), "INVALIDEVENTNAME"); in HWTEST_F()
113 EventReport::SendAppEvent(eventName, type, eventInfo); in HWTEST_F()
124 EventName eventName = EventName::APP_STARTUP_TYPE; in HWTEST_F() local
125 EXPECT_EQ(EventReport::ConvertEventName(eventName), "APP_STARTUP_TYPE"); in HWTEST_F()
128 EventReport::SendAppEvent(eventName, type, eventInfo); in HWTEST_F()
139 EventName eventName = EventName::DRAWN_COMPLETED; in HWTEST_F() local
140 EXPECT_EQ(EventReport::ConvertEventName(eventName), "DRAWN_COMPLETE in HWTEST_F()
155 EventName eventName = EventName::APP_ATTACH; HWTEST_F() local
170 EventName eventName = static_cast<EventName>(-1); HWTEST_F() local
185 EventName eventName = EventName::START_ABILITY_ERROR; HWTEST_F() local
200 EventName eventName = EventName::TERMINATE_ABILITY_ERROR; HWTEST_F() local
215 EventName eventName = EventName::START_ABILITY; HWTEST_F() local
230 EventName eventName = EventName::TERMINATE_ABILITY; HWTEST_F() local
245 EventName eventName = EventName::CLOSE_ABILITY; HWTEST_F() local
260 EventName eventName = EventName::ABILITY_ONFOREGROUND; HWTEST_F() local
275 EventName eventName = EventName::ABILITY_ONBACKGROUND; HWTEST_F() local
290 EventName eventName = EventName::ABILITY_ONACTIVE; HWTEST_F() local
306 EventName eventName = EventName::ABILITY_ONINACTIVE; HWTEST_F() local
322 EventName eventName = EventName::DISCONNECT_SERVICE; HWTEST_F() local
338 EventName eventName = static_cast<EventName>(-1); HWTEST_F() local
353 EventName eventName = EventName::START_EXTENSION_ERROR; HWTEST_F() local
368 EventName eventName = EventName::STOP_EXTENSION_ERROR; HWTEST_F() local
383 EventName eventName = EventName::CONNECT_SERVICE_ERROR; HWTEST_F() local
398 EventName eventName = EventName::DISCONNECT_SERVICE_ERROR; HWTEST_F() local
413 EventName eventName = EventName::START_SERVICE; HWTEST_F() local
428 EventName eventName = static_cast<EventName>(-1); HWTEST_F() local
443 EventName eventName = EventName::GRANT_URI_PERMISSION; HWTEST_F() local
458 EventName eventName = EventName::FA_SHOW_ON_LOCK; HWTEST_F() local
473 EventName eventName = EventName::START_PRIVATE_ABILITY; HWTEST_F() local
488 EventName eventName = EventName::RESTART_PROCESS_BY_SAME_APP; HWTEST_F() local
503 EventName eventName = EventName::START_SERVICE; HWTEST_F() local
518 EventName eventName = static_cast<EventName>(-1); HWTEST_F() local
535 EventName eventName = static_cast<EventName>(-1); HWTEST_F() local
552 EventName eventName = static_cast<EventName>(-1); HWTEST_F() local
569 EventName eventName = static_cast<EventName>(-1); HWTEST_F() local
588 EventName eventName = static_cast<EventName>(-1); HWTEST_F() local
607 EventName eventName = static_cast<EventName>(-1); HWTEST_F() local
624 EventName eventName = static_cast<EventName>(-1); HWTEST_F() local
641 EventName eventName = static_cast<EventName>(-1); HWTEST_F() local
658 EventName eventName = static_cast<EventName>(-1); HWTEST_F() local
675 EventName eventName = static_cast<EventName>(-1); HWTEST_F() local
691 EventName eventName = static_cast<EventName>(-1); HWTEST_F() local
[all...]
/foundation/ability/form_fwk/test/unittest/fms_form_event_report_test/
H A Dfms_form_event_report_test.cpp56 FormEventName eventName = static_cast<FormEventName>(-1); in HWTEST_F() local
57 EXPECT_EQ(FormEventReport::ConvertEventName(eventName), "INVALIDEVENTNAME"); in HWTEST_F()
60 FormEventReport::SendFormEvent(eventName, type, eventInfo); in HWTEST_F()
71 FormEventName eventName = FormEventName::DELETE_INVALID_FORM; in HWTEST_F() local
72 EXPECT_EQ(FormEventReport::ConvertEventName(eventName), "DELETE_INVALID_FORM"); in HWTEST_F()
75 FormEventReport::SendFormEvent(eventName, type, eventInfo); in HWTEST_F()
86 FormEventName eventName = FormEventName::ACQUIREFORMSTATE_FORM; in HWTEST_F() local
87 EXPECT_EQ(FormEventReport::ConvertEventName(eventName), "ACQUIREFORMSTATE_FORM"); in HWTEST_F()
90 FormEventReport::SendFormEvent(eventName, type, eventInfo); in HWTEST_F()
101 FormEventName eventName in HWTEST_F() local
116 FormEventName eventName = FormEventName::ADD_FORM; HWTEST_F() local
131 FormEventName eventName = FormEventName::ROUTE_EVENT_FORM; HWTEST_F() local
146 FormEventName eventName = FormEventName::REQUEST_FORM; HWTEST_F() local
161 FormEventName eventName = static_cast<FormEventName>(-1); HWTEST_F() local
176 FormEventName eventName = FormEventName::REQUEST_FORM; HWTEST_F() local
191 FormEventName eventName = FormEventName::BACKGROUND_EVENT_FORM; HWTEST_F() local
206 FormEventName eventName = FormEventName::DELETE_FORM; HWTEST_F() local
221 FormEventName eventName = FormEventName::CASTTEMP_FORM; HWTEST_F() local
236 FormEventName eventName = FormEventName::RELEASE_FORM; HWTEST_F() local
251 FormEventName eventName = FormEventName::SET_NEXT_REFRESH_TIME_FORM; HWTEST_F() local
266 FormEventName eventName = FormEventName::FORM_RENDER_BLOCK; HWTEST_F() local
281 FormEventName eventName = FormEventName::ROUTE_EVENT_FORM; HWTEST_F() local
295 FormEventName eventName = FormEventName::UNBIND_FORM_APP; HWTEST_F() local
[all...]
/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/
H A Dlistener_base.cpp35 void ListenerBase::SaveCallbackReference(const std::string eventName, napi_value callback, bool isOnce) in SaveCallbackReference() argument
38 MEDIA_ERR_LOG("SaveCallbackReference:%s js callback is nullptr, save nothing", eventName.c_str()); in SaveCallbackReference()
44 MEDIA_ERR_LOG("SaveCallbackReference:%s js callback valueType is not function", eventName.c_str()); in SaveCallbackReference()
47 auto& callbackList = GetCallbackList(eventName); in SaveCallbackReference()
54 MEDIA_DEBUG_LOG("Save callback reference success, %s callback list size [%{public}zu]", eventName.c_str(), in SaveCallbackReference()
58 void ListenerBase::RemoveCallbackRef(const std::string eventName, napi_value callback) in RemoveCallbackRef() argument
62 RemoveAllCallbacks(eventName); in RemoveCallbackRef()
65 auto& callbackList = GetCallbackList(eventName); in RemoveCallbackRef()
70 MEDIA_INFO_LOG("RemoveCallbackReference: find %s callback, delete it", eventName.c_str()); in RemoveCallbackRef()
75 MEDIA_INFO_LOG("RemoveCallbackReference: %s callback not find", eventName in RemoveCallbackRef()
78 ExecuteCallback(const std::string eventName, const ExecuteCallbackNapiPara& callbackPara) const ExecuteCallback() argument
96 RemoveAllCallbacks(const std::string eventName) RemoveAllCallbacks() argument
[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, cons
[all...]
/foundation/distributedhardware/distributed_camera/common/test/unittest/common/utils/
H A Ddcamera_hisysevent_adapter_test.cpp66 std::string eventName = "test001"; in HWTEST_F() local
69 ReportDcamerInitFail(eventName, errCode, errMsg); in HWTEST_F()
70 std::string ret = CreateMsg(eventName.c_str()); in HWTEST_F()
82 std::string eventName = "test002"; in HWTEST_F() local
87 ReportRegisterCameraFail(eventName, devId, dhId, version, errMsg); in HWTEST_F()
88 std::string ret = CreateMsg(eventName.c_str()); in HWTEST_F()
100 std::string eventName = "test003"; in HWTEST_F() local
105 ReportRegisterCameraEvent(eventName, devId, dhId, version, errMsg); in HWTEST_F()
106 std::string ret = CreateMsg(eventName.c_str()); in HWTEST_F()
118 std::string eventName in HWTEST_F() local
135 std::string eventName = "test005"; HWTEST_F() local
[all...]
/foundation/resourceschedule/resource_schedule_service/ressched/sched_controller/test/unittest/
H A Dobserver_event_test.cpp119 std::string eventName = "INVAILD"; in HWTEST_F() local
120 sysEvent["name_"] = eventName; in HWTEST_F()
124 hisysEventObserver_->ProcessAvCodecEvent(sysEvent, eventName); in HWTEST_F()
130 hisysEventObserver_->ProcessAvCodecEvent(sysEvent, eventName); in HWTEST_F()
137 hisysEventObserver_->ProcessAvCodecEvent(sysEvent, eventName); in HWTEST_F()
142 eventName = "CODEC_START_INFO"; in HWTEST_F()
143 sysEvent["name_"] = eventName; in HWTEST_F()
144 hisysEventObserver_->ProcessAvCodecEvent(sysEvent, eventName); in HWTEST_F()
148 eventName = "CODEC_STOP_INFO"; in HWTEST_F()
149 sysEvent["name_"] = eventName; in HWTEST_F()
169 std::string eventName = "INVAILD"; HWTEST_F() local
220 std::string eventName = "INVAILD"; HWTEST_F() local
260 std::string eventName = "INVAILD"; HWTEST_F() local
292 std::string eventName = "INVAILD"; HWTEST_F() local
330 std::string eventName = "INVAILD"; HWTEST_F() local
397 std::string eventName = "INVAILD"; HWTEST_F() local
418 std::string eventName = "CAMERA_CONNECT"; HWTEST_F() local
[all...]
/foundation/distributedhardware/distributed_audio/common/dfx_utils/src/
H A Ddaudio_hisysevent.cpp25 void DAudioHisysevent::SysEventWriteBehavior(const std::string &eventName, const std::string &msg) in SysEventWriteBehavior() argument
29 eventName, in SysEventWriteBehavior()
34 void DAudioHisysevent::SysEventWriteBehavior(const std::string &eventName, int32_t saId, const std::string &msg) in SysEventWriteBehavior() argument
38 eventName, in SysEventWriteBehavior()
44 void DAudioHisysevent::SysEventWriteBehavior(const std::string &eventName, const std::string &devId, in SysEventWriteBehavior() argument
49 eventName, in SysEventWriteBehavior()
56 void DAudioHisysevent::SysEventWriteFault(const std::string &eventName, const std::string &msg) in SysEventWriteFault() argument
60 eventName, in SysEventWriteFault()
65 void DAudioHisysevent::SysEventWriteFault(const std::string &eventName, int32_t saId, int32_t errorCode, in SysEventWriteFault() argument
70 eventName, in SysEventWriteFault()
77 SysEventWriteFault(const std::string &eventName, int32_t errorCode, const std::string &msg) SysEventWriteFault() argument
87 SysEventWriteFault(const std::string &eventName, const std::string &devId, const std::string &dhId, int32_t errorCode, const std::string &msg) SysEventWriteFault() argument
[all...]
/foundation/multimedia/av_session/utils/include/
H A Davsession_sysevent.h66 static int HiSysWriteFault(const std::string& eventName, Types... keyValues) in HiSysWriteFault() argument
68 return HiSysEventWrite(OHOS::HiviewDFX::HiSysEvent::Domain::AV_SESSION, eventName, in HiSysWriteFault()
73 static int HiSysWriteStatistic(const std::string& eventName, Types... keyValues) in HiSysWriteStatistic() argument
75 return HiSysEventWrite(OHOS::HiviewDFX::HiSysEvent::Domain::AV_SESSION, eventName, in HiSysWriteStatistic()
80 static int HiSysWriteSecurity(const std::string& eventName, Types... keyValues) in HiSysWriteSecurity() argument
82 return HiSysEventWrite(OHOS::HiviewDFX::HiSysEvent::Domain::AV_SESSION, eventName, in HiSysWriteSecurity()
87 static int HiSysWriteBehavior(const std::string& eventName, Types... keyValues) in HiSysWriteBehavior() argument
89 return HiSysEventWrite(OHOS::HiviewDFX::HiSysEvent::Domain::AV_SESSION, eventName, in HiSysWriteBehavior()
119 #define HISYSEVENT_FAULT(eventName, ...) ((void)AVSessionSysEvent::HiSysWriteFault(eventName, __VA_ARGS_
[all...]
/foundation/distributedhardware/distributed_screen/common/src/
H A Ddscreen_hisysevent.cpp25 void ReportSaFail(const std::string &eventName, int32_t errCode, int32_t saId, const std::string &errMsg) in ReportSaFail() argument
29 eventName, in ReportSaFail()
39 void ReportRegisterFail(const std::string &eventName, int32_t errCode, const std::string &devId, in ReportRegisterFail() argument
42 int32_t res = HiSysEventWrite(OHOS::HiviewDFX::HiSysEvent::Domain::DISTRIBUTED_SCREEN, eventName, in ReportRegisterFail()
50 void ReportUnRegisterFail(const std::string &eventName, int32_t errCode, const std::string &devId, in ReportUnRegisterFail() argument
55 eventName, in ReportUnRegisterFail()
66 void ReportOptFail(const std::string &eventName, int32_t errCode, const std::string &errMsg) in ReportOptFail() argument
70 eventName, in ReportOptFail()
79 void ReportSaEvent(const std::string &eventName, int32_t saId, const std::string &errMsg) in ReportSaEvent() argument
83 eventName, in ReportSaEvent()
92 ReportRegisterScreenEvent(const std::string &eventName, const std::string &devId, const std::string &dhId, const std::string &errMsg) ReportRegisterScreenEvent() argument
103 ReportUnRegisterScreenEvent(const std::string &eventName, const std::string &devId, const std::string &dhId, const std::string &errMsg) ReportUnRegisterScreenEvent() argument
114 ReportScreenMirrorEvent(const std::string &eventName, const std::string &devId, const std::string &dhId, const std::string &errMsg) ReportScreenMirrorEvent() argument
[all...]
/foundation/resourceschedule/resource_schedule_service/ressched/sched_controller/observer/src/
H A Dhisysevent_observer.cpp46 {"RUNNINGLOCK", [this](const nlohmann::json& root, const std::string& eventName) { in HiSysEventObserver()
47 this->ProcessRunningLockEvent(root, eventName); in HiSysEventObserver()
49 {"STREAM_CHANGE", [this](const nlohmann::json& root, const std::string& eventName) { in HiSysEventObserver()
50 this->ProcessAudioEvent(root, eventName); in HiSysEventObserver()
52 {"CAMERA_CONNECT", [this](const nlohmann::json& root, const std::string& eventName) { in HiSysEventObserver()
53 this->ProcessCameraEvent(root, eventName); in HiSysEventObserver()
55 {"CAMERA_DISCONNECT", [this](const nlohmann::json& root, const std::string& eventName) { in HiSysEventObserver()
56 this->ProcessCameraEvent(root, eventName); in HiSysEventObserver()
58 {"BR_SWITCH_STATE", [this](const nlohmann::json& root, const std::string& eventName) { in HiSysEventObserver()
59 this->ProcessBluetoothEvent(root, eventName); in HiSysEventObserver()
111 std::string eventName = root.at("name_").get<std::string>(); OnEvent() local
116 ProcessHiSysEvent(const std::string& eventName, const nlohmann::json& root) ProcessHiSysEvent() argument
132 ProcessAvCodecEvent(const nlohmann::json& root, const std::string& eventName) ProcessAvCodecEvent() argument
165 ProcessRunningLockEvent(const nlohmann::json& root, const std::string& eventName) ProcessRunningLockEvent() argument
218 ProcessAudioEvent(const nlohmann::json& root, const std::string& eventName) ProcessAudioEvent() argument
265 ProcessCameraEvent(const nlohmann::json& root, const std::string& eventName) ProcessCameraEvent() argument
290 ProcessBluetoothEvent(const nlohmann::json& root, const std::string& eventName) ProcessBluetoothEvent() argument
325 ProcessWifiEvent(const nlohmann::json& root, const std::string& eventName) ProcessWifiEvent() argument
[all...]
/foundation/distributedhardware/distributed_camera/common/src/utils/
H A Ddcamera_hisysevent_adapter.cpp40 void ReportDcamerInitFail(const std::string& eventName, int32_t errCode, const std::string& errMsg) in ReportDcamerInitFail() argument
43 eventName, in ReportDcamerInitFail()
52 void ReportRegisterCameraFail(const std::string& eventName, const std::string& devId, const std::string& dhId, in ReportRegisterCameraFail() argument
56 eventName, in ReportRegisterCameraFail()
68 void ReportDcamerOptFail(const std::string& eventName, int32_t errCode, const std::string& errMsg) in ReportDcamerOptFail() argument
71 eventName, in ReportDcamerOptFail()
80 void ReportSaEvent(const std::string& eventName, int32_t saId, const std::string& errMsg) in ReportSaEvent() argument
83 eventName, in ReportSaEvent()
92 void ReportRegisterCameraEvent(const std::string& eventName, const std::string& devId, const std::string& dhId, in ReportRegisterCameraEvent() argument
96 eventName, in ReportRegisterCameraEvent()
107 ReportCameraOperaterEvent(const std::string& eventName, const std::string& devId, const std::string& dhId, const std::string& errMsg) ReportCameraOperaterEvent() argument
121 ReportStartCaptureEvent(const std::string& eventName, EventCaptureInfo& capture, const std::string& errMsg) ReportStartCaptureEvent() argument
[all...]
/foundation/multimedia/camera_framework/interfaces/kits/js/camera_napi/include/
H A Dlistener_base.h39 virtual void SaveCallbackReference(const std::string eventName, napi_value callback, bool isOnce) final;
40 virtual void ExecuteCallback(const std::string eventName, const ExecuteCallbackNapiPara& callbackPara) const final;
41 virtual void RemoveCallbackRef(const std::string eventName, napi_value callback) final;
42 virtual void RemoveAllCallbacks(const std::string eventName) final;
43 virtual bool IsEmpty(const std::string eventName) const final;
54 inline CallbackList& GetCallbackList(const std::string eventName) const in GetCallbackList()
57 auto it = namedCallbackMap_.find(eventName); in GetCallbackList()
60 namedCallbackMap_.emplace(eventName, callbackList); in GetCallbackList()
/foundation/distributedhardware/distributed_screen/common/include/
H A Ddscreen_hisysevent.h35 void ReportSaFail(const std::string &eventName, int32_t errCode, int32_t saId, const std::string &errMsg);
36 void ReportRegisterFail(const std::string &eventName, int32_t errCode, const std::string &devId,
38 void ReportUnRegisterFail(const std::string &eventName, int32_t errCode, const std::string &devId,
40 void ReportOptFail(const std::string &eventName, int32_t errCode, const std::string &errMsg);
42 void ReportSaEvent(const std::string &eventName, int32_t saId, const std::string &errMsg);
43 void ReportRegisterScreenEvent(const std::string &eventName, const std::string &devId, const std::string &dhId,
45 void ReportUnRegisterScreenEvent(const std::string &eventName, const std::string &devId, const std::string &dhId,
47 void ReportScreenMirrorEvent(const std::string &eventName, const std::string &devId, const std::string &dhId,
/foundation/resourceschedule/resource_schedule_service/ressched/sched_controller/observer/include/
H A Dhisysevent_observer.h31 void ProcessHiSysEvent(const std::string& eventName, const nlohmann::json& root);
37 void ProcessAvCodecEvent(const nlohmann::json& root, const std::string& eventName);
38 void ProcessRunningLockEvent(const nlohmann::json& root, const std::string& eventName);
39 void ProcessAudioEvent(const nlohmann::json& root, const std::string& eventName);
40 void ProcessCameraEvent(const nlohmann::json& root, const std::string& eventName);
41 void ProcessBluetoothEvent(const nlohmann::json& root, const std::string& eventName);
42 void ProcessWifiEvent(const nlohmann::json& root, const std::string& eventName);
/foundation/distributedhardware/distributed_camera/common/include/utils/
H A Ddcamera_hisysevent_adapter.h54 void ReportDcamerInitFail(const std::string& eventName, int32_t errCode, const std::string& errMsg);
55 void ReportRegisterCameraFail(const std::string& eventName, const std::string& devId, const std::string& dhId,
57 void ReportDcamerOptFail(const std::string& eventName, int32_t errCode, const std::string& errMsg);
59 void ReportSaEvent(const std::string& eventName, int32_t saId, const std::string& errMsg);
60 void ReportRegisterCameraEvent(const std::string& eventName, const std::string& devId, const std::string& dhId,
62 void ReportCameraOperaterEvent(const std::string& eventName, const std::string& devId, const std::string& dhId,
64 void ReportStartCaptureEvent(const std::string& eventName, EventCaptureInfo& capture, const std::string& errMsg);
/foundation/distributedhardware/distributed_audio/common/dfx_utils/include/
H A Ddaudio_hisysevent.h46 void SysEventWriteBehavior(const std::string &eventName, const std::string &msg);
47 void SysEventWriteBehavior(const std::string &eventName, int32_t saId, const std::string &msg);
48 void SysEventWriteBehavior(const std::string &eventName, const std::string &devId, const std::string &dhId,
50 void SysEventWriteFault(const std::string &eventName, const std::string &msg);
51 void SysEventWriteFault(const std::string &eventName, int32_t saId, int32_t errorCode, const std::string &msg);
52 void SysEventWriteFault(const std::string &eventName, int32_t errorCode, const std::string &msg);
53 void SysEventWriteFault(const std::string &eventName, const std::string &devId, const std::string &dhId,
/foundation/ability/form_fwk/services/include/
H A Dform_event_report.h113 static void SendFormEvent(const FormEventName &eventName, HiSysEventType type, const FormEventInfo &eventInfo);
114 static void SendSecondFormEvent(const FormEventName &eventName, HiSysEventType type,
116 static void SendThirdFormEvent(const FormEventName &eventName, HiSysEventType type,
118 static void SendFormFailedEvent(const FormEventName &eventName, HiSysEventType type, int64_t errorType);
119 static void SendFirstAddFormEvent(const FormEventName &eventName, HiSysEventType type,
121 static void SendFirstUpdateFormEvent(const FormEventName &eventName, HiSysEventType type,
123 static void SendFourthFormEvent(const FormEventName &eventName, HiSysEventType type,
125 static void SendFormRefreshCountEvent(const FormEventName &eventName, HiSysEventType type,
128 static std::string ConvertEventName(const FormEventName &eventName);
/foundation/distributedhardware/distributed_screen/common/test/unittest/src/
H A Dscreen_common_test.cpp58 ReportSaFail(eventName, errCode, saId, errMsg); in HWTEST_F()
59 ReportSaFail(eventName, errCode, saId, errMsg); in HWTEST_F()
60 ReportRegisterFail(eventName, errCode, devId, dhId, errMsg); in HWTEST_F()
61 ReportUnRegisterFail(eventName, errCode, devId, dhId, errMsg); in HWTEST_F()
62 ReportOptFail(eventName, errCode, errMsg); in HWTEST_F()
63 ReportSaEvent(eventName, saId, errMsg); in HWTEST_F()
64 ReportRegisterScreenEvent(eventName, devId, dhId, errMsg); in HWTEST_F()
65 ReportUnRegisterScreenEvent(eventName, devId, dhId, errMsg); in HWTEST_F()
66 ReportScreenMirrorEvent(eventName, devId, dhId, errMsg); in HWTEST_F()
/foundation/ability/form_fwk/services/src/
H A Dform_event_report.cpp85 void FormEventReport::SendFormEvent(const FormEventName &eventName, HiSysEventType type, in SendFormEvent() argument
88 std::string name = ConvertEventName(eventName); in SendFormEvent()
90 HILOG_ERROR("invalid eventName"); in SendFormEvent()
94 switch (eventName) { in SendFormEvent()
132 void FormEventReport::SendSecondFormEvent(const FormEventName &eventName, HiSysEventType type, in SendSecondFormEvent() argument
135 std::string name = ConvertEventName(eventName); in SendSecondFormEvent()
137 HILOG_ERROR("invalid eventName"); in SendSecondFormEvent()
141 switch (eventName) { in SendSecondFormEvent()
175 void FormEventReport::SendThirdFormEvent(const FormEventName &eventName, HiSysEventType type, in SendThirdFormEvent() argument
178 std::string name = ConvertEventName(eventName); in SendThirdFormEvent()
200 SendFormFailedEvent(const FormEventName &eventName, HiSysEventType type, int64_t errorType) SendFormFailedEvent() 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
318 ConvertEventName(const FormEventName &eventName) ConvertEventName() 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
66 std::string name = ConvertEventName(eventName); in SendAppEvent()
68 TAG_LOGE(AAFwkTag::DEFAULT, "invalid eventName"); in SendAppEvent()
71 switch (eventName) { in SendAppEvent()
218 void EventReport::SendAbilityEvent(const EventName &eventName, HiSysEventType type, const EventInfo &eventInfo) in SendAbilityEvent() argument
221 std::string name = ConvertEventName(eventName); in SendAbilityEvent()
223 TAG_LOGE(AAFwkTag::DEFAULT, "invalid eventName"); in SendAbilityEvent()
226 switch (eventName) { in SendAbilityEvent()
259 void EventReport::SendAtomicServiceEvent(const EventName &eventName, HiSysEventType type, const EventInfo &eventInfo) in SendAtomicServiceEvent() argument
261 std::string name = ConvertEventName(eventName); in SendAtomicServiceEvent()
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
663 ConvertEventName(const EventName &eventName) ConvertEventName() argument
[all...]
/foundation/window/window_manager/utils/src/
H A Dpip_report.cpp80 std::string eventName = "START_PIP"; in ReportPiPStartWindow() local
82 OHOS::HiviewDFX::HiSysEvent::Domain::MULTIWINDOW_UE, eventName, in ReportPiPStartWindow()
102 std::string eventName = "STOP_PIP"; in ReportPiPStopWindow() local
104 OHOS::HiviewDFX::HiSysEvent::Domain::MULTIWINDOW_UE, eventName, in ReportPiPStopWindow()
119 std::string eventName = "CONTROL_PANNEL_ACTION_EVENT"; in ReportPiPActionEvent() local
126 OHOS::HiviewDFX::HiSysEvent::Domain::MULTIWINDOW_UE, eventName, in ReportPiPActionEvent()
153 std::string eventName = "UPDATE_PIP_RATIO"; in ReportPiPRatio() local
155 OHOS::HiviewDFX::HiSysEvent::Domain::MULTIWINDOW_UE, eventName, in ReportPiPRatio()
168 std::string eventName = "RESOTRE_PIP"; in ReportPiPRestore() local
170 OHOS::HiviewDFX::HiSysEvent::Domain::MULTIWINDOW_UE, eventName, in ReportPiPRestore()
[all...]
/foundation/communication/netmanager_ext/services/netfirewallmanager/src/
H A Dnetfirewall_hisysevent.cpp98 void NetFirewallHisysEvent::SendNetFirewallRuleFault(const NetFirewallEvent &event, const std::string &eventName) in SendNetFirewallRuleFault() argument
100 HiSysEventWrite(HiSysEvent::Domain::NETMANAGER_STANDARD, eventName, HiSysEvent::EventType::FAULT, in SendNetFirewallRuleFault()
105 void NetFirewallHisysEvent::SendNetFirewallRuleBehavior(const int32_t userId, const std::string &eventName) in SendNetFirewallRuleBehavior() argument
107 HiSysEventWrite(HiSysEvent::Domain::NETMANAGER_STANDARD, eventName, HiSysEvent::EventType::BEHAVIOR, in SendNetFirewallRuleBehavior()
111 void NetFirewallHisysEvent::SendNetFirewallFault(const NetFirewallEvent &event, const std::string &eventName) in SendNetFirewallFault() argument
113 HiSysEventWrite(HiSysEvent::Domain::NETMANAGER_STANDARD, eventName, HiSysEvent::EventType::FAULT, in SendNetFirewallFault()
118 void NetFirewallHisysEvent::SendNetFirewallBehavior(const int32_t userId, const std::string &eventName) in SendNetFirewallBehavior() argument
120 HiSysEventWrite(HiSysEvent::Domain::NETMANAGER_STANDARD, eventName, HiSysEvent::EventType::BEHAVIOR, in SendNetFirewallBehavior()
/foundation/bundlemanager/bundle_framework/test/resource/common/src/
H A Dstpageabilityevent.cpp27 bool STPageAbilityEvent::PublishEvent(const std::string &eventName, const int &code, const std::string &data) in PublishEvent() argument
30 want.SetAction(eventName); in PublishEvent()
138 auto eventName = data.GetWant().GetAction(); in OnReceiveEvent() local
142 if (eventName.compare("requ_page_ability_terminate") == 0) { in OnReceiveEvent()
148 if (eventName.compare("requ_get_process_memory_info") == 0) { in OnReceiveEvent()
150 if (eventName.compare("requ_disconnect_service") == 0) { in OnReceiveEvent()
159 if (eventName.compare("requ_page_ability_terminate_caller") == 0) { in OnReceiveEvent()
174 bool STPageAbilityEventSubscriber::PublishEvent(const std::string &eventName, const int &code, const std::string &data) in PublishEvent() argument
177 want.SetAction(eventName); in PublishEvent()
/foundation/communication/netmanager_ext/services/netfirewallmanager/include/
H A Dnetfirewall_hisysevent.h77 void SendNetFirewallRuleFault(const NetFirewallEvent &event, const std::string &eventName);
79 void SendNetFirewallRuleBehavior(const int32_t userId, const std::string &eventName);
81 void SendNetFirewallFault(const NetFirewallEvent &event, const std::string &eventName);
83 void SendNetFirewallBehavior(const int32_t userId, const std::string &eventName);
/foundation/multimedia/camera_framework/interfaces/kits/js/camera_napi/include/output/
H A Dphoto_output_napi.h140 void SaveCallback(const std::string eventName, napi_value callback);
141 void RemoveCallback(const std::string eventName, napi_value callback);
335 void RegisterQuickThumbnailCallbackListener(const std::string& eventName, napi_env env, napi_value callback,
338 const std::string& eventName, napi_env env, napi_value callback, const std::vector<napi_value>& args);
339 void RegisterPhotoAvailableCallbackListener(const std::string& eventName, napi_env env, napi_value callback,
342 const std::string& eventName, napi_env env, napi_value callback, const std::vector<napi_value>& args);
343 void RegisterDeferredPhotoProxyAvailableCallbackListener(const std::string& eventName, napi_env env,
346 const std::string& eventName, napi_env env, napi_value callback, const std::vector<napi_value>& args);
347 void RegisterPhotoAssetAvailableCallbackListener(const std::string& eventName, napi_env env, napi_value callback,
350 const std::string& eventName, napi_en
[all...]

Completed in 11 milliseconds

123456789