Home
last modified time | relevance | path

Searched refs:CONVERSION_FACTOR (Results 1 - 5 of 5) sorted by relevance

/foundation/ability/form_fwk/services/src/
H A Dform_serial_queue.cpp25 constexpr uint32_t CONVERSION_FACTOR = 1000; // ms to us member
41 if (ms > (std::numeric_limits<uint64_t>::max() / CONVERSION_FACTOR)) { in ScheduleTask()
46 task_handle task_handle = queue_.submit_h(func, task_attr().delay(ms * CONVERSION_FACTOR)); in ScheduleTask()
60 task_handle task_handle = queue_.submit_h(func, task_attr().delay(ms * CONVERSION_FACTOR)); in ScheduleDelayTask()
/foundation/ability/form_fwk/services/form_render_service/src/
H A Dform_render_serial_queue.cpp26 constexpr uint32_t CONVERSION_FACTOR = 1000; // ms to us member
42 if (ms > (std::numeric_limits<uint64_t>::max() / CONVERSION_FACTOR)) { in ScheduleTask()
47 task_handle task_handle = queue_.submit_h(func, task_attr().delay(ms * CONVERSION_FACTOR)); in ScheduleTask()
61 task_handle task_handle = queue_.submit_h(func, task_attr().delay(ms * CONVERSION_FACTOR)); in ScheduleDelayTask()
/foundation/systemabilitymgr/samgr/services/samgr/native/source/
H A Dffrt_handler.cpp26 constexpr uint64_t CONVERSION_FACTOR = 1000; // ms to us member
69 if (delayTime > std::numeric_limits<uint64_t>::max() / CONVERSION_FACTOR) { in PostTask()
73 task_handle handler = queue_->submit_h(func, task_attr().delay(delayTime * CONVERSION_FACTOR)); in PostTask()
83 if (delayTime > std::numeric_limits<uint64_t>::max() / CONVERSION_FACTOR) { in PostTask()
88 task_handle handler = queue_->submit_h(func, task_attr().delay(delayTime * CONVERSION_FACTOR)); in PostTask()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/common/
H A Dserial_queue.cpp24 constexpr uint16_t CONVERSION_FACTOR = 1000; // ms to us member
41 if (ms > std::numeric_limits<uint64_t>::max() / CONVERSION_FACTOR) { in ScheduleDelayTask()
46 task_handle task_handle = queue_->submit_h(func, task_attr().delay(ms * CONVERSION_FACTOR)); in ScheduleDelayTask()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/aot/
H A Daot_handler.cpp70 constexpr uint16_t CONVERSION_FACTOR = 1000; // s to ms member
531 serialQueue_->ScheduleDelayTask(TASK_NAME, delayTimeSeconds * CONVERSION_FACTOR, task); in BeforeOTACompile()

Completed in 4 milliseconds