| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
optimize mount again https://gitcode.com/openharmony/filemanagement_storage_service/issues/2330 Co-Authored-By: Agent Signed-off-by: hunili <lihucheng2@h-partners.com> | 12 天前 | |
存储优化第二期策略修改 Signed-off-by: Shj_ <shihaojie16@h-partners.com> | 5 个月前 | |
Merge branch 'master' into PR_rsf_251126 | 6 个月前 | |
打点切换到新增事件&打点top数量变更&扫盘SA默认大小变更 Co-Authored-By: Agent Signed-off-by: libo429 <libo429@h-partners.com> | 25 天前 | |
【master】【storage】分区需求代码逻辑优化 Co-Authored-By: Agent <noreply@anthropic.com> Signed-off-by: zhangchenyang <zhangchenyang30@h-partners.com> | 1 个月前 | |
光驱刻录功能适配新架构 Signed-off-by: chenyu_code <chenyu454@h-partners.com> | 18 天前 | |
光驱刻录功能适配新架构 Signed-off-by: chenyu_code <chenyu454@h-partners.com> | 18 天前 | |
hyperhold调整 Co-Authored-By: Agent Signed-off-by: libo429 <libo429@h-partners.com> | 30 天前 | |
feat: split HMFS metadata proportionally to freeSize and systemDataSize Previously, HMFS filesystem metadata was entirely added to systemDataSize, causing displayed storage usage to be inaccurate. Now metadata is split proportionally: freeMetadata goes to getFreeSize, usedMetadata goes to getSystemDataSize, making storage display more accurate. - Move metadata calculation from storage_daemon to storage_manager - Add StorageStatusManager::GetMetaDataSize via GetDataSizeByPath IPC - Add StorageTotalStatusService::GetDataTotalSize for data-only total - Add StorageTotalStatusService::GetRawFreeSize for statvfs raw free - Modify GetFreeSize to add freeMetadata with graceful degradation - Modify GetSystemDataSize to add usedMetadata with graceful degradation - Fix bug: GetSystemDataSize uses GetRawFreeSize instead of GetFreeSize to avoid inflating freeMetadata numerator - Add overflow checks in GetMetaDataSize (multiply and add) - Remove redundant systemCacheSize variable in QuotaManager::GetSystemDataSize - Remove unused storage_daemon_communication.h include - Add UT test cases covering all branches with output value assertions - Update mock infrastructure for new methods - UT verified on RK3568 device: 54/54 passed Fixes #2327 Co-Authored-By: Agent Signed-off-by: Dyylll <daiyunlong4@huawei.com> Change-Id: I4c214a1173df6074bd2bf84b587e332c1f6a621b | 12 天前 | |
fix: replace DelayedSingleton with Meyer's singleton for StorageManagerConnect/CjStorageStatusService and clean up DelayedSingleton uses new(std::nothrow) which can return nullptr on OOM, causing crashes when callers dereference without checks. Meyer's singleton (static local reference) is C++11 thread-safe and never null. StorageManagerConnect: 44 arrow->dot replacements in kits_impl, 34 nullptr check blocks removed in taihe, SmDeathRecipient::OnRemoteDied fixed. CjStorageStatusService: 3 nullptr check blocks removed, CjSmDeathRecipient ::OnRemoteDied fixed. Move constructor and destructor to private for all three singleton classes to prevent external instantiation. Remove CreateForTesting/SetInstanceForTesting/GetInstanceForTesting/ ResetInstanceForTesting and instance_ptr_for_testing_ from StorageDaemonCommunication - testing utilities should not exist in business code. Update test files to use GetInstance() reference and ResetSdProxy(), following VolumeManagerService test pattern. Wrap over-120-char lines for cleancode compliance by extracting GetInstance() into local auto& reference. Co-Authored-By: Agent Signed-off-by: gzhuangzhuang <gengzhuangzhuang@huawei.com> Change-Id: I6954bebad07cf3cc0b2f5ee6066d1743eb87f755 | 10 天前 | |
添加hiaudit审计日志 Signed-off-by: cuiruibin <cuiruibin3@h-partners.com> | 3 个月前 | |
光驱刻录功能适配新架构 Signed-off-by: chenyu_code <chenyu454@h-partners.com> | 18 天前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 12 天前 | ||
| 5 个月前 | ||
| 6 个月前 | ||
| 25 天前 | ||
| 1 个月前 | ||
| 18 天前 | ||
| 18 天前 | ||
| 30 天前 | ||
| 12 天前 | ||
| 10 天前 | ||
| 3 个月前 | ||
| 18 天前 |