3 Commits

Author SHA1 Message Date
yzy-15 099ae57e1b feat: add TaskQos parameter to queue scheduling for ReloadFormInfos priority elevation
Add TaskQos enum (QOS_DEFAULT/QOS_DEADLINE_REQUEST) to ffrt queue
scheduling, allowing deadline-critical tasks like ReloadFormInfos
to get higher CPU priority and reduce ffrt watchdog timeout risk
that causes foundation process restart on low-end devices.

Changes:
- Add TaskQos enum with QOS_DEFAULT and QOS_DEADLINE_REQUEST
- Add Convert2FfrtQos() to map TaskQos to ffrt qos levels
- ScheduleTask/ScheduleDelayTask accept TaskQos with default QOS_DEFAULT
- InitFormInfosAndRegister uses Common::TaskQos::QOS_DEADLINE_REQUEST for ReloadFormInfos
- Update mock stubs to match new signatures
- Add test cases for qos scheduling in both queue layers

🤖 AI[94%] 🔧 Human Fixed[0%] 🧑 Human[6%] 👌 AI Adopted[100%]
Co-authored-by: opencode (glm-5.1) <ai@local>

Change-Id: I08dfa0f3298b3105771493479553d79bded885ca
Signed-off-by: yzy-15 <yuzhiyong6@h-partners.com>
2026-07-07 09:54:28 +08:00
wutouxu 1d1e403109 格式调整:构造函数初始化列表和函数定义格式
Change-Id: Ia1b2c3d4e5f6g7h8i9j0
Signed-off-by: wutouxu <zhaolixue2@huawei.com>
Co-Authored-By: Agent <agent@openclaw.ai>
2026-04-22 16:00:26 +08:00
wutouxu aff0ff1bc9 common模块抽取
Change-Id: I240ff7c4a5a880f1c354f74b2ecf1f73f71e6152
Signed-off-by: wutouxu <zhaolixue2@huawei.com>
Co-Authored-By: Agent <agent@openclaw.ai>
2026-04-22 14:50:17 +08:00