Home
last modified time | relevance | path

Searched refs:packageHeader (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/tools/aapt2/
DBinaryResourceParser.cpp335 const ResTable_package* packageHeader = convertTo<ResTable_package>(chunk); in parsePackage() local
336 if (!packageHeader) { in parsePackage()
345 mTable->setPackageId(packageHeader->id); in parsePackage()
346 } else if (mTable->getPackageId() != packageHeader->id) { in parsePackage()
349 << std::hex << packageHeader->id << std::dec in parsePackage()
356 size_t len = strnlen16(reinterpret_cast<const char16_t*>(packageHeader->name), in parsePackage()
357 sizeof(packageHeader->name) / sizeof(packageHeader->name[0])); in parsePackage()
361 StringPiece16 thisPackage(reinterpret_cast<const char16_t*>(packageHeader->name), len); in parsePackage()
375 ResChunkPullParser parser(getChunkData(packageHeader->header), in parsePackage()
376 getChunkDataLen(packageHeader->header)); in parsePackage()