/frameworks/base/tools/aapt2/cmd/ |
D | Dump.cpp | 46 static const char* ResourceFileTypeToString(const ResourceFile::Type& type) { in ResourceFileTypeToString() 48 case ResourceFile::Type::kPng: in ResourceFileTypeToString() 50 case ResourceFile::Type::kBinaryXml: in ResourceFileTypeToString() 52 case ResourceFile::Type::kProtoXml: in ResourceFileTypeToString() 60 static void DumpCompiledFile(const ResourceFile& file, const Source& source, off64_t offset, in DumpCompiledFile() 198 ResourceFile file; in Action()
|
D | Convert.cpp | 96 if (file->type == ResourceFile::Type::kProtoXml) { in SerializeFile() 128 file->type = ResourceFile::Type::kBinaryXml; in SerializeFile() 167 if (file->type == ResourceFile::Type::kBinaryXml) { in SerializeFile() 190 file->type = ResourceFile::Type::kProtoXml; in SerializeFile()
|
D | Compile.cpp | 289 static bool WriteHeaderAndDataToWriter(const StringPiece& output_path, const ResourceFile& file, in WriteHeaderAndDataToWriter() 382 xmlres->file.type = ResourceFile::Type::kProtoXml; in CompileXml() 465 ResourceFile res_file; in CompilePng() 469 res_file.type = ResourceFile::Type::kPng; in CompilePng() 572 ResourceFile res_file; in CompileFile() 576 res_file.type = ResourceFile::Type::kUnknown; in CompileFile()
|
D | Link.cpp | 480 ResourceFile::Type XmlFileTypeForOutputFormat(OutputFormat format) { in XmlFileTypeForOutputFormat() 483 return ResourceFile::Type::kBinaryXml; in XmlFileTypeForOutputFormat() 485 return ResourceFile::Type::kProtoXml; in XmlFileTypeForOutputFormat() 488 return ResourceFile::Type::kUnknown; in XmlFileTypeForOutputFormat() 535 (file_ref->type == ResourceFile::Type::kBinaryXml || in Flatten() 536 file_ref->type == ResourceFile::Type::kProtoXml)) { in Flatten() 544 if (file_ref->type == ResourceFile::Type::kProtoXml) { in Flatten() 624 const ResourceFile& file = doc->file; in Flatten() 1369 bool MergeCompiledFile(const ResourceFile& compiled_file, io::IFile* file, bool override) { in MergeCompiledFile() 1509 ResourceFile resource_file; in MergeFile()
|
/frameworks/base/tools/aapt2/java/ |
D | ProguardRules.cpp | 42 BaseVisitor(const ResourceFile& file, KeepSet* keep_set) : BaseVisitor(file, keep_set, "...") { in BaseVisitor() 45 BaseVisitor(const ResourceFile& file, KeepSet* keep_set, const std::string& ctor_signature) in BaseVisitor() 79 ResourceFile file_; 112 LayoutVisitor(const ResourceFile& file, KeepSet* keep_set) in LayoutVisitor() 152 MenuVisitor(const ResourceFile& file, KeepSet* keep_set) : BaseVisitor(file, keep_set) { in MenuVisitor() 178 XmlResourceVisitor(const ResourceFile& file, KeepSet* keep_set) : BaseVisitor(file, keep_set) { in XmlResourceVisitor() 205 NavigationVisitor(const ResourceFile& file, KeepSet* keep_set, const std::string& package) in NavigationVisitor() 228 TransitionVisitor(const ResourceFile& file, KeepSet* keep_set) : BaseVisitor(file, keep_set) { in TransitionVisitor() 251 ManifestVisitor(const ResourceFile& file, KeepSet* keep_set, bool main_dex_only) in ManifestVisitor()
|
/frameworks/base/tools/aapt2/format/proto/ |
D | ProtoSerialize.h | 65 void SerializeCompiledFileToPb(const ResourceFile& file, pb::internal::CompiledFile* out_file);
|
D | ProtoDeserialize.h | 61 ResourceFile* out_file, std::string* out_error);
|
D | ProtoSerialize.cpp | 436 static pb::FileReference::Type SerializeFileReferenceTypeToPb(const ResourceFile::Type& type) { in SerializeFileReferenceTypeToPb() 438 case ResourceFile::Type::kBinaryXml: in SerializeFileReferenceTypeToPb() 440 case ResourceFile::Type::kProtoXml: in SerializeFileReferenceTypeToPb() 442 case ResourceFile::Type::kPng: in SerializeFileReferenceTypeToPb() 640 void SerializeCompiledFileToPb(const ResourceFile& file, pb::internal::CompiledFile* out_file) { in SerializeCompiledFileToPb()
|
D | ProtoDeserialize.cpp | 568 static ResourceFile::Type DeserializeFileReferenceTypeFromPb(const pb::FileReference::Type& type) { in DeserializeFileReferenceTypeFromPb() 571 return ResourceFile::Type::kBinaryXml; in DeserializeFileReferenceTypeFromPb() 573 return ResourceFile::Type::kProtoXml; in DeserializeFileReferenceTypeFromPb() 575 return ResourceFile::Type::kPng; in DeserializeFileReferenceTypeFromPb() 577 return ResourceFile::Type::kUnknown; in DeserializeFileReferenceTypeFromPb() 582 ResourceFile* out_file, std::string* out_error) { in DeserializeCompiledFileFromPb()
|
/frameworks/base/tools/aapt2/link/ |
D | TableMerger.h | 75 bool MergeFile(const ResourceFile& fileDesc, bool overlay, io::IFile* file);
|
D | TableMerger_test.cpp | 95 ResourceFile file_desc; in TEST_F() 115 ResourceFile file_desc; in TEST_F()
|
D | TableMerger.cpp | 332 bool TableMerger::MergeFile(const ResourceFile& file_desc, bool overlay, io::IFile* file) { in MergeFile()
|
/frameworks/base/tools/aapt2/ |
D | ResourceValues.h | 265 ResourceFile::Type type = ResourceFile::Type::kUnknown;
|
D | ResourceUtils.h | 225 std::string BuildResourceFileName(const ResourceFile& res_file,
|
D | ResourceUtils.cpp | 719 std::string BuildResourceFileName(const ResourceFile& res_file, const NameMangler* mangler) { in BuildResourceFileName() 767 file_ref->type = ResourceFile::Type::kUnknown; in ParseBinaryResValue() 769 file_ref->type = ResourceFile::Type::kBinaryXml; in ParseBinaryResValue() 771 file_ref->type = ResourceFile::Type::kPng; in ParseBinaryResValue()
|
D | ResourceValues.cpp | 372 case ResourceFile::Type::kBinaryXml: in Print() 375 case ResourceFile::Type::kProtoXml: in Print() 378 case ResourceFile::Type::kPng: in Print()
|
D | Resource.h | 167 struct ResourceFile { struct
|
/frameworks/base/tools/aapt2/xml/ |
D | XmlDom.h | 148 ResourceFile file;
|
D | XmlDom.cpp | 219 return util::make_unique<XmlResource>(ResourceFile{{}, {}, ResourceFile::Type::kUnknown, source}, in Inflate()
|