Home
last modified time | relevance | path

Searched refs:eventMsg (Results 1 – 25 of 32) sorted by relevance

12

/ohos5.0/base/telephony/ril_adapter/services/hril/src/
H A Dhril_event.cpp87 eventMsg->fd = eventIt->fd; in HasEventMessageFromPendingList()
88 eventMsg->func = eventIt->func; in HasEventMessageFromPendingList()
109 eventMsg.index = DEFAULT_INDEX; in EraseListenEvent()
111 FD_CLR(eventMsg.fd, &readFds_); in EraseListenEvent()
113 if (eventMsg.fd + 1 == nfds_) { in EraseListenEvent()
180 eventMsg.fd = fd; in SetTimerEvent()
181 eventMsg.index = DEFAULT_INDEX; in SetTimerEvent()
182 eventMsg.func = func; in SetTimerEvent()
183 eventMsg.param = param; in SetTimerEvent()
207 if (eventMsg.index < 0 || eventMsg.index >= LISTEN_FD_EVENTS_MAX) { in RemoveEventMessage()
[all …]
H A Dhril_timer_callback.cpp86 HRilEventMessage eventMsg = { 0 }; in HRilSetTimerCallbackInfo() local
89 event_->SetTimerEvent(eventMsg, event_->IVNALID_FD, false, funcCallback, pCbMsg); in HRilSetTimerCallbackInfo()
90 event_->AddTimerEvent(eventMsg, timeout); in HRilSetTimerCallbackInfo()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/
H A Drs_event_manager.cpp154 this->EventReport(eventMsg); in AddEvent()
189 if (eventMsg.pid != -1) { in EventReport()
192 eventMsg.stringId, in EventReport()
193 eventMsg.eventType, in EventReport()
194 "PID", eventMsg.pid, in EventReport()
195 "UID", eventMsg.uid, in EventReport()
196 "BUNDLE_NAME", eventMsg.bundleName, in EventReport()
198 "MSG", eventMsg.msg); in EventReport()
202 eventMsg.stringId, in EventReport()
203 eventMsg.eventType, in EventReport()
[all …]
H A Drs_event_detector.cpp81 RSSysEventMsg eventMsg = { in EventReport() local
91 eventCallback_(eventMsg); in EventReport()
/ohos5.0/base/telephony/ril_adapter/services/hril/include/
H A Dhril_event.h44 void AddTimerEvent(HRilEventMessage &eventMsg, const struct timeval &tv);
46 …HRilEventMessage &eventMsg, int32_t fd, bool isHolding, HRilEventCallback func, std::shared_ptr<vo…
47 void AddEventMessage(const HRilEventMessage &eventMsg);
48 void RemoveEventMessage(HRilEventMessage &eventMsg);
58 void EraseListenEvent(HRilEventMessage &eventMsg, int32_t index);
60 bool HasEventMessageFromPendingList(HRilEventMessage *eventMsg);
/ohos5.0/foundation/ability/form_fwk/services/src/
H A Dform_serial_queue.cpp55 void FormSerialQueue::ScheduleDelayTask(const std::pair<int64_t, int64_t> &eventMsg, in ScheduleDelayTask() argument
65 taskMap_[eventMsg] = std::move(task_handle); in ScheduleDelayTask()
69 void FormSerialQueue::CancelDelayTask(const std::pair<int64_t, int64_t> &eventMsg) in CancelDelayTask() argument
73 auto item = taskMap_.find(eventMsg); in CancelDelayTask()
84 taskMap_.erase(eventMsg); in CancelDelayTask()
H A Dform_task_mgr.cpp1300 void FormTaskMgr::CancelDelayTask(const std::pair<int64_t, int64_t> &eventMsg) in CancelDelayTask() argument
1303 eventMsg.first, eventMsg.second); in CancelDelayTask()
1309 serialQueue_->CancelDelayTask(eventMsg); in CancelDelayTask()
/ohos5.0/base/hiviewdfx/hiview/plugins/reliability/leak_detectors/
H A Dfault_detector_manager.cpp127 string eventMsg = sysEvent.GetEventValue("MSG"); in OnEventListeningCallback() local
128 if (eventMsg.empty()) { in OnEventListeningCallback()
129 eventMsg = sysEvent.eventName_; in OnEventListeningCallback()
135 …NativeLeakDetector::GetInstance().ProcessUserEvent(processName, eventMsg, sysEvent.GetEventIntValu… in OnEventListeningCallback()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/platform/ohos/
H A Drs_event_manager_test.cpp285 RSSysEventMsg eventMsg; variable
286 eventMsg.stringId = "1";
287 eventManager->EventReport(eventMsg);
288 eventMsg.stringId = "0";
289 eventManager->EventReport(eventMsg);
H A Drs_event_detector_test.cpp111 rsTimeOutDetector->eventCallback_ = [](const RSSysEventMsg& eventMsg) {}; in __anonadda610d0102() argument
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_supply_callback_test/
H A Dform_supply_callback_test.cpp305 constexpr int64_t eventMsg = 1; variable
308 formEventHandler.ProcessEvent(eventMsg, eventId);
325 constexpr int64_t eventMsg = 1; variable
328 formEventHandler.ProcessEvent(eventMsg, eventId);
347 constexpr int64_t eventMsg = 1; variable
350 formEventHandler.ProcessEvent(eventMsg, eventId);
/ohos5.0/foundation/ability/form_fwk/services/include/
H A Dform_serial_queue.h32 …void ScheduleDelayTask(const std::pair<int64_t, int64_t> &eventMsg, uint32_t ms, std::function<voi…
33 void CancelDelayTask(const std::pair<int64_t, int64_t> &eventMsg);
/ohos5.0/foundation/multimedia/player_framework/services/engine/histreamer/player/
H A Ddfx_agent.cpp85 void DfxAgent::ReportLagEvent(int64_t lagDuration, const std::string& eventMsg) in ReportLagEvent() argument
89 dfxTask_->SubmitJobOnce([agent, lagDuration, eventMsg] { in ReportLagEvent()
93 std::string msg = eventMsg; in ReportLagEvent()
95 lagDuration, eventMsg.c_str()); in ReportLagEvent()
H A Ddfx_agent.h49 void ReportLagEvent(int64_t lagDuration, const std::string& eventMsg);
/ohos5.0/base/msdp/device_status/frameworks/js/napi/interaction/drag/src/
H A Djs_drag_context.cpp250 napi_value eventMsg = nullptr; in DeclareDragData() local
252 sizeof(msg) / sizeof(*msg), msg, &eventMsg), DEFINE_CLASS); in DeclareDragData()
253 CHKRV(napi_set_named_property(env, exports, "DragState", eventMsg), SET_NAMED_PROPERTY); in DeclareDragData()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/platform/common/
H A Drs_event_manager.h45 void EventReport(const RSSysEventMsg& eventMsg);
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rseventdetector_fuzzer/
H A Drseventdetector_fuzzer.cpp71 …sen::RSBaseEventDetector::EventReportCallback eventCallback = [](const RSSysEventMsg& eventMsg) {}; in DoSomethingInterestingWithMyAPI() argument
/ohos5.0/base/msdp/device_status/frameworks/js/napi/interaction/cooperate/src/
H A Djs_cooperate_context.cpp385 napi_value eventMsg = nullptr; in DeclareDeviceCoordinationInterface() local
387 sizeof(msg) / sizeof(*msg), msg, &eventMsg), DEFINE_CLASS); in DeclareDeviceCoordinationInterface()
388 CHKRV(napi_set_named_property(env, exports, "EventMsg", eventMsg), SET_NAMED_PROPERTY); in DeclareDeviceCoordinationInterface()
H A Djs_event_cooperate_target.cpp605 napi_value eventMsg = nullptr; in EmitCoordinationMessageEvent() local
612 …CHKRV_SCOPE(item->env, napi_create_int32(item->env, static_cast<int32_t>(iter->second), &eventMsg), in EmitCoordinationMessageEvent()
618 CHKRV_SCOPE(item->env, napi_set_named_property(item->env, object, "eventMsg", eventMsg), in EmitCoordinationMessageEvent()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-input-kit/
H A Djs-apis-cooperate-sys.md372 on(type: 'cooperation', callback: AsyncCallback<{ deviceDescriptor: string, eventMsg: EventMsg }>):…
383 | callback | AsyncCallback<{ deviceDescriptor: string, eventMsg: [EventMsg](#eventmsg) …
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-beta3/
H A Djs-apidiff-multi-modal-input.md10 …pe: 'cooperation', callback: AsyncCallback\<{ deviceDescriptor: string, eventMsg: EventMsg }>): vo…
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/
H A Dchangelogs-multimodalinput.md55 …- on(type: 'cooperation', callback: AsyncCallback&lt;{ deviceDescriptor: string, eventMsg: EventM…
/ohos5.0/docs/en/release-notes/api-diff/v3.2-beta3/
H A Djs-apidiff-multi-modal-input.md10 …pe: 'cooperation', callback: AsyncCallback\<{ deviceDescriptor: string, eventMsg: EventMsg }>): vo…
/ohos5.0/base/msdp/device_status/frameworks/js/napi/interaction/coordination/src/
H A Djs_event_target.cpp771 napi_value eventMsg = nullptr; in EmitCoordinationMessageEvent() local
772 … CHKRV_SCOPE(item->env, napi_create_int32(item->env, static_cast<int32_t>(event.msg), &eventMsg), in EmitCoordinationMessageEvent()
779 ((item->data.type == COOPERATE_MESSAGE_NAME) ? "state" : "msg"), eventMsg), in EmitCoordinationMessageEvent()
/ohos5.0/docs/en/application-dev/reference/apis-input-kit/
H A Djs-apis-cooperate-sys.md372 on(type: 'cooperation', callback: AsyncCallback<{ deviceDescriptor: string, eventMsg: EventMsg }>):…
383 | callback | AsyncCallback<{ deviceDescriptor: string, eventMsg: [EventMsg](#eventmsg) …

12