| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
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> | 17 天前 | |
feat(ans): replace passive TTL eviction with ffrt timer-based cache cleanup Replace the passive TTL check mechanism in LRUCache (bundleCache_) with an active ffrt timer-based cleanup approach. The timer is started only when cache has data and stopped when cache is empty. Changes: - Remove passive TTL checks from Get/Peek/Contains/Put/GetAllKeys hot paths - Remove MaybeEvictExpired() method (dead code) - Add EvictExpiredBundleCache()/IsBundleCacheEmpty() forwarding methods - Add ffrt timer scheduler (StartCacheCleanupTimer/ExecuteCacheCleanup/ StopCacheCleanupTimer) in NotificationPreferences - Wire 29 start triggers + 2 stop triggers across write-back paths - Extract BuildCloneSlotInfo helper to satisfy G.FUD.05 (function <= 50 lines) - Adapt 11 existing test cases and add 16 new test cases - Add branch coverage tests for ExecuteCacheCleanup and BuildCloneSlotInfo - Add summary documentation Signed-off-by: CheerfulRicky <yuegang7@h-partners.com> Co-Authored-By: Agent Change-Id: I83bc82074a900349a795b566abd1b098cc0a0f66 | 1 个月前 | |
Refactor agent-templates to skills architecture and reorganize reference templates Co-Authored-By: Agent Change-Id: I032734539222e7e50d0a6e3724f9d736273a1288 Signed-off-by: stepend98 <yangjun273@huawei.com> | 1 个月前 | |
refactor(errors): implement unified error code layering architecture Signed-off-by: CheerfulRicky <yuegang7@h-partners.com> Co-Authored-by: Agent Change-Id: I136b4e503936f86c646fb936563a6eca6e7bc7d0 | 1 个月前 | |
fix: refactor liveview error codes for custom extension checks - ERR_ANS_CUSTOM_EXTENSION_EXISTS_CHECK_FAILED now maps to new external code 1600029 (ERROR_LIVE_VIEW_EXTENSION_NOT_FOUND) with message 'The system failed to find the ExtensionAbility instance for the custom Live View widget template.' - ERR_ANS_CUSTOM_EXTENSION_RIGHTS_CHECK_FAILED keeps external code 1600014 but updates message to 'The right of liveView is not enabled.' - Update test assertions to match new mapping - Update liveview-rights-check summary documentation Co-Authored-By: Agent Signed-off-by: CheerfulRicky <yuegang7@h-partners.com> Change-Id: I3475995fe9ac6ce1d9508ecfa20d90affb25a119 | 25 天前 | |
Refactor agent-templates to skills architecture and reorganize reference templates Co-Authored-By: Agent Change-Id: I032734539222e7e50d0a6e3724f9d736273a1288 Signed-off-by: stepend98 <yangjun273@huawei.com> | 1 个月前 | |
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 | 7 天前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 17 天前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 25 天前 | ||
| 1 个月前 | ||
| 7 天前 |