/frameworks/base/libs/androidfw/ |
D | ResourceUtils.cpp | 79 std::string ToFormattedResourceString(AssetManager2::ResourceName* resource_name) { in ToFormattedResourceString() argument 81 if (resource_name->package != nullptr) { in ToFormattedResourceString() 82 result.append(resource_name->package, resource_name->package_len); in ToFormattedResourceString() 85 if (resource_name->type != nullptr || resource_name->type16 != nullptr) { in ToFormattedResourceString() 90 if (resource_name->type != nullptr) { in ToFormattedResourceString() 91 result.append(resource_name->type, resource_name->type_len); in ToFormattedResourceString() 93 result += util::Utf16ToUtf8(StringPiece16(resource_name->type16, resource_name->type_len)); in ToFormattedResourceString() 97 if (resource_name->entry != nullptr || resource_name->entry16 != nullptr) { in ToFormattedResourceString() 102 if (resource_name->entry != nullptr) { in ToFormattedResourceString() 103 result.append(resource_name->entry, resource_name->entry_len); in ToFormattedResourceString() [all …]
|
D | AssetManager2.cpp | 602 ResourceName resource_name; in GetLastResourceResolution() local 612 &resource_name); in GetLastResourceResolution() 613 resource_name_string = ToFormattedResourceString(&resource_name); in GetLastResourceResolution() 979 uint32_t AssetManager2::GetResourceId(const std::string& resource_name, in GetResourceId() argument 983 if (!ExtractResourceName(resource_name, &package_name, &type, &entry)) { in GetResourceId()
|
D | ResourceTypes.cpp | 4265 bool ResTable::getResourceName(uint32_t resID, bool allowUtf8, resource_name* outName) const in getResourceName() 5835 resource_name rname; in stringToValue() 5875 resource_name rname; in stringToValue() 7170 resource_name current_res; in createIdmap() 7490 resource_name resName; in print() 7577 resource_name resName; in print()
|
/frameworks/base/tools/aapt2/tools/consumers/ |
D | duplicates.py | 101 resource_name = None 109 resource_name = "{0}/{1}".format(attrs["type"], attrs["name"]) 111 resource_name = "{0}/{1}".format(tag_name, attrs["name"]) 113 resource_name,
|
/frameworks/base/tools/aapt2/cmd/ |
D | Optimize.cpp | 305 for (StringPiece resource_name : util::Tokenize(contents, ',')) { in ExtractObfuscationWhitelistFromConfig() local 307 resource_name.to_string()); in ExtractObfuscationWhitelistFromConfig() 335 ResourceNameRef resource_name; in ExtractConfig() local 336 if (!ResourceUtils::ParseResourceName(resource_string, &resource_name)) { in ExtractConfig() 340 if (!resource_name.package.empty()) { in ExtractConfig() 347 options->resources_blacklist.insert(resource_name.ToResourceName()); in ExtractConfig() 350 resource_name.entry.to_string()); in ExtractConfig()
|
/frameworks/base/tools/aapt2/java/ |
D | ProguardRules.h | 68 inline void AddReference(const UsageLocation& file, const ResourceName& resource_name) { in AddReference() argument 69 reference_set_[resource_name].insert(file); in AddReference()
|
D | JavaClassGenerator.cpp | 540 const ResourceNameRef resource_name( in ProcessType() local 548 err << "invalid symbol name '" << resource_name << "'"; in ProcessType() 553 if (resource_name.type == ResourceType::kStyleable) { in ProcessType() 559 ProcessStyleable(resource_name, id, *styleable, package_name_to_generate, out_type_class_def, in ProcessType() 562 ProcessResource(resource_name, id, *entry, out_type_class_def, out_rewrite_method_def, in ProcessType()
|
/frameworks/base/tools/aapt2/ |
D | ResourcesInternal.proto | 32 string resource_name = 1; field 39 string resource_name = 1; field
|
D | ResourceUtils.h | 79 const android::ResTable::resource_name& name);
|
D | ResourceUtils.cpp | 44 const android::ResTable::resource_name& name_in) { in ToResourceName()
|
/frameworks/base/libs/androidfw/tests/ |
D | Split_test.cpp | 135 ResTable::resource_name baseName; in TEST_F() 141 ResTable::resource_name frName; in TEST_F() 236 ResTable::resource_name name; in TEST_F()
|
D | Idmap_test.cpp | 96 ResTable::resource_name res_name; in TEST_F()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | ResourceUtils.h | 39 std::string ToFormattedResourceString(AssetManager2::ResourceName* resource_name);
|
D | AssetManager2.h | 203 uint32_t GetResourceId(const std::string& resource_name, const std::string& fallback_type = {},
|
D | ResourceTypes.h | 1769 struct resource_name struct 1781 bool getResourceName(uint32_t resID, bool allowUtf8, resource_name* outName) const; argument
|
/frameworks/base/tools/aapt2/format/proto/ |
D | ProtoDeserialize.cpp | 584 if (!ResourceUtils::ParseResourceName(pb_file.resource_name(), &name_ref)) { in DeserializeCompiledFileFromPb() 586 error << "invalid resource name in compiled file header: " << pb_file.resource_name(); in DeserializeCompiledFileFromPb() 604 if (!ResourceUtils::ParseResourceName(pb_symbol.resource_name(), &name_ref)) { in DeserializeCompiledFileFromPb() 607 << pb_file.resource_name(); in DeserializeCompiledFileFromPb()
|
/frameworks/base/cmds/idmap/ |
D | inspect.cpp | 151 struct ResTable::resource_name data; in resource_metadata()
|
/frameworks/base/tools/aapt2/format/binary/ |
D | TableFlattener_test.cpp | 119 ResTable::resource_name actual_name; in Exists()
|