/frameworks/base/libs/androidfw/tests/ |
Theme_test.cpp | 40 ResTable table; 44 ResTable::Theme theme1(table); 54 ResTable table2; 58 ResTable::Theme theme2(table2);
|
Split_test.cpp | 63 ResTable table; 71 ResTable table; 96 ResTable table; 117 ResTable table; 122 ResTable::resource_name baseName; 127 ResTable::resource_name frName; 147 ResTable table; 167 ResTable table; 183 ResTable table; 186 ResTable::resource_name name [all...] |
ResTable_test.cpp | 43 ResTable table; 48 ResTable table; 63 ResTable table; 76 ResTable table; 79 ResTable::Theme theme(table); 96 ResTable table; 99 ResTable::Theme theme(table); 116 ResTable table; 119 ResTable::Theme theme(table); 131 ResTable table [all...] |
Idmap_test.cpp | 61 ResTable mTargetTable; 62 ResTable mOverlayTable; 103 ResTable::resource_name resName;
|
/frameworks/base/tools/aapt/ |
AaptXml.h | 87 * The integer may be a resource in the supplied ResTable. 89 int32_t getResolvedIntegerAttribute(const android::ResTable& resTable, 96 * The integer may be a resource in the supplied ResTable. 98 inline int32_t getResolvedIntegerAttribute(const android::ResTable& resTable, 101 return getResolvedIntegerAttribute(resTable, tree, attrRes, -1, outError); 107 * The string may be a resource in the supplied ResTable. 109 android::String8 getResolvedAttribute(const android::ResTable& resTable, [all...] |
Command.cpp | 218 const ResTable& res = assets.getResources(false); 249 static void printResolvedResourceAttribute(const ResTable& resTable, const ResXMLTree& tree, 253 AaptXml::getResolvedResourceAttribute(resTable, tree, attrRes, &value, outError); 259 String8 result = AaptXml::getResolvedAttribute(resTable, tree, attrRes, outError); 261 ResTable::normalizeForOutput(result.string()).string()); 368 printf("uses-permission: name='%s'", ResTable::normalizeForOutput(name.string()).string()); 376 ResTable::normalizeForOutput(name.string()).string()); 386 ResTable::normalizeForOutput(name.string()).string(), 387 ResTable::normalizeForOutput(reason.string()).string()) [all...] |
AaptXml.cpp | 96 String8 getResolvedAttribute(const ResTable& resTable, const ResXMLTree& tree, 109 resTable.resolveReference(&value, 0); 119 const char16_t* str = resTable.valueToString(value2, 0, NULL, &len); 141 int32_t getResolvedIntegerAttribute(const ResTable& resTable, const ResXMLTree& tree, 150 resTable.resolveReference(&value, 0); 163 void getResolvedResourceAttribute(const ResTable& resTable, const ResXMLTree& tree, 174 resTable.resolveReference(outValue, 0) [all...] |
printapk.cpp | 99 ResTable res(resfile, size, resfile);
|
XMLNode.cpp | 269 if (!ResTable::collectString(outString, curString.string(), 304 if (!ResTable::collectString(outString, curString.string(), 390 if (!ResTable::collectString(outString, curString.string(), 489 ResTable::normalizeForOutput(String8(block->getAttributeStringValue(i, 496 printf(" (Raw: \"%s\")", ResTable::normalizeForOutput(String8(val).string()). 543 ResTable::normalizeForOutput(String8(block->getText(&len)).string()).string()); [all...] |
ResourceTable.cpp | 364 if (!ResTable::stringToInt(val.string(), val.size(), NULL)) { 382 if (!ResTable::stringToInt(val.string(), val.size(), NULL)) { 490 if (!attr.hasErrors && !ResTable::stringToInt(value.string(), value.size(), NULL)) { [all...] |
AaptAssets.cpp | [all...] |
AaptAssets.h | 566 const ResTable& getIncludedResources() const;
|
ResourceTable.h | 89 class ResourceTable : public ResTable::Accessor
|
Resource.cpp | 446 static int validateAttr(const String8& path, const ResTable& table, [all...] |
/frameworks/base/include/androidfw/ |
AssetManager.h | 54 class ResTable; 207 const ResTable& getResources(bool required = true) const; 278 const ResTable* getResTable(bool required = true) const; 286 ResTable* sharedRes, size_t offset) const; 297 ResTable* getResourceTable(); 298 ResTable* setResourceTable(ResTable* res); 317 ResTable* mResourceTable; 346 ResTable* getZipResourceTable(const String8& path); 347 ResTable* setZipResourceTable(const String8& path, ResTable* res) [all...] |
ResourceTypes.h | [all...] |
/frameworks/base/core/jni/ |
android_util_AssetManager.cpp | 97 static jint copyValue(JNIEnv* env, jobject outValue, const ResTable* table, 101 jint copyValue(JNIEnv* env, jobject outValue, const ResTable* table, 683 ResTable::resource_name name; 726 ResTable::resource_name name; 746 ResTable::resource_name name; 770 ResTable::resource_name name; 800 const ResTable& res(am->getResources()); 837 const ResTable& res(am->getResources()); 845 const ResTable::bag_entry* entry = NULL; 922 const ResTable& res = am->getResources() [all...] |
/frameworks/base/cmds/idmap/ |
create.cpp | 76 static const size_t N = ResTable::IDMAP_HEADER_SIZE_BYTES; 108 if (!ResTable::getIdmapInfo(buf, N, NULL, &cached_target_crc, &cached_overlay_crc,
|
inspect.cpp | 149 const ResTable& rt = am.getResources(); 150 struct ResTable::resource_name data;
|
/frameworks/base/libs/androidfw/ |
ResourceTypes.cpp | 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); [all...] |
AssetManager.cpp | 262 if (!ResTable::getIdmapInfo(idmap->getBuffer(false), idmap->getLength(), 307 ResTable tables[2]; 391 ResTable* res = mResources; 605 ResTable* sharedRes = NULL; 643 sharedRes = new ResTable(); 693 const ResTable* AssetManager::getResTable(bool required) const 695 ResTable* rt = mResources; 716 mResources = new ResTable(); 737 ResTable* res = mResources; 767 const String8& targetPackagePath, ResTable* sharedRes, size_t offset) cons [all...] |