/frameworks/base/tools/aapt2/format/binary/ |
D | BinaryResourceParser.cpp | 92 : diag_(diag), table_(table), source_(source), data_(data), data_len_(len), files_(files) { in BinaryResourceParser() 99 diag_->Error(android::DiagMessage(source_) << "corrupt resources.arsc: " << parser.error()); in Parse() 104 diag_->Error(android::DiagMessage(source_) << StringPrintf( in Parse() 115 diag_->Warn(android::DiagMessage(source_) in Parse() 118 diag_->Warn(android::DiagMessage(source_) in Parse() 125 diag_->Error(android::DiagMessage(source_) << "didn't find " << staged_entries_to_remove_.size() in Parse() 137 diag_->Error(android::DiagMessage(source_) << "corrupt ResTable_header chunk"); in ParseTable() 150 diag_->Error(android::DiagMessage(source_) in ParseTable() 158 diag_->Warn(android::DiagMessage(source_) << "unexpected string pool in ResTable"); in ParseTable() 169 diag_->Warn(android::DiagMessage(source_) in ParseTable() [all …]
|
D | BinaryResourceParser.h | 98 const android::Source source_; variable
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | IDiagnostics.h | 43 explicit DiagMessage(android::StringPiece src) : source_(src) { in DiagMessage() 46 explicit DiagMessage(const Source& src) : source_(src) { in DiagMessage() 49 explicit DiagMessage(size_t line) : source_(Source().WithLine(line)) { in DiagMessage() 59 return DiagMessageActual{source_, message_.str()}; in Build() 63 Source source_; 109 SourcePathDiagnostics(const Source& src, IDiagnostics* diag) : source_(src), diag_(diag) { in SourcePathDiagnostics() 113 actual_msg.source.path = source_.path; in Log() 133 Source source_;
|
/frameworks/base/tools/aapt2/cmd/ |
D | Convert.cpp | 49 : context_(context), source_(source) { in IApkSerializer() 61 android::Source source_; member in aapt::IApkSerializer 103 context_->GetDiagnostics()->Error(android::DiagMessage(source_) in SerializeFile() 111 context_->GetDiagnostics()->Error(android::DiagMessage(source_) in SerializeFile() 119 context_->GetDiagnostics()->Error(android::DiagMessage(source_) in SerializeFile() 127 context_->GetDiagnostics()->Error(android::DiagMessage(source_) in SerializeFile() 135 context_->GetDiagnostics()->Error(android::DiagMessage(source_) in SerializeFile() 175 context_->GetDiagnostics()->Error(android::DiagMessage(source_) in SerializeFile() 183 context_->GetDiagnostics()->Error(android::DiagMessage(source_) in SerializeFile() 190 context_->GetDiagnostics()->Error(android::DiagMessage(source_) in SerializeFile() [all …]
|
/frameworks/base/tools/aapt2/io/ |
D | FileSystem.cpp | 38 RegularFile::RegularFile(const android::Source& source) : source_(source) { in RegularFile() 43 if (std::optional<android::FileMap> map = file::MmapPath(source_.path, nullptr)) { in OpenAsData() 53 return util::make_unique<android::FileInputStream>(source_.path); in OpenInputStream() 57 return source_; in GetSource() 65 if (stat(source_.path.c_str(), &stat_buf) != 0) { in GetModificationTime()
|
D | ZipArchive.cpp | 32 : zip_handle_(handle), zip_entry_(entry), source_(source) { in ZipFile() 71 return source_; in GetSource()
|
D | FileSystem.h | 40 android::Source source_; variable
|
D | ZipArchive.h | 46 android::Source source_; variable
|
/frameworks/base/tools/aapt2/ |
D | LoadedApk.h | 62 : source_(source), in LoadedApk() 86 return source_; in GetSource() 120 android::Source source_; variable
|
D | ResourceParser.cpp | 182 : diag_(diag), table_(table), source_(source), config_(config), options_(options) { in ResourceParser() 308 diag_->Error(android::DiagMessage(source_.WithLine(parser->line_number())) in FlattenXmlSubtree() 323 diag_->Warn(android::DiagMessage(source_.WithLine(parser->line_number())) in FlattenXmlSubtree() 383 diag_->Error(android::DiagMessage(source_.WithLine(parser->line_number())) in FlattenXmlSubtree() 406 diag_->Error(android::DiagMessage(source_.WithLine(parser->line_number())) in Parse() 416 diag_->Error(android::DiagMessage(source_.WithLine(parser->line_number())) in Parse() 438 diag_->Error(android::DiagMessage(source_.WithLine(parser->line_number())) in ParseResources() 460 parsed_resource.source = source_.WithLine(parser->line_number()); in ParseResources() 487 diag_->Error(android::DiagMessage(source_) in ParseResources() 564 diag_->Error(android::DiagMessage(source_.WithLine(parser->line_number())) in ParseResource() [all …]
|
D | ResourceValues.h | 70 return source_; in GetSource() 74 source_ = source; in SetSource() 78 source_ = std::move(source); in SetSource() 115 android::Source source_;
|
D | ResourceParser.h | 137 android::Source source_; variable
|
D | Debug.cpp | 834 diag_->Error(android::DiagMessage(source_) << "corrupt resource table: " << parser.error()); in PrintChunk() 847 const android::Source source_; member in aapt::__anon679a35f80511::ChunkPrinter
|
/frameworks/base/tools/aapt2/link/ |
D | XmlReferenceLinker.cpp | 41 : source_(source), in XmlVisitor() 62 const android::Source source = source_.WithLine(el->line_number); in Visit() 120 android::Source source_; member in aapt::__anondb2bbb330111::XmlVisitor
|
/frameworks/base/tools/aapt2/test/ |
D | Common.h | 86 explicit TestFile(android::StringPiece path) : source_(path) { in TestFile() 98 return source_; in GetSource() 108 android::Source source_; variable
|