Home
last modified time | relevance | path

Searched refs:SendSyncEvent (Results 1 – 10 of 10) sorted by relevance

/base/notification/eventhandler/frameworks/test/moduletest/
Devent_handler_send_sync_event_module_test.cpp72 result = handler->SendSyncEvent(RUN_EVENT_ID, sharedPtr); in SendEventWithSmartPtr()
76 result = handler->SendSyncEvent(RUN_EVENT_ID, weakPtr); in SendEventWithSmartPtr()
80 result = handler->SendSyncEvent(RUN_EVENT_ID, uniquePtr); in SendEventWithSmartPtr()
84 …result = handler->SendSyncEvent(RUN_EVENT_ID, std::unique_ptr<int, void (*)(int *)>((new int(1)), … in SendEventWithSmartPtr()
148 bool result = handler->SendSyncEvent(nullPtr, EventQueue::Priority::LOW);
167 bool result = handler->SendSyncEvent(event, EventQueue::Priority::IDLE);
191 bool result = handler->SendSyncEvent(event, EventQueue::Priority::IMMEDIATE); in __anonc6b63c660402()
215 bool result = handler->SendSyncEvent(event, EventQueue::Priority::HIGH);
239 …bool rValueResult = handler->SendSyncEvent(InnerEvent::Get(RUN_EVENT_ID), EventQueue::Priority::LO… in __anonc6b63c660502()
264 bool result = handler->SendSyncEvent(RUN_EVENT_ID, 0); in __anonc6b63c660602()
/base/notification/eventhandler/interfaces/inner_api/
Devent_handler.h536 bool SendSyncEvent(InnerEvent::Pointer &event, Priority priority = Priority::LOW);
546 inline bool SendSyncEvent(InnerEvent::Pointer &&event, Priority priority = Priority::LOW)
548 return SendSyncEvent(event, priority);
559 …inline bool SendSyncEvent(uint32_t innerEventId, int64_t param = 0, Priority priority = Priority::…
561 return SendSyncEvent(InnerEvent::Get(innerEventId, param), priority);
571 inline bool SendSyncEvent(uint32_t innerEventId, Priority priority) in SendSyncEvent() function
573 return SendSyncEvent(InnerEvent::Get(innerEventId, 0), priority); in SendSyncEvent()
585 inline bool SendSyncEvent(
588 return SendSyncEvent(InnerEvent::Get(innerEventId, object), priority);
600 …inline bool SendSyncEvent(uint32_t innerEventId, const std::weak_ptr<T> &object, Priority priority…
[all …]
/base/notification/eventhandler/test/systemtest/ems_event_handler_system_test/
Dems_event_handler_test.cpp1354 handler->SendSyncEvent(event, TestEventHandler::Priority::IMMEDIATE);
1372 handler->SendSyncEvent(event, TestEventHandler::Priority::IMMEDIATE);
1390 handler->SendSyncEvent(event, TestEventHandler::Priority::IDLE);
1408 handler->SendSyncEvent(EVENT_ID, TestEventHandler::Priority::HIGH);
1425 handler->SendSyncEvent(EVENT_ID, TestEventHandler::Priority::LOW);
1443 handler->SendSyncEvent(event);
1461 handler->SendSyncEvent(event);
1479 handler->SendSyncEvent(event);
1497 handler->SendSyncEvent(event);
1514 handler->SendSyncEvent(event);
[all …]
/base/notification/distributed_notification_service/services/test/moduletest/mock/
Dmock_event_handler.cpp44 bool EventHandler::SendSyncEvent(InnerEvent::Pointer &event, Priority priority) in SendSyncEvent() function in OHOS::AppExecFwk::EventHandler
/base/notification/distributed_notification_service/frameworks/test/moduletest/mock/
Dmock_event_handler.cpp44 bool EventHandler::SendSyncEvent(InnerEvent::Pointer &event, Priority priority) in SendSyncEvent() function in OHOS::AppExecFwk::EventHandler
/base/notification/distributed_notification_service/services/distributed/test/unittest/mock/
Dmock_event_handler.cpp44 bool EventHandler::SendSyncEvent(InnerEvent::Pointer &event, Priority priority) in SendSyncEvent() function in OHOS::AppExecFwk::EventHandler
/base/notification/distributed_notification_service/services/ans/test/unittest/mock/
Dmock_event_handler.cpp44 bool EventHandler::SendSyncEvent(InnerEvent::Pointer &event, Priority priority) in SendSyncEvent() function in OHOS::AppExecFwk::EventHandler
/base/notification/eventhandler/test/fuzztest/eventhandler_fuzzer/
Deventhandler_fuzzer.cpp86 eventHandler.SendSyncEvent(event, priority); in DoSomethingInterestingWithMyAPI()
/base/notification/eventhandler/frameworks/eventhandler/test/unittest/
Dlib_event_handler_trace_test.cpp534 handler->SendSyncEvent(event); in __anon084c07880a02()
583 handler->SendSyncEvent(event);
/base/notification/eventhandler/frameworks/eventhandler/src/
Devent_handler.cpp102 bool EventHandler::SendSyncEvent(InnerEvent::Pointer &event, Priority priority) in SendSyncEvent() function in OHOS::AppExecFwk::EventHandler