Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/cmd/
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 …]
DConvert_test.cpp194 switch (type->named_type.type) { in TEST_F()
DCompile.cpp273 if (type->named_type.type != ResourceType::kStyleable) { in CompileTable()
275 r_txt_printer.Print(type->named_type.to_string()); in CompileTable()
DOptimize.cpp272 ResourceNameRef name(pkg->name, type->named_type, entry->name); in WriteSplitApk()
DLink.cpp564 if (type->named_type.type != ResourceType::kRaw && in Flatten()
605 ResourceName(pkg->name, type->named_type, entry->name); in Flatten()
1022 ResourceNameRef res_name(package->name, type->named_type, entry->name); in VerifyNoExternalPackages()
1059 ResourceNameRef res_name(package->name, type->named_type, entry->name); in VerifyNoIdsSet()
2084 ResourceName name(package->name, type->named_type, entry->name); in Run()
/frameworks/base/tools/aapt2/
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()
DResourceTable.h172 const ResourceNamedType named_type;
181 : named_type(type.ToResourceNamedType()) { in ResourceTableType()
224 ResourceNamedType named_type; member
DDebug.cpp288 printer->Print(type.named_type.to_string()); in PrintTable()
302 printer->Print(type.named_type.to_string()); in PrintTable()
563 StringPrintf("%s/%s", type->named_type.to_string().data(), entry->name.c_str()); in DumpOverlayable()
/frameworks/base/tools/aapt2/java/
DJavaClassGenerator.cpp553 const auto target_type = type.named_type.type == ResourceType::kAttrPrivate in ProcessType()
555 : type.named_type; in ProcessType()
622 if (type->named_type.type == ResourceType::kAttrPrivate || in Generate()
623 type->named_type.type == ResourceType::kMacro) { in Generate()
635 to_string(type->named_type.type), ClassQualifier::kStatic, force_creation_if_empty); in Generate()
643 if (type->named_type.type == ResourceType::kAttr) { in Generate()
654 if (out != nullptr && type->named_type.type == ResourceType::kStyleable && is_public) { in Generate()
DProguardRules.cpp520 ResourceName from(pkg->name, type->named_type, entry->name); in CollectResourceReferences()
/frameworks/base/tools/aapt2/optimize/
DResourceFilter.cpp31 ResourceName resource = ResourceName({}, type->named_type, (*it)->name); in Consume()
DObfuscator.cpp117 ResourceName resource_name({}, type->named_type, entry->name); in HandleShortenFilePaths()
208 type->named_type, entry_view, onObfuscate); in HandleCollapseKeyStringPool()
/frameworks/base/tools/aapt2/link/
DNoDefaultResourceRemover.cpp79 const ResourceName name(pkg->name, type->named_type, (*iter)->name); in Consume()
DAutoVersioner.cpp78 if (type->named_type.type != ResourceType::kStyle) { in Consume()
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()
DReferenceLinker.cpp468 ResourceName name(package->name, type->named_type, entry->name); in Consume()
/frameworks/base/tools/aapt2/format/binary/
DTableFlattener.cpp292 << ResourceName(package_.name, type.named_type, entry.name).to_string(); in FlattenOverlayable()
436 if (type.named_type.type == ResourceType::kStyleable || in FlattenTypes()
437 type.named_type.type == ResourceType::kMacro) { in FlattenTypes()
451 type_pool_.MakeRef(type.named_type.to_string()); in FlattenTypes()
500 type.named_type, entry, onObfuscate); in FlattenTypes()
/frameworks/base/tools/aapt2/split/
DTableSplitter.cpp190 if (type->named_type.type == ResourceType::kMipmap) { in SplitTable()
242 ResourceTableType* split_type = split_pkg->FindOrCreateType(type->named_type); in SplitTable()
/frameworks/base/tools/aapt2/compile/
DIdAssigner_test.cpp208 << "resource " << ResourceNameRef(package->name, type->named_type, entry->name) in VerifyIds()
213 << "resource " << ResourceNameRef(package->name, type->named_type, entry->name) in VerifyIds()
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()
/frameworks/base/tools/aapt2/process/
DProductFilter.cpp103 ResourceNameRef name(pkg->name, type->named_type, entry->name); in Consume()
/frameworks/base/tools/aapt2/format/proto/
DProtoSerialize.cpp372 pb_type->set_name(type.named_type.to_string()); in SerializeTableToPb()
387 options.name_collapse_exemptions, type.named_type, entry, in SerializeTableToPb()
DProtoDeserialize.cpp519 id_index[resid] = ResourceNameRef(pkg->name, type->named_type, entry->name); in DeserializePackageFromPb()