/base/notification/eventhandler/interfaces/inner_api/ |
H A D | event_handler.h | 81 bool SendEvent(InnerEvent::Pointer &event, int64_t delayTime = 0, Priority priority = Priority::LOW); 91 bool SendTimingEvent(InnerEvent::Pointer &event, int64_t taskTime, Priority priority = Priority::LOW); 113 inline bool SendEvent(InnerEvent::Pointer &&event, int64_t delayTime = 0, Priority priority = Priority::LOW) in SendEvent() 142 Priority priority = Priority::LOW, const Caller &caller = {}) in SendEvent() 434 int64_t delayTime = 0, Priority priority = Priority::LOW, const Caller &caller = {}) in PostTask() 449 Priority priority = Priority::LOW, const Caller &caller = {}); 493 inline bool PostTask(const Callback &callback, int64_t delayTime, Priority priority = Priority::LOW, in PostTask() 576 bool SendSyncEvent(InnerEvent::Pointer &event, Priority priority = Priority::LOW); 586 inline bool SendSyncEvent(InnerEvent::Pointer &&event, Priority priority = Priority::LOW) in SendSyncEvent() 601 Priority priority = Priority::LOW, cons in SendSyncEvent() [all...] |
H A D | event_queue.h | 117 LOW, member in OHOS::AppExecFwk::EventQueue::Priority 137 virtual void Insert(InnerEvent::Pointer &event, Priority priority = Priority::LOW, 322 virtual void InsertSyncEvent(InnerEvent::Pointer &event, Priority priority = Priority::LOW, in InsertSyncEvent()
|
/base/notification/eventhandler/frameworks/test/moduletest/ |
H A D | event_handler_send_event_module_test.cpp | 86 * @tc.steps: step1. Set event by event id with different priority (LOW, HIGH, IMMEDIATE). in SendEventWithPriorityByEventId() 94 if (priority == EventQueue::Priority::LOW) { in SendEventWithPriorityByEventId() 125 if (priority == EventQueue::Priority::LOW) { in SendEventWithSharedOrWeakPtr() 150 case EventQueue::Priority::LOW: { in SendEventWithUniquePtr() 254 * @tc.desc: Send event with delayTime = 0 and priority = LOW 265 SendAndCheck(delayTime, EventQueue::Priority::LOW); in HWTEST_F() 270 * @tc.desc: Send event with delayTime > 0 and priority = LOW 281 SendAndCheck(delayTime, EventQueue::Priority::LOW); in HWTEST_F() 286 * @tc.desc: Send event with delayTime < 0 and priority = LOW 297 SendAndCheck(delayTime, EventQueue::Priority::LOW); in HWTEST_F() [all...] |
H A D | event_handler_post_task_module_test.cpp | 66 bool postResult = handler->PostTask(f, taskName, delayTime, EventQueue::Priority::LOW); in HWTEST_F() 252 bool postResult = handler->PostTask(f1, taskName, 0, EventQueue::Priority::LOW); in HWTEST_F() 257 postResult = handler->PostTaskAtFront(f2, taskName, EventQueue::Priority::LOW); in HWTEST_F() 283 bool postResult = handler->PostTaskAtFront(f1, taskName, EventQueue::Priority::LOW); in HWTEST_F() 288 postResult = handler->PostTaskAtFront(f2, taskName, EventQueue::Priority::LOW); in HWTEST_F() 314 bool postResult = handler->PostTask(f1, taskName, 0, EventQueue::Priority::LOW); in HWTEST_F() 319 postResult = handler->PostTask(f2, taskName, 1000, EventQueue::Priority::LOW); in HWTEST_F()
|
H A D | event_handler_send_sync_event_module_test.cpp | 148 bool result = handler->SendSyncEvent(nullPtr, EventQueue::Priority::LOW); in HWTEST_F() 239 bool rValueResult = handler->SendSyncEvent(InnerEvent::Get(RUN_EVENT_ID), EventQueue::Priority::LOW); in HWTEST_F()
|
H A D | event_handler_send_timing_event_module_test.cpp | 154 bool result = handler->SendTimingEvent(nullPtr, nowTime + delayTime, EventQueue::Priority::LOW); in HWTEST_F() 199 handler->SendTimingEvent(RUN_EVENT_ID, delayTime + nowTime, EventQueue::Priority::LOW); in HWTEST_F()
|
/base/notification/eventhandler/test/systemtest/ems_dumper_system_test/ |
H A D | ems_dumper_system_test.cpp | 208 handler->PostTask(task, DELAY_TIME, EventQueue::Priority::LOW); in HWTEST_F() 226 handler->SendEvent(event, DELAY_TIME, EventQueue::Priority::LOW); in HWTEST_F() 244 handler->SendEvent(event, DELAY_TIME, EventQueue::Priority::LOW); in HWTEST_F() 263 handler->SendEvent(event, DELAY_TIME, EventQueue::Priority::LOW); in HWTEST_F() 264 handler->PostTask(task, DELAY_TIME * 2, EventQueue::Priority::LOW); in HWTEST_F()
|
/base/powermgr/power_manager/interfaces/inner_api/native/include/shutdown/ |
H A D | shutdown_priority.h | 26 LOW = 0, member in OHOS::PowerMgr::ShutdownPriority
|
/base/powermgr/power_manager/interfaces/inner_api/native/include/suspend/ |
H A D | sleep_priority.h | 25 LOW = 0, member in OHOS::PowerMgr::SleepPriority
|
/base/notification/eventhandler/frameworks/eventhandler/include/ |
H A D | event_queue_ffrt.h | 46 LOCAL_API void Insert(InnerEvent::Pointer &event, Priority priority = Priority::LOW, 147 LOCAL_API void InsertSyncEvent(InnerEvent::Pointer &event, Priority priority = Priority::LOW, 215 LOCAL_API void InsertEvent(InnerEvent::Pointer &event, Priority priority = Priority::LOW, bool syncWait = false,
|
/base/telephony/core_service/utils/common/include/ |
H A D | tel_event_handler.h | 76 bool SendEvent(AppExecFwk::InnerEvent::Pointer &event, int64_t delayTime = 0, Priority priority = Priority::LOW); 106 AppExecFwk::EventQueue::Priority priority = Priority::LOW) in SendEvent() 133 uint32_t innerEventId, int64_t delayTime = 0, AppExecFwk::EventQueue::Priority priority = Priority::LOW) in SendEvent()
|
/base/hiviewdfx/hicollie/frameworks/native/test/unittest/common/ |
H A D | watchdog_interface_test.cpp | 99 bool ret = handler->PostTask(blockFunc, "Block70s", 0, EventQueue::Priority::LOW); in HWTEST_F() 139 bool ret = handler->PostTask(blockFunc, "Block30", 0, EventQueue::Priority::LOW); in HWTEST_F() 211 bool ret = handler->PostTask(blockFunc, "Block002", 0, EventQueue::Priority::LOW); in HWTEST_F() 241 bool ret = handler->PostTask(blockFunc, "Block10", 0, EventQueue::Priority::LOW); in HWTEST_F() 368 bool ret = handler->PostTask(blockFunc, "Block001", 0, EventQueue::Priority::LOW); in HWTEST_F()
|
/base/powermgr/power_manager/test/apitest/inner_api/shutdown/ |
H A D | sync_shutdown_callback_test.cpp | 137 g_service->RegisterShutdownCallback(lowPriorityCallback, ShutdownPriority::LOW); in HWTEST_F() 156 g_service->RegisterShutdownCallback(lowPriorityCallback, ShutdownPriority::LOW); in HWTEST_F()
|
H A D | async_shutdown_callback_test.cpp | 169 g_service->RegisterShutdownCallback(lowPriorityCallback, ShutdownPriority::LOW); in HWTEST_F() 188 g_service->RegisterShutdownCallback(lowPriorityCallback, ShutdownPriority::LOW); in HWTEST_F()
|
H A D | takeover_shutdown_callback_test.cpp | 130 shutdownClient.RegisterShutdownCallback(lowPriorityCallback, ShutdownPriority::LOW); in HWTEST_F() 152 shutdownClient.RegisterShutdownCallback(lowPriorityCallback, ShutdownPriority::LOW); in HWTEST_F()
|
/base/notification/eventhandler/frameworks/eventhandler/test/unittest/ |
H A D | lib_event_handler_test.cpp | 115 bool result = (*ffrt)(nullptr, task, "x", 10, EventQueue::Priority::LOW); in HWTEST_F() 135 bool result = (*ffrt)(nullptr, task, "x", 10, EventQueue::Priority::LOW); in HWTEST_F()
|
H A D | lib_event_handler_event_queue_test.cpp | 250 queue.Insert(event, EventQueue::Priority::LOW); in InsertPriorityEvent() 279 queue.Insert(event, EventQueue::Priority::LOW); in InsertAllPriorityEvent() 511 EventQueue::Priority::LOW, in HWTEST_F() 540 EventQueue::Priority::LOW, in HWTEST_F() 610 queue.Insert(event, EventQueue::Priority::LOW); in HWTEST_F() 837 if (handler->PostTask(f, REMOVE_DELAY_TIME, EventQueue::Priority::LOW)) { in HWTEST_F() 864 handler->SendEvent(event, REMOVE_DELAY_TIME, EventQueue::Priority::LOW); in HWTEST_F() 891 handler->SendEvent(event, REMOVE_DELAY_TIME, EventQueue::Priority::LOW); in HWTEST_F() 922 handler->SendEvent(event, delayTime, EventQueue::Priority::LOW); in HWTEST_F() 1388 handler->SendEvent(event, HAS_DELAY_TIME, EventQueue::Priority::LOW); in HWTEST_F() [all...] |
H A D | lib_event_handler_event_runner_test.cpp | 367 handler->SendEvent(event, EventQueue::Priority::LOW); in HWTEST_F() 395 handler->SendEvent(event, EventQueue::Priority::LOW); in HWTEST_F()
|
/base/notification/eventhandler/test/fuzztest/eventqueueinsert_fuzzer/ |
H A D | eventqueueinsert_fuzzer.cpp | 32 AppExecFwk::EventQueue::Priority priority = AppExecFwk::EventQueue::Priority::LOW;
in DoSomethingInterestingWithMyAPI()
|
/base/update/updateservice/services/startup/model/include/ |
H A D | startup_constant.h | 33 LOW = 0, member in OHOS::UpdateEngine::TaskPriority
|
H A D | schedule_task.h | 29 TaskPriority priority = TaskPriority::LOW;
|
/base/notification/eventhandler/test/systemtest/ems_event_handler_system_test/ |
H A D | ems_event_handler_test.cpp | 878 handler->SendEvent(event, TestEventHandler::Priority::LOW); in HWTEST_F() 1076 handler->SendEvent(event, DELAY_TIME, TestEventHandler::Priority::LOW); in HWTEST_F() 1097 handler->SendEvent(event, DELAY_TIME, TestEventHandler::Priority::LOW); in HWTEST_F() 1249 handler->SendEvent(EVENT_ID, TestEventHandler::Priority::LOW); in HWTEST_F() 1335 handler->SendEvent(EVENT_ID, FLAG_FIVE, TestEventHandler::Priority::LOW); in HWTEST_F() 1425 handler->SendSyncEvent(EVENT_ID, TestEventHandler::Priority::LOW); in HWTEST_F() 1598 handler->SendSyncEvent(EVENT_ID_FIVE, TestEventHandler::Priority::LOW); in HWTEST_F() 1890 handler->SendEvent(event, DELAY_TIME, EventHandler::Priority::LOW); in HWTEST_F() 1979 if (handler->PostTask(f, DELAY_TIME, EventHandler::Priority::LOW)) { in HWTEST_F() 2077 handler->SendEvent(event, DELAY_TIME, EventHandler::Priority::LOW); in HWTEST_F() [all...] |
/base/telephony/cellular_data/services/src/ |
H A D | data_connection_monitor.cpp | 78 SendEvent(event, stallDetectionPeriod, Priority::LOW); in StartStallDetectionTimer() 101 SendEvent(event, stallDetectionPeriod, Priority::LOW); in OnStallDetectionTimer() 309 SendEvent(event, stallDetectionPeriod, Priority::LOW); in IsNeedDoRecovery()
|
/base/powermgr/power_manager/services/native/src/shutdown/ |
H A D | shutdown_callback_holer.cpp | 33 case ShutdownPriority::LOW: { in AddCallback()
|
/base/powermgr/power_manager/services/native/src/suspend/ |
H A D | sleep_callback_holder.cpp | 28 case SleepPriority::LOW: { in AddCallback()
|