| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
fix:CheckKnuckleEvent使用绝对坐标来进行校验 Signed-off-by: yueyan <yueyan8@huawei.com> Co-Authored-By: Agent | 19 天前 | |
fix:fix:knuckle code decoupling Signed-off-by: yueyan <yueyan8@huawei.com> | 6 个月前 | |
fix: add explicit deps for napi:ace_napi public_external_deps downgrade ace_napi downgraded public_external_deps to external_deps, breaking transitive propagation of node:node_header_notice and libuv:uv. - Add node:node_header_notice to all targets with napi:ace_napi (30 files) because native_api.h/native_node_api.h include node_api.h - Add libuv:uv to targets whose sources include uv.h (4 files) - Add "node" to bundle.json deps.components - ets_runtime:libark_jsruntime not needed (no source includes jsnapi.h) Fixes #7661 Co-Authored-By: Agent Signed-off-by: athends <huwanyong1@huawei.com> 🤖 AI[100%] 🔧 Human Fixed[0%] 🧑 Human[0%] 👌 AI Adopted[100%] Co-authored-by: opencode (glm-5.2) <ai@local> | 6 天前 | |
Read string Signed-off-by: z-hf <zhanghaifeng45@h-partners.com> | 5 个月前 | |
add ut lib_test.rs Signed-off-by: hanyi1150 <hanyi1150@126.com> | 6 个月前 | |
Revert "!9328 merge zxy1 into master" This reverts commit ce9214c28db040b2bbffd641d1aae4de84839649, reversing changes made to 61694b599e79fb8e1bbde390a292605cee756ebc. Also remove the UT cases (UnloadLibrary_001~005, cleanUpResources references in FreeHandle_003, and the TestCleanUpResourcesFunc helper) that referenced the removed InputScreenCaptureAgent::UnloadLibrary() and ScreenCaptureHandle::cleanUpResources, so the module_loader TDD build compiles. Co-Authored-By: Agent 🤖 AI[100%] 🔧 Human Fixed[0%] 🧑 Human[0%] 👌 AI Adopted[100%] Co-authored-by: claude (glm-5.2) <ai@local> Change-Id: I939b6705681cb80a9803f08eda12ba75e34abb1c Signed-off-by: zhaoxueyuan <zhaoxueyuan@huawei.com> | 1 天前 | |
close整改 Signed-off-by: mr-liang2504 <liangzhicheng10@huawei.com> | 6 个月前 | |
!9809 merge fix/ace-napi-deps into master fix: add explicit deps for napi:ace_napi public_external_deps downgrade Created-by: athends Commit-by: athends Merged-by: openharmony_ci Description: ### 相关的Issue #7661 ### 原因(目的、解决的问题等) napi:ace_napi 组件将 public_external_deps 降级为 external_deps,node:node_header_notice、libuv:uv、ets_runtime:libark_jsruntime 不再向下游传递。由于 ace_napi 的公开头文件 native_api.h / native_node_api.h 均 include 了 node_api.h,所有依赖 ace_napi 的 target 需显式声明 node:node_header_notice。 ### 描述(做了什么,变更了什么) 1. **node:node_header_notice**(30 个文件)— 所有含 napi:ace_napi 的 external_deps 块中补充 2. **libuv:uv**(4 个文件)— 仅源码直接 #include <uv.h> 的 NAPI target 补充(input_device/input_monitor/input_consumer/infrared_emitter) 3. **bundle.json** — 补充 "node" 到 deps.components 4. **ets_runtime:libark_jsruntime** — 不需要,input 无源文件引用 jsnapi.h / native_engine.h ### 验证结果(新增、改动、可能影响的功能) - 仅修改 BUILD.gn 依赖声明和 bundle.json,不影响运行时行为 - 使用验证脚本逐 external_deps 块检查,确认无遗漏 - 排查了间接传递路径(abilitykit_native 等),input 仓不受影响 ### 多模输入上库必备 checklist: - [x] 【线程安全】不涉及,仅修改 BUILD.gn 依赖声明 - [x] 【内存泄漏】不涉及,仅修改 BUILD.gn 依赖声明 - [x] 【性能】不涉及,仅修改 BUILD.gn 依赖声明 - [x] 【避免深拷贝】不涉及 - [x] 【依赖】新增依赖评审:补充 ace_napi 降级后缺失的显式依赖声明,未引入新功能依赖 - [x] 【重用】不涉及 - [x] 【返回值】不涉及 ### 日志规范自检: - [x] 【规则】不涉及,本次修改不涉及任何日志代码变更 ### 安全编码自检: - [x] 【规则】不涉及,本次修改不涉及任何安全编码相关代码变更 ### 是否已执行mini system用例 - [ ] 已验证 - [x] 不涉及。如不涉及,请写明理由 理由:本次修改仅涉及 BUILD.gn 依赖声明变更,不影响运行时行为 See merge request: openharmony/multimodalinput_input!9809 | 1 天前 | |
ROM optimization: pack mouse/joystick resources into compressed .dat files Compress 51 mouse icon SVG/PNG files and 174 joystick layout JSON files into gzip-compressed .dat containers at build time, reducing ROM usage by ~1MB. Decompress to /data/ at runtime when cursor drawing SO loads. Build-time: - Add pack_resources.py to pack files into gzip binary container - Replace individual ohos_prebuilt_etc targets with packed .dat - Install .dat to /system/etc/multimodalinput/ Runtime: - Add DecompressToDisk/CleanupDirectory in resource_decompress.cpp - CursorDrawingComponent::LoadLibrary decompresses before SO init - CursorDrawingComponent::UnLoad cleans up after SO unload - CheckMouseIconPath skips when icon directory absent (fixes race condition where singleton initializes before SO loads) - JoystickEventNormalize constructor/destructor handle joystick .dat - Path normalization (lexically_normal) on all file operations Path changes: - mouse_icon: /system/etc/ -> /data/service/el1/public/multimodalinput/ - joystick/layout: /system/etc/ -> /data/service/el1/public/multimodalinput/ Tests: - 17 unit tests covering decompress, cleanup, path traversal, truncation Co-Authored-By: Agent Signed-off-by: athends <huwanyong1@huawei.com> | 1 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 19 天前 | ||
| 6 个月前 | ||
| 6 天前 | ||
| 5 个月前 | ||
| 6 个月前 | ||
| 1 天前 | ||
| 6 个月前 | ||
| 1 天前 | ||
| 1 个月前 |