Home
last modified time | relevance | path

Searched refs:named_type (Results 1 – 23 of 23) sorted by relevance

/aosp14/frameworks/base/tools/aapt2/cmd/
H A DDiff.cpp108 str_stream << "value " << pkg_a.name << ":" << type_a.named_type << "/" << entry_a.name in EmitResourceConfigValueDiff()
131 str_stream << "missing " << pkg_a.name << ":" << type_a.named_type << "/" << entry_a.name in EmitResourceEntryDiff()
146 str_stream << "new config " << pkg_b.name << ":" << type_b.named_type << "/" << entry_b.name in EmitResourceEntryDiff()
167 str_stream << "missing " << pkg_a.name << ":" << type_a.named_type << "/" in EmitResourceTypeDiff()
174 str_stream << "new entry " << pkg_b.name << ":" << type_b.named_type << "/" in EmitResourceTypeDiff()
183 str_stream << pkg_a.name << ":" << type_a.named_type << "/" << entry_a.name in EmitResourceTypeDiff()
208 str_stream << pkg_a.name << ":" << type_a.named_type << "/" << entry_a.name in EmitResourceTypeDiff()
248 str_stream << "missing " << pkg_a.name << ":" << type_a_iter->named_type; in EmitResourcePackageDiff()
254 str_stream << "new type " << pkg_b.name << ":" << type_b_iter->named_type; in EmitResourcePackageDiff()
262 str_stream << pkg_a.name << ":" << type_a.named_type << " has different visibility ("; in EmitResourcePackageDiff()
[all …]
H A DConvert_test.cpp194 switch (type->named_type.type) { in TEST_F()
H A DCompile.cpp249 if (type->named_type.type != ResourceType::kStyleable) { in CompileTable()
251 r_txt_printer.Print(type->named_type.to_string()); in CompileTable()
H A DOptimize.cpp271 ResourceNameRef name(pkg->name, type->named_type, entry->name); in WriteSplitApk()
H A DLink.cpp561 if (type->named_type.type != ResourceType::kRaw && in Flatten()
602 ResourceName(pkg->name, type->named_type, entry->name); in Flatten()
1019 ResourceNameRef res_name(package->name, type->named_type, entry->name); in VerifyNoExternalPackages()
1056 ResourceNameRef res_name(package->name, type->named_type, entry->name); in VerifyNoIdsSet()
2066 ResourceName name(package->name, type->named_type, entry->name); in Run()
/aosp14/frameworks/base/tools/aapt2/
H A DResourceTable.cpp48 return lhs->named_type < rhs; in less_than_type()
122 const bool found = iter != entries.end() && type == (*iter)->named_type; in FindTypeRunAction()
127 auto named_type = ResourceNamedTypeWithDefaultName(type); in FindTypeWithDefaultName() local
128 return FindType(named_type); in FindTypeWithDefaultName()
339 return lhs.id != rhs.id ? lhs.id < rhs.id : lhs.named_type < rhs.named_type; in operator ()()
365 ResourceTableTypeView new_type{type->named_type, in InsertEntryIntoTableView()
434 auto type_index_iter = type_new_package_index.find(type.named_type); in GetPartitionedView()
438 std::make_pair(type.named_type, start_index)); in GetPartitionedView()
452 type_new_package_index[type.named_type] = index + 1; in GetPartitionedView()
669 ResourceTableType* new_type = new_pkg->FindOrCreateType(type->named_type); in Clone()
H A DResourceTable.h172 const ResourceNamedType named_type;
181 : named_type(type.ToResourceNamedType()) { in ResourceTableType()
224 ResourceNamedType named_type; member
H A DDebug.cpp278 printer->Print(type.named_type.to_string()); in PrintTable()
292 printer->Print(type.named_type.to_string()); in PrintTable()
553 StringPrintf("%s/%s", type->named_type.to_string().data(), entry->name.c_str()); in DumpOverlayable()
/aosp14/frameworks/base/tools/aapt2/java/
H A DJavaClassGenerator.cpp550 const auto target_type = type.named_type.type == ResourceType::kAttrPrivate in ProcessType()
552 : type.named_type; in ProcessType()
619 if (type->named_type.type == ResourceType::kAttrPrivate || in Generate()
620 type->named_type.type == ResourceType::kMacro) { in Generate()
632 to_string(type->named_type.type), ClassQualifier::kStatic, force_creation_if_empty); in Generate()
640 if (type->named_type.type == ResourceType::kAttr) { in Generate()
651 if (out != nullptr && type->named_type.type == ResourceType::kStyleable && is_public) { in Generate()
H A DProguardRules.cpp520 ResourceName from(pkg->name, type->named_type, entry->name); in CollectResourceReferences()
/aosp14/frameworks/base/tools/aapt2/optimize/
H A DResourceFilter.cpp31 ResourceName resource = ResourceName({}, type->named_type, (*it)->name); in Consume()
H A DObfuscator.cpp94 ResourceName resource_name({}, type->named_type, entry->name); in HandleShortenFilePaths()
184 type->named_type, entry_view, onObfuscate); in HandleCollapseKeyStringPool()
/aosp14/frameworks/base/tools/aapt2/format/binary/
H A DTableFlattener.cpp294 << ResourceName(package_.name, type.named_type, entry.name).to_string(); in FlattenOverlayable()
438 if (type.named_type.type == ResourceType::kStyleable || in FlattenTypes()
439 type.named_type.type == ResourceType::kMacro) { in FlattenTypes()
453 type_pool_.MakeRef(type.named_type.to_string()); in FlattenTypes()
501 type.named_type, entry, onObfuscate); in FlattenTypes()
/aosp14/frameworks/base/tools/aapt2/compile/
H A DIdAssigner_test.cpp194 << "resource " << ResourceNameRef(package->name, type->named_type, entry->name) in VerifyIds()
199 << "resource " << ResourceNameRef(package->name, type->named_type, entry->name) in VerifyIds()
H A DIdAssigner.cpp131 const ResourceName name(package->name, type->named_type, entry->name); in Consume()
178 const ResourceName name(package->name, type->named_type, entry->name); in Consume()
/aosp14/frameworks/base/tools/aapt2/split/
H A DTableSplitter.cpp190 if (type->named_type.type == ResourceType::kMipmap) { in SplitTable()
242 ResourceTableType* split_type = split_pkg->FindOrCreateType(type->named_type); in SplitTable()
/aosp14/frameworks/base/tools/aapt2/link/
H A DNoDefaultResourceRemover.cpp79 const ResourceName name(pkg->name, type->named_type, (*iter)->name); in Consume()
H A DProductFilter.cpp97 ResourceNameRef name(pkg->name, type->named_type, entry->name); in Consume()
H A DAutoVersioner.cpp78 if (type->named_type.type != ResourceType::kStyle) { in Consume()
H A DTableMerger.cpp239 ResourceTableType* dst_type = main_package_->FindOrCreateType(src_type->named_type); in DoMerge()
258 const ResourceNameRef res_name(src_package->name, src_type->named_type, src_entry->name); in DoMerge()
H A DReferenceLinker.cpp468 ResourceName name(package->name, type->named_type, entry->name); in Consume()
/aosp14/frameworks/base/tools/aapt2/format/proto/
H A DProtoSerialize.cpp372 pb_type->set_name(type.named_type.to_string()); in SerializeTableToPb()
387 options.name_collapse_exemptions, type.named_type, entry, in SerializeTableToPb()
H A DProtoDeserialize.cpp519 id_index[resid] = ResourceNameRef(pkg->name, type->named_type, entry->name); in DeserializePackageFromPb()