/frameworks/base/libs/androidfw/include/androidfw/ |
AttributeResolution.h | 45 bool ResolveAttrs(ResTable::Theme* theme, uint32_t def_style_attr, uint32_t def_style_res, 51 void ApplyStyle(ResTable::Theme* theme, ResXMLParser* xml_parser, uint32_t def_style_attr, 57 bool RetrieveAttributes(const ResTable* res, ResXMLParser* xml_parser, uint32_t* attrs,
|
AssetManager.h | 45 class ResTable; 175 const ResTable& getResources(bool required = true) const; 228 const ResTable* getResTable(bool required = true) const; 236 ResTable* sharedRes, size_t offset) const; 247 ResTable* getResourceTable(); 248 ResTable* setResourceTable(ResTable* res); 267 ResTable* mResourceTable; 296 ResTable* getZipResourceTable(const String8& path); 297 ResTable* setZipResourceTable(const String8& path, ResTable* res) [all...] |
ResourceTypes.h | [all...] |
/frameworks/base/libs/androidfw/tests/ |
Theme_bench.cpp | 55 const ResTable& res_table = assets.getResources(true); 58 std::unique_ptr<ResTable::Theme> theme{new ResTable::Theme(res_table)}; 86 const ResTable& res_table = assets.getResources(true); 87 std::unique_ptr<ResTable::Theme> theme{new ResTable::Theme(res_table)};
|
AppAsLib_test.cpp | 34 ResTable table; 51 ResTable table; 70 ResTable table;
|
Split_test.cpp | 67 ResTable table; 76 ResTable table; 105 ResTable table; 129 ResTable table; 135 ResTable::resource_name baseName; 141 ResTable::resource_name frName; 158 ResTable table; 188 ResTable table; 214 ResTable table; 232 ResTable table [all...] |
ResTable_test.cpp | 40 ResTable table; 49 ResTable table; 77 ResTable table; 88 ResTable table; 105 ResTable table; 108 ResTable::Theme theme(table); 129 ResTable table; 132 ResTable::Theme theme(table); 153 ResTable table; 156 ResTable::Theme theme(table) [all...] |
BenchmarkHelpers.cpp | 39 const ResTable& table = assetmanager.getResources(true);
|
Idmap_test.cpp | 39 ResTable overlay_table; 51 ResTable target_table_; 96 ResTable::resource_name res_name; 113 ResTable table;
|
AssetManager2_bench.cpp | 193 const ResTable& table = assets.getResources(true); 196 const ResTable::bag_entry* bag_begin; 198 const ResTable::bag_entry* const bag_end = bag_begin + N; 236 const ResTable& table = assets.getResources(true);
|
TestHelpers.h | 59 ::testing::AssertionResult IsStringEqual(const ResTable& table, uint32_t resource_id,
|
AttributeResolution_test.cpp | 43 ResTable table_; 69 ResTable::Theme theme(table_); 174 ResTable::Theme theme(table_);
|
TestHelpers.cpp | 105 ::testing::AssertionResult IsStringEqual(const ResTable& table, uint32_t resource_id,
|
/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()); 374 printf("uses-permission: name='%s'", ResTable::normalizeForOutput(name.string()).string()); 388 ResTable::normalizeForOutput(name.string()).string()); 399 printf("name='%s'", ResTable::normalizeForOutput(name.string()).string()); 409 ResTable::normalizeForOutput(name.string()).string()) [all...] |
AaptXml.cpp | 96 String8 getResolvedAttribute(const ResTable& resTable, const ResXMLTree& tree, 119 ssize_t block = resTable.resolveReference(&value, 0); 135 const char16_t* str = resTable.valueToString(&value, static_cast<size_t>(block), NULL, &len); 157 int32_t getResolvedIntegerAttribute(const ResTable& resTable, const ResXMLTree& tree, 166 resTable.resolveReference(&value, 0); 179 void getResolvedResourceAttribute(const ResTable& resTable, const ResXMLTree& tree, 190 resTable.resolveReference(outValue, 0) [all...] |
pseudolocalize.cpp | 235 * processed by ResTable::collectString in the normal way.
|
/frameworks/base/libs/androidfw/ |
AttributeResolution.cpp | 47 : public BackTrackingAttributeFinder<BagAttributeFinder, const ResTable::bag_entry*> { 49 BagAttributeFinder(const ResTable::bag_entry* start, 50 const ResTable::bag_entry* end) 53 inline uint32_t GetAttribute(const ResTable::bag_entry* entry) const { 58 bool ResolveAttrs(ResTable::Theme* theme, uint32_t def_style_attr, 68 const ResTable& res = theme->getResTable(); 89 const ResTable::bag_entry* def_style_start = nullptr; 96 const ResTable::bag_entry* const def_style_end = 129 const ResTable::bag_entry* const def_style_entry = def_style_attr_finder.Find(cur_ident); 206 void ApplyStyle(ResTable::Theme* theme, ResXMLParser* xml_parser, uint32_t def_style_attr [all...] |
AssetManager.cpp | 241 if (!ResTable::getIdmapInfo(idmap->getBuffer(false), idmap->getLength(), 293 ResTable tables[2]; 501 ResTable* sharedRes = NULL; 539 sharedRes = new ResTable(); 587 const ResTable* AssetManager::getResTable(bool required) const 589 ResTable* rt = mResources; 606 mResources = new ResTable(); 628 ResTable* res = mResources; 658 const String8& targetPackagePath, ResTable* sharedRes, size_t offset) const 709 const ResTable& AssetManager::getResources(bool required) 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/core/jni/ |
android_util_AssetManager.cpp | 100 static jint copyValue(JNIEnv* env, jobject outValue, const ResTable* table, 104 jint copyValue(JNIEnv* env, jobject outValue, const ResTable* table, 663 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 | 220 const android::ResTable& table = assets_.getResources(false); 230 const android::ResTable& table, ResourceId id) { 232 const android::ResTable::bag_entry* entry; 265 android::ResTable::resource_name entry_name; 289 const android::ResTable& table = assets_.getResources(false); 318 static Maybe<ResourceName> GetResourceName(const android::ResTable& table, 320 android::ResTable::resource_name res_name = {}; 334 const android::ResTable& table = assets_.getResources(false);
|
/frameworks/base/tools/aapt2/flatten/ |
TableFlattener_test.cpp | 55 ResourceTable* table, ResTable* out_table) { 63 return ::testing::AssertionFailure() << "flattened ResTable is corrupt"; 78 return ::testing::AssertionFailure() << "flattened ResTable is corrupt"; 83 ::testing::AssertionResult Exists(ResTable* table, 121 ResTable::resource_name actual_name; 169 ResTable res_table; 216 ResTable res_table; 397 ResTable result; 422 ResTable result; 445 ResTable result [all...] |
/frameworks/base/tools/aapt2/ |
ResourceUtils.h | 74 * Convert an android::ResTable::resource_name to an aapt::ResourceName struct. 77 const android::ResTable::resource_name& name);
|
/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,
|