| fix: add mutex lock to GetDumpQueue to prevent race condition GetDumpQueue() returned dumpQueue_ without holding dataQueueMutex_. Concurrent UpdateDataQueue() calls could trigger rehash during the copy construction, leading to SIGSEGV in sensor_service. Add std::lock_guard to protect the map copy, consistent with UpdateDataQueue() and ClearDataQueue(). Co-Authored-By: Agent Signed-off-by: maan4 <maan4@h-partners.com> AI[0%] Human Fixed[0%] Human[100%] AI Adopted[0%] Change-Id: Ie979153d3328a03e498f29da4423de1217efe288 | 7 天前 |
| Modify coding normative issues in the project Signed-off-by: sunwenyu123 <sunwenyu5@huawei.com> | 2 年前 |
| 动态多传感器更新 Signed-off-by: lixiangpeng5 <lixiangpeng5@huawei.com> | 1 年前 |
| Add datashare check Signed-off-by: wuzhihuitmac <wuzhihui4@huawei.com> Change-Id: I67d2d662c80d3941b000ce04db303af4d89a8e42 | 9 个月前 |
| 屏蔽特殊应用传感器数据上报 Signed-off-by: 15661196998 <xuyan62@huawei.com> Co-Authored-By: Agent | 2 个月前 |
| fix: add JSON object type check in ParseJsonValue ParseJsonValue calls .items() on the JSON value without verifying it is an object. If the field type is not a JSON object (e.g. a number or string), .items() may behave unexpectedly. Add is_object() check before iterating to satisfy static analysis and prevent potential type confusion. Co-Authored-By: Agent Signed-off-by: maan4 <maan4@h-partners.com> AI[0%] Human Fixed[0%] Human[100%] AI Adopted[0%] Change-Id: I8ec5e8727aaba3be1e8ca4d0488dfce5d7864e6c | 6 天前 |
| 收敛TransformSensorData的下发条件 global态仅三折叠和lap生效,expand态仅hp_fold生效, 排除lap的M态(expand)和三折叠的expand态误触发。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: 18292069620 <maan4@h-partners.com> | 18 天前 |
| 屏蔽特殊应用传感器数据上报 Signed-off-by: 15661196998 <xuyan62@huawei.com> Co-Authored-By: Agent | 2 个月前 |
| 修改日志级别 Signed-off-by: 15661196998 <xuyan62@huawei.com> | 6 个月前 |
| Add register database Signed-off-by: wuzhihuitmac <wuzhihui4@huawei.com> Change-Id: Ie42d6f4b8fa6b7c6ea8089421d5c27efa894d6d1 | 9 个月前 |
| 禁用传感器时删除当前进程已经挂起的对应传感器信息 Signed-off-by: shenpeixing <shenpeixing2@h-partners.com> | 1 个月前 |
| 禁用传感器时删除当前进程已经挂起的对应传感器信息 Signed-off-by: shenpeixing <shenpeixing2@h-partners.com> | 1 个月前 |
| add check for watch and remove watch parameter Signed-off-by: wuzhihuitmac <wuzhihui4@huawei.com> | 6 个月前 |
| modify the difference Signed-off-by: wuzhihuitmac <wuzhihui4@huawei.com> | 5 个月前 |