Searched refs:resTable (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/tools/aapt2/flatten/ |
D | TableFlattener_test.cpp | 160 ResTable resTable; in TEST_F() local 161 ASSERT_TRUE(flatten(table.get(), &resTable)); in TEST_F() 163 EXPECT_TRUE(exists(&resTable, u"@com.app.test:id/one", ResourceId(0x7f020000), {}, in TEST_F() 166 EXPECT_TRUE(exists(&resTable, u"@com.app.test:id/two", ResourceId(0x7f020001), {}, in TEST_F() 169 EXPECT_TRUE(exists(&resTable, u"@com.app.test:id/three", ResourceId(0x7f020002), {}, in TEST_F() 172 EXPECT_TRUE(exists(&resTable, u"@com.app.test:integer/one", ResourceId(0x7f030000), in TEST_F() 176 EXPECT_TRUE(exists(&resTable, u"@com.app.test:integer/one", ResourceId(0x7f030000), in TEST_F() 181 ssize_t idx = resTable.getTableStringBlock(0)->indexOfString(fooStr.data(), fooStr.size()); in TEST_F() 183 EXPECT_TRUE(exists(&resTable, u"@com.app.test:string/test", ResourceId(0x7f040000), in TEST_F() 187 idx = resTable.getTableStringBlock(0)->indexOfString(barPath.data(), barPath.size()); in TEST_F() [all …]
|
/frameworks/base/tools/aapt/ |
D | AaptXml.h | 89 int32_t getResolvedIntegerAttribute(const android::ResTable& resTable, 98 inline int32_t getResolvedIntegerAttribute(const android::ResTable& resTable, in getResolvedIntegerAttribute() argument 101 return getResolvedIntegerAttribute(resTable, tree, attrRes, -1, outError); in getResolvedIntegerAttribute() 109 android::String8 getResolvedAttribute(const android::ResTable& resTable, 117 void getResolvedResourceAttribute(const android::ResTable& resTable,
|
D | AaptXml.cpp | 96 String8 getResolvedAttribute(const ResTable& resTable, const ResXMLTree& tree, in getResolvedAttribute() argument 109 resTable.resolveReference(&value, 0); in getResolvedAttribute() 119 const char16_t* str = resTable.valueToString(value2, 0, NULL, &len); in getResolvedAttribute() 141 int32_t getResolvedIntegerAttribute(const ResTable& resTable, const ResXMLTree& tree, in getResolvedIntegerAttribute() argument 150 resTable.resolveReference(&value, 0); in getResolvedIntegerAttribute() 163 void getResolvedResourceAttribute(const ResTable& resTable, const ResXMLTree& tree, in getResolvedResourceAttribute() argument 174 resTable.resolveReference(outValue, 0); in getResolvedResourceAttribute()
|
D | Command.cpp | 250 static void printResolvedResourceAttribute(const ResTable& resTable, const ResXMLTree& tree, in printResolvedResourceAttribute() argument 254 AaptXml::getResolvedResourceAttribute(resTable, tree, attrRes, &value, outError); in printResolvedResourceAttribute() 260 String8 result = AaptXml::getResolvedAttribute(resTable, tree, attrRes, outError); in printResolvedResourceAttribute()
|
D | Resource.cpp | 1670 ResTable resTable; in buildResources() local 1671 err = resTable.add(flattenedTable->getData(), flattenedTable->getSize()); in buildResources() 1688 resTable.setParameters(&config); in buildResources() 1692 ssize_t block = resTable.getResource(symbol.id, &val, true); in buildResources()
|