Home
last modified time | relevance | path

Searched refs:GetEventQueue (Results 1 - 10 of 10) sorted by relevance

/base/notification/eventhandler/frameworks/eventhandler/src/
H A Devent_handler.cpp81 eventRunner_->GetEventQueue()->RemoveOrphanByHandlerId(handlerId_); in ~EventHandler()
83 eventRunner_->GetEventQueue()->RemoveOrphan(); in ~EventHandler()
86 eventRunner_->GetEventQueue()->RemoveOrphan(); in ~EventHandler()
121 eventRunner_->GetEventQueue()->Insert(event, priority); in SendEvent()
152 eventRunner_->GetEventQueue()->Insert(event, priority, EventInsertType::AT_FRONT); in PostTaskAtFront()
199 eventRunner_->GetEventQueue()->InsertSyncEvent(event, priority); in SendSyncEvent()
246 eventRunner_->GetEventQueue()->Remove(shared_from_this()); in RemoveAllEvents()
257 eventRunner_->GetEventQueue()->Remove(shared_from_this(), innerEventId); in RemoveEvent()
268 eventRunner_->GetEventQueue()->Remove(shared_from_this(), innerEventId, param); in RemoveEvent()
279 eventRunner_->GetEventQueue() in RemoveTask()
[all...]
H A Dnative_implement_eventhandler.cpp159 return eventRunner_->GetEventQueue()->AddFileDescriptorListener( in AddFileDescriptorListener()
165 eventRunner_->GetEventQueue()->RemoveFileDescriptorListener(fileDescriptor); in RemoveFileDescriptorListener()
H A Devent_runner.cpp558 sp->queue_ = innerRunner->GetEventQueue(); in Create()
581 sp->queue_ = innerRunner->GetEventQueue(); in Create()
604 sp->queue_ = innerRunner->GetEventQueue(); in Create()
612 sp->queue_ = innerRunner->GetEventQueue(); in Create()
781 return sharedHandler->GetEventRunner()->GetEventQueue(); in GetCurrentEventQueue()
824 return queue_ == sharedHandler->GetEventRunner()->GetEventQueue(); in IsCurrentRunnerThread()
H A Devent_queue_ffrt.cpp494 (*handler)->GetEventRunner()->GetEventQueue()->GetFfrtQueue()); in SubmitEventAtEnd()
532 (*handler)->GetEventRunner()->GetEventQueue()->GetFfrtQueue()); in SubmitEventAtFront()
/base/notification/eventhandler/frameworks/eventhandler/include/
H A Devent_inner_runner.h39 LOCAL_API const std::shared_ptr<EventQueue> &GetEventQueue() const in GetEventQueue() function in OHOS::AppExecFwk::EventInnerRunner
/base/notification/eventhandler/test/fuzztest/eventrunner_fuzzer/
H A Deventrunner_fuzzer.cpp63 runner->GetEventQueue(); in DoSomethingInterestingWithMyAPI()
/base/notification/eventhandler/interfaces/inner_api/
H A Devent_runner.h170 inline const std::shared_ptr<EventQueue> &GetEventQueue() const in GetEventQueue() function in OHOS::AppExecFwk::final
/base/notification/eventhandler/frameworks/eventhandler/test/unittest/
H A Dlib_event_handler_event_queue_test.cpp1438 bool HasInnerEvent = runner->GetEventQueue()->HasInnerEvent(nullptr, HAS_EVENT_ID); in HWTEST_F()
1513 bool HasInnerEvent = runner->GetEventQueue()->HasInnerEvent(nullptr, HAS_EVENT_PARAM); in HWTEST_F()
1738 bool ret = runner->GetEventQueue()->IsQueueEmpty(); in HWTEST_F()
1761 bool ret = runner->GetEventQueue()->IsQueueEmpty(); in HWTEST_F()
1784 bool ret = runner->GetEventQueue()->IsQueueEmpty(); in HWTEST_F()
1807 bool ret = runner->GetEventQueue()->IsQueueEmpty(); in HWTEST_F()
/base/notification/eventhandler/test/systemtest/ems_event_runner_system_test/
H A Dems_event_runner_system_test.cpp1322 * @tc.name: GetEventQueue
1323 * @tc.desc: GetEventQueue success and then process IsQueueEmpty success
1329 bool ret = runner->GetEventQueue()->IsQueueEmpty(); in HWTEST_F()
1334 * @tc.name: GetEventQueue
1335 * @tc.desc: GetEventQueue success and then check when queue is not empty has low event IsQueueEmpty return false
1346 bool ret = runner->GetEventQueue()->IsQueueEmpty(); in HWTEST_F()
1352 * @tc.desc: GetEventQueue success and then check when queue is not empty has idle event IsQueueEmpty return false
1363 bool ret = runner->GetEventQueue()->IsQueueEmpty(); in HWTEST_F()
1368 * @tc.name: GetEventQueue
1369 * @tc.desc: GetEventQueue succes
[all...]
/base/notification/eventhandler/test/systemtest/ems_event_handler_system_test/
H A Dems_event_handler_test.cpp1874 bool hasInnerEvent = runner->GetEventQueue()->HasInnerEvent(nullptr, EVENT_ID); in HWTEST_F()
1963 bool hasInnerEvent = runner->GetEventQueue()->HasInnerEvent(nullptr, EVENT_PARAM_FIVE); in HWTEST_F()

Completed in 18 milliseconds