Searched refs:diag_ (Results 1 - 11 of 11) sorted by relevance

/frameworks/base/tools/aapt2/format/binary/
H A DBinaryResourceParser.cpp79 : diag_(diag), table_(table), source_(source), data_(data), data_len_(len), files_(files) {
86 diag_->Error(DiagMessage(source_) << "corrupt resources.arsc: " << parser.error());
91 diag_->Error(DiagMessage(source_) << StringPrintf("unknown chunk of type 0x%02x",
102 diag_->Warn(DiagMessage(source_)
105 diag_->Warn(DiagMessage(source_)
117 diag_->Error(DiagMessage(source_) << "corrupt ResTable_header chunk");
130 diag_->Error(DiagMessage(source_)
138 diag_->Warn(DiagMessage(source_) << "unexpected string pool in ResTable");
149 diag_->Warn(DiagMessage(source_)
157 diag_
[all...]
H A DBinaryResourceParser.h83 IDiagnostics* diag_; member in class:aapt::BinaryResourceParser
H A DTableFlattener.cpp226 diag_(context->GetDiagnostics()),
243 diag_->Error(DiagMessage() << "package name '" << package_->name
258 StringPool::FlattenUtf16(pkg_writer.buffer(), type_pool_, diag_);
261 StringPool::FlattenUtf8(pkg_writer.buffer(), key_pool_, diag_);
339 diag_->Error(DiagMessage()
564 IDiagnostics* diag_; member in namespace:aapt::__anon1176
/frameworks/base/tools/aapt2/
H A DResourceParser.cpp169 : diag_(diag),
297 diag_->Error(DiagMessage(source_.WithLine(parser->line_number()))
312 diag_->Warn(DiagMessage(source_.WithLine(parser->line_number()))
372 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) << builder.GetError());
394 diag_->Error(DiagMessage(source_.WithLine(parser->line_number()))
404 diag_->Error(DiagMessage(source_.WithLine(parser->line_number()))
426 diag_->Error(DiagMessage(source_.WithLine(parser->line_number()))
462 if (!AddResourcesToTable(table_, diag_, &parsed_resource)) {
471 diag_->Error(DiagMessage(source_) << "resource '" << stripped_resource
545 diag_
[all...]
H A DDiagnostics.h131 : source_(src), diag_(diag) {}
135 diag_->Log(level, actual_msg);
140 IDiagnostics* diag_; member in class:aapt::SourcePathDiagnostics
H A DResourceParser.h110 IDiagnostics* diag_; member in class:aapt::ResourceParser
/frameworks/base/tools/aapt2/configuration/
H A DConfigurationParser.h148 diag_ = diagnostics;
168 return diag_;
177 IDiagnostics* diag_; member in class:aapt::ConfigurationParser
H A DConfigurationParser.cpp440 : contents_(std::move(contents)), config_path_(config_path), diag_(&noop_) {
446 ExtractConfiguration(contents_, config_path_, diag_);
461 Maybe<OutputArtifact> output_artifact = ToOutputArtifact(artifact, apk_name, config, diag_);
471 if (!config.ValidateVersionCodeOrdering(diag_)) {
472 diag_->Error(DiagMessage() << "could not validate post processing configuration");
/frameworks/base/tools/aapt2/util/
H A DFiles.h88 explicit FileFilter(IDiagnostics* diag) : diag_(diag) {}
110 IDiagnostics* diag_; member in class:aapt::file::FileFilter
H A DFiles.cpp280 diag_->Warn(DiagMessage()
/frameworks/base/tools/aapt2/cmd/
H A DConvert.cpp287 return &diag_;
321 StdErrDiagnostics diag_; member in class:aapt::Context

Completed in 1237 milliseconds