Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/cmd/
DDump.h34 : Command(name), printer_(printer), diag_(diag) { in DumpApkCommand()
43 return diag_; in GetDiagnostics()
66 diag_->Error(DiagMessage() << "No dump apk specified."); in Action()
72 auto loaded_apk = LoadedApk::LoadApkFromPath(apk, diag_); in Action()
86 IDiagnostics* diag_; variable
93 : Command("apc"), printer_(printer), diag_(diag) { in DumpAPCCommand()
104 IDiagnostics* diag_; variable
247 : Command("dump", "d"), diag_(diag) { in DumpCommand()
248 AddOptionalSubcommand(util::make_unique<DumpAPCCommand>(printer, diag_)); in DumpCommand()
249 AddOptionalSubcommand(util::make_unique<DumpBadgingCommand>(printer, diag_)); in DumpCommand()
[all …]
DLink.h109 diag_(diag) { in LinkCommand()
288 IDiagnostics* diag_;
DConvert.cpp220 return &diag_; in GetDiagnostics()
254 StdErrDiagnostics diag_; member in aapt::Context
DDump.cpp135 diag_->Error(DiagMessage() << "No dump container specified"); in Action()
DLink.cpp2063 LinkContext context(diag_); in Action()
/frameworks/base/tools/aapt2/
DResourceParser.cpp167 : diag_(diag), in ResourceParser()
296 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in FlattenXmlSubtree()
311 diag_->Warn(DiagMessage(source_.WithLine(parser->line_number())) in FlattenXmlSubtree()
371 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) << builder.GetError()); in FlattenXmlSubtree()
393 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in Parse()
403 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in Parse()
425 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in ParseResources()
464 if (!AddResourcesToTable(table_, diag_, &parsed_resource)) { in ParseResources()
473 diag_->Error(DiagMessage(source_) << "resource '" << stripped_resource in ParseResources()
547 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.h114 IDiagnostics* diag_; variable
/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()
130 diag_->Error(DiagMessage(source_) << "corrupt ResTable_header chunk"); in ParseTable()
143 diag_->Error(DiagMessage(source_) in ParseTable()
151 diag_->Warn(DiagMessage(source_) << "unexpected string pool in ResTable"); in ParseTable()
162 diag_->Warn(DiagMessage(source_) in ParseTable()
170 diag_->Error(DiagMessage(source_) << "corrupt resource table: " << parser.error()); in ParseTable()
[all …]
DTableFlattener.cpp233 diag_(context->GetDiagnostics()), in PackageFlattener()
251 diag_->Error(DiagMessage() << "package name '" << package_->name in FlattenPackage()
266 StringPool::FlattenUtf16(pkg_writer.buffer(), type_pool_, diag_); in FlattenPackage()
269 StringPool::FlattenUtf8(pkg_writer.buffer(), key_pool_, diag_); in FlattenPackage()
351 diag_->Error(DiagMessage() in FlattenConfig()
525 diag_->Error(DiagMessage() << "overlayable name '" << name in FlattenOverlayable()
535 diag_->Error(DiagMessage() << "overlayable name '" << overlayable.actor in FlattenOverlayable()
708 IDiagnostics* diag_; member in aapt::__anon21f151930111::PackageFlattener
DBinaryResourceParser.h91 IDiagnostics* diag_; variable
/frameworks/base/tools/aapt2/configuration/
DConfigurationParser.h149 diag_ = diagnostics; in WithDiagnostics()
169 return diag_; in diagnostics()
178 IDiagnostics* diag_; variable
DConfigurationParser.cpp442 : contents_(std::move(contents)), config_path_(config_path), diag_(&noop_) { in ConfigurationParser()
448 ExtractConfiguration(contents_, config_path_, diag_); in Parse()
463 Maybe<OutputArtifact> output_artifact = ToOutputArtifact(artifact, apk_name, config, diag_); in Parse()
473 if (!config.ValidateVersionCodeOrdering(diag_)) { in Parse()
474 diag_->Error(DiagMessage() << "could not validate post processing configuration"); in Parse()
/frameworks/base/tools/aapt2/util/
DFiles.h99 explicit FileFilter(IDiagnostics* diag) : diag_(diag) {} in FileFilter()
121 IDiagnostics* diag_; variable
DFiles.cpp336 diag_->Warn(DiagMessage() in operator ()()