Record data about dex files use on disk
Add DexManager to keep track of how dex files are used. Every time a dex file is loaded, PackageManager will notify DexManager which will process the load. The DexManager will look up what package owns the dex file and record its use in package-dex-usage.list (through PackageDexUsage). Test: device boots, package-dex-usage.list is created and contains valid data, after device reboot the list is succesfully read from disk. runtest -x .../PackageDexUsageTests.java runtest -x .../DexManagerTests.java Bug: 32871170 (cherry picked from commit b8976d8f) Change-Id: I9d779b2d39814d7c54fc7a888df93d403a001df5
Loading
Please register or sign in to comment