Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/cmd/
DDiff.cpp106 EmitDiffLine(apk_b->GetSource(), str_stream.str()); in EmitResourceConfigValueDiff()
124 EmitDiffLine(apk_b->GetSource(), str_stream.str()); in EmitResourceEntryDiff()
140 EmitDiffLine(apk_b->GetSource(), str_stream.str()); in EmitResourceEntryDiff()
157 EmitDiffLine(apk_b->GetSource(), str_stream.str()); in EmitResourceTypeDiff()
176 EmitDiffLine(apk_b->GetSource(), str_stream.str()); in EmitResourceTypeDiff()
195 EmitDiffLine(apk_b->GetSource(), str_stream.str()); in EmitResourceTypeDiff()
209 EmitDiffLine(apk_b->GetSource(), str_stream.str()); in EmitResourceTypeDiff()
225 EmitDiffLine(apk_a->GetSource(), str_stream.str()); in EmitResourcePackageDiff()
243 EmitDiffLine(apk_b->GetSource(), str_stream.str()); in EmitResourcePackageDiff()
260 EmitDiffLine(apk_b->GetSource(), str_stream.str()); in EmitResourcePackageDiff()
[all …]
DOptimize.cpp208 const std::string& path = apk->GetSource().path; in Run()
270 context_->GetDiagnostics()->Warn(DiagMessage(file_ref->GetSource()) in WriteSplitApk()
315 context->GetDiagnostics()->Error(DiagMessage(apk->GetSource()) in ExtractAppDataFromManifest()
322 context->GetDiagnostics()->Error(DiagMessage(manifest_file->GetSource()) in ExtractAppDataFromManifest()
328 data->data(), data->size(), context->GetDiagnostics(), manifest_file->GetSource()); in ExtractAppDataFromManifest()
DLink.cpp527 context_->GetDiagnostics()->Error(DiagMessage(file_ref->GetSource()) in Flatten()
538 const StringPiece src_path = file->GetSource().path; in Flatten()
543 context_->GetDiagnostics()->Error(DiagMessage(file->GetSource()) in Flatten()
549 context_->GetDiagnostics(), file->GetSource()); in Flatten()
556 file_op.xml_to_flatten->file.source = file_ref->GetSource(); in Flatten()
846 context_->GetDiagnostics()->Warn(DiagMessage(config_value->value->GetSource()) in VerifyNoExternalPackages()
851 context_->GetDiagnostics()->Error(DiagMessage(config_value->value->GetSource()) in VerifyNoExternalPackages()
1070 return LoadTableFromPb(file->GetSource(), data->data(), data->size(), in LoadTablePbFromCollection()
1136 << file->GetSource()); in MergeResourceTable()
1141 context_->GetDiagnostics()->Error(DiagMessage(file->GetSource()) << "failed to open file"); in MergeResourceTable()
[all …]
/frameworks/base/tools/aapt2/link/
DProductFilter.cpp34 diag->Error(DiagMessage(config_value->value->GetSource()) in SelectProductToKeep()
41 DiagMessage(previously_selected_config_value->value->GetSource()) in SelectProductToKeep()
54 diag->Error(DiagMessage(config_value->value->GetSource()) in SelectProductToKeep()
61 DiagMessage(previously_default_config_value->value->GetSource()) in SelectProductToKeep()
DTableMerger.cpp233 context->GetDiagnostics()->Error(DiagMessage(src_value->GetSource()) in MergeConfigValue()
236 context->GetDiagnostics()->Note(DiagMessage(dst_value->GetSource()) in MergeConfigValue()
344 new_file_ref->SetSource(file_ref.GetSource()); in CloneAndMangleFile()
364 return DoMerge(file->GetSource(), &table, pkg, false /* mangle */, in MergeFileImpl()
DReferenceLinker.cpp116 DiagMessage msg(entry.key.GetSource()); in Visit()
126 DiagMessage msg(entry.key.GetSource()); in Visit()
315 DiagMessage error_msg(reference->GetSource()); in LinkReference()
DAutoVersioner.cpp129 new_style->SetSource(style->GetSource()); in Consume()
/frameworks/base/tools/aapt2/io/
DFile.h49 virtual const Source& GetSource() const = 0;
75 const Source& GetSource() const override { return file_->GetSource(); } in GetSource() function
DFileSystem.h35 const Source& GetSource() const override;
DZipArchive.h42 const Source& GetSource() const override;
DFileSystem.cpp45 const Source& RegularFile::GetSource() const { return source_; } in GetSource() function in aapt::io::RegularFile
DUtil.cpp42 context->GetDiagnostics()->Error(DiagMessage(file->GetSource()) << "failed to open file"); in CopyFileToArchive()
DZipArchive.cpp60 const Source& ZipFile::GetSource() const { return source_; } in GetSource() function in aapt::io::ZipFile
/frameworks/base/tools/aapt2/optimize/
DResourceDeduper.cpp77 DiagMessage(node_value->value->GetSource()) in VisitConfig()
81 DiagMessage(parent_value->value->GetSource()) << "dominated here"); in VisitConfig()
/frameworks/base/tools/aapt2/
DResourceTable.cpp376 diag->Error(DiagMessage(value->GetSource()) << "resource '" << name in AddResourceImpl()
385 diag->Error(DiagMessage(value->GetSource()) in AddResourceImpl()
394 diag->Error(DiagMessage(value->GetSource()) in AddResourceImpl()
403 diag->Error(DiagMessage(value->GetSource()) in AddResourceImpl()
424 diag->Error(DiagMessage(value->GetSource()) in AddResourceImpl()
427 diag->Error(DiagMessage(config_value->value->GetSource()) in AddResourceImpl()
DLoadedApk.h44 const Source& GetSource() { return source_; } in GetSource() function
DDebug.cpp181 if (options.show_sources && !value->value->GetSource().path.empty()) { in PrintTable()
182 std::cout << " src=" << value->value->GetSource(); in PrintTable()
DLoadedApk.cpp85 std::string path = file->GetSource().path; in WriteToArchive()
DResourceValues.h61 const Source& GetSource() const { return source_; } in GetSource() function
DResourceParser.cpp1002 diag_->Note(DiagMessage(existing_symbol.symbol.GetSource()) in ParseAttrImpl()
/frameworks/base/tools/aapt2/compile/
DPseudolocaleGenerator.cpp240 localized->SetSource(plural->GetSource()); in Visit()
271 localized->SetSource(string->GetSource()); in Visit()
278 item->SetSource(string->GetSource()); in Visit()
/frameworks/base/tools/aapt2/proto/
DTableProtoSerializer.cpp112 SerializeSourceToPb(style->parent.value().GetSource(), source_pool_, in Visit()
181 SerializeSourceToPb(item.GetSource(), source_pool_, pb_item->mutable_source()); in SerializeItemCommonToPb()
257 SerializeSourceToPb(config_value->value->GetSource(), &source_pool, in SerializeTableToPb()
/frameworks/base/tools/aapt2/test/
DCommon.h93 const Source& GetSource() const override { in GetSource() function