Home
last modified time | relevance | path

Searched refs:GetSource (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/tools/aapt2/cmd/
DDiff.cpp107 EmitDiffLine(apk_b->GetSource(), str_stream.str()); in EmitResourceConfigValueDiff()
125 EmitDiffLine(apk_b->GetSource(), str_stream.str()); in EmitResourceEntryDiff()
141 EmitDiffLine(apk_b->GetSource(), str_stream.str()); in EmitResourceEntryDiff()
158 EmitDiffLine(apk_b->GetSource(), str_stream.str()); in EmitResourceTypeDiff()
177 EmitDiffLine(apk_b->GetSource(), str_stream.str()); in EmitResourceTypeDiff()
196 EmitDiffLine(apk_b->GetSource(), str_stream.str()); in EmitResourceTypeDiff()
210 EmitDiffLine(apk_b->GetSource(), str_stream.str()); in EmitResourceTypeDiff()
226 EmitDiffLine(apk_a->GetSource(), str_stream.str()); in EmitResourcePackageDiff()
244 EmitDiffLine(apk_b->GetSource(), str_stream.str()); in EmitResourcePackageDiff()
262 EmitDiffLine(apk_b->GetSource(), str_stream.str()); in EmitResourcePackageDiff()
[all …]
DConvert.cpp262 serializer.reset(new BinaryApkSerializer(context, apk->GetSource(), table_flattener_options, in Convert()
265 serializer.reset(new ProtoApkSerializer(context, apk->GetSource())); in Convert()
267 context->GetDiagnostics()->Error(DiagMessage(apk->GetSource()) in Convert()
276 context->GetDiagnostics()->Error(DiagMessage(apk->GetSource()) in Convert()
295 context->GetDiagnostics()->Error(DiagMessage(apk->GetSource()) in Convert()
303 context->GetDiagnostics()->Error(DiagMessage(apk->GetSource()) in Convert()
316 context->GetDiagnostics()->Error(DiagMessage(apk->GetSource()) in Convert()
326 std::string path = file->GetSource().path; in Convert()
337 context->GetDiagnostics()->Error(DiagMessage(apk->GetSource()) in Convert()
DLink.cpp523 context_->GetDiagnostics()->Error(DiagMessage(file_ref->GetSource()) in Flatten()
539 context_->GetDiagnostics()->Error(DiagMessage(file->GetSource()) in Flatten()
547 context_->GetDiagnostics()->Error(DiagMessage(file->GetSource()) in Flatten()
555 context_->GetDiagnostics()->Error(DiagMessage(file->GetSource()) in Flatten()
563 context_->GetDiagnostics()->Error(DiagMessage(file->GetSource()) in Flatten()
573 file_op.xml_to_flatten->file.source = file_ref->GetSource(); in Flatten()
992 context_->GetDiagnostics()->Warn(DiagMessage(config_value->value->GetSource()) in VerifyNoExternalPackages()
997 context_->GetDiagnostics()->Error(DiagMessage(config_value->value->GetSource()) in VerifyNoExternalPackages()
1438 const Source& src = file->GetSource(); in MergeFile()
1478 TRACE_NAME(std::string("Process ResTable:") + file->GetSource().path); in MergeFile()
[all …]
DCompile.cpp649 std::string path = file->GetSource().path; in Compile()
667 context->GetDiagnostics()->Error(DiagMessage(file->GetSource()) << err_str); in Compile()
701 context->GetDiagnostics()->Error(DiagMessage(file->GetSource()) in Compile()
709 context->GetDiagnostics()->Error(DiagMessage(file->GetSource()) << "file failed to compile"); in Compile()
DDump.cpp370 GetDiagnostics()->Error(DiagMessage(apk->GetSource()) << "Unknown APK format"); in Dump()
/frameworks/base/tools/aapt2/link/
DProductFilter.cpp35 diag->Error(DiagMessage(config_value->value->GetSource()) in SelectProductToKeep()
42 DiagMessage(previously_selected_config_value->value->GetSource()) in SelectProductToKeep()
55 diag->Error(DiagMessage(config_value->value->GetSource()) in SelectProductToKeep()
62 DiagMessage(previously_default_config_value->value->GetSource()) in SelectProductToKeep()
DTableMerger.cpp214 context->GetDiagnostics()->Error(DiagMessage(src_value->GetSource()) in MergeConfigValue()
217 context->GetDiagnostics()->Note(DiagMessage(dst_value->GetSource()) in MergeConfigValue()
324 new_file_ref->SetSource(file_ref.GetSource()); in CloneAndMangleFile()
347 return DoMerge(file->GetSource(), pkg, false /*mangle*/, overlay /*overlay*/, true /*allow_new*/); in MergeFile()
DReferenceLinker.cpp101 DiagMessage msg(entry.key.GetSource()); in Visit()
111 DiagMessage msg(entry.key.GetSource()); in Visit()
348 DiagMessage error_msg(reference->GetSource()); in LinkReference()
DResourceExcluder.cpp54 DiagMessage(value->value->GetSource()) in RemoveIfExcluded()
DNoDefaultResourceRemover.cpp87 diag->Note(DiagMessage(config_value->value->GetSource()) << "defined here"); in Consume()
DAutoVersioner.cpp133 new_style->SetSource(style->GetSource()); in Consume()
/frameworks/base/tools/aapt2/io/
DFile.h52 virtual const Source& GetSource() const = 0;
79 const Source& GetSource() const override { in GetSource() function
80 return file_->GetSource(); in GetSource()
DFileSystem.h34 const Source& GetSource() const override;
DZipArchive.h39 const Source& GetSource() const override;
DUtil.cpp49 context->GetDiagnostics()->Error(DiagMessage(file->GetSource()) << "failed to open file"); in CopyFileToArchive()
DFileSystem.cpp54 const Source& RegularFile::GetSource() const { in GetSource() function in aapt::io::RegularFile
DZipArchive.cpp71 const Source& ZipFile::GetSource() const { in GetSource() function in aapt::io::ZipFile
/frameworks/base/tools/aapt2/optimize/
DResourceDeduper.cpp80 DiagMessage(node_value->value->GetSource()) in VisitConfig()
84 DiagMessage(parent_value->value->GetSource()) << "dominated here"); in VisitConfig()
/frameworks/base/tools/aapt2/compile/
DPseudolocaleGenerator.cpp241 localized->SetSource(plural->GetSource()); in Visit()
272 localized->SetSource(string->GetSource()); in Visit()
279 item->SetSource(string->GetSource()); in Visit()
/frameworks/base/tools/aapt2/
DLoadedApk.h85 const Source& GetSource() { in GetSource() function
DDebug.cpp326 if (options.show_sources && !value->value->GetSource().path.empty()) { in PrintTable()
328 printer->Print(value->value->GetSource().to_string()); in PrintTable()
DResourceValues.h70 const Source& GetSource() const { in GetSource() function
DLoadedApk.cpp224 std::string path = file->GetSource().path; in WriteToArchive()
/frameworks/base/tools/aapt2/format/proto/
DProtoSerialize.cpp413 SerializeSourceToPb(item.GetSource(), src_pool, pb_item->mutable_source()); in SerializeItemMetaDataToPb()
564 SerializeSourceToPb(parent.GetSource(), src_pool_, pb_style->mutable_parent_source()); in Visit()
629 SerializeSourceToPb(value.GetSource(), src_pool, out_value->mutable_source()); in SerializeValueToPb()
688 pb_src->set_line_number(attr.compiled_value->GetSource().line.value_or_default(0)); in SerializeXmlToPb()
/frameworks/base/tools/aapt2/test/
DCommon.h97 const Source& GetSource() const override { in GetSource() function

12