summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetManager.cpp
AgeCommit message (Collapse)Author
2014-01-27Moved androidfw back to frameworks/base Adam Lesinski
Change-Id: Idd57bbbc86c936cbfd60e02f8ac8d4f8fbc94592
2014-01-27AssetManager cookies should be int32_t and not void*. Narayan Kamath
Cookies are really indices into vectors and arrays, so they don't need to be void*. We choose int32_t instead of size_t to allow their width to be well specified. Change-Id: I319f271bd4f102dee7cb9f00df4c75ea697456f5
2013-12-09Reimplement ZipFileRO in terms of libziparchive. Narayan Kamath
This lets us share zip archive processing code with both the runtime (Art, dalvik) and critical java code (StrictJarFile). This change also moves several utility methods to ZipUtils and dedups code across several zip inflation methods. One of the side effects of this change is that several processing loops are now O(n) instead of O(n^2). bug: 10193060 (cherry picked from commit afd31e08299008fdc5c2813f21b2573f29dc53df) Change-Id: Iae67e62f1dc6dfc3f43e29bc38e3ffd1cb14d191
2013-10-29Re-apply androidfw fixes lost by the directory rearrangement. Elliott Hughes
Assignment to wrong variable in libs/androidfw/AssetManager.cpp. https://code.google.com/p/android/issues/detail?id=61560 Missing delete[]s in libs/androidfw/ObbFile.cpp. https://code.google.com/p/android/issues/detail?id=61549 Change-Id: I24e6867284d70a7793d78e62d1a836cbee310fb0
2013-10-03Move libandroidfw from frameworks/base Mike Lockwood
Change-Id: I8228c9a796e68e920c6a7dfc154c4b70ba66b082