文件最后提交记录最后更新时间
Issue: #I6DY6U escription: SystemFeature模块,目录结构迁移 Sig: SIG_Sample Feature or Bugfix: Bugfix Binary Source: No Signed-off-by: hongshengquan <hongshengquan3@huawei.com> 3 年前
IssueNo: #IB0OVC:修复StorageStatistic加载问题 Description: Fix Storage Statistics loading issue. Sig: SIG_applications_app_samples Feature or Bugfix: Bugfix Binary Source: No Signed-off-by: zwx1094577 <zhongyuyan1@huawei.com> 1 年前
[Sample] StorageStatistic ArkTS语法整改 Signed-off-by: zwx1126739 <zhanghong121@huawei.com> 2 年前
Issue: #I6DY6U escription: SystemFeature模块,目录结构迁移 Sig: SIG_Sample Feature or Bugfix: Bugfix Binary Source: No Signed-off-by: hongshengquan <hongshengquan3@huawei.com> 3 年前
!2254 【0230】代码revert * Revert "!2225 【0230】code目录适配sdk 3.1.12.5+3.2.10.6" Signed-off-by: sunwenxu <sunwenxu1@huawei.com> 3 年前
修改失效链接 Signed-off-by: yuandongping <yuandongping@huawei.com> 1 年前
修复Mouse、Screen、StorageStatistic断链 Signed-off-by: yuandongping <yuandongping@huawei.com> 1 年前
[Sample] StorageStatistic ArkTS语法整改 Signed-off-by: zwx1126739 <zhanghong121@huawei.com> 2 年前
Issue: #I6DY6U escription: SystemFeature模块,目录结构迁移 Sig: SIG_Sample Feature or Bugfix: Bugfix Binary Source: No Signed-off-by: hongshengquan <hongshengquan3@huawei.com> 3 年前
Audio、Screen、StorageStatistic、CustomNotification、AppAccountManager、ArkTSDistributedMusicPlayer ohpm迁移 Signed-off-by: zwx1126739 <zhanghong121@huawei.com> 2 年前
Audio、Screen、StorageStatistic、CustomNotification、AppAccountManager、ArkTSDistributedMusicPlayer ohpm迁移 Signed-off-by: zwx1126739 <zhanghong121@huawei.com> 2 年前
Audio、Screen、StorageStatistic、CustomNotification、AppAccountManager、ArkTSDistributedMusicPlayer ohpm迁移 Signed-off-by: zwx1126739 <zhanghong121@huawei.com> 2 年前
StorageStatistic 适配4.0.9.1 Signed-off-by: wanghanghui <wanghanghui2@huawei.com> StorageStatistic 适配4.0.9.1 Signed-off-by: wanghanghui <wanghanghui2@huawei.com> StorageStatistic 适配4.0.9.1 Signed-off-by: wanghanghui <wanghanghui2@huawei.com> StorageStatistic 适配4.0.9.1 Signed-off-by: wanghanghui <wanghanghui2@huawei.com> 2 年前
README.md

Storage Space Statistics

Introduction

This sample presents how to view the storage space usage, space of all installed applications, and available volumes of a device by using the application bundle management, application space statistics, and volume management modules.

This sample uses the <DataPanel component> to display the space information about different applications; uses Bundle to obtain the application name and bundle information; uses App Space Statistics to obtain the storage space usage of the device; use Volume Management to obtain information about available volumes of the device. Instructions:

  1. The main page displays the detailed information about the storage space usage of the current device.

  2. Tap Application to view the space of all installed applications.

  3. Tap View Available Volumes to view information about all available volumes of the device.

Display Effect

Required Permissions

Dependency

N/A

Constraints

  1. This sample can only be run on standard-system devices that use the Rockchip RK3568 development board.

  2. This sample is based on the stage model, which is supported from API version 10 (API Version 10 Release).

  3. DevEco Studio (4.0 Release) must be used.

  4. This sample uses the @ohos.bundle.innerBundleManager, @ohos.volumeManager, and @ohos.storageStatistics system APIs. To use the full SDK, obtain it from a mirror site and switch to it in DevEco Studio. For details, see Guide to Switching to Full SDK.

  5. This example uses the system_core permissions (see App Permission List). You need to configure a high-level permission signature.