Home
last modified time | relevance | path

Searched defs:TaskAttribute (Results 1 – 3 of 3) sorted by relevance

/foundation/ability/ability_runtime/services/common/include/
Dtask_utils_wrap.h46 struct TaskAttribute { struct
47 std::string taskName_;
48 int64_t delayMillis_ = 0;
49 TaskQoS taskQos_ = TaskQoS::DEFAULT;
50 TaskQueuePriority taskPriority_ = TaskQueuePriority::LOW;
51 int64_t timeoutMillis_ = 0; // task should be started within timeout
52 bool insertHead_ = false; // insert into the head of the queue
/foundation/ability/ability_runtime/test/new_test/mock/task_utils_wrap/
Dtask_utils_wrap.h46 struct TaskAttribute { struct
47 std::string taskName_;
48 int64_t delayMillis_ = 0;
49 TaskQoS taskQos_ = TaskQoS::DEFAULT;
50 TaskQueuePriority taskPriority_ = TaskQueuePriority::LOW;
51 int64_t timeoutMillis_ = 0; // task should be started within timeout
52 bool insertHead_ = false; // insert into the head of the queue
/foundation/ability/ability_runtime/test/mock/task_handler_wrap_mock/src/
Dmock_task_handler_wrap.cpp23 const std::function<void()> &&task, const TaskAttribute &) in MockTaskHandler()