/frameworks/base/include/utils/ |
AssetManager.h | 53 class ResTable; 198 const ResTable& getResources(bool required = true) const; 262 const ResTable* getResTable(bool required = true) const; 285 ResTable* getResourceTable(); 286 ResTable* setResourceTable(ResTable* res); 302 ResTable* mResourceTable; 329 ResTable* getZipResourceTable(const String8& path); 330 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, 595 ResTable::resource_name name; 630 ResTable::resource_name name; 650 ResTable::resource_name name; 670 ResTable::resource_name name; 692 const ResTable& res(am->getResources()); 725 const ResTable& res(am->getResources()); 733 const ResTable::bag_entry* entry = NULL; 805 return (jint)(new ResTable::Theme(am->getResources())) [all...] |
/frameworks/base/libs/utils/ |
ResourceTypes.cpp | 68 #define IDMAP_HEADER_SIZE (ResTable::IDMAP_HEADER_SIZE_BYTES / sizeof(uint32_t)) 223 if (sizeBytes < ResTable::IDMAP_HEADER_SIZE_BYTES) { 243 const size_t size = (sizeBytes - ResTable::IDMAP_HEADER_SIZE_BYTES) / sizeof(uint32_t); [all...] |
AssetManager.cpp | 223 if (st.st_size < ResTable::IDMAP_HEADER_SIZE_BYTES) { 232 char buf[ResTable::IDMAP_HEADER_SIZE_BYTES]; 233 ssize_t bytesLeft = ResTable::IDMAP_HEADER_SIZE_BYTES; 235 ssize_t r = TEMP_FAILURE_RETRY(read(fd, buf + ResTable::IDMAP_HEADER_SIZE_BYTES - bytesLeft, 249 if (!ResTable::getIdmapInfo(buf, ResTable::IDMAP_HEADER_SIZE_BYTES, 288 ResTable tables[2]; 595 const ResTable* AssetManager::getResTable(bool required) const 597 ResTable* rt = mResources; 620 ResTable* sharedRes = NULL [all...] |
/frameworks/base/tools/aapt/ |
printapk.cpp | 99 ResTable res(resfile, size, resfile);
|
Command.cpp | 198 const ResTable& res = assets.getResources(false); 295 static int32_t getResolvedIntegerAttribute(const ResTable* resTable, const ResXMLTree& tree, 305 resTable->resolveReference(&value, 0); 316 static String8 getResolvedAttribute(const ResTable* resTable, const ResXMLTree& tree, 330 resTable->resolveReference(&value, 0); 338 const char16_t* str = const_cast<ResTable*>(resTable)->valueToString(value2, 0, NULL, &len); 471 const ResTable& res = assets.getResources(false) [all...] |
XMLNode.cpp | 253 if (!ResTable::collectString(outString, curString.string(), 288 if (!ResTable::collectString(outString, curString.string(), 355 if (!ResTable::collectString(outString, curString.string(), 454 ResTable::normalizeForOutput(String8(block->getAttributeStringValue(i, 461 printf(" (Raw: \"%s\")", ResTable::normalizeForOutput(String8(val).string()). [all...] |
ResourceTable.cpp | 352 if (!ResTable::stringToInt(val.string(), val.size(), NULL)) { 370 if (!ResTable::stringToInt(val.string(), val.size(), NULL)) { 478 if (!attr.hasErrors && !ResTable::stringToInt(value.string(), value.size(), NULL)) { [all...] |
AaptAssets.h | 553 const ResTable& getIncludedResources() const;
|
ResourceTable.h | 72 class ResourceTable : public ResTable::Accessor
|
AaptAssets.cpp | [all...] |
Resource.cpp | 414 static int validateAttr(const String8& path, const ResTable& table, [all...] |