/frameworks/base/include/androidfw/ |
AssetManager.h | 54 class ResTable; 199 const ResTable& getResources(bool required = true) const; 263 const ResTable* getResTable(bool required = true) const; 286 ResTable* getResourceTable(); 287 ResTable* setResourceTable(ResTable* res); 303 ResTable* mResourceTable; 330 ResTable* getZipResourceTable(const String8& path); 331 ResTable* setZipResourceTable(const String8& path, ResTable* res) [all...] |
ResourceTypes.h | [all...] |
/frameworks/base/core/jni/ |
android_util_AssetManager.cpp | 81 static jint copyValue(JNIEnv* env, jobject outValue, const ResTable* table, 85 jint copyValue(JNIEnv* env, jobject outValue, const ResTable* table, 588 ResTable::resource_name name; 631 ResTable::resource_name name; 651 ResTable::resource_name name; 675 ResTable::resource_name name; 705 const ResTable& res(am->getResources()); 738 const ResTable& res(am->getResources()); 746 const ResTable::bag_entry* entry = NULL; 818 return (jint)(new ResTable::Theme(am->getResources())) [all...] |
/frameworks/base/libs/androidfw/ |
AssetManager.cpp | 254 if (st.st_size < ResTable::IDMAP_HEADER_SIZE_BYTES) { 263 char buf[ResTable::IDMAP_HEADER_SIZE_BYTES]; 264 ssize_t bytesLeft = ResTable::IDMAP_HEADER_SIZE_BYTES; 266 ssize_t r = TEMP_FAILURE_RETRY(read(fd, buf + ResTable::IDMAP_HEADER_SIZE_BYTES - bytesLeft, 280 if (!ResTable::getIdmapInfo(buf, ResTable::IDMAP_HEADER_SIZE_BYTES, 319 ResTable tables[2]; 626 const ResTable* AssetManager::getResTable(bool required) const 628 ResTable* rt = mResources; 651 ResTable* sharedRes = NULL [all...] |
ResourceTypes.cpp | 67 #define IDMAP_HEADER_SIZE (ResTable::IDMAP_HEADER_SIZE_BYTES / sizeof(uint32_t)) 222 if (sizeBytes < ResTable::IDMAP_HEADER_SIZE_BYTES) { 242 const size_t size = (sizeBytes - ResTable::IDMAP_HEADER_SIZE_BYTES) / sizeof(uint32_t); [all...] |
/frameworks/base/tools/aapt/ |
printapk.cpp | 99 ResTable res(resfile, size, resfile);
|
XMLNode.cpp | 260 if (!ResTable::collectString(outString, curString.string(), 295 if (!ResTable::collectString(outString, curString.string(), 362 if (!ResTable::collectString(outString, curString.string(), 461 ResTable::normalizeForOutput(String8(block->getAttributeStringValue(i, 468 printf(" (Raw: \"%s\")", ResTable::normalizeForOutput(String8(val).string()). 515 ResTable::normalizeForOutput(String8(block->getText(&len)).string()).string()); [all...] |
Command.cpp | 199 const ResTable& res = assets.getResources(false); 296 static int32_t getResolvedIntegerAttribute(const ResTable* resTable, const ResXMLTree& tree, 306 resTable->resolveReference(&value, 0); 317 static String8 getResolvedAttribute(const ResTable* resTable, const ResXMLTree& tree, 331 resTable->resolveReference(&value, 0); 339 const char16_t* str = const_cast<ResTable*>(resTable)->valueToString(value2, 0, NULL, &len); 532 const ResTable& res = assets.getResources(false) [all...] |
ResourceTable.cpp | 353 if (!ResTable::stringToInt(val.string(), val.size(), NULL)) { 371 if (!ResTable::stringToInt(val.string(), val.size(), NULL)) { 479 if (!attr.hasErrors && !ResTable::stringToInt(value.string(), value.size(), NULL)) { [all...] |
AaptAssets.h | 577 const ResTable& getIncludedResources() const;
|
ResourceTable.h | 72 class ResourceTable : public ResTable::Accessor
|
AaptAssets.cpp | [all...] |
Resource.cpp | 451 static int validateAttr(const String8& path, const ResTable& table, [all...] |