Felka Chang
71e3efed54
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
2019-12-18 23:04:15 +08:00
..
2019-12-17 18:19:08 +00:00
2019-09-25 15:06:42 -07:00
2019-12-13 16:41:21 +00:00
2019-11-18 16:06:08 -08:00
2019-11-26 01:19:07 +00:00
2019-12-13 20:48:41 -08:00
2019-07-03 09:44:12 +08:00
2019-12-13 13:59:31 -08:00
2019-12-10 19:15:38 +00:00
2019-12-05 12:12:14 +00:00
2019-12-18 23:04:15 +08:00
2019-12-17 05:41:48 +00:00
2019-12-12 12:09:18 +00:00
2019-11-12 10:29:39 +08:00
2019-11-19 15:05:35 +00:00
2019-11-06 11:47:12 +08:00
2019-08-30 13:56:09 -07:00
2019-12-16 14:52:28 +00:00
2019-10-17 14:24:04 -07:00
2019-12-02 12:43:01 -08:00
2019-12-05 11:28:11 -08:00
2019-11-11 16:12:46 -08:00
2019-09-26 12:59:19 +01:00
2019-07-02 13:17:05 -07:00
2019-12-03 16:37:55 +00:00
2019-11-27 16:28:47 +00:00
2019-10-17 14:15:07 -07:00
2019-08-30 08:18:50 -07:00
2019-10-17 14:15:07 -07:00
2019-12-16 09:52:12 +08:00
2019-11-05 19:14:54 +01:00
2019-11-19 01:24:52 +00:00
2019-12-18 01:35:46 +00:00
2019-10-17 14:24:04 -07:00
2019-11-26 15:18:14 +08:00
2019-08-27 10:47:23 -07:00
2019-11-15 10:24:23 -08:00
2019-12-12 12:09:18 +00:00
2019-12-16 08:42:31 +00:00
2019-10-08 11:09:53 -07:00
2019-12-11 13:43:32 +00:00
2019-11-21 14:22:18 -08:00
2019-12-09 15:48:14 -05:00
2019-11-21 14:22:18 -08:00
2019-12-10 13:19:31 +08:00
2019-11-22 09:12:25 -08:00
2019-05-07 10:00:07 -04:00
2019-11-21 15:56:08 +01:00
2019-10-17 11:10:02 -07:00
2019-10-30 18:23:24 -07:00
2019-11-21 12:23:42 -08:00
2019-05-21 10:21:43 -07:00
2019-11-15 20:09:13 -08:00
2019-10-03 14:00:16 -07:00
2019-11-15 10:24:23 -08:00
2019-11-15 10:24:23 -08:00
2019-11-13 14:51:14 -08:00
2019-08-08 18:16:59 +08:00
2019-12-05 11:28:11 -08:00
2019-12-05 11:28:11 -08:00
2019-12-05 11:28:11 -08:00
2019-10-29 09:50:06 -04:00
2019-11-19 12:10:55 -05:00
2019-12-05 11:28:11 -08:00
2019-11-19 15:05:35 +00:00
2019-11-19 15:05:35 +00:00
2019-12-05 11:28:11 -08:00
2019-06-21 11:10:19 +01:00
2019-12-05 11:28:11 -08:00
2019-12-02 16:49:26 -08:00
2019-11-19 15:05:35 +00:00
2019-11-21 15:56:08 +01:00
2019-11-22 09:12:25 -08:00
2019-08-26 15:26:24 -07:00
2019-12-11 15:49:03 -08:00
2019-09-10 11:16:29 -07:00
2019-10-17 14:15:07 -07:00
2019-12-17 20:58:48 +00:00
2019-12-16 02:12:42 +00:00
2019-11-19 15:05:35 +00:00
2019-11-21 10:28:22 +00:00
2019-10-04 08:31:14 +08:00
2019-11-19 15:05:35 +00:00
2019-11-21 12:23:42 -08:00
2019-11-19 15:05:35 +00:00
2019-05-14 10:15:31 -07:00
2019-08-30 00:16:24 +00:00
2019-11-19 01:24:52 +00:00
2019-12-05 11:28:11 -08:00