summaryrefslogtreecommitdiffstats
path: root/cmds/idmap/idmap.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Support multiple resource tables with same packageAdam Lesinski2014-06-181-18/+24
| | | | | | | | | | | | | | | | | | | | In order to support APK split features, the resource table needs to support loading multiple resource tables with the same package but potentially new set of type IDs. This adds some complexity as the type ID space changes from dense and ordered to potentially sparse. A ByteBucketArray is used to store the type IDs in a memory efficient way that allows for fast retrieval. In addition, the IDMAP format has changed. We no longer need random access to the type data, since we store the types differently. However, random access to entries of a given type is still required. Change-Id: If6f5be680b405b368941d9c1f2b5d2ddca964160
* frameworks/base: move idmap from frameworks/nativeColin Cross2014-02-111-0/+237
idmap depends on libandroidfw, so it should go in frameworks/base. Change-Id: I3c1db3baa355f53d6b523d60f4377e63eff00c30