/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(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 …]
|
D | BinaryResourceParser.h | 94 const Source source_; variable
|
/frameworks/base/tools/aapt2/ |
D | Diagnostics.h | 41 explicit DiagMessage(const android::StringPiece& src) : source_(src) {} in DiagMessage() 43 explicit DiagMessage(const Source& src) : source_(src) {} in DiagMessage() 45 explicit DiagMessage(size_t line) : source_(Source().WithLine(line)) {} in DiagMessage() 54 return DiagMessageActual{source_, message_.str()}; in Build() 58 Source source_; 131 : source_(src), diag_(diag) {} in SourcePathDiagnostics() 134 actual_msg.source.path = source_.path; in Log() 146 Source source_;
|
D | LoadedApk.h | 62 : source_(source), in LoadedApk() 86 return source_; in GetSource() 119 Source source_; variable
|
D | ResourceParser.cpp | 169 source_(source), 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() 447 parsed_resource.source = source_.WithLine(parser->line_number()); in ParseResources() 474 diag_->Error(DiagMessage(source_) << "resource '" << stripped_resource in ParseResources() 548 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in ParseResource() [all …]
|
D | ResourceValues.cpp | 83 rs->source_ = source_; in Clone() 272 str->source_ = source_; in Clone() 327 str->source_ = source_; in Clone() 365 fr->source_ = source_; in Clone() 905 style->source_ = source_; in Clone() 1003 array->source_ = source_; in Clone() 1040 p->source_ = source_; in Clone()
|
D | ResourceValues.h | 71 return source_; in GetSource() 75 source_ = source; in SetSource() 79 source_ = std::move(source); in SetSource() 117 Source source_;
|
D | ResourceParser.h | 122 Source source_; variable
|
/frameworks/base/tools/aapt2/cmd/ |
D | Convert.cpp | 47 source_(source) {} in IApkSerializer() 58 Source source_; member in aapt::IApkSerializer 99 context_->GetDiagnostics()->Error(DiagMessage(source_) in SerializeFile() 107 context_->GetDiagnostics()->Error(DiagMessage(source_) in SerializeFile() 115 context_->GetDiagnostics()->Error(DiagMessage(source_) in SerializeFile() 123 context_->GetDiagnostics()->Error(DiagMessage(source_) in SerializeFile() 131 context_->GetDiagnostics()->Error(DiagMessage(source_) in SerializeFile() 170 context_->GetDiagnostics()->Error(DiagMessage(source_) in SerializeFile() 178 context_->GetDiagnostics()->Error(DiagMessage(source_) << "failed to parse binary XML: " in SerializeFile() 185 context_->GetDiagnostics()->Error(DiagMessage(source_) in SerializeFile() [all …]
|
/frameworks/base/tools/aapt2/io/ |
D | FileSystem.cpp | 37 RegularFile::RegularFile(const Source& source) : source_(source) {} in RegularFile() 41 if (Maybe<android::FileMap> map = file::MmapPath(source_.path, nullptr)) { in OpenAsData() 51 return util::make_unique<FileInputStream>(source_.path); in OpenInputStream() 55 return source_; in GetSource()
|
D | ZipArchive.cpp | 34 : zip_handle_(handle), zip_entry_(entry), source_(source) {} in ZipFile() 72 return source_; in GetSource()
|
D | FileSystem.h | 39 Source source_; variable
|
D | ZipArchive.h | 45 Source source_; variable
|
/frameworks/base/tools/aapt2/link/ |
D | XmlReferenceLinker.cpp | 74 : source_(source), in XmlVisitor() 86 const Source source = source_.WithLine(el->line_number); in Visit() 143 Source source_; member in aapt::__anondb2bbb330111::XmlVisitor
|
/frameworks/native/libs/vr/libvrflinger/ |
D | hardware_composer.h | 128 bool IsLayerSetup() const { return !source_.empty(); } in IsLayerSetup() 133 &source_, [&surface_id](const SourceSurface& surface_source) { in GetSurfaceId() 142 &source_, [&buffer_id](const SourceSurface& surface_source) { in GetBufferId() 271 pdx::rpc::Variant<SourceSurface, SourceBuffer> source_; variable
|
D | hardware_composer.cpp | 1306 source_ = EmptyVariant{}; in Reset() 1323 source_{SourceSurface{surface}} { 1335 source_{SourceBuffer{buffer}} { 1354 swap(source_, other.source_); in operator =() 1367 if (source_.is<SourceBuffer>()) in UpdateBuffer() 1368 std::get<SourceBuffer>(source_) = {buffer}; in UpdateBuffer() 1391 return source_.Visit(Visitor{}); in GetBuffer() 1470 IfAnyOf<SourceSurface, SourceBuffer>::Call(&source_, [&](auto& source) { in Prepare() 1538 &source_, [release_fence_fd](auto& source) { in Finish()
|
/frameworks/base/tools/aapt2/test/ |
D | Common.h | 87 explicit TestFile(const android::StringPiece& path) : source_(path) {} in TestFile() 98 return source_; in GetSource() 104 Source source_; variable
|