summaryrefslogtreecommitdiffstats
path: root/libs/androidfw
Commit message (Collapse)AuthorAgeFilesLines
* Moved androidfw back to frameworks/baseAdam Lesinski2014-01-2719-13290/+0
| | | | Change-Id: Idd57bbbc86c936cbfd60e02f8ac8d4f8fbc94592
* AssetManager cookies should be int32_t and not void*.Narayan Kamath2014-01-271-13/+12
| | | | | | | | 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
* Add libutils dependency for libandroidfw host build.Narayan Kamath2013-12-111-2/+1
| | | | | | (cherry picked from commit 070274ec0ccb8643c52e41e4119f356f0f51bc36) Change-Id: I25acff1d36b3adce14b2576485bda93c914d7f5d
* Reimplement ZipFileRO in terms of libziparchive.Narayan Kamath2013-12-097-1004/+249
| | | | | | | | | | | | | | | | | | 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
* Re-apply androidfw fixes lost by the directory rearrangement.Elliott Hughes2013-10-292-2/+2
| | | | | | | | | | 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
* Fix the buildMike Lockwood2013-10-031-4/+0
| | | | Change-Id: I73f1c2e9e2e565602aa78b51a2cea2d619d7b0e9
* Move libandroidfw from frameworks/baseMike Lockwood2013-10-0319-0/+14051
Change-Id: I8228c9a796e68e920c6a7dfc154c4b70ba66b082