Add query functionalities to query all of crates
Once the application called Context.getCrateDir(), the crates root directory is also created. The application can mkdir directory under the crates root. Each child directory in crates root is one crate. Each crate information is descibed by CrateInfo. CrateInfo contains the following information. * Label: It is used to display text to the users. Default is the folder name. * Expiration: When the system needs more space. The system will clean the files in the crates according to the expired or not. Default is 0. Test: atest \ CtsOsTestCases:android.os.storage.cts.CrateInfoTest \ CtsOsTestCases:android.os.storage.cts.StorageCrateTest \ CtsOsTestCases:android.os.storage.cts.StorageStatsManagerTest Bug: 141660526 Change-Id: Icdc8123c481ef7c5b4fd68ffcfd334ffbfc9d655
Loading
Please register or sign in to comment