Home | History | Annotate | Download | only in androidfw

Lines Matching defs:ResTable

231     if (size < ResTable::IDMAP_HEADER_SIZE_BYTES) {
354 size -= ResTable::IDMAP_HEADER_SIZE_BYTES;
361 reinterpret_cast<const uint8_t*>(idmap) + ResTable::IDMAP_HEADER_SIZE_BYTES);
2831 struct ResTable::Header
2833 Header(ResTable* _owner) : owner(_owner), ownedData(NULL), header(NULL),
2841 const ResTable* const owner;
2854 struct ResTable::Entry {
2865 struct ResTable::Type
2879 struct ResTable::Package
2881 Package(ResTable* _owner, const Header* _header, const ResTable_package* _package)
2890 const ResTable* const owner;
2903 struct ResTable::PackageGroup
2905 PackageGroup(ResTable* _owner, const String16& _name, uint32_t _id)
2972 const ResTable* const owner;
2997 struct ResTable::bag_set
3005 ResTable::Theme::Theme(const ResTable& table)
3011 ResTable::Theme::~Theme()
3021 void ResTable::Theme::free_package(package_info* pi)
3032 ResTable::Theme::package_info* ResTable::Theme::copy_package(package_info* pi)
3050 status_t ResTable::Theme::applyStyle(uint32_t resID, bool force)
3139 status_t ResTable::Theme::setTo(const Theme& other)
3178 ssize_t ResTable::Theme::getAttribute(uint32_t resID, Res_value* outValue,
3232 ssize_t ResTable::Theme::resolveAttributeReference(Res_value* inOutValue,
3252 void ResTable::Theme::dumpToLog() const
3275 ResTable::ResTable()
3280 //ALOGI("Creating ResTable %p\n", this);
3283 ResTable::ResTable(const void* data, size_t size, const int32_t cookie, bool copyData)
3290 //ALOGI("Creating ResTable %p\n", this);
3293 ResTable::~ResTable()
3295 //ALOGI("Destroying ResTable in %p\n", this);
3299 inline ssize_t ResTable::getResourcePackageIndex(uint32_t resID) const
3304 status_t ResTable::add(const void* data, size_t size, const int32_t cookie, bool copyData) {
3308 status_t ResTable::add(const void* data, size_t size, const void* idmapData, size_t idmapDataSize,
3313 status_t ResTable::add(Asset* asset, const int32_t cookie, bool copyData) {
3323 status_t ResTable::add(Asset* asset, Asset* idmapAsset, const int32_t cookie, bool copyData) {
3345 status_t ResTable::add(ResTable* src)
3378 status_t ResTable::addEmpty(const int32_t cookie) {
3395 status_t ResTable::addInternal(const void* data, size_t dataSize, const void* idmapData, size_t idmapDataSize,
3425 ALOGV("Adding resources to ResTable: data=%p, size=0x%x, cookie=%d, copy=%d "
3441 LOAD_TABLE_NOISY(ALOGV("Loading ResTable @%p:\n", header->header));
3465 status_t err = validate_chunk(chunk, sizeof(ResChunk_header), header->dataEnd, "ResTable");
3519 status_t ResTable::getError() const
3524 void ResTable::uninit()
3547 bool ResTable::getResourceName(uint32_t resID, bool allowUtf8, resource_name* outName) const
3609 ssize_t ResTable::getResource(uint32_t resID, Res_value* outValue, bool mayBeBag, uint16_t density,
3670 // the actual package IDs of the corresponding packages in this ResTable.
3698 ssize_t ResTable::resolveReference(Res_value* value, ssize_t blockIndex,
3729 const char16_t* ResTable::valueToString(
3743 ssize_t ResTable::lockBag(uint32_t resID, const bag_entry** outBag) const
3754 void ResTable::unlockBag(const bag_entry* /*bag*/) const
3760 void ResTable::lock() const
3765 void ResTable::unlock() const
3770 ssize_t ResTable::getBagLocked(uint32_t resID, const bag_entry** outBag,
4026 void ResTable::setParameters(const ResTable_config* params)
4038 void ResTable::getParameters(ResTable_config* params) const
4064 uint32_t ResTable::identifierForName(const char16_t* name, size_t nameLen,
4242 bool ResTable::expandResourceRef(const uint16_t* refStr, size_t refLen,
4391 bool ResTable::stringToInt(const char16_t* s, size_t len, Res_value* outValue)
4455 bool ResTable::stringToFloat(const char16_t* s, size_t len, Res_value* outValue)
4550 bool ResTable::stringToValue(Res_value* outValue, String16* outString,
5101 bool ResTable::collectString(String16* outString,
5243 size_t ResTable::getBasePackageCount() const
5251 const String16 ResTable::getBasePackageName(size_t idx) const
5262 uint32_t ResTable::getBasePackageId(size_t idx) const
5273 uint32_t ResTable::getLastTypeIdForPackage(size_t idx) const
5285 size_t ResTable::getTableCount() const
5290 const ResStringPool* ResTable::getTableStringBlock(size_t index) const
5295 int32_t ResTable::getTableCookie(size_t index) const
5300 const DynamicRefTable* ResTable::getDynamicRefTableForCookie(int32_t cookie) const
5315 void ResTable::getConfigurations(Vector<ResTable_config>* configs) const
5350 void ResTable::getLocales(Vector<String8>* locales) const
5400 bool ResTable::getResourceFlags(uint32_t resID, uint32_t* outFlags) const {
5438 status_t ResTable::getEntry(
5581 status_t ResTable::parsePackage(const ResTable_package* const pkg,
6003 status_t ResTable::createIdmap(const ResTable& overlay,
6026 *outSize = ResTable::IDMAP_HEADER_SIZE_BYTES;
6152 bool ResTable::getIdmapInfo(const void* idmap, size_t sizeBytes,
6220 String8 ResTable::normalizeForOutput( const char *input )
6251 void ResTable::print_value(const Package* pkg, const Res_value& value) const
6302 void ResTable::print(bool inclValues) const