Home
last modified time | relevance | path

Searched refs:diag_ (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/tools/aapt2/cmd/
DDump.h37 : Command(name), printer_(printer), diag_(diag) { in DumpApkCommand()
46 return diag_; in GetDiagnostics()
69 diag_->Error(DiagMessage() << "No dump apk specified."); in Action()
75 auto loaded_apk = LoadedApk::LoadApkFromPath(apk, diag_); in Action()
89 IDiagnostics* diag_; variable
96 : Command("apc"), printer_(printer), diag_(diag) { in DumpAPCCommand()
107 IDiagnostics* diag_; variable
270 : Command("dump", "d"), diag_(diag) { in DumpCommand()
271 AddOptionalSubcommand(util::make_unique<DumpAPCCommand>(printer, diag_)); in DumpCommand()
272 AddOptionalSubcommand(util::make_unique<DumpBadgingCommand>(printer, diag_)); in DumpCommand()
[all …]
DLink.h115 diag_(diag) { in LinkCommand()
319 IDiagnostics* diag_;
DConvert.cpp220 return &diag_; in GetDiagnostics()
260 StdErrDiagnostics diag_; member in aapt::Context
DDump.cpp141 diag_->Error(DiagMessage() << "No dump container specified"); in Action()
DLink.cpp2239 LinkContext context(diag_); in Action()
/frameworks/base/tools/aapt2/format/binary/
DBinaryResourceParser.cpp92 : diag_(diag), table_(table), source_(source), data_(data), data_len_(len), files_(files) { in BinaryResourceParser()
99 diag_->Error(DiagMessage(source_) << "corrupt resources.arsc: " << parser.error()); in Parse()
104 diag_->Error(DiagMessage(source_) << StringPrintf("unknown chunk of type 0x%02x", in Parse()
115 diag_->Warn(DiagMessage(source_) in Parse()
118 diag_->Warn(DiagMessage(source_) in Parse()
125 diag_->Error(DiagMessage(source_) << "didn't find " << staged_entries_to_remove_.size() in Parse()
137 diag_->Error(DiagMessage(source_) << "corrupt ResTable_header chunk"); in ParseTable()
150 diag_->Error(DiagMessage(source_) in ParseTable()
158 diag_->Warn(DiagMessage(source_) << "unexpected string pool in ResTable"); in ParseTable()
169 diag_->Warn(DiagMessage(source_) in ParseTable()
[all …]
DTableFlattener.cpp239 diag_(context->GetDiagnostics()), in PackageFlattener()
257 diag_->Error(DiagMessage() << "package name '" << package_.name in FlattenPackage()
272 StringPool::FlattenUtf16(pkg_writer.buffer(), type_pool_, diag_); in FlattenPackage()
275 StringPool::FlattenUtf8(pkg_writer.buffer(), key_pool_, diag_); in FlattenPackage()
361 diag_->Error(DiagMessage() in FlattenConfig()
502 diag_->Error(DiagMessage() << "overlayable name '" << name in FlattenOverlayable()
512 diag_->Error(DiagMessage() << "overlayable name '" << overlayable.actor in FlattenOverlayable()
691 IDiagnostics* diag_; member in aapt::__anon551e33f60111::PackageFlattener
DBinaryResourceParser.h94 IDiagnostics* diag_; variable
/frameworks/base/tools/aapt2/
DResourceParser.cpp182 : diag_(diag), in ResourceParser()
311 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in FlattenXmlSubtree()
326 diag_->Warn(DiagMessage(source_.WithLine(parser->line_number())) in FlattenXmlSubtree()
386 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) << builder.GetError()); in FlattenXmlSubtree()
408 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in Parse()
418 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in Parse()
440 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in ParseResources()
480 if (!AddResourcesToTable(table_, diag_, &parsed_resource)) { in ParseResources()
489 diag_->Error(DiagMessage(source_) << "resource '" << stripped_resource in ParseResources()
565 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in ParseResource()
[all …]
DDiagnostics.h131 : source_(src), diag_(diag) {} in SourcePathDiagnostics()
135 diag_->Log(level, actual_msg); in Log()
147 IDiagnostics* diag_; variable
DResourceParser.h136 IDiagnostics* diag_; variable
DDebug.cpp596 : data_(data), data_len_(len), printer_(printer), diag_(diag) { in ChunkPrinter()
805 diag_->Error(DiagMessage(source_) << "corrupt resource table: " << parser.error()); in PrintChunk()
822 IDiagnostics* diag_; member in aapt::__anon545c9ca40511::ChunkPrinter
/frameworks/base/tools/aapt2/configuration/
DConfigurationParser.h149 diag_ = diagnostics; in WithDiagnostics()
170 return diag_; in diagnostics()
179 IDiagnostics* diag_; variable
DConfigurationParser.cpp443 : contents_(std::move(contents)), config_path_(config_path), diag_(&noop_) { in ConfigurationParser()
449 ExtractConfiguration(contents_, config_path_, diag_); in Parse()
465 ToOutputArtifact(artifact, apk_name, config, diag_); in Parse()
475 if (!config.ValidateVersionCodeOrdering(diag_)) { in Parse()
476 diag_->Error(DiagMessage() << "could not validate post processing configuration"); in Parse()
/frameworks/base/tools/aapt2/util/
DFiles.h101 explicit FileFilter(IDiagnostics* diag) : diag_(diag) {} in FileFilter()
123 IDiagnostics* diag_; variable
DFiles.cpp336 diag_->Warn(DiagMessage() in operator ()()