Home
last modified time | relevance | path

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

12

/frameworks/base/tools/aapt2/cmd/
DDiff.cpp113 EmitDiffLine(apk_b->GetSource(), str_stream.str()); in EmitResourceConfigValueDiff()
133 EmitDiffLine(apk_b->GetSource(), str_stream.str()); in EmitResourceEntryDiff()
148 EmitDiffLine(apk_b->GetSource(), str_stream.str()); in EmitResourceEntryDiff()
169 EmitDiffLine(apk_a->GetSource(), str_stream.str()); in EmitResourceTypeDiff()
176 EmitDiffLine(apk_b->GetSource(), str_stream.str()); in EmitResourceTypeDiff()
203 EmitDiffLine(apk_b->GetSource(), str_stream.str()); in EmitResourceTypeDiff()
222 EmitDiffLine(apk_b->GetSource(), str_stream.str()); in EmitResourceTypeDiff()
249 EmitDiffLine(apk_a->GetSource(), str_stream.str()); in EmitResourcePackageDiff()
255 EmitDiffLine(apk_b->GetSource(), str_stream.str()); in EmitResourcePackageDiff()
275 EmitDiffLine(apk_b->GetSource(), str_stream.str()); in EmitResourcePackageDiff()
[all …]
DConvert.cpp274 serializer.reset(new BinaryApkSerializer(context, apk->GetSource(), table_flattener_options, in Convert()
277 serializer.reset(new ProtoApkSerializer(context, apk->GetSource())); in Convert()
279 context->GetDiagnostics()->Error(android::DiagMessage(apk->GetSource()) in Convert()
288 context->GetDiagnostics()->Error(android::DiagMessage(apk->GetSource()) in Convert()
307 context->GetDiagnostics()->Error(android::DiagMessage(apk->GetSource()) in Convert()
315 context->GetDiagnostics()->Error(android::DiagMessage(apk->GetSource()) in Convert()
328 context->GetDiagnostics()->Error(android::DiagMessage(apk->GetSource()) in Convert()
338 std::string path = file->GetSource().path; in Convert()
349 context->GetDiagnostics()->Error(android::DiagMessage(apk->GetSource()) in Convert()
DLink.cpp553 context_->GetDiagnostics()->Error(android::DiagMessage(file_ref->GetSource()) in Flatten()
569 context_->GetDiagnostics()->Error(android::DiagMessage(file->GetSource()) in Flatten()
577 context_->GetDiagnostics()->Error(android::DiagMessage(file->GetSource()) in Flatten()
585 context_->GetDiagnostics()->Error(android::DiagMessage(file->GetSource()) in Flatten()
593 context_->GetDiagnostics()->Error(android::DiagMessage(file->GetSource()) in Flatten()
603 file_op.xml_to_flatten->file.source = file_ref->GetSource(); in Flatten()
1029 android::DiagMessage(config_value->value->GetSource()) in VerifyNoExternalPackages()
1034 android::DiagMessage(config_value->value->GetSource()) in VerifyNoExternalPackages()
1095 android::DiagMessage(localeConfig->compiled_value->GetSource()) in VerifyLocaleFormat()
1103 android::DiagMessage(localeConfig->compiled_value->GetSource()) in VerifyLocaleFormat()
[all …]
DCompile.cpp682 std::string path = file->GetSource().path; in Compile()
701 context->GetDiagnostics()->Error(android::DiagMessage(file->GetSource()) << err_str); in Compile()
735 context->GetDiagnostics()->Error(android::DiagMessage(file->GetSource()) in Compile()
743 context->GetDiagnostics()->Error(android::DiagMessage(file->GetSource()) in Compile()
DDump.cpp375 GetDiagnostics()->Error(android::DiagMessage(apk->GetSource()) << "Unknown APK format"); in Dump()
DOptimize.cpp273 context_->GetDiagnostics()->Warn(android::DiagMessage(file_ref->GetSource()) in WriteSplitApk()
/frameworks/base/tools/aapt2/io/
DFile.h51 virtual const android::Source& GetSource() const = 0;
83 const android::Source& GetSource() const override { in GetSource() function
84 return file_->GetSource(); in GetSource()
DFileSystem.h34 const android::Source& GetSource() const override;
DZipArchive.h39 const android::Source& GetSource() const override;
DUtil.cpp52 context->GetDiagnostics()->Error(android::DiagMessage(file->GetSource()) in CopyFileToArchive()
DZipArchive.cpp70 const android::Source& ZipFile::GetSource() const { in GetSource() function in aapt::io::ZipFile
DFileSystem.cpp56 const android::Source& RegularFile::GetSource() const { in GetSource() function in aapt::io::RegularFile
/frameworks/base/tools/aapt2/process/
DProductFilter.cpp37 diag->Error(android::DiagMessage(config_value->value->GetSource()) in SelectProductToKeep()
42 diag->Note(android::DiagMessage(previously_selected_config_value->value->GetSource()) in SelectProductToKeep()
55 diag->Error(android::DiagMessage(config_value->value->GetSource()) in SelectProductToKeep()
59 diag->Note(android::DiagMessage(previously_default_config_value->value->GetSource()) in SelectProductToKeep()
/frameworks/base/tools/aapt2/link/
DReferenceLinker.cpp84 context_->GetDiagnostics()->Error(android::DiagMessage(value->GetSource()) in TransformDerived()
132 android::DiagMessage msg(entry.key.GetSource()); in TransformDerived()
141 context_->GetDiagnostics()->Error(android::DiagMessage(entry.key.GetSource()) in TransformDerived()
393 android::DiagMessage(reference.GetSource()) in LinkReference()
418 .source = macro->GetSource()}; in LinkReference()
424 android::DiagMessage(reference.GetSource()) in LinkReference()
450 context->GetDiagnostics()->Error(android::DiagMessage(reference.GetSource()) in LinkReference()
DTableMerger.cpp224 context->GetDiagnostics()->Error(android::DiagMessage(src_value->GetSource()) in MergeConfigValue()
227 context->GetDiagnostics()->Note(android::DiagMessage(dst_value->GetSource()) in MergeConfigValue()
334 new_file_ref->SetSource(file_ref.GetSource()); in CloneAndMangleFile()
359 return DoMerge(file->GetSource(), pkg, false /*mangle*/, overlay /*overlay*/, true /*allow_new*/); in MergeFile()
DResourceExcluder.cpp53 context->GetDiagnostics()->Note(android::DiagMessage(value->value->GetSource()) in RemoveIfExcluded()
DNoDefaultResourceRemover.cpp87 diag->Note(android::DiagMessage(config_value->value->GetSource()) << "defined here"); in Consume()
DAutoVersioner.cpp134 new_style->SetSource(style->GetSource()); in Consume()
/frameworks/base/tools/aapt2/optimize/
DResourceDeduper.cpp80 context_->GetDiagnostics()->Note(android::DiagMessage(node_value->value->GetSource()) in VisitConfig()
83 context_->GetDiagnostics()->Note(android::DiagMessage(parent_value->value->GetSource()) in VisitConfig()
/frameworks/base/tools/aapt2/compile/
DPseudolocaleGenerator.cpp250 localized->SetSource(plural->GetSource()); in Visit()
281 localized->SetSource(string->GetSource()); in Visit()
288 item->SetSource(string->GetSource()); in Visit()
323 grammatical_gendered->SetSource(plural->GetSource()); in Visit()
351 grammatical_gendered->SetSource(string->GetSource()); in Visit()
365 grammatical_gendered->SetSource(string->GetSource()); in Visit()
/frameworks/base/tools/aapt2/
DLoadedApk.h85 const android::Source& GetSource() { in GetSource() function
DLoadedApk.cpp227 std::string path = file->GetSource().path; in WriteToArchive()
DResourceValues.h69 const android::Source& GetSource() const { in GetSource() function
/frameworks/base/tools/aapt2/format/proto/
DProtoSerialize.cpp498 SerializeSourceToPb(item.GetSource(), src_pool, pb_item->mutable_source()); in SerializeItemMetaDataToPb()
650 SerializeSourceToPb(parent.GetSource(), src_pool_, pb_style->mutable_parent_source()); in Visit()
720 SerializeSourceToPb(value.GetSource(), src_pool, out_value->mutable_source()); in SerializeValueToPb()
779 pb_src->set_line_number(attr.compiled_value->GetSource().line.value_or(0)); in SerializeXmlToPb()
/frameworks/base/tools/aapt2/test/
DCommon.h97 const android::Source& GetSource() const override { in GetSource() function

12