Home
last modified time | relevance | path

Searched refs:LOW (Results 1 – 25 of 29) sorted by relevance

12

/base/notification/eventhandler/interfaces/inner_api/
Devent_handler.h93 …ol SendEvent(InnerEvent::Pointer &event, int64_t delayTime = 0, Priority priority = Priority::LOW);
103 …l SendTimingEvent(InnerEvent::Pointer &event, int64_t taskTime, Priority priority = Priority::LOW);
125 …ol SendEvent(InnerEvent::Pointer &&event, int64_t delayTime = 0, Priority priority = Priority::LOW)
151 …ine bool SendEvent(uint32_t innerEventId, int64_t delayTime = 0, Priority priority = Priority::LOW)
413 Priority priority = Priority::LOW, Caller caller = {})
458 …nline bool PostTask(const Callback &callback, int64_t delayTime, Priority priority = Priority::LOW,
536 bool SendSyncEvent(InnerEvent::Pointer &event, Priority priority = Priority::LOW);
546 inline bool SendSyncEvent(InnerEvent::Pointer &&event, Priority priority = Priority::LOW)
559 …ine bool SendSyncEvent(uint32_t innerEventId, int64_t param = 0, Priority priority = Priority::LOW)
586 uint32_t innerEventId, const std::shared_ptr<T> &object, Priority priority = Priority::LOW)
[all …]
Devent_queue.h58 LOW, enumerator
77 void Insert(InnerEvent::Pointer &event, Priority priority = Priority::LOW);
/base/notification/eventhandler/frameworks/test/moduletest/
Devent_handler_send_event_module_test.cpp94 if (priority == EventQueue::Priority::LOW) { in SendEventWithPriorityByEventId()
125 if (priority == EventQueue::Priority::LOW) { in SendEventWithSharedOrWeakPtr()
150 case EventQueue::Priority::LOW: { in SendEventWithUniquePtr()
265 SendAndCheck(delayTime, EventQueue::Priority::LOW);
281 SendAndCheck(delayTime, EventQueue::Priority::LOW);
297 SendAndCheck(delayTime, EventQueue::Priority::LOW);
399 bool result = handler->SendEvent(event, delayTime, EventQueue::Priority::LOW);
411 SendEventWithPriorityByEventId(EventQueue::Priority::LOW);
422 SendEventWithSmartPtr(SmartPointerType::SHARED_PTR, EventQueue::Priority::LOW);
433 SendEventWithSmartPtr(SmartPointerType::WEAK_PTR, EventQueue::Priority::LOW);
[all …]
Devent_handler_send_timing_event_module_test.cpp154 bool result = handler->SendTimingEvent(nullPtr, nowTime + delayTime, EventQueue::Priority::LOW);
199 handler->SendTimingEvent(RUN_EVENT_ID, delayTime + nowTime, EventQueue::Priority::LOW);
Devent_handler_send_sync_event_module_test.cpp148 bool result = handler->SendSyncEvent(nullPtr, EventQueue::Priority::LOW);
239 …ol rValueResult = handler->SendSyncEvent(InnerEvent::Get(RUN_EVENT_ID), EventQueue::Priority::LOW); in __anonc6b63c660502()
Devent_handler_post_task_module_test.cpp66 bool postResult = handler->PostTask(f, taskName, delayTime, EventQueue::Priority::LOW);
/base/notification/eventhandler/test/systemtest/ems_dumper_system_test/
Dems_dumper_system_test.cpp208 handler->PostTask(task, DELAY_TIME, EventQueue::Priority::LOW);
226 handler->SendEvent(event, DELAY_TIME, EventQueue::Priority::LOW);
244 handler->SendEvent(event, DELAY_TIME, EventQueue::Priority::LOW);
263 handler->SendEvent(event, DELAY_TIME, EventQueue::Priority::LOW);
264 handler->PostTask(task, DELAY_TIME * 2, EventQueue::Priority::LOW);
/base/powermgr/power_manager/interfaces/inner_api/native/include/shutdown/
Dshutdown_priority.h26 LOW = 0, enumerator
/base/notification/eventhandler/frameworks/eventhandler/test/unittest/
Dlib_event_handler_event_queue_test.cpp246 queue.Insert(event, EventQueue::Priority::LOW); in InsertPriorityEvent()
275 queue.Insert(event, EventQueue::Priority::LOW); in InsertAllPriorityEvent()
507 EventQueue::Priority::LOW,
534 EventQueue::Priority::LOW,
604 queue.Insert(event, EventQueue::Priority::LOW);
766 if (handler->PostTask(f, REMOVE_DELAY_TIME, EventQueue::Priority::LOW)) {
793 handler->SendEvent(event, REMOVE_DELAY_TIME, EventQueue::Priority::LOW);
820 handler->SendEvent(event, REMOVE_DELAY_TIME, EventQueue::Priority::LOW);
851 handler->SendEvent(event, delayTime, EventQueue::Priority::LOW);
1314 handler->SendEvent(event, HAS_DELAY_TIME, EventQueue::Priority::LOW);
[all …]
Dlib_event_handler_event_runner_test.cpp367 handler->SendEvent(event, EventQueue::Priority::LOW);
/base/hiviewdfx/hicollie/frameworks/native/test/unittest/common/
Dwatchdog_interface_test.cpp98 bool ret = handler->PostTask(blockFunc, "kickWatchdog", 0, EventQueue::Priority::LOW);
159 bool ret = handler->PostTask(blockFunc, "Block70s", 0, EventQueue::Priority::LOW);
199 bool ret = handler->PostTask(blockFunc, "Block30", 0, EventQueue::Priority::LOW);
241 bool ret = handler->PostTask(blockFunc, "Block10", 0, EventQueue::Priority::LOW);
/base/powermgr/power_manager/test/apitest/inner_api/shutdown/
Dsync_shutdown_callback_test.cpp115 g_service->RegisterShutdownCallback(lowPriorityCallback, ShutdownPriority::LOW);
134 g_service->RegisterShutdownCallback(lowPriorityCallback, ShutdownPriority::LOW);
Dtakeover_shutdown_callback_test.cpp130 shutdownClient.RegisterShutdownCallback(lowPriorityCallback, ShutdownPriority::LOW);
152 shutdownClient.RegisterShutdownCallback(lowPriorityCallback, ShutdownPriority::LOW);
Dasync_shutdown_callback_test.cpp141 g_service->RegisterShutdownCallback(lowPriorityCallback, ShutdownPriority::LOW);
160 g_service->RegisterShutdownCallback(lowPriorityCallback, ShutdownPriority::LOW);
/base/update/updateservice/services/startup/model/include/
Dstartup_constant.h33 LOW = 0, enumerator
Dschedule_task.h29 TaskPriority priority = TaskPriority::LOW;
/base/notification/eventhandler/test/fuzztest/eventqueueinsert_fuzzer/
Deventqueueinsert_fuzzer.cpp31 AppExecFwk::EventQueue::Priority priority = AppExecFwk::EventQueue::Priority::LOW; in DoSomethingInterestingWithMyAPI()
/base/notification/eventhandler/
DREADME_zh.md11 …实体封装,EventHandler接收与处理的消息对象。EventHandler待处理的InnerEvent的优先级可在IMMEDIATE、HIGH、LOW、IDLE中选择,并设置合适的delay…
/base/powermgr/power_manager/services/native/src/shutdown/
Dshutdown_callback_holer.cpp33 case ShutdownPriority::LOW: { in AddCallback()
/base/notification/eventhandler/test/systemtest/ems_event_handler_system_test/
Dems_event_handler_test.cpp878 handler->SendEvent(event, TestEventHandler::Priority::LOW);
1076 handler->SendEvent(event, DELAY_TIME, TestEventHandler::Priority::LOW);
1097 handler->SendEvent(event, DELAY_TIME, TestEventHandler::Priority::LOW);
1249 handler->SendEvent(EVENT_ID, TestEventHandler::Priority::LOW);
1335 handler->SendEvent(EVENT_ID, FLAG_FIVE, TestEventHandler::Priority::LOW);
1425 handler->SendSyncEvent(EVENT_ID, TestEventHandler::Priority::LOW);
1598 handler->SendSyncEvent(EVENT_ID_FIVE, TestEventHandler::Priority::LOW);
1890 handler->SendEvent(event, DELAY_TIME, EventHandler::Priority::LOW);
1979 if (handler->PostTask(f, DELAY_TIME, EventHandler::Priority::LOW)) {
2077 handler->SendEvent(event, DELAY_TIME, EventHandler::Priority::LOW);
[all …]
/base/telephony/cellular_data/services/src/
Ddata_connection_monitor.cpp46 SendEvent(event, DEFAULT_STALL_DETECTION_PERIOD, Priority::LOW); in StartStallDetectionTimer()
61 SendEvent(event, DEFAULT_STALL_DETECTION_PERIOD, Priority::LOW); in OnStallDetectionTimer()
/base/notification/eventhandler/test/systemtest/ems_event_queue_system_test/
Dems_event_queue_system_test.cpp85 handler->SendEvent(event, DELAY_TIME, EventQueue::Priority::LOW);
/base/notification/eventhandler/test/fuzztest/eventhandler_fuzzer/
Deventhandler_fuzzer.cpp76 AppExecFwk::EventQueue::Priority priority = AppExecFwk::EventQueue::Priority::LOW; in DoSomethingInterestingWithMyAPI()
/base/notification/eventhandler/frameworks/napi/src/
Devents_emitter.cpp494 Priority priority = Priority::LOW; in JS_Emit()
535 napi_create_uint32(env, (uint32_t)Priority::LOW, &low); in CreateEnumEventPriority()
/base/notification/eventhandler/test/systemtest/ems_event_runner_system_test/
Dems_event_runner_system_test.cpp352 handler->PostTask(task, EventHandler::Priority::LOW);
625 handler->PostTask(task, FLAG_TWO, EventHandler::Priority::LOW);
716 handler->PostSyncTask(task, EventHandler::Priority::LOW);
898 handler->PostTimingTask(task, FLAG_TWO, EventHandler::Priority::LOW);
1345 handler->SendEvent(event, DELAY_TIME, EventQueue::Priority::LOW);

12