/frameworks/base/libs/androidfw/include/androidfw/ |
D | AssetManager.h | 45 class ResTable; variable 193 const ResTable& getResources(bool required = true) const; 251 const ResTable* getResTable(bool required = true) const; 259 ResTable* sharedRes, size_t offset) const; 271 ResTable* getResourceTable(); 272 ResTable* setResourceTable(ResTable* res); 292 ResTable* mResourceTable; 323 ResTable* getZipResourceTable(const String8& path); 324 ResTable* setZipResourceTable(const String8& path, ResTable* res); 350 mutable ResTable* mResources;
|
D | ResourceTypes.h | 1746 class ResTable 1749 ResTable(); 1750 ResTable(const void* data, size_t size, const int32_t cookie, 1752 ~ResTable(); 1762 status_t add(ResTable* src, bool isSystemAsset=false); 1865 explicit Theme(const ResTable& table); 1868 inline const ResTable& getResTable() const { return mTable; } in getResTable() 1934 const ResTable& mTable; 2052 status_t createIdmap(const ResTable& targetResTable,
|
/frameworks/base/libs/androidfw/tests/ |
D | Theme_bench.cpp | 55 const ResTable& res_table = assets.getResources(true); in BM_ThemeApplyStyleFrameworkOld() 58 std::unique_ptr<ResTable::Theme> theme{new ResTable::Theme(res_table)}; in BM_ThemeApplyStyleFrameworkOld() 86 const ResTable& res_table = assets.getResources(true); in BM_ThemeGetAttributeOld() 87 std::unique_ptr<ResTable::Theme> theme{new ResTable::Theme(res_table)}; in BM_ThemeGetAttributeOld()
|
D | Split_test.cpp | 67 ResTable table; in TEST_F() 76 ResTable table; in TEST_F() 105 ResTable table; in TEST_F() 129 ResTable table; in TEST_F() 135 ResTable::resource_name baseName; in TEST_F() 141 ResTable::resource_name frName; in TEST_F() 158 ResTable table; in TEST_F() 188 ResTable table; in TEST_F() 214 ResTable table; in TEST_F() 232 ResTable table; in TEST_F() [all …]
|
D | ResTable_test.cpp | 40 ResTable table; in TEST() 49 ResTable table; in TEST() 77 ResTable table; in TEST() 88 ResTable table; in TEST() 105 ResTable table; in TEST() 108 ResTable::Theme theme(table); in TEST() 129 ResTable table; in TEST() 132 ResTable::Theme theme(table); in TEST() 153 ResTable table; in TEST() 156 ResTable::Theme theme(table); in TEST() [all …]
|
D | AppAsLib_test.cpp | 34 ResTable table; in TEST() 51 ResTable table; in TEST() 70 ResTable table; in TEST()
|
D | Idmap_test.cpp | 39 ResTable overlay_table; in SetUp() 51 ResTable target_table_; 96 ResTable::resource_name res_name; in TEST_F() 113 ResTable table; in TEST_F()
|
D | AssetManager2_bench.cpp | 162 const ResTable& table = assets.getResources(true); in BM_AssetManagerGetBagOld() 165 const ResTable::bag_entry* bag_begin; in BM_AssetManagerGetBagOld() 167 const ResTable::bag_entry* const bag_end = bag_begin + N; in BM_AssetManagerGetBagOld() 205 const ResTable& table = assets.getResources(true); in BM_AssetManagerGetResourceLocalesOld() 243 const ResTable& table = assets.getResources(true); in BM_AssetManagerSetConfigurationFrameworkOld()
|
D | TestHelpers.h | 34 ::testing::AssertionResult IsStringEqual(const ResTable& table, uint32_t resource_id,
|
D | ApkAssets_test.cpp | 84 ResTable target_table; in TEST() 90 ResTable overlay_table; in TEST()
|
D | TestHelpers.cpp | 59 AssertionResult IsStringEqual(const ResTable& table, uint32_t resource_id, in IsStringEqual()
|
D | BenchmarkHelpers.cpp | 37 const ResTable& table = assetmanager.getResources(true); in GetResourceBenchmarkOld()
|
/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() 109 android::String8 getResolvedAttribute(const android::ResTable& resTable, 117 void getResolvedResourceAttribute(const android::ResTable& resTable,
|
D | Command.cpp | 205 const ResTable& res = assets.getResources(false); in doList() 232 static void printResolvedResourceAttribute(const ResTable& resTable, const ResXMLTree& tree, in printResolvedResourceAttribute() 244 ResTable::normalizeForOutput(result.string()).string()); in printResolvedResourceAttribute() 358 printf("uses-permission: name='%s'", ResTable::normalizeForOutput(name.string()).string()); in printUsesPermission() 372 ResTable::normalizeForOutput(name.string()).string()); in printUsesPermission() 383 printf("name='%s'", ResTable::normalizeForOutput(name.string()).string()); in printUsesPermissionSdk23() 393 ResTable::normalizeForOutput(name.string()).string()); in printUsesImpliedPermission() 397 printf(" reason='%s'\n", ResTable::normalizeForOutput(reason.string()).string()); in printUsesImpliedPermission() 573 ResTable::normalizeForOutput(featureName.string()).string()); in printFeatureGroupImpl() 591 String8 printableFeatureName(ResTable::normalizeForOutput( in printFeatureGroupImpl() [all …]
|
D | AaptXml.cpp | 96 String8 getResolvedAttribute(const ResTable& resTable, const ResXMLTree& tree, in getResolvedAttribute() 157 int32_t getResolvedIntegerAttribute(const ResTable& resTable, const ResXMLTree& tree, in getResolvedIntegerAttribute() 179 void getResolvedResourceAttribute(const ResTable& resTable, const ResXMLTree& tree, in getResolvedResourceAttribute()
|
D | XMLNode.cpp | 279 if (!ResTable::collectString(outString, curString.string(), in parseStyledString() 314 if (!ResTable::collectString(outString, curString.string(), in parseStyledString() 383 if (!ResTable::collectString(outString, curString.string(), in parseStyledString() 482 ResTable::normalizeForOutput(String8(block->getAttributeStringValue(i, in printXMLBlock() 489 printf(" (Raw: \"%s\")", ResTable::normalizeForOutput(String8(val).string()). in printXMLBlock() 544 ResTable::normalizeForOutput(String8(block->getText(&len)).string()).string()); in printXMLBlock()
|
D | Resource.cpp | 477 static int validateAttr(const String8& path, const ResTable& table, in validateAttr() 813 if (!ResTable::expandResourceRef(iconRef.string(), iconRef.size(), &iconPackage, &iconType, in massageRoundIconSupport() 827 if (!ResTable::expandResourceRef(roundIconRef.string(), roundIconRef.size(), &roundIconPackage, in massageRoundIconSupport() 1047 const ResTable& table = assets.getResources(true); in getPlatformAssetCookie() 1052 const ResTable::bag_entry* entry; in getPlatformAssetCookie() 1071 static ssize_t extractPlatformBuildVersion(const ResTable& table, ResXMLTree& tree, Bundle* bundle)… in extractPlatformBuildVersion() 1780 ResTable finalResTable; in buildResources() 1820 ResTable resTable; in buildResources()
|
/frameworks/base/libs/androidfw/ |
D | AssetManager.cpp | 257 if (!ResTable::getIdmapInfo(idmap->getBuffer(false), idmap->getLength(), in addOverlayPath() 337 ResTable tables[2]; in createIdmap() 546 ResTable* sharedRes = NULL; in appendPathToResTable() 584 sharedRes = new ResTable(); in appendPathToResTable() 632 const ResTable* AssetManager::getResTable(bool required) const in getResTable() 634 ResTable* rt = mResources; in getResTable() 651 mResources = new ResTable(); in getResTable() 674 ResTable* res = mResources; in updateResourceParamsLocked() 704 const String8& targetPackagePath, ResTable* sharedRes, size_t offset) const in addSystemOverlays() 755 const ResTable& AssetManager::getResources(bool required) const in getResources() [all …]
|
D | ResourceTypes.cpp | 238 if (size < ResTable::IDMAP_HEADER_SIZE_BYTES) { in assertIdmapHeader() 251 if (version != ResTable::IDMAP_CURRENT_VERSION) { in assertIdmapHeader() 255 version, ResTable::IDMAP_CURRENT_VERSION); in assertIdmapHeader() 361 size -= ResTable::IDMAP_HEADER_SIZE_BYTES; in parseIdmap() 368 reinterpret_cast<const uint8_t*>(idmap) + ResTable::IDMAP_HEADER_SIZE_BYTES); in parseIdmap() 3446 struct ResTable::Header 3448 explicit Header(ResTable* _owner) : owner(_owner), ownedData(NULL), header(NULL), in Header() 3456 const ResTable* const owner; 3469 struct ResTable::Entry { 3480 struct ResTable::Type [all …]
|
/frameworks/base/cmds/idmap/ |
D | create.cpp | 77 static const size_t N = ResTable::IDMAP_HEADER_SIZE_BYTES; in is_idmap_stale_fd() 109 if (!ResTable::getIdmapInfo(buf, N, &version, &cached_target_crc, &cached_overlay_crc, in is_idmap_stale_fd() 114 if (version != ResTable::IDMAP_CURRENT_VERSION) { in is_idmap_stale_fd()
|
D | inspect.cpp | 150 const ResTable& rt = am.getResources(); in resource_metadata() 151 struct ResTable::resource_name data; in resource_metadata()
|
/frameworks/base/tools/aapt2/format/binary/ |
D | TableFlattener_test.cpp | 56 ResourceTable* table, ResTable* out_table) { in Flatten() 85 ::testing::AssertionResult Exists(ResTable* table, const StringPiece& expected_name, in Exists() 119 ResTable::resource_name actual_name; in Exists() 170 ResTable res_table; in TEST_F() 210 ResTable res_table; in TEST_F() 448 ResTable result; in TEST_F() 473 ResTable result; in TEST_F() 496 ResTable result; in TEST_F() 517 ResTable result; in TEST_F() 541 ResTable res_table; in TEST_F() [all …]
|
/frameworks/base/tools/aapt2/ |
D | ResourceUtils.cpp | 44 const android::ResTable::resource_name& name_in) { in ToResourceName() 505 if (android::ResTable::stringToInt(str16.data(), str16.size(), &value)) { in ParseInt() 516 if (android::ResTable::stringToInt(str16.data(), str16.size(), &value)) { in ParseResourceId() 532 if (android::ResTable::stringToInt(str16.data(), str16.size(), &value)) { in ParseSdkVersion() 569 if (!android::ResTable::stringToInt(str16.data(), str16.size(), &value)) { in TryParseInt() 582 if (!android::ResTable::stringToFloat(str16.data(), str16.size(), &value)) { in TryParseFloat()
|
D | ResourceUtils.h | 79 const android::ResTable::resource_name& name);
|
/frameworks/base/tools/split-select/ |
D | Main.cpp | 213 const ResTable& res = assetManager.getResources(false); in extractSplitDescriptionsFromApk()
|