diff options
| author | 2019-11-20 14:20:40 +0800 | |
|---|---|---|
| committer | 2019-12-18 14:13:26 +0800 | |
| commit | 2a0a246603f9fe167d6f868667538d86092d8856 (patch) | |
| tree | 29fc63375403f1102d82c00c23712ed95353d476 /libs/gui/BufferQueueThreadState.cpp | |
| parent | 1730b0be85f5005ffef0e9f2a68727045b039218 (diff) | |
add function to traversal the crates
The system_server needs to traversal Context.getCratesDir() to get all
of crates. But, system_server doesn't have the permission. system_server
needs installd to traverse Context.getCratesDir().
The depth of traversal in Context.getCratesDir is 1. installd returns the
list CrateMetadata. CrateMetadata contains the following information.
* crateName: it is the folder name
To add .gitigTo add .gitignore to collect the ignore file list.
Test: atest \
CtsOsTestCases:android.os.storage.cts.CrateInfoTest \
CtsOsTestCases:android.os.storage.cts.StorageManagerCratesTest \
CtsOsTestCases:android.os.storage.cts.StorageStatsManagerTest
Bug: 141660526
Change-Id: Iea5eee4606e4ff437edef617a1f8db93e37f51c4
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions