/base/notification/eventhandler/interfaces/inner_api/ |
D | event_handler.h | 93 …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 …]
|
D | event_queue.h | 58 LOW, enumerator 77 void Insert(InnerEvent::Pointer &event, Priority priority = Priority::LOW);
|
/base/notification/eventhandler/frameworks/test/moduletest/ |
D | event_handler_send_event_module_test.cpp | 94 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 …]
|
D | event_handler_send_timing_event_module_test.cpp | 154 bool result = handler->SendTimingEvent(nullPtr, nowTime + delayTime, EventQueue::Priority::LOW); 199 handler->SendTimingEvent(RUN_EVENT_ID, delayTime + nowTime, EventQueue::Priority::LOW);
|
D | event_handler_send_sync_event_module_test.cpp | 148 bool result = handler->SendSyncEvent(nullPtr, EventQueue::Priority::LOW); 239 …ol rValueResult = handler->SendSyncEvent(InnerEvent::Get(RUN_EVENT_ID), EventQueue::Priority::LOW); in __anonc6b63c660502()
|
D | event_handler_post_task_module_test.cpp | 66 bool postResult = handler->PostTask(f, taskName, delayTime, EventQueue::Priority::LOW);
|
/base/notification/eventhandler/test/systemtest/ems_dumper_system_test/ |
D | ems_dumper_system_test.cpp | 208 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/ |
D | shutdown_priority.h | 26 LOW = 0, enumerator
|
/base/notification/eventhandler/frameworks/eventhandler/test/unittest/ |
D | lib_event_handler_event_queue_test.cpp | 246 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 …]
|
D | lib_event_handler_event_runner_test.cpp | 367 handler->SendEvent(event, EventQueue::Priority::LOW);
|
/base/hiviewdfx/hicollie/frameworks/native/test/unittest/common/ |
D | watchdog_interface_test.cpp | 98 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/ |
D | sync_shutdown_callback_test.cpp | 115 g_service->RegisterShutdownCallback(lowPriorityCallback, ShutdownPriority::LOW); 134 g_service->RegisterShutdownCallback(lowPriorityCallback, ShutdownPriority::LOW);
|
D | takeover_shutdown_callback_test.cpp | 130 shutdownClient.RegisterShutdownCallback(lowPriorityCallback, ShutdownPriority::LOW); 152 shutdownClient.RegisterShutdownCallback(lowPriorityCallback, ShutdownPriority::LOW);
|
D | async_shutdown_callback_test.cpp | 141 g_service->RegisterShutdownCallback(lowPriorityCallback, ShutdownPriority::LOW); 160 g_service->RegisterShutdownCallback(lowPriorityCallback, ShutdownPriority::LOW);
|
/base/update/updateservice/services/startup/model/include/ |
D | startup_constant.h | 33 LOW = 0, enumerator
|
D | schedule_task.h | 29 TaskPriority priority = TaskPriority::LOW;
|
/base/notification/eventhandler/test/fuzztest/eventqueueinsert_fuzzer/ |
D | eventqueueinsert_fuzzer.cpp | 31 AppExecFwk::EventQueue::Priority priority = AppExecFwk::EventQueue::Priority::LOW; in DoSomethingInterestingWithMyAPI()
|
/base/notification/eventhandler/ |
D | README_zh.md | 11 …实体封装,EventHandler接收与处理的消息对象。EventHandler待处理的InnerEvent的优先级可在IMMEDIATE、HIGH、LOW、IDLE中选择,并设置合适的delay…
|
/base/powermgr/power_manager/services/native/src/shutdown/ |
D | shutdown_callback_holer.cpp | 33 case ShutdownPriority::LOW: { in AddCallback()
|
/base/notification/eventhandler/test/systemtest/ems_event_handler_system_test/ |
D | ems_event_handler_test.cpp | 878 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/ |
D | data_connection_monitor.cpp | 46 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/ |
D | ems_event_queue_system_test.cpp | 85 handler->SendEvent(event, DELAY_TIME, EventQueue::Priority::LOW);
|
/base/notification/eventhandler/test/fuzztest/eventhandler_fuzzer/ |
D | eventhandler_fuzzer.cpp | 76 AppExecFwk::EventQueue::Priority priority = AppExecFwk::EventQueue::Priority::LOW; in DoSomethingInterestingWithMyAPI()
|
/base/notification/eventhandler/frameworks/napi/src/ |
D | events_emitter.cpp | 494 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/ |
D | ems_event_runner_system_test.cpp | 352 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);
|