| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
fix all_dependent_configs Signed-off-by: wangsen1994 <wangsen51@huawei.com> | 8 个月前 | |
fix all_dependent_configs Signed-off-by: wangsen1994 <wangsen51@huawei.com> | 8 个月前 | |
fix all_dependent_configs Signed-off-by: wangsen1994 <wangsen51@huawei.com> | 8 个月前 | |
!4924 merge master into master 输入不足告警整改 Created-by: lx180327070811 Commit-by: g00586423 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!4924 | 5 天前 | |
fix(test): auto-isolate all test RDB via ans_service_sources_test wrapper Add ans_service_sources_test (ohos_static_library, testonly) that wraps ans_service_sources and automatically provides the mock_ans_rdb_mgr_builder strong override (isolated temp DB). All test targets now depend on ans_service_sources_test instead of ans_service_sources, so new test suites automatically get RDB isolation without manual changes. ans_service_sources_test_config propagates all needed include paths (ans headers, rdb headers, mock headers) to test targets. The mock source (mock_ans_rdb_mgr_builder.cpp) is compiled once into the static lib, avoiding include-path propagation issues with source_set recompilation. Co-Authored-By: Agent Signed-off-by: CheerfulRicky <yuegang7@h-partners.com> Change-Id: Ieafd58f9f1e1433e3381c89a8c105f7191662986 Signed-off-by: CheerfulRicky <yuegang7@h-partners.com> | 14 天前 | |
fix(test): auto-isolate all test RDB via ans_service_sources_test wrapper Add ans_service_sources_test (ohos_static_library, testonly) that wraps ans_service_sources and automatically provides the mock_ans_rdb_mgr_builder strong override (isolated temp DB). All test targets now depend on ans_service_sources_test instead of ans_service_sources, so new test suites automatically get RDB isolation without manual changes. ans_service_sources_test_config propagates all needed include paths (ans headers, rdb headers, mock headers) to test targets. The mock source (mock_ans_rdb_mgr_builder.cpp) is compiled once into the static lib, avoiding include-path propagation issues with source_set recompilation. Co-Authored-By: Agent Signed-off-by: CheerfulRicky <yuegang7@h-partners.com> Change-Id: Ieafd58f9f1e1433e3381c89a8c105f7191662986 Signed-off-by: CheerfulRicky <yuegang7@h-partners.com> | 14 天前 | |
fix(test): auto-isolate all test RDB via ans_service_sources_test wrapper Add ans_service_sources_test (ohos_static_library, testonly) that wraps ans_service_sources and automatically provides the mock_ans_rdb_mgr_builder strong override (isolated temp DB). All test targets now depend on ans_service_sources_test instead of ans_service_sources, so new test suites automatically get RDB isolation without manual changes. ans_service_sources_test_config propagates all needed include paths (ans headers, rdb headers, mock headers) to test targets. The mock source (mock_ans_rdb_mgr_builder.cpp) is compiled once into the static lib, avoiding include-path propagation issues with source_set recompilation. Co-Authored-By: Agent Signed-off-by: CheerfulRicky <yuegang7@h-partners.com> Change-Id: Ieafd58f9f1e1433e3381c89a8c105f7191662986 Signed-off-by: CheerfulRicky <yuegang7@h-partners.com> | 14 天前 | |
fix(test): auto-isolate all test RDB via ans_service_sources_test wrapper Add ans_service_sources_test (ohos_static_library, testonly) that wraps ans_service_sources and automatically provides the mock_ans_rdb_mgr_builder strong override (isolated temp DB). All test targets now depend on ans_service_sources_test instead of ans_service_sources, so new test suites automatically get RDB isolation without manual changes. ans_service_sources_test_config propagates all needed include paths (ans headers, rdb headers, mock headers) to test targets. The mock source (mock_ans_rdb_mgr_builder.cpp) is compiled once into the static lib, avoiding include-path propagation issues with source_set recompilation. Co-Authored-By: Agent Signed-off-by: CheerfulRicky <yuegang7@h-partners.com> Change-Id: Ieafd58f9f1e1433e3381c89a8c105f7191662986 Signed-off-by: CheerfulRicky <yuegang7@h-partners.com> | 14 天前 | |
fix(test): auto-isolate all test RDB via ans_service_sources_test wrapper Add ans_service_sources_test (ohos_static_library, testonly) that wraps ans_service_sources and automatically provides the mock_ans_rdb_mgr_builder strong override (isolated temp DB). All test targets now depend on ans_service_sources_test instead of ans_service_sources, so new test suites automatically get RDB isolation without manual changes. ans_service_sources_test_config propagates all needed include paths (ans headers, rdb headers, mock headers) to test targets. The mock source (mock_ans_rdb_mgr_builder.cpp) is compiled once into the static lib, avoiding include-path propagation issues with source_set recompilation. Co-Authored-By: Agent Signed-off-by: CheerfulRicky <yuegang7@h-partners.com> Change-Id: Ieafd58f9f1e1433e3381c89a8c105f7191662986 Signed-off-by: CheerfulRicky <yuegang7@h-partners.com> | 14 天前 | |
fix(test): auto-isolate all test RDB via ans_service_sources_test wrapper Add ans_service_sources_test (ohos_static_library, testonly) that wraps ans_service_sources and automatically provides the mock_ans_rdb_mgr_builder strong override (isolated temp DB). All test targets now depend on ans_service_sources_test instead of ans_service_sources, so new test suites automatically get RDB isolation without manual changes. ans_service_sources_test_config propagates all needed include paths (ans headers, rdb headers, mock headers) to test targets. The mock source (mock_ans_rdb_mgr_builder.cpp) is compiled once into the static lib, avoiding include-path propagation issues with source_set recompilation. Co-Authored-By: Agent Signed-off-by: CheerfulRicky <yuegang7@h-partners.com> Change-Id: Ieafd58f9f1e1433e3381c89a8c105f7191662986 Signed-off-by: CheerfulRicky <yuegang7@h-partners.com> | 14 天前 | |
fix(test): auto-isolate all test RDB via ans_service_sources_test wrapper Add ans_service_sources_test (ohos_static_library, testonly) that wraps ans_service_sources and automatically provides the mock_ans_rdb_mgr_builder strong override (isolated temp DB). All test targets now depend on ans_service_sources_test instead of ans_service_sources, so new test suites automatically get RDB isolation without manual changes. ans_service_sources_test_config propagates all needed include paths (ans headers, rdb headers, mock headers) to test targets. The mock source (mock_ans_rdb_mgr_builder.cpp) is compiled once into the static lib, avoiding include-path propagation issues with source_set recompilation. Co-Authored-By: Agent Signed-off-by: CheerfulRicky <yuegang7@h-partners.com> Change-Id: Ieafd58f9f1e1433e3381c89a8c105f7191662986 Signed-off-by: CheerfulRicky <yuegang7@h-partners.com> | 14 天前 | |
fix all_dependent_configs Signed-off-by: wangsen1994 <wangsen51@huawei.com> | 8 个月前 | |
fix all_dependent_configs Signed-off-by: wangsen1994 <wangsen51@huawei.com> | 8 个月前 | |
fix all_dependent_configs Signed-off-by: wangsen1994 <wangsen51@huawei.com> | 8 个月前 | |
fix all_dependent_configs Signed-off-by: wangsen1994 <wangsen51@huawei.com> | 8 个月前 | |
修改ANS Fuzz测试用例 Signed-off-by: wangsen1994 <wangsen51@huawei.com> | 1 年前 | |
Co-Authored-By: hanwenhui Signed-off-by: hanwenhui <hanwenhui2@h-partners.com> | 10 天前 | |
fix all_dependent_configs Signed-off-by: wangsen1994 <wangsen51@huawei.com> | 8 个月前 | |
fix all_dependent_configs Signed-off-by: wangsen1994 <wangsen51@huawei.com> | 8 个月前 | |
fix all_dependent_configs Signed-off-by: wangsen1994 <wangsen51@huawei.com> | 8 个月前 | |
test(fuzz): 补充isNotificationSlotEnabledByBundles的fuzz用例 为批量查询通知槽使能状态(GetEnabledForBundleSlots)新增两个fuzz用例, 覆盖isNotificationSlotEnabledByBundles API的服务端与Inner API两层入口: - 服务端层:servicegetenabledforbundleslots_fuzzer,调用 AdvancedNotificationService::GetEnabledForBundleSlots - Inner API层:getenabledforbundleslots_fuzzer,调用 NotificationHelper::GetEnabledForBundleSlots Co-Authored-By: Agent Signed-off-by: CheerfulRicky <yuegang7@h-partners.com> Change-Id: Ifabd43b3e3e5cdfda95d983a9082be8d7b3f1531 | 1 个月前 | |
fix all_dependent_configs Signed-off-by: wangsen1994 <wangsen51@huawei.com> | 8 个月前 | |
fix all_dependent_configs Signed-off-by: wangsen1994 <wangsen51@huawei.com> | 8 个月前 | |
fix all_dependent_configs Signed-off-by: wangsen1994 <wangsen51@huawei.com> | 8 个月前 | |
fuzzer告警处理 Signed-off-by: luojingsong <luojingsong@h-partners.com> Change-Id: I85bb6e376ec70011eb151f5f0d3c33b2d4da8374 | 1 年前 | |
输入不足告警整改 Signed-off-by: g00586423 <guxiang11@huawei.com> | 6 天前 | |
fix(test): auto-isolate all test RDB via ans_service_sources_test wrapper Add ans_service_sources_test (ohos_static_library, testonly) that wraps ans_service_sources and automatically provides the mock_ans_rdb_mgr_builder strong override (isolated temp DB). All test targets now depend on ans_service_sources_test instead of ans_service_sources, so new test suites automatically get RDB isolation without manual changes. ans_service_sources_test_config propagates all needed include paths (ans headers, rdb headers, mock headers) to test targets. The mock source (mock_ans_rdb_mgr_builder.cpp) is compiled once into the static lib, avoiding include-path propagation issues with source_set recompilation. Co-Authored-By: Agent Signed-off-by: CheerfulRicky <yuegang7@h-partners.com> Change-Id: Ieafd58f9f1e1433e3381c89a8c105f7191662986 Signed-off-by: CheerfulRicky <yuegang7@h-partners.com> | 14 天前 | |
Add aggregation notification feature with classification and switch support Signed-off-by: stepend98 <yangjun273@huawei.com> Co-Authored-By: Agent | 2 个月前 | |
fix(test): auto-isolate all test RDB via ans_service_sources_test wrapper Add ans_service_sources_test (ohos_static_library, testonly) that wraps ans_service_sources and automatically provides the mock_ans_rdb_mgr_builder strong override (isolated temp DB). All test targets now depend on ans_service_sources_test instead of ans_service_sources, so new test suites automatically get RDB isolation without manual changes. ans_service_sources_test_config propagates all needed include paths (ans headers, rdb headers, mock headers) to test targets. The mock source (mock_ans_rdb_mgr_builder.cpp) is compiled once into the static lib, avoiding include-path propagation issues with source_set recompilation. Co-Authored-By: Agent Signed-off-by: CheerfulRicky <yuegang7@h-partners.com> Change-Id: Ieafd58f9f1e1433e3381c89a8c105f7191662986 Signed-off-by: CheerfulRicky <yuegang7@h-partners.com> | 14 天前 | |
fix all_dependent_configs Signed-off-by: wangsen1994 <wangsen51@huawei.com> | 8 个月前 | |
fix(test): auto-isolate all test RDB via ans_service_sources_test wrapper Add ans_service_sources_test (ohos_static_library, testonly) that wraps ans_service_sources and automatically provides the mock_ans_rdb_mgr_builder strong override (isolated temp DB). All test targets now depend on ans_service_sources_test instead of ans_service_sources, so new test suites automatically get RDB isolation without manual changes. ans_service_sources_test_config propagates all needed include paths (ans headers, rdb headers, mock headers) to test targets. The mock source (mock_ans_rdb_mgr_builder.cpp) is compiled once into the static lib, avoiding include-path propagation issues with source_set recompilation. Co-Authored-By: Agent Signed-off-by: CheerfulRicky <yuegang7@h-partners.com> Change-Id: Ieafd58f9f1e1433e3381c89a8c105f7191662986 Signed-off-by: CheerfulRicky <yuegang7@h-partners.com> | 14 天前 | |
fix all_dependent_configs Signed-off-by: wangsen1994 <wangsen51@huawei.com> | 8 个月前 | |
DT-Fuzz AI检视意见修改 Co-Authored-By:guxiang Signed-off-by: g00586423 <guxiang11@huawei.com> | 2 个月前 | |
run_time独立编译 Signed-off-by: zhengzhuolan <zhengzhuolan@huawei-partners.com> | 9 个月前 | |
Add aggregation notification feature with classification and switch support Signed-off-by: stepend98 <yangjun273@huawei.com> Co-Authored-By: Agent | 2 个月前 | |
DT-Fuzz AI检视意见修改 Co-Authored-By:guxiang Signed-off-by: g00586423 <guxiang11@huawei.com> | 2 个月前 | |
整改fuzz用例,使用FuzzedDataProvider获取数据 Signed-off-by: yangjun <yangjun273@huawei.com> Change-Id: Iab87cd603649ba7fa6075fca2c91825d0d360d6d Signed-off-by: yangjun <yangjun273@huawei.com> | 1 年前 | |
整改fuzz用例,使用FuzzedDataProvider获取数据 Signed-off-by: yangjun <yangjun273@huawei.com> Change-Id: Iab87cd603649ba7fa6075fca2c91825d0d360d6d Signed-off-by: yangjun <yangjun273@huawei.com> | 1 年前 | |
整改fuzz用例,使用FuzzedDataProvider获取数据 Signed-off-by: yangjun <yangjun273@huawei.com> Change-Id: Iab87cd603649ba7fa6075fca2c91825d0d360d6d Signed-off-by: yangjun <yangjun273@huawei.com> | 1 年前 | |
整改fuzz用例,使用FuzzedDataProvider获取数据 Signed-off-by: yangjun <yangjun273@huawei.com> Change-Id: Iab87cd603649ba7fa6075fca2c91825d0d360d6d Signed-off-by: yangjun <yangjun273@huawei.com> | 1 年前 | |
FUZZ Signed-off-by: xdongs <xdongs@163.com> | 1 年前 | |
fix(test): auto-isolate all test RDB via ans_service_sources_test wrapper Add ans_service_sources_test (ohos_static_library, testonly) that wraps ans_service_sources and automatically provides the mock_ans_rdb_mgr_builder strong override (isolated temp DB). All test targets now depend on ans_service_sources_test instead of ans_service_sources, so new test suites automatically get RDB isolation without manual changes. ans_service_sources_test_config propagates all needed include paths (ans headers, rdb headers, mock headers) to test targets. The mock source (mock_ans_rdb_mgr_builder.cpp) is compiled once into the static lib, avoiding include-path propagation issues with source_set recompilation. Co-Authored-By: Agent Signed-off-by: CheerfulRicky <yuegang7@h-partners.com> Change-Id: Ieafd58f9f1e1433e3381c89a8c105f7191662986 Signed-off-by: CheerfulRicky <yuegang7@h-partners.com> | 14 天前 | |
修复notificationflagsfuzz未使用随机数问题 Co-Authored-By:Agent Signed-off-by: xdongs2009 <xdongs@163.com> | 3 个月前 | |
fix(fuzz): remove sleep calls and add per-iteration FFRT queue drain Root cause: FFRT async tasks access static resources during process exit when static destruction order is undefined, causing UAF. The sleep(1000ms) calls were a probabilistic workaround that reduced fuzzer throughput by 50-100x without deterministically preventing UAF. Changes: - Repurpose SelfClean(bool resetQueues) to support both drain-only and drain+reset modes. Per-iteration uses drain-only (queues stay alive for coverage), atexit uses drain+reset (queues set to null before static destructors run) - Add WaitForFfrtQueue() to NotificationSubscriberManager, DistributedNotificationManager, and NotificationLocalLiveViewSubscriberManager (drain without reset) - Use existing SyncSubmit() for FfrtQueueImpl drain instead of new method - Enhance Reset()/ResetFfrtQueue() to drain before release - Add ENSURE_ANS_SERVICE_CLEANED_AT_EXIT() macro in fuzz_common_base.h that calls GetInstance()->SelfClean() after each iteration's DoSomethingInterestingWithMyAPI to drain pending FFRT tasks, and registers atexit to call SelfClean(true) + _exit(0) to skip all static destructors and prevent exit-time crashes (timer callbacks, CFI violations, FFRT queue destruction races) - Move StopCacheCleanupTimer() to public in NotificationPreferences so SelfClean(true) can cancel delayed global ffrt::submit_h task - Remove all sleep/sleep_for calls from 146 fuzz test files - Convert 9 LOCAL-pattern fuzzers (ansmanagerstub*, serviceprivate*) from new/make_shared to GetInstance() singleton pattern Reminder fuzzers (reminderdatamanager*) and services/reminder/ are not modified per project maintenance boundary. Verified: 16/16 rounds across 3 fuzz targets, 0% crash rate. Co-Authored-By: Agent Signed-off-by: CheerfulRicky <yuegang7@h-partners.com> Change-Id: I67bcba081d346cbdfcae8e001e12382214d523d7 | 1 个月前 | |
fix(ans): fix stack-buffer-overflow in NotificationHelperFuzzTest from issue #4350 Replace the stack-allocated NotificationSubscriber with a static process-lifetime object. The by-reference subscribe APIs store a raw reference to the subscriber inside SubscriberImpl, so in-flight IPC callbacks on the binder thread could invoke the subscriber after the stack frame was destroyed, causing the ASAN stack-buffer-overflow reported in issue #4350. Also unsubscribe fuzzNotificationSubSptr3 to keep subscribe/unsubscribe symmetric, preventing server-side subscriber records from accumulating across fuzz iterations. Co-Authored-By: Agent Signed-off-by: CheerfulRicky <yuegang7@h-partners.com> Change-Id: Id410083aa46ce14b64729ebfd0f412aade4145c0 | 4 天前 | |
FUZZ Signed-off-by: xdongs <xdongs@163.com> | 1 年前 | |
FUZZ Signed-off-by: xdongs <xdongs@163.com> | 1 年前 | |
del unused fuzz case Signed-off-by: wangdi <wangdi154@huawei.com> | 1 年前 | |
fix all_dependent_configs Signed-off-by: wangsen1994 <wangsen51@huawei.com> | 8 个月前 | |
DT-Fuzz AI检视意见修改 Co-Authored-By:guxiang Signed-off-by: g00586423 <guxiang11@huawei.com> | 2 个月前 | |
del unused fuzz case Signed-off-by: wangdi <wangdi154@huawei.com> | 1 年前 | |
fix all_dependent_configs Signed-off-by: wangsen1994 <wangsen51@huawei.com> | 8 个月前 | |
Ans的Fuzz用例整改 Signed-off-by: wufarong <wufarong@huawei.com> Change-Id: Iada622729e79e5cecb5eb1a450f4727bcd6ee31c | 1 年前 | |
DT-Fuzz AI检视意见修改 Co-Authored-By:guxiang Signed-off-by: g00586423 <guxiang11@huawei.com> | 2 个月前 | |
fix all_dependent_configs Signed-off-by: wangsen1994 <wangsen51@huawei.com> | 8 个月前 | |
fix all_dependent_configs Signed-off-by: wangsen1994 <wangsen51@huawei.com> | 8 个月前 | |
fix(test): auto-isolate all test RDB via ans_service_sources_test wrapper Add ans_service_sources_test (ohos_static_library, testonly) that wraps ans_service_sources and automatically provides the mock_ans_rdb_mgr_builder strong override (isolated temp DB). All test targets now depend on ans_service_sources_test instead of ans_service_sources, so new test suites automatically get RDB isolation without manual changes. ans_service_sources_test_config propagates all needed include paths (ans headers, rdb headers, mock headers) to test targets. The mock source (mock_ans_rdb_mgr_builder.cpp) is compiled once into the static lib, avoiding include-path propagation issues with source_set recompilation. Co-Authored-By: Agent Signed-off-by: CheerfulRicky <yuegang7@h-partners.com> Change-Id: Ieafd58f9f1e1433e3381c89a8c105f7191662986 Signed-off-by: CheerfulRicky <yuegang7@h-partners.com> | 14 天前 | |
fix all_dependent_configs Signed-off-by: wangsen1994 <wangsen51@huawei.com> | 8 个月前 | |
fix all_dependent_configs Signed-off-by: wangsen1994 <wangsen51@huawei.com> | 8 个月前 | |
DT-Fuzz AI检视意见修改 Co-Authored-By:guxiang Signed-off-by: g00586423 <guxiang11@huawei.com> | 2 个月前 | |
fix all_dependent_configs Signed-off-by: wangsen1994 <wangsen51@huawei.com> | 8 个月前 | |
DT-Fuzz AI检视意见修改 Co-Authored-By:guxiang Signed-off-by: g00586423 <guxiang11@huawei.com> | 2 个月前 | |
Add aggregation notification feature with classification and switch support Signed-off-by: stepend98 <yangjun273@huawei.com> Co-Authored-By: Agent | 2 个月前 | |
Add aggregation notification feature with classification and switch support Signed-off-by: stepend98 <yangjun273@huawei.com> Co-Authored-By: Agent | 2 个月前 | |
整改fuzz用例,使用FuzzedDataProvider获取数据 Signed-off-by: yangjun <yangjun273@huawei.com> Change-Id: Iab87cd603649ba7fa6075fca2c91825d0d360d6d Signed-off-by: yangjun <yangjun273@huawei.com> | 1 年前 | |
DT-Fuzz AI检视意见修改 Co-Authored-By:guxiang Signed-off-by: g00586423 <guxiang11@huawei.com> | 2 个月前 | |
整改fuzz用例,使用FuzzedDataProvider获取数据 Signed-off-by: yangjun <yangjun273@huawei.com> Change-Id: Iab87cd603649ba7fa6075fca2c91825d0d360d6d Signed-off-by: yangjun <yangjun273@huawei.com> | 1 年前 | |
add notification parcel fuzz test Signed-off-by: wangdi <wangdi154@huawei.com> | 1 年前 | |
测试用例补充 Signed-off-by: he-guokai <heguokai6@huawei-partners.com> | 8 个月前 | |
codecheck Signed-off-by: he-guokai <heguokai6@huawei-partners.com> | 8 个月前 | |
fix all_dependent_configs Signed-off-by: wangsen1994 <wangsen51@huawei.com> | 8 个月前 | |
Signed-off-by: hanwenhui <hanwenhui2@h-partners.com> Co-Authored-BY: hanwenhui | 1 个月前 | |
Signed-off-by: hanwenhui <hanwenhui2@h-partners.com> Co-Authored-BY: hanwenhui | 1 个月前 | |
Signed-off-by: hanwenhui <hanwenhui2@h-partners.com> Co-Authored-BY: hanwenhui | 1 个月前 | |
Group the boolean behavior flags previously scattered across function signatures into the ShowLimit struct, and use a new isUpdateDeliveryTime flag to control whether the notification delivery time is refreshed when showing a reminder. - Add isPlaySound/isSysTimeChanged/isCloseDefaultSound/isSlienceNotification fields to ShowLimit in reminder_data_manager.h - Add isUpdateDeliveryTime field (default true) to ShowLimit - ShowReminder: signature changes to (reminder, const ShowLimit& limits); pass limits.isUpdateDeliveryTime through to ReminderRequest:: UpdateNotificationRequest - HandleImmediatelyShow: signature changes to (vector, ShowLimit&, size_t index = 0); OnShow and the recursive ffrt callback now read isSysTimeChanged/isSlienceNotification from limits - Update all call sites (OnLanguageChanged, LoadShareReminders, UpdateShareReminders, OnDataShareInsertOrDelete, InitShareReminders, boot complete, system time change, ShowActiveReminder) to populate the relevant flags on a local ShowLimit before invoking - isUpdateDeliveryTime is true only for normal timer trigger (ShowActiveReminder) and system time change trigger; false for all other cases (boot, init, data share, language change) - Update unit test and both fuzz harnesses to the new signatures Signed-off-by: let_it_rot <gaojiaqi7@h-partners.com> Co-Authored-By: Agent | 16 天前 | |
Group the boolean behavior flags previously scattered across function signatures into the ShowLimit struct, and use a new isUpdateDeliveryTime flag to control whether the notification delivery time is refreshed when showing a reminder. - Add isPlaySound/isSysTimeChanged/isCloseDefaultSound/isSlienceNotification fields to ShowLimit in reminder_data_manager.h - Add isUpdateDeliveryTime field (default true) to ShowLimit - ShowReminder: signature changes to (reminder, const ShowLimit& limits); pass limits.isUpdateDeliveryTime through to ReminderRequest:: UpdateNotificationRequest - HandleImmediatelyShow: signature changes to (vector, ShowLimit&, size_t index = 0); OnShow and the recursive ffrt callback now read isSysTimeChanged/isSlienceNotification from limits - Update all call sites (OnLanguageChanged, LoadShareReminders, UpdateShareReminders, OnDataShareInsertOrDelete, InitShareReminders, boot complete, system time change, ShowActiveReminder) to populate the relevant flags on a local ShowLimit before invoking - isUpdateDeliveryTime is true only for normal timer trigger (ShowActiveReminder) and system time change trigger; false for all other cases (boot, init, data share, language change) - Update unit test and both fuzz harnesses to the new signatures Signed-off-by: let_it_rot <gaojiaqi7@h-partners.com> Co-Authored-By: Agent | 16 天前 | |
Signed-off-by: hanwenhui <hanwenhui2@h-partners.com> Co-Authored-By:hanwenhui | 1 个月前 | |
Signed-off-by: hanwenhui <hanwenhui2@h-partners.com> Co-Authored-BY: hanwenhui | 1 个月前 | |
Signed-off-by: hanwenhui <hanwenhui2@h-partners.com> Co-Authored-BY: hanwenhui | 1 个月前 | |
Signed-off-by: hanwenhui <hanwenhui2@h-partners.com> Co-Authored-BY: hanwenhui | 1 个月前 | |
Signed-off-by: hanwenhui <hanwenhui2@h-partners.com> Co-Authored-BY: hanwenhui | 1 个月前 | |
Signed-off-by: hanwenhui <hanwenhui2@h-partners.com> Co-Authored-BY: hanwenhui | 1 个月前 | |
Refactoring calendar reminder with repeated triggering of time calculation for month and day, and fixing multiple defects Abandoning the old GetNextDay+monthly jump algorithm and replacing it with a single-layer monthly jump scheme based on absolute month numbers, Year=absMonth/12 automatically crosses years, eliminating the hidden danger of manual setYear accumulation. Fix the following defects: 1. Multiple accumulations of setYear after the New Year result in a delay of 1 to N years in the next cycle 2. The candidate trigger time is earlier than the start date of firstDesignate 3. When firstDesignate exceeds the coverage range of the loop, it is misjudged as expired 4. setDay=255 is incorrectly normalized by mktime (such as invalid configuration for Hb 30) Scan range expanded to 5 years, correctly handling the leap year cycle on February 29th. Add 10 regression tests covering all reachable branches, constructed based on relative time to ensure future feasibility. Signed-off-by: let_it_rot <gaojiaqi7@h-partners.com> Co-Authored-By: Agent | 17 天前 | |
Signed-off-by: hanwenhui <hanwenhui2@h-partners.com> Co-Authored-BY: hanwenhui | 1 个月前 | |
Signed-off-by: hanwenhui <hanwenhui2@h-partners.com> Co-Authored-BY: hanwenhui | 1 个月前 | |
fix build Signed-off-by: Yeyuning <yeyuning2@h-partners.com> Co-Authored-By: Agent | 4 个月前 | |
Signed-off-by: hanwenhui <hanwenhui2@h-partners.com> Co-Authored-BY: hanwenhui | 1 个月前 | |
Signed-off-by: hanwenhui <hanwenhui2@h-partners.com> Co-Authored-BY: hanwenhui | 1 个月前 | |
fix all_dependent_configs Signed-off-by: wangsen1994 <wangsen51@huawei.com> | 8 个月前 | |
fix all_dependent_configs Signed-off-by: wangsen1994 <wangsen51@huawei.com> | 8 个月前 | |
fix all_dependent_configs Signed-off-by: wangsen1994 <wangsen51@huawei.com> | 8 个月前 | |
fix all_dependent_configs Signed-off-by: wangsen1994 <wangsen51@huawei.com> | 8 个月前 | |
fix all_dependent_configs Signed-off-by: wangsen1994 <wangsen51@huawei.com> | 8 个月前 | |
fix all_dependent_configs Signed-off-by: wangsen1994 <wangsen51@huawei.com> | 8 个月前 | |
fix all_dependent_configs Signed-off-by: wangsen1994 <wangsen51@huawei.com> | 8 个月前 | |
add tdd case Signed-off-by: zhengzhuolan <zhengzhuolan@huawei-partners.com> | 9 个月前 | |
fix all_dependent_configs Signed-off-by: wangsen1994 <wangsen51@huawei.com> | 8 个月前 | |
test(fuzz): split AdvancedNotificationServiceFuzzTest into single-interface and integration fuzzers Split the original AdvancedNotificationServiceFuzzTest (1096 lines, 180 method calls) into: - 39 public IPC interface single fuzzers covering IDL method gaps - 5 private integration fuzzers extracted by code segment covering internal methods Deleted the original big fuzzer and added -Wno-unused-variable to the common gni template. Change-Id: I47db7bf3826dcb97472627d97a8093c84ede7490 Change-Id: I0e0f9d50d0aaeb039d543718a651b0b99d0e8006 Change-Id: I56d9aadba19c5251d496766b6d5e7707c09e258b Co-Authored-By: Agent Signed-off-by: CheerfulRicky <yuegang7@h-partners.com> Change-Id: Ib7c79277621e6928054c297565597eef88ae590f | 1 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 8 个月前 | ||
| 8 个月前 | ||
| 8 个月前 | ||
| 5 天前 | ||
| 14 天前 | ||
| 14 天前 | ||
| 14 天前 | ||
| 14 天前 | ||
| 14 天前 | ||
| 14 天前 | ||
| 14 天前 | ||
| 8 个月前 | ||
| 8 个月前 | ||
| 8 个月前 | ||
| 8 个月前 | ||
| 1 年前 | ||
| 10 天前 | ||
| 8 个月前 | ||
| 8 个月前 | ||
| 8 个月前 | ||
| 1 个月前 | ||
| 8 个月前 | ||
| 8 个月前 | ||
| 8 个月前 | ||
| 1 年前 | ||
| 6 天前 | ||
| 14 天前 | ||
| 2 个月前 | ||
| 14 天前 | ||
| 8 个月前 | ||
| 14 天前 | ||
| 8 个月前 | ||
| 2 个月前 | ||
| 9 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 14 天前 | ||
| 3 个月前 | ||
| 1 个月前 | ||
| 4 天前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 8 个月前 | ||
| 2 个月前 | ||
| 1 年前 | ||
| 8 个月前 | ||
| 1 年前 | ||
| 2 个月前 | ||
| 8 个月前 | ||
| 8 个月前 | ||
| 14 天前 | ||
| 8 个月前 | ||
| 8 个月前 | ||
| 2 个月前 | ||
| 8 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 1 年前 | ||
| 2 个月前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 8 个月前 | ||
| 8 个月前 | ||
| 8 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 16 天前 | ||
| 16 天前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 17 天前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 4 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 8 个月前 | ||
| 8 个月前 | ||
| 8 个月前 | ||
| 8 个月前 | ||
| 8 个月前 | ||
| 8 个月前 | ||
| 8 个月前 | ||
| 9 个月前 | ||
| 8 个月前 | ||
| 1 个月前 |