/frameworks/base/libs/androidfw/tests/ |
Theme_test.cpp | 40 ResTable table; 44 ResTable::Theme theme1(table); 54 ResTable table2; 58 ResTable::Theme theme2(table2);
|
AppAsLib_test.cpp | 32 ResTable table; 44 ResTable table; 57 ResTable table;
|
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 table [all...] |
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 table [all...] |
Idmap_test.cpp | 61 ResTable mTargetTable; 62 ResTable mOverlayTable; 103 ResTable::resource_name resName;
|
TestHelpers.cpp | 25 ::testing::AssertionResult IsStringEqual(const ResTable& table, uint32_t resourceId, const char* expectedStr) {
|
TestHelpers.h | 31 ::testing::AssertionResult IsStringEqual(const ResTable& table, uint32_t resourceId, const char* expectedStr);
|
/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 | 223 const ResTable& res = assets.getResources(false); 250 static void printResolvedResourceAttribute(const ResTable& resTable, const ResXMLTree& tree, 254 AaptXml::getResolvedResourceAttribute(resTable, tree, attrRes, &value, outError); 260 String8 result = AaptXml::getResolvedAttribute(resTable, tree, attrRes, outError); 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() [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...] |
pseudolocalize.cpp | 235 * processed by ResTable::collectString in the normal way.
|
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()); [all...] |
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)) { [all...] |
/frameworks/base/include/androidfw/ |
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* setZipResourceTable(const String8& path, ResTable* res) [all...] |
ResourceTypes.h | [all...] |
/frameworks/base/core/jni/ |
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::bag_entry* entry = NULL [all...] |
/frameworks/base/tools/aapt2/process/ |
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/ |
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; 161 ASSERT_TRUE(flatten(table.get(), &resTable)); 163 EXPECT_TRUE(exists(&resTable, u"@com.app.test:id/one", ResourceId(0x7f020000), {}, 166 EXPECT_TRUE(exists(&resTable, u"@com.app.test:id/two", ResourceId(0x7f020001), {} [all...] |
/frameworks/base/libs/androidfw/ |
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* sharedRes, size_t offset) cons [all...] |
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); [all...] |
/frameworks/base/cmds/idmap/ |
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,
|
inspect.cpp | 149 const ResTable& rt = am.getResources(); 150 struct ResTable::resource_name data;
|
/frameworks/base/tools/aapt2/ |
ResourceUtils.cpp | 423 if (!android::ResTable::stringToInt(str.data(), str.size(), &value)) { 431 if (!android::ResTable::stringToFloat(str.data(), str.size(), &value)) {
|
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)) { [all...] |
/frameworks/base/tools/split-select/ |
Main.cpp | 213 const ResTable& res = assetManager.getResources(false);
|