/frameworks/base/libs/androidfw/tests/ |
H A D | Theme_test.cpp | 40 ResTable table; 44 ResTable::Theme theme1(table); 54 ResTable table2; 58 ResTable::Theme theme2(table2);
|
H A D | Split_test.cpp | 66 ResTable table; 74 ResTable table; 99 ResTable table; 120 ResTable table; 125 ResTable::resource_name baseName; 130 ResTable::resource_name frName; 150 ResTable table; 175 ResTable table; 197 ResTable table; 213 ResTable tabl [all...] |
H A D | ResTable_test.cpp | 41 ResTable table; 46 ResTable table; 53 ResTable table; 66 ResTable table; 69 ResTable::Theme theme(table); 86 ResTable table; 89 ResTable::Theme theme(table); 106 ResTable table; 109 ResTable::Theme theme(table); 121 ResTable tabl [all...] |
H A D | Idmap_test.cpp | 61 ResTable mTargetTable; 62 ResTable mOverlayTable; 103 ResTable::resource_name resName;
|
H A D | TestHelpers.cpp | 25 ::testing::AssertionResult IsStringEqual(const ResTable& table, uint32_t resourceId, const char* expectedStr) {
|
H A D | TestHelpers.h | 31 ::testing::AssertionResult IsStringEqual(const ResTable& table, uint32_t resourceId, const char* expectedStr);
|
/frameworks/base/tools/aapt/ |
H A D | 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, 107 * The string may be a resource in the supplied ResTable. 109 android::String8 getResolvedAttribute(const android::ResTable& resTable, 115 * The resource may be a resource in the supplied ResTable. 117 void getResolvedResourceAttribute(const android::ResTable& resTable,
|
H A D | Command.cpp | 218 const ResTable& res = assets.getResources(false); 249 static void printResolvedResourceAttribute(const ResTable& resTable, const ResXMLTree& tree, 261 ResTable::normalizeForOutput(result.string()).string()); 369 printf("uses-permission: name='%s'", ResTable::normalizeForOutput(name.string()).string()); 377 ResTable::normalizeForOutput(name.string()).string()); 387 ResTable::normalizeForOutput(name.string()).string(), 388 ResTable::normalizeForOutput(reason.string()).string()); 523 ResTable::normalizeForOutput(featureName.string()).string()); 536 String8 printableFeatureName(ResTable::normalizeForOutput( 622 const ResTable [all...] |
H A D | AaptXml.cpp | 96 String8 getResolvedAttribute(const ResTable& resTable, const ResXMLTree& tree, 141 int32_t getResolvedIntegerAttribute(const ResTable& resTable, const ResXMLTree& tree, 163 void getResolvedResourceAttribute(const ResTable& resTable, const ResXMLTree& tree,
|
H A D | printapk.cpp | 99 ResTable res(resfile, size, resfile);
|
H A D | 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());
|
H A D | ResourceTable.cpp | 369 if (!ResTable::stringToInt(val.string(), val.size(), NULL)) { 387 if (!ResTable::stringToInt(val.string(), val.size(), NULL)) { 495 if (!attr.hasErrors && !ResTable::stringToInt(value.string(), value.size(), NULL)) { 948 if (!ResTable::stringToInt(identStr, len, &identValue)) { 1020 if (!ResTable::stringToInt(startStr, len, &startValue)) { 1040 if (!ResTable::stringToInt(endStr, len, &endValue)) { 1758 static uint32_t findLargestTypeIdForPackage(const ResTable& table, const String16& packageName) { 1787 const ResTable& featureTable = featureAssetManager.getResources(false); 2018 if (!ResTable::expandResourceRef(ref.string(), ref.size(), &package, &type, &name, 2162 if (!ResTable [all...] |
H A D | AaptAssets.cpp | 1588 const ResTable& res = getIncludedResources(); 1590 return const_cast<ResTable&>(res).add(file->getData(), file->getSize()); 1593 const ResTable& AaptAssets::getIncludedResources() const
|
H A D | AaptAssets.h | 566 const ResTable& getIncludedResources() const;
|
H A D | ResourceTable.h | 90 class ResourceTable : public ResTable::Accessor
|
H A D | Resource.cpp | 455 static int validateAttr(const String8& path, const ResTable& table, 926 const ResTable& table = assets.getResources(true); 931 const ResTable::bag_entry* entry; 1571 ResTable finalResTable; 1611 ResTable resTable;
|
/frameworks/base/include/androidfw/ |
H A D | 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* setZipResourceTabl [all...] |
H A D | ResourceTypes.h | 1506 * Convenience class for accessing data in a ResTable resource. 1508 class ResTable class in namespace:android 1511 ResTable(); 1512 ResTable(const void* data, size_t size, const int32_t cookie, 1514 ~ResTable(); 1523 status_t add(ResTable* src); 1614 Theme(const ResTable& table); 1617 inline const ResTable& getResTable() const { return mTable; } 1644 * This is like ResTable::resolveReference(), but also takes 1676 const ResTable [all...] |
/frameworks/base/core/jni/ |
H A D | android_util_AssetManager.cpp | 98 static jint copyValue(JNIEnv* env, jobject outValue, const ResTable* table, 102 jint copyValue(JNIEnv* env, jobject outValue, const ResTable* table, 684 ResTable::resource_name name; 727 ResTable::resource_name name; 747 ResTable::resource_name name; 771 ResTable::resource_name name; 801 const ResTable& res(am->getResources()); 838 const ResTable& res(am->getResources()); 846 const ResTable::bag_entry* entry = NULL; 923 const ResTable [all...] |
/frameworks/base/cmds/idmap/ |
H A D | 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,
|
H A D | inspect.cpp | 149 const ResTable& rt = am.getResources(); 150 struct ResTable::resource_name data;
|
/frameworks/base/libs/androidfw/ |
H A D | 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); 2835 struct ResTable::Header 2837 Header(ResTable* _owner) : owner(_owner), ownedData(NULL), header(NULL), 2845 const ResTable* const owner; 2858 struct ResTable::Entry { 2869 struct ResTable::Type 2883 struct ResTable::Package 2885 Package(ResTable* _owne 3279 ResTable::ResTable() function in class:android::ResTable 3287 ResTable::ResTable(const void* data, size_t size, const int32_t cookie, bool copyData) function in class:android::ResTable [all...] |
H A D | 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* sharedRe [all...] |
/frameworks/base/tools/split-select/ |
H A D | Main.cpp | 213 const ResTable& res = assetManager.getResources(false);
|