| 修改配置 Signed-off-by: yizihan <yizihan@huawei.com> | 8 个月前 |
| !4871 merge developer-7.0-0709-codecheck into master 新增json相关检视问题点 Created-by: wangsen1994 Commit-by: wangsen1994 Merged-by: openharmony_ci Description: ### 一、内容说明(相关的Issue) ### 二、建议测试周期和提测地址 建议测试完成时间:xxxx.xx.xx 投产上线时间:xxxx.xx.xx 提测地址:CI环境/压测环境 测试账号: ### 三、变更内容 * 3.1 关联PR列表 * 3.2 数据库和部署说明 1. 常规更新 2. 重启unicorn 3. 重启sidekiq 4. 迁移任务:是否有迁移任务,没有写 "无" 5. rake脚本:bundle exec xxx RAILS_ENV = production;没有写 "无" * 3.4 其他技术优化内容(做了什么,变更了什么) - 重构了 xxxx 代码 - xxxx 算法优化 * 3.5 废弃通知(什么字段、方法弃用?) * 3.6 后向不兼容变更(是否有无法向后兼容的变更?) ### 四、研发自测点(自测哪些?冒烟用例全部自测?) 自测测试结论: ### 五、测试关注点(需要提醒QA重点关注的、可能会忽略的地方) 检查点: | 需求名称 | 是否影响xx公共模块 | 是否需要xx功能 | 需求升级是否依赖其他子产品 | |------|------------|----------|---------------| | xxx | 否 | 需要 | 不需要 | | | | | | 接口测试: 性能测试: 并发测试: 其他: See merge request: openharmony/notification_distributed_notification_service!4871 | 19 天前 |
| test(ans): optimize unit test sleep efficiency with SelfClean mechanism Replace fixed-duration sleep calls in unit/module tests with direct SelfClean(false) / WaitForFfrtQueue() calls, eliminating ~137 sleep calls across 9 test files. This reduces test execution time and improves stability by synchronizing on actual task completion instead of fixed timeouts. Key changes: - Replace sleep with direct SelfClean(false) calls in 9 test files - Replace sleep with direct WaitForFfrtQueue() in subscriber manager test - Clean TearDown residual sleep, add StopCacheCleanupTimer() - Restore 1000ms sleep for 4 rate-limited publish test cases - No new files, no BUILD.gn changes, no macro abstraction Test results: 534/534 (100%) passed on ARM device with CFI disabled. Change-Id: I2b68edbdca43f183f55f681e0701fb543b668240 Change-Id: I3f3ddc0868105a2c6ebdd3232fae9188429114fd Change-Id: I08f7b9b8b45a2d90bd0580f0e92059b03d0aa514 Co-Authored-By: Agent Signed-off-by: CheerfulRicky <yuegang7@h-partners.com> Change-Id: I44098e741e681234033e3ae9cdf8427205e86bfa | 13 天前 |
| modify photo Signed-off-by: zhaoyuan17 <zhaoyuan17@huawei.com> | 4 年前 |
| Merge branch 'fix/null-check-stability' of git@gitcode.com:stepend98/notification_distributed_notification_service.git into 'master' # Conflicts: # conflict services/ans/src/advanced_notification_service_ability.cpp # conflict services/ans/test/unittest/notification_preferences_test.cpp | 1 天前 |
| Co-Authored-By: hanwenhui Signed-off-by: hanwenhui <hanwenhui2@h-partners.com> | 3 天前 |
| 系统组件使用HDI Signed-off-by: yuechunyang <yuechunyang1@h-partners.com> | 8 个月前 |
| 新增形变流光动效 Signed-off-by: yizihan <yizihan@huawei.com> Co-Authored-By: Agent | 22 小时前 |
| fix(fuzz): remove atexit SelfClean(true) handler to avoid static destruction UAF The atexit handler registered by ENSURE_ANS_SERVICE_CLEANED_AT_EXIT() called SelfClean(true) which invokes SystemSoundHelper::GetInstance() and NotificationPreferences::GetInstance(). When the singleton static local (initialized after atexit registration, e.g. from async ffrt worker thread) is destroyed before the atexit handler runs, GetInstance() accesses a destroyed static local -> heap-use-after-free. Remove the atexit handler; keep the per-iteration SelfClean() drain which is sufficient for queue cleanup. Process exit already reclaims all resources. Co-Authored-By: Agent Signed-off-by: CheerfulRicky <yuegang7@h-partners.com> Change-Id: Ib445d2df05e7d1925bf730b720e643a5c52311e4 | 1 天前 |
| update: 更新文件 BUILD.gn Signed-off-by: hanwenhui <hanwenhui2@h-partners.com> | 2 天前 |
| docs: refactor AGENTS.md with structured code map, knowledge routing and constraint boundaries Co-Authored-By: Agent Signed-off-by: stepend98 <yangjun273@huawei.com> | 1 个月前 |
| feat(rom-size): ROM size optimization phase 1 - build config and symbol visibility Phase 1 of ROM size optimization (target: 30% reduction, baseline 7963KB). All changes are limited to BUILD.gn/.gni/.map files, no .cpp/.h modifications. Key changes: - Add notification_size_opt_cflags/ldflags public variables in notification.gni - Add -fno-rtti/-flto/-Bsymbolic/-fno-exceptions config to all production targets - Extract ANI sts_*.cpp (21 files) to ohos_shared_library notification_ani_common - Extract NAPI common*.cpp (12 files) to ohos_shared_library notification_napi_common - Tighten libans_innerkits.map from global:* to class-name-based export - Add version_script to 6 NAPI .so (export only napi_module) - Add version_script to 4 ANI .so (export only ANI_Constructor) - Feature-gate priority_notification/clone/geofence source files - Add distributed_notification_service_feature_clone flag Expected benefit: 500-1100KB reduction. Co-Authored-By: Agent Signed-off-by: CheerfulRicky <yuegang7@h-partners.com> Change-Id: I029559a06708665662b1d2f9b7f66dcae53ee96f Signed-off-by: CheerfulRicky <yuegang7@h-partners.com> | 24 天前 |
| Update framework struct and add new function Signed-off-by: chensi10 <chen.s@neusoft.com> | 4 年前 |
| 处理ans告警 Signed-off-by: yizihan <yizihan@huawei.com> Change-Id: I6797fad139e116676901cf960a7a41a294a80196 | 2 年前 |
| readme文档规范化整改 Signed-off-by: liqiang <liqiang121@huawei.com> Change-Id: If3914c5a9ceabe281f2e6f95bbac8e55d8df5676 | 3 年前 |
| 新增 taihe_ffi_gen 部件依赖 在 bundle.json 的 deps.components 中补充 taihe_ffi_gen,适配部件独立后的依赖关系。 Issue: https://gitcode.com/openharmony/notification_distributed_notification_service/issues/4127 Change-Id: Ifaf13f80f04a9d6d7743803fb380f4453e51e471 Signed-off-by: LeechyLiang <liangweihong1@huawei.com> | 1 个月前 |
| update Signed-off-by: gaojiaqi <gaojiaqi7@huawei.com> | 1 年前 |
| 增加notification_ue yaml配置 Signed-off-by: xdongs <xdongs@163.com> | 9 个月前 |
| update: 更新文件 notification.gni Signed-off-by: hanwenhui <hanwenhui2@h-partners.com> | 13 天前 |