/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 | AppAsLib_test.cpp | 32 ResTable table; 44 ResTable table; 57 ResTable table;
|
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 | 57 ResTable table; 62 ResTable table; 69 ResTable table; 82 ResTable table; 85 ResTable::Theme theme(table); 102 ResTable table; 105 ResTable::Theme theme(table); 122 ResTable table; 125 ResTable::Theme theme(table); 142 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 | 223 const ResTable& res = assets.getResources(false); 250 static void printResolvedResourceAttribute(const ResTable& resTable, const ResXMLTree& tree, 262 ResTable::normalizeForOutput(result.string()).string()); 370 printf("uses-permission: name='%s'", ResTable::normalizeForOutput(name.string()).string()); 378 ResTable::normalizeForOutput(name.string()).string()); 389 printf("name='%s'", ResTable::normalizeForOutput(name.string()).string()); 398 ResTable::normalizeForOutput(name.string()).string(), 399 ResTable::normalizeForOutput(reason.string()).string()); 565 ResTable::normalizeForOutput(featureName.string()).string()); 583 String8 printableFeatureName(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 | pseudolocalize.cpp | 235 * processed by ResTable::collectString in the normal way.
|
H A D | XMLNode.cpp | 282 if (!ResTable::collectString(outString, curString.string(), 317 if (!ResTable::collectString(outString, curString.string(), 386 if (!ResTable::collectString(outString, curString.string(), 485 ResTable::normalizeForOutput(String8(block->getAttributeStringValue(i, 492 printf(" (Raw: \"%s\")", ResTable::normalizeForOutput(String8(val).string()). 547 ResTable::normalizeForOutput(String8(block->getText(&len)).string()).string());
|
H A D | ResourceTable.cpp | 374 if (!ResTable::stringToInt(val.string(), val.size(), NULL)) { 392 if (!ResTable::stringToInt(val.string(), val.size(), NULL)) { 500 if (!attr.hasErrors && !ResTable::stringToInt(value.string(), value.size(), NULL)) { 958 if (!ResTable::stringToInt(identStr, len, &identValue)) { 1030 if (!ResTable::stringToInt(startStr, len, &startValue)) { 1050 if (!ResTable::stringToInt(endStr, len, &endValue)) { 1786 static uint32_t findLargestTypeIdForPackage(const ResTable& table, const String16& packageName) { 1815 const ResTable& featureTable = featureAssetManager.getResources(false); 2046 if (!ResTable::expandResourceRef(ref.string(), ref.size(), &package, &type, &name, 2245 if (!ResTable [all...] |
/frameworks/base/include/androidfw/ |
H A D | AssetManager.h | 54 class ResTable; 209 const ResTable& getResources(bool required = true) const; 284 const ResTable* getResTable(bool required = true) const; 292 ResTable* sharedRes, size_t offset) const; 303 ResTable* getResourceTable(); 304 ResTable* setResourceTable(ResTable* res); 323 ResTable* mResourceTable; 352 ResTable* getZipResourceTable(const String8& path); 353 ResTable* setZipResourceTabl [all...] |
H A D | ResourceTypes.h | 1564 * Convenience class for accessing data in a ResTable resource. 1566 class ResTable class in namespace:android 1569 ResTable(); 1570 ResTable(const void* data, size_t size, const int32_t cookie, 1572 ~ResTable(); 1582 status_t add(ResTable* src, bool isSystemAsset=false); 1673 Theme(const ResTable& table); 1676 inline const ResTable& getResTable() const { return mTable; } 1704 * This is like ResTable::resolveReference(), but also takes 1742 const ResTable [all...] |
/frameworks/base/core/jni/ |
H A D | android_util_AssetManager.cpp | 109 static jint copyValue(JNIEnv* env, jobject outValue, const ResTable* table, 113 jint copyValue(JNIEnv* env, jobject outValue, const ResTable* table, 664 const ResTable& res(am->getResources()); 777 ResTable::resource_name name; 820 ResTable::resource_name name; 840 ResTable::resource_name name; 864 ResTable::resource_name name; 894 const ResTable& res(am->getResources()); 931 const ResTable& res(am->getResources()); 939 const ResTable [all...] |
/frameworks/base/tools/aapt2/process/ |
H A D | SymbolTable.cpp | 143 static std::unique_ptr<SymbolTable::Symbol> lookupAttributeInTable(const android::ResTable& table, 146 const android::ResTable::bag_entry* entry; 181 android::ResTable::resource_name entryName; 210 const android::ResTable& table = mAssets.getResources(false); 236 static Maybe<ResourceName> getResourceName(const android::ResTable& table, ResourceId id) { 237 android::ResTable::resource_name resName = {}; 275 const android::ResTable& table = mAssets.getResources(false);
|
/frameworks/base/tools/aapt2/flatten/ |
H A D | TableFlattener_test.cpp | 39 ::testing::AssertionResult flatten(ResourceTable* table, ResTable* outTable) { 48 return ::testing::AssertionFailure() << "flattened ResTable is corrupt"; 63 return ::testing::AssertionFailure() << "flattened ResTable is corrupt"; 68 ::testing::AssertionResult exists(ResTable* table, 106 ResTable::resource_name actualName; 160 ResTable resTable; 200 ResTable resTable;
|
/frameworks/base/cmds/idmap/ |
H A D | create.cpp | 77 static const size_t N = ResTable::IDMAP_HEADER_SIZE_BYTES; 109 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 | AssetManager.cpp | 250 if (!ResTable::getIdmapInfo(idmap->getBuffer(false), idmap->getLength(), 299 ResTable tables[2]; 383 ResTable* res = mResources; 602 ResTable* sharedRes = NULL; 640 sharedRes = new ResTable(); 688 const ResTable* AssetManager::getResTable(bool required) const 690 ResTable* rt = mResources; 711 mResources = new ResTable(); 733 ResTable* res = mResources; 763 const String8& targetPackagePath, ResTable* sharedRe [all...] |
H A D | ResourceTypes.cpp | 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* _owne 3633 ResTable::ResTable() function in class:android::ResTable 3643 ResTable::ResTable(const void* data, size_t size, const int32_t cookie, bool copyData) function in class:android::ResTable [all...] |
/frameworks/base/tools/aapt2/ |
H A D | ResourceUtils.cpp | 423 if (!android::ResTable::stringToInt(str.data(), str.size(), &value)) { 431 if (!android::ResTable::stringToFloat(str.data(), str.size(), &value)) {
|
H A D | ResourceParser.cpp | 594 bool result = android::ResTable::stringToInt(maybeId.value().data(), 637 bool result = android::ResTable::stringToInt(maybeId.value().data(), 770 if (android::ResTable::stringToInt(minStr.data(), minStr.size(), &value)) { 786 if (android::ResTable::stringToInt(maxStr.data(), maxStr.size(), &value)) { 915 if (!android::ResTable::stringToInt(maybeValue.value().data(),
|
/frameworks/base/tools/split-select/ |
H A D | Main.cpp | 213 const ResTable& res = assetManager.getResources(false);
|