Home | History | Annotate | Download | only in androidfw

Lines Matching defs:ResTable

236     if (size < ResTable::IDMAP_HEADER_SIZE_BYTES) {
359 size -= ResTable::IDMAP_HEADER_SIZE_BYTES;
366 reinterpret_cast<const uint8_t*>(idmap) + ResTable::IDMAP_HEADER_SIZE_BYTES);
3117 struct ResTable::Header
3119 Header(ResTable* _owner) : owner(_owner), ownedData(NULL), header(NULL),
3127 const ResTable* const owner;
3140 struct ResTable::Entry {
3151 struct ResTable::Type
3165 struct ResTable::Package
3167 Package(ResTable* _owner, const Header* _header, const ResTable_package* _package)
3176 const ResTable* const owner;
3189 struct ResTable::PackageGroup
3192 ResTable* _owner, const String16& _name, uint32_t _id,
3273 const ResTable* const owner;
3286 // Cached objects dependent on the parameters/configuration of this ResTable.
3289 // be shared by other ResTable's (framework resources are shared this way).
3304 ResTable::Theme::Theme(const ResTable& table)
3311 ResTable::Theme::~Theme()
3321 void ResTable::Theme::free_package(package_info* pi)
3332 ResTable::Theme::package_info* ResTable::Theme::copy_package(package_info* pi)
3351 status_t ResTable::Theme::applyStyle(uint32_t resID, bool force)
3450 status_t ResTable::Theme::setTo(const Theme& other)
3495 status_t ResTable::Theme::clear()
3519 ssize_t ResTable::Theme::getAttribute(uint32_t resID, Res_value* outValue,
3583 ssize_t ResTable::Theme::resolveAttributeReference(Res_value* inOutValue,
3605 uint32_t ResTable::Theme::getChangingConfigurations() const
3610 void ResTable::Theme::dumpToLog() const
3633 ResTable::ResTable()
3639 ALOGI("Creating ResTable %p\n", this);
3643 ResTable::ResTable(const void* data, size_t size, const int32_t cookie, bool copyData)
3651 ALOGI("Creating ResTable %p\n", this);
3655 ResTable::~ResTable()
3658 ALOGI("Destroying ResTable in %p\n", this);
3663 inline ssize_t ResTable::getResourcePackageIndex(uint32_t resID) const
3668 status_t ResTable::add(const void* data, size_t size, const int32_t cookie, bool copyData) {
3672 status_t ResTable::add(const void* data, size_t size, const void* idmapData, size_t idmapDataSize,
3677 status_t ResTable::add(Asset* asset, const int32_t cookie, bool copyData) {
3688 status_t ResTable::add(
3712 status_t ResTable::add(ResTable* src, bool isSystemAsset)
3746 status_t ResTable::addEmpty(const int32_t cookie) {
3763 status_t ResTable::addInternal(const void* data, size_t dataSize, const void* idmapData, size_t idmapDataSize,
3793 ALOGV("Adding resources to ResTable: data=%p, size=%zu, cookie=%d, copy=%d "
3813 ALOGV("Loading ResTable @%p:\n", header->header);
3838 status_t err = validate_chunk(chunk, sizeof(ResChunk_header), header->dataEnd, "ResTable");
3897 status_t ResTable::getError() const
3902 void ResTable::uninit()
3925 bool ResTable::getResourceName(uint32_t resID, bool allowUtf8, resource_name* outName) const
3989 ssize_t ResTable::getResource(uint32_t resID, Res_value* outValue, bool mayBeBag, uint16_t density,
4054 // the actual package IDs of the corresponding packages in this ResTable.
4083 ssize_t ResTable::resolveReference(Res_value* value, ssize_t blockIndex,
4115 const char16_t* ResTable::valueToString(
4129 ssize_t ResTable::lockBag(uint32_t resID, const bag_entry** outBag) const
4140 void ResTable::unlockBag(const bag_entry* /*bag*/) const
4146 void ResTable::lock() const
4151 void ResTable::unlock() const
4156 ssize_t ResTable::getBagLocked(uint32_t resID, const bag_entry** outBag,
4426 void ResTable::setParameters(const ResTable_config* params)
4480 void ResTable::getParameters(ResTable_config* params) const
4506 uint32_t ResTable::identifierForName(const char16_t* name, size_t nameLen,
4661 uint32_t ResTable::findEntry(const PackageGroup* group, ssize_t typeIndex, const char16_t* name,
4701 bool ResTable::expandResourceRef(const char16_t* refStr, size_t refLen,
4938 bool ResTable::stringToInt(const char16_t* s, size_t len, Res_value* outValue)
4943 bool ResTable::stringToFloat(const char16_t* s, size_t len, Res_value* outValue)
5038 bool ResTable::stringToValue(Res_value* outValue, String16* outString,
5607 bool ResTable::collectString(String16* outString,
5749 size_t ResTable::getBasePackageCount() const
5757 const String16 ResTable::getBasePackageName(size_t idx) const
5768 uint32_t ResTable::getBasePackageId(size_t idx) const
5779 uint32_t ResTable::getLastTypeIdForPackage(size_t idx) const
5791 size_t ResTable::getTableCount() const
5796 const ResStringPool* ResTable::getTableStringBlock(size_t index) const
5801 int32_t ResTable::getTableCookie(size_t index) const
5806 const DynamicRefTable* ResTable::getDynamicRefTableForCookie(int32_t cookie) const
5826 void ResTable::forEachConfiguration(bool ignoreMipmap, bool ignoreAndroidPackage,
5864 void ResTable::getConfigurations(Vector<ResTable_config>* configs, bool ignoreMipmap,
5882 void ResTable::getLocales(Vector<String8>* locales, bool includeSystemLocales) const {
5926 bool ResTable::getResourceFlags(uint32_t resID, uint32_t* outFlags) const {
5964 status_t ResTable::getEntry(
6128 status_t ResTable::parsePackage(const ResTable_package* const pkg,
6579 status_t ResTable::createIdmap(const ResTable& overlay,
6602 *outSize = ResTable::IDMAP_HEADER_SIZE_BYTES;
6731 bool ResTable::getIdmapInfo(const void* idmap, size_t sizeBytes,
6799 String8 ResTable::normalizeForOutput( const char *input )
6830 void ResTable::print_value(const Package* pkg, const Res_value& value) const
6890 void ResTable::print(bool inclValues) const