Searched refs:ResourceTableType (Results 1 – 13 of 13) sorted by relevance
/frameworks/base/tools/aapt2/cmd/ |
D | Diff.cpp | 93 ResourceTablePackage* pkg_a, ResourceTableType* type_a, in EmitResourceConfigValueDiff() 96 ResourceTableType* type_b, ResourceEntry* entry_b, in EmitResourceConfigValueDiff() 114 ResourceTablePackage* pkg_a, ResourceTableType* type_a, in EmitResourceEntryDiff() 116 ResourceTablePackage* pkg_b, ResourceTableType* type_b, in EmitResourceEntryDiff() 149 ResourceTablePackage* pkg_a, ResourceTableType* type_a, in EmitResourceTypeDiff() 151 ResourceTableType* type_b) { in EmitResourceTypeDiff() 221 for (std::unique_ptr<ResourceTableType>& type_a : pkg_a->types) { in EmitResourcePackageDiff() 222 ResourceTableType* type_b = pkg_b->FindType(type_a->type); in EmitResourcePackageDiff() 270 for (std::unique_ptr<ResourceTableType>& type_b : pkg_b->types) { in EmitResourcePackageDiff() 271 ResourceTableType* type_a = pkg_a->FindType(type_b->type); in EmitResourcePackageDiff()
|
/frameworks/base/tools/aapt2/ |
D | ResourceTable.h | 180 class ResourceTableType { 194 explicit ResourceTableType(const ResourceType type) : type(type) {} in ResourceTableType() function 202 DISALLOW_COPY_AND_ASSIGN(ResourceTableType); 212 std::vector<std::unique_ptr<ResourceTableType>> types; 215 ResourceTableType* FindType(ResourceType type, Maybe<uint8_t> id = Maybe<uint8_t>()); 216 ResourceTableType* FindOrCreateType(const ResourceType type, 276 ResourceTableType* type;
|
D | ResourceTable.cpp | 46 static bool less_than_type_and_id(const std::unique_ptr<ResourceTableType>& lhs, in less_than_type_and_id() 125 ResourceTableType* ResourceTablePackage::FindType(ResourceType type, const Maybe<uint8_t> id) { in FindType() 135 ResourceTableType* ResourceTablePackage::FindOrCreateType(ResourceType type, in FindOrCreateType() 144 auto new_type = new ResourceTableType(type); in FindOrCreateType() 149 ResourceEntry* ResourceTableType::FindEntry(const StringPiece& name, const Maybe<uint16_t> id) { in FindEntry() 159 ResourceEntry* ResourceTableType::FindOrCreateEntry(const StringPiece& name, in FindOrCreateEntry() 416 ResourceTableType* type = package->FindOrCreateType(name.type, use_id ? res_id.type_id() in AddResourceImpl() 522 ResourceTableType* type = package->FindOrCreateType(name.type, use_id ? res_id.type_id() in SetVisibilityImpl() 592 ResourceTableType* type = package->FindOrCreateType(name.type); in SetAllowNewImpl() 613 ResourceTableType* type = package->FindOrCreateType(name.type); in SetOverlayableImpl() [all …]
|
/frameworks/base/tools/aapt2/link/ |
D | PrivateAttributeMover.cpp | 60 ResourceTableType* type = package->FindType(ResourceType::kAttr); in Consume() 83 ResourceTableType* priv_attr_type = package->FindOrCreateType(ResourceType::kAttrPrivate); in Consume()
|
D | PrivateAttributeMover_test.cpp | 44 ResourceTableType* type = package->FindType(ResourceType::kAttr); in TEST() 71 ResourceTableType* type = package->FindType(ResourceType::kAttr); in TEST()
|
D | TableMerger.cpp | 86 static bool MergeType(IAaptContext* context, const Source& src, ResourceTableType* dst_type, in MergeType() 87 ResourceTableType* src_type) { in MergeType() 229 ResourceTableType* dst_type = master_package_->FindOrCreateType(src_type->type); in DoMerge()
|
/frameworks/base/tools/aapt2/format/binary/ |
D | TableFlattener.cpp | 331 bool FlattenConfig(const ResourceTableType* type, const ConfigDescription& config, in FlattenConfig() 401 std::vector<ResourceTableType*> CollectAndSortTypes() { in CollectAndSortTypes() 402 std::vector<ResourceTableType*> sorted_types; in CollectAndSortTypes() 414 std::sort(sorted_types.begin(), sorted_types.end(), cmp_ids<ResourceTableType>); in CollectAndSortTypes() 418 std::vector<ResourceEntry*> CollectAndSortEntries(ResourceTableType* type) { in CollectAndSortEntries() 566 bool FlattenTypeSpec(ResourceTableType* type, std::vector<ResourceEntry*>* sorted_entries, in FlattenTypeSpec() 615 std::vector<ResourceTableType*> sorted_types = CollectAndSortTypes(); in FlattenTypes() 618 for (ResourceTableType* type : sorted_types) { in FlattenTypes()
|
/frameworks/base/tools/aapt2/java/ |
D | JavaClassGenerator.h | 95 const ResourceTablePackage& package, const ResourceTableType& type,
|
D | JavaClassGenerator.cpp | 522 const ResourceTableType& type, in ProcessType() 629 const ResourceTableType* priv_type = package->FindType(ResourceType::kAttrPrivate); in Generate()
|
/frameworks/base/tools/aapt2/compile/ |
D | IdAssigner.cpp | 36 ResourceTableType* type, ResourceEntry* entry) { in AssignId()
|
/frameworks/base/tools/aapt2/split/ |
D | TableSplitter.cpp | 243 ResourceTableType* split_type = split_pkg->FindOrCreateType(type->type); in SplitTable()
|
/frameworks/base/tools/aapt2/format/proto/ |
D | ProtoSerialize.cpp | 342 for (const std::unique_ptr<ResourceTableType>& type : package->types) { in SerializeTableToPb()
|
D | ProtoDeserialize.cpp | 438 ResourceTableType* type = pkg->FindOrCreateType(*res_type); in DeserializePackageFromPb()
|