Home
last modified time | relevance | path

Searched refs:eventContent (Results 1 – 25 of 60) sorted by relevance

123

/ohos5.0/foundation/distributedhardware/distributed_screen/services/screenservice/test/unittest/sinkservice/screenregionmgr/1.0/src/
H A Dscreenregionmgr_test.cpp79 std::string eventContent = "eventContent"; variable
80 ScreenRegionManager::GetInstance().HandleDScreenNotify(remoteDevId, eventCode, eventContent);
86 ScreenRegionManager::GetInstance().GetScreenDumpInfo(eventContent);
88 ScreenRegionManager::GetInstance().GetScreenDumpInfo(eventContent);
92 ScreenRegionManager::GetInstance().GetScreenDumpInfo(eventContent);
96 ScreenRegionManager::GetInstance().GetScreenDumpInfo(eventContent);
121 const std::string eventContent = "sourceEvent"; variable
143 ScreenRegionManager::GetInstance().HandleNotifySetUp(remoteDevId, eventContent);
164 ScreenRegionManager::GetInstance().HandleNotifySetUp(remoteDevId, eventContent);
184 ScreenRegionManager::GetInstance().HandleNotifySetUp(remoteDevId, eventContent);
[all …]
/ohos5.0/foundation/distributedhardware/distributed_screen/services/screenservice/test/unittest/sinkservice/dscreenservice/src/
H A Ddscreen_sink_stub_test.cpp68 const std::string &eventContent) in DScreenNotify() argument
72 eventContent_ = eventContent; in DScreenNotify()
181 std::string eventContent = "eventContent000"; variable
202 std::string eventContent = ""; variable
205 data.WriteString(eventContent);
224 std::string eventContent = ""; variable
227 data.WriteString(eventContent);
246 std::string eventContent = ""; variable
249 data.WriteString(eventContent);
290 std::string eventContent = "test"; variable
[all …]
/ohos5.0/foundation/distributedhardware/distributed_screen/services/screenservice/test/unittest/sourceservice/dscreenmgr/1.0/src/
H A Ddscreen_manager_test.cpp261 std::string eventContent = "eventContent111"; variable
262 DScreenManager::GetInstance().HandleDScreenNotify(devId, eventCode, eventContent);
265 DScreenManager::GetInstance().HandleDScreenNotify(devId, eventCode, eventContent);
281 std::string eventContent = "eventContent111"; variable
334 std::string eventContent = "{\"width\":\"width000\",\"errCode\":0}"; variable
335 DScreenManager::GetInstance().HandleNotifySetUpResult("remoteDevId", eventContent);
338 DScreenManager::GetInstance().HandleNotifySetUpResult("remoteDevId", eventContent);
340 eventContent = "{\"dhId\":\"dhId999\",\"errCode\":0,\"width\":\"width000\"}";
341 DScreenManager::GetInstance().HandleNotifySetUpResult("remoteDevId", eventContent);
344 DScreenManager::GetInstance().HandleNotifySetUpResult("remoteDevId", eventContent);
[all …]
/ohos5.0/foundation/distributedhardware/distributed_camera/services/cameraservice/base/src/
H A Ddcamera_event_cmd.cpp94 cJSON *eventContent = cJSON_GetObjectItemCaseSensitive(valueJson, "EventContent"); in Unmarshal() local
95 …if (eventContent == nullptr || !cJSON_IsString(eventContent) || (eventContent->valuestring == null… in Unmarshal()
99 event->eventContent_ = eventContent->valuestring; in Unmarshal()
/ohos5.0/foundation/distributedhardware/distributed_screen/services/screenservice/sinkservice/screenregionmgr/1.0/src/
H A Dscreenregionmgr.cpp70 const std::string &eventContent) in HandleDScreenNotify() argument
75 HandleNotifySetUp(remoteDevId, eventContent); in HandleDScreenNotify()
132 …enRegionManager::HandleNotifySetUp(const std::string &remoteDevId, const std::string &eventContent) in HandleNotifySetUp() argument
135 json eventContentJson = json::parse(eventContent, nullptr, false); in HandleNotifySetUp()
202 std::string eventContent = eventContentJson.dump(); in NotifyRemoteSourceSetUpResult() local
204 NotifyRemoteScreenService(remoteDevId, dhId, eventCode, eventContent); in NotifyRemoteSourceSetUpResult()
208 int32_t eventCode, const std::string &eventContent) in NotifyRemoteScreenService() argument
224 remoteSourceSA->DScreenNotify(localDevId, eventCode, eventContent); in NotifyRemoteScreenService()
/ohos5.0/foundation/distributedhardware/distributed_audio/services/audiomanager/managersink/src/
H A Ddaudio_sink_manager.cpp131 const int32_t eventType, const std::string &eventContent) in HandleDAudioNotify() argument
134 GetAnonyString(devId).c_str(), eventType, eventContent.c_str()); in HandleDAudioNotify()
136 if (eventContent.length() > DAUDIO_MAX_JSON_LEN || eventContent.empty() in HandleDAudioNotify()
142 cJSON *jParam = cJSON_Parse(eventContent.c_str()); in HandleDAudioNotify()
158 NotifyEvent(devId, eventType, eventContent); in HandleDAudioNotify()
200 std::string eventContent = std::string(jsonData); in CreateAudioDevice() local
205 NotifyEvent(devId, CTRL_OPENED, eventContent); in CreateAudioDevice()
243 const std::string &eventContent) in DAudioNotify() argument
253 sinkProxy->second->DAudioNotify(localNetworkId_, dhId, eventType, eventContent); in DAudioNotify()
270 remoteSvrProxy->DAudioNotify(localNetworkId_, dhId, eventType, eventContent); in DAudioNotify()
[all …]
/ohos5.0/foundation/distributedhardware/distributed_screen/services/screenservice/sourceservice/dscreenmgr/1.0/src/
H A Ddscreen_manager.cpp392 const std::string &eventContent) in HandleDScreenNotify() argument
397 HandleNotifySetUpResult(devId, eventContent); in HandleDScreenNotify()
405 const std::string &eventContent) in NotifyRemoteScreenService() argument
421 remoteSinkSA->DScreenNotify(localDevId, eventCode, eventContent); in NotifyRemoteScreenService()
500 std::string eventContent = eventContentJson.dump(); in NotifyRemoteSinkSetUp() local
502 NotifyRemoteScreenService(devId, eventCode, eventContent); in NotifyRemoteSinkSetUp()
505 bool DScreenManager::CheckContent(json &eventContent) in CheckContent() argument
507 if (!IsString(eventContent, KEY_DH_ID)) { in CheckContent()
510 if (!IsInt32(eventContent, KEY_ERR_CODE)) { in CheckContent()
513 if (!IsString(eventContent, KEY_ERR_CONTENT)) { in CheckContent()
[all …]
/ohos5.0/drivers/hdf_core/adapter/uhdf2/osal/src/
H A Dosal_sysevent.c104 const char *eventContent = HdfSbufReadString(data); in OnKEventReceived() local
105 eventContent = eventContent == NULL ? "" : eventContent; in OnKEventReceived()
112 notifyNode, receivedEvent->eventClass, receivedEvent->eventid, eventContent); in OnKEventReceived()
/ohos5.0/foundation/distributedhardware/distributed_screen/services/screenservice/sinkservice/screenregionmgr/1.0/include/
H A Dscreenregionmgr.h35 …eDScreenNotify(const std::string &remoteDevId, int32_t eventCode, const std::string &eventContent);
49 int32_t eventCode, const std::string &eventContent);
51 void HandleNotifySetUp(const std::string &remoteDevId, const std::string &eventContent);
/ohos5.0/foundation/distributedhardware/distributed_screen/services/screenservice/sourceservice/dscreenmgr/1.0/include/
H A Ddscreen_manager.h60 … HandleDScreenNotify(const std::string &devId, int32_t eventCode, const std::string &eventContent);
83 …yRemoteScreenService(const std::string &devId, int32_t eventCode, const std::string &eventContent);
85 bool CheckContent(json &eventContent);
86 void HandleNotifySetUpResult(const std::string &remoteDevId, const std::string &eventContent);
/ohos5.0/foundation/distributedhardware/distributed_screen/interfaces/innerkits/native_cpp/screen_sink/src/
H A Ddscreen_sink_proxy.cpp139 …kProxy::DScreenNotify(const std::string &devId, int32_t eventCode, const std::string &eventContent) in DScreenNotify() argument
141 if (devId.empty() || devId.size() > DID_MAX_SIZE || eventContent.empty() || in DScreenNotify()
142 eventContent.size() > PARAM_MAX_SIZE) { in DScreenNotify()
159 … if (!data.WriteString(devId) || !data.WriteInt32(eventCode) || !data.WriteString(eventContent)) { in DScreenNotify()
/ohos5.0/foundation/distributedhardware/distributed_screen/services/screenservice/sinkservice/dscreenservice/src/
H A Ddscreen_sink_stub.cpp133 std::string eventContent = data.ReadString(); in DScreenNotifyInner() local
134 if (devId.empty() || devId.size() > DID_MAX_SIZE || eventContent.empty() || in DScreenNotifyInner()
135 eventContent.size() > PARAM_MAX_SIZE) { in DScreenNotifyInner()
139 DScreenNotify(devId, eventCode, eventContent); in DScreenNotifyInner()
H A Ddscreen_sink_service.cpp116 …ervice::DScreenNotify(const std::string &devId, int32_t eventCode, const std::string &eventContent) in DScreenNotify() argument
119 GetAnonyString(devId).c_str(), eventCode, eventContent.c_str()); in DScreenNotify()
120 V1_0::ScreenRegionManager::GetInstance().HandleDScreenNotify(devId, eventCode, eventContent); in DScreenNotify()
/ohos5.0/foundation/distributedhardware/distributed_audio/interfaces/inner_kits/native_cpp/test/unittest/audiosinktest/src/
H A Ddaudio_sink_proxy_test.cpp86 const std::string eventContent = "eventContent"; variable
91 dAudioProxy->DAudioNotify(devId, dhId, eventType, eventContent);
94 dAudioProxy->DAudioNotify(devId, dhId, eventType, eventContent);
/ohos5.0/foundation/distributedhardware/distributed_screen/services/screenservice/test/fuzztest/sourceservice/dscreenmgr/dscreenmanager_fuzzer/
H A Ddscreenmanager_fuzzer.cpp116 std::string eventContent(reinterpret_cast<const char*>(data), size); in NotifyRemoteScreenServiceFuzzTest()
119 dscreenManager->NotifyRemoteScreenService(devId, eventCode, eventContent); in NotifyRemoteScreenServiceFuzzTest()
129 std::string eventContent(reinterpret_cast<const char*>(data), size); in HandleNotifySetUpResultFuzzTest()
132 dscreenManager->HandleNotifySetUpResult(remoteDevId, eventContent); in HandleNotifySetUpResultFuzzTest()
/ohos5.0/foundation/distributedhardware/distributed_audio/services/audiomanager/managersink/include/
H A Ddaudio_sink_manager.h53 const std::string &eventContent);
55 const std::string &eventContent);
57 …id NotifyEvent(const std::string &devId, const int32_t eventType, const std::string &eventContent);
/ohos5.0/foundation/distributedhardware/distributed_audio/services/audiomanager/test/fuzztest/sinkservicedaudionotify_fuzzer/
H A Dsinkservicedaudionotify_fuzzer.cpp37 std::string eventContent(reinterpret_cast<const char*>(data), size); in SinkServiceDAudioNotifyFuzzTest()
42 dAudioSinkService->DAudioNotify(devId, dhId, eventType, eventContent); in SinkServiceDAudioNotifyFuzzTest()
/ohos5.0/foundation/distributedhardware/distributed_audio/services/audiomanager/test/fuzztest/sourceservicedaudionotify_fuzzer/
H A Dsourceservicedaudionotify_fuzzer.cpp37 std::string eventContent(reinterpret_cast<const char*>(data), size); in SourceServiceDAudioNotifyFuzzTest()
42 dAudioSourceService->DAudioNotify(devId, dhId, eventType, eventContent); in SourceServiceDAudioNotifyFuzzTest()
/ohos5.0/foundation/distributedhardware/distributed_audio/services/audiomanager/managersource/src/
H A Ddaudio_source_manager.cpp286 const int32_t eventType, const std::string &eventContent) in HandleDAudioNotify() argument
289 GetAnonyString(devId).c_str(), eventType, eventContent.c_str()); in HandleDAudioNotify()
290 if (eventContent.length() > DAUDIO_MAX_JSON_LEN || eventContent.empty()) { in HandleDAudioNotify()
295 cJSON *jParam = cJSON_Parse(eventContent.c_str()); in HandleDAudioNotify()
313 AudioEvent audioEvent(eventType, eventContent); in HandleDAudioNotify()
320 const std::string &eventContent) in DAudioNotify() argument
329 sinkProxy->second->DAudioNotify(localDevId_, dhId, eventType, eventContent); in DAudioNotify()
344 remoteSvrProxy->DAudioNotify(localDevId_, dhId, eventType, eventContent); in DAudioNotify()
/ohos5.0/foundation/distributedhardware/distributed_screen/interfaces/innerkits/native_cpp/test/fuzztest/dscreen_sink_proxy/sinkproxydscreennotify_fuzzer/
H A Dsinkproxydscreennotify_fuzzer.cpp37 std::string eventContent(reinterpret_cast<const char*>(data), size); in DScreenNotifyFuzzTest()
51 dscreenSinkProxy->DScreenNotify(devId, eventCode, eventContent); in DScreenNotifyFuzzTest()
/ohos5.0/foundation/distributedhardware/distributed_screen/interfaces/innerkits/native_cpp/test/fuzztest/dscreen_source_proxy/proxydscreennotify_fuzzer/
H A Ddscreennotify_fuzzer.cpp37 std::string eventContent(reinterpret_cast<const char*>(data), size); in DScreenNotifyFuzzTest()
52 dscreenSourceProxy->DScreenNotify(devId, eventCode, eventContent); in DScreenNotifyFuzzTest()
/ohos5.0/foundation/distributedhardware/distributed_audio/interfaces/inner_kits/native_cpp/test/fuzztest/sinkproxydaudionotify_fuzzer/
H A Dsinkproxydaudionotify_fuzzer.cpp37 std::string eventContent(reinterpret_cast<const char*>(data), size); in SinkProxyDAudioNotifyFuzzTest()
49 dAudioProxy->DAudioNotify(devId, dhId, eventType, eventContent); in SinkProxyDAudioNotifyFuzzTest()
/ohos5.0/foundation/distributedhardware/distributed_audio/interfaces/inner_kits/native_cpp/test/fuzztest/sourceproxydaudionotify_fuzzer/
H A Dsourceproxydaudionotify_fuzzer.cpp37 std::string eventContent(reinterpret_cast<const char*>(data), size); in SourceProxyDAudioNotifyFuzzTest()
49 dAudioProxy->DAudioNotify(devId, dhId, eventType, eventContent); in SourceProxyDAudioNotifyFuzzTest()
/ohos5.0/foundation/distributedhardware/distributed_screen/services/screenservice/test/fuzztest/sourceservice/dscreenservice/dscreensourceservice_fuzzer/
H A Ddscreensourceservice_fuzzer.cpp40 std::string eventContent(reinterpret_cast<const char*>(data), size); in DscreenSourceServiceFuzzTest()
48 sourceServicePtr->DScreenNotify(devId, eventCode, eventContent); in DscreenSourceServiceFuzzTest()
/ohos5.0/foundation/distributedhardware/distributed_screen/interfaces/innerkits/native_cpp/screen_source/src/
H A Ddscreen_source_proxy.cpp176 …eProxy::DScreenNotify(const std::string &devId, int32_t eventCode, const std::string &eventContent) in DScreenNotify() argument
178 if (devId.empty() || devId.size() > DID_MAX_SIZE || eventContent.empty() || in DScreenNotify()
179 eventContent.size() > PARAM_MAX_SIZE) { in DScreenNotify()
197 … if (!data.WriteString(devId) || !data.WriteInt32(eventCode) || !data.WriteString(eventContent)) { in DScreenNotify()

123