| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
add getbadgenumber Signed-off-by: wangdi <wangdi154@huawei.com> | 8 个月前 | |
删除冗余的缩放逻辑 Signed-off-by: z00454238 <zhangchen43@huawei.com> | 1 年前 | |
替换std::mutex Signed-off-by: songbao1 <luojingsong@h-partners.com> | 1 年前 | |
fix(ans): fix cross-SO singleton issue by adding AnsNotification::GetInstance() DelayedSingleton<AnsNotification>::GetInstance() returns different singleton objects in different shared libraries because the template's static members (instance_, mutex_) have vague linkage (COMDAT) and are hidden per-SO by -fvisibility=hidden + version scripts. Solution: 1. Add AnsNotification::GetInstance() using function-local static (C++11 thread-safe, defined out-of-line in ans_notification.cpp within libans_innerkits, symbol exported via *Ans* in .map) 2. Replace ALL callers (NAPI/ANI/Tools/Tests/CJ FFI) from DelayedSingleton<AnsNotification>::GetInstance() to AnsNotification::GetInstance() 3. Fix singleton.h include hygiene: - Add #include singleton.h to 34 files that use Singleton<>, DelayedSingleton<>, DECLARE_SINGLETON etc. but relied on transitive includes - Add #include nocopyable.h to 7 files that use DISALLOW_COPY_AND_MOVE but relied on transitive includes - Remove #include singleton.h from 70 files that no longer use any singleton.h symbols after the DelayedSingleton replacement The function-local static in ans_notification.cpp lives in libans_innerkits.so's data segment. AnsNotification::GetInstance() is a non-inline member function compiled only in libans_innerkits.so and exported via *Ans* pattern in libans_innerkits.map. All SOs call this exported function through dynamic linking, sharing the single instance. Co-Authored-By: Agent Signed-off-by: CheerfulRicky <yuegang7@h-partners.com> Change-Id: I1089cfa5bb010daf37c68333a1e71c55fc1f16f3 | 4 天前 | |
Ans异步化-Badge-GetNtf Signed-off-by: yangjun <yangjun273@huawei.com> | 8 个月前 | |
Add aggregation notification feature with classification and switch support Signed-off-by: stepend98 <yangjun273@huawei.com> Co-Authored-By: Agent | 2 个月前 | |
AnsDialogCallback IDL化整改 Signed-off-by: zhengzhuolan <zhengzhuolan@huawei-partners.com> | 1 年前 | |
move string to source file from head file Signed-off-by: cheerful_ricky <yuegang7@huawei.com> | 7 个月前 | |
change to week depend on hitrace Signed-off-by: dongqingran <dongqingran@huawei.com> | 2 年前 | |
发布流程增加hitraceid Signed-off-by: wufarong <wufarong@huawei.com> Change-Id: I91b02e258e0c56516cc8f68f8426d085b2dfc880 | 1 年前 | |
内存优化图片解析增加缓存 Co-Authored-By: Agent Signed-off-by: g00586423 <guxiang11@huawei.com> | 1 个月前 | |
内存优化图片解析增加缓存 Co-Authored-By: Agent Signed-off-by: g00586423 <guxiang11@huawei.com> | 1 个月前 | |
内存优化图片解析增加缓存 Co-Authored-By: Agent Signed-off-by: g00586423 <guxiang11@huawei.com> | 1 个月前 | |
SwingCallBack_0311A Signed-off-by: zhengzhuolan <zhengzhuolan@huawei-partners.com> | 1 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 8 个月前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 4 天前 | ||
| 8 个月前 | ||
| 2 个月前 | ||
| 1 年前 | ||
| 7 个月前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 年前 |