| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
fix: add missing enable_huks_hdi dependency to StorageDaemonProviderFuzzTest add huks IDL environment defines and proxy dependency for fuzz test compilation Co-Authored-By: Agent Signed-off-by: cuiruibin <cuiruibin3@h-partners.com> Change-Id: I91763149f5bb5e6eeca7cb53d9d18e91f80bc48f | 9 天前 | |
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 | 9 天前 |