/aosp12/frameworks/base/tools/aapt2/format/binary/ |
H A D | BinaryResourceParser.cpp | 115 diag_->Warn(DiagMessage(source_) in Parse() 118 diag_->Warn(DiagMessage(source_) in Parse() 150 diag_->Error(DiagMessage(source_) in ParseTable() 169 diag_->Warn(DiagMessage(source_) in ParseTable() 204 diag_->Error(DiagMessage(source_) in ParsePackage() 271 diag_->Warn(DiagMessage(source_) in ParsePackage() 293 diag_->Error(DiagMessage(source_) << "missing type string pool"); in ParseTypeSpec() 315 diag_->Error(DiagMessage(source_) in ParseTypeSpec() 341 diag_->Error(DiagMessage(source_) << "missing type string pool"); in ParseType() 346 diag_->Error(DiagMessage(source_) << "missing key string pool"); in ParseType() [all …]
|
/aosp12/system/update_engine/payload_consumer/ |
H A D | file_descriptor_utils_unittest.cc | 76 FileDescriptorPtr source_{fake_source_}; member in chromeos_update_engine::FileDescriptorUtilsTest 86 source_, src_extents, target_, tgt_extents, 4, nullptr)); in TEST_F() 95 source_, extents, target_, extents, 4, nullptr)); in TEST_F() 107 source_, src_extents, source_, tgt_extents, 4, nullptr)); in TEST_F() 116 source_, extents, target_, extents, 4, nullptr)); in TEST_F() 130 source_, src_extents, target_, tgt_extents, 4, &hash_out)); in TEST_F() 146 source_, src_extents, target_, tgt_extents, 4, &hash_out)); in TEST_F() 173 EXPECT_FALSE(fd_utils::ReadAndHashExtents(source_, extents, 4, &hash_out)); in TEST_F() 179 EXPECT_TRUE(fd_utils::ReadAndHashExtents(source_, extents, 4, nullptr)); in TEST_F() 187 EXPECT_TRUE(fd_utils::ReadAndHashExtents(source_, extents, 4, &hash_out)); in TEST_F()
|
/aosp12/frameworks/base/tools/aapt2/ |
H A 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_;
|
H A D | ResourceParser.cpp | 185 source_(source), in ResourceParser() 409 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in Parse() 419 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in Parse() 441 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in ParseResources() 463 parsed_resource.source = source_.WithLine(parser->line_number()); in ParseResources() 566 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in ParseResource() 590 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in ParseResource() 1160 source_); in ParseOverlayable() 1353 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in ParseAttrImpl() 1454 const Source source = source_.WithLine(parser->line_number()); in ParseEnumOrFlagItem() [all …]
|
H A D | LoadedApk.h | 62 : source_(source), in LoadedApk() 86 return source_; in GetSource() 119 Source source_; variable
|
H A D | ResourceValues.h | 72 return source_; in GetSource() 76 source_ = source; in SetSource() 80 source_ = std::move(source); in SetSource() 117 Source source_;
|
/aosp12/art/tools/veridex/ |
H A D | flow_analysis.h | 48 RegisterValue() : source_(RegisterSource::kNone), in RegisterValue() 53 : source_(source), value_(0), reference_(reference), type_(type) {} in RegisterValue() 59 : source_(source), value_(value), reference_(reference), type_(type) {} in RegisterValue() 61 RegisterSource GetSource() const { return source_; } in GetSource() 72 bool IsParameter() const { return source_ == RegisterSource::kParameter; } in IsParameter() 73 bool IsClass() const { return source_ == RegisterSource::kClass; } in IsClass() 74 bool IsString() const { return source_ == RegisterSource::kString; } in IsString() 75 bool IsConstant() const { return source_ == RegisterSource::kConstant; } in IsConstant() 78 switch (source_) { in ToString() 100 RegisterSource source_;
|
H A D | hidden_api.h | 57 auto it = source_.find(type); in AddSignatureSource() 58 if (it == source_.end() || it->second == SignatureSource::UNKNOWN) { in AddSignatureSource() 59 source_[type] = source; in AddSignatureSource() 72 auto it = source_.find(GetApiClassName(signature)); in GetSignatureSource() 73 return (it == source_.end()) ? SignatureSource::UNKNOWN : it->second; in GetSignatureSource() 107 std::map<std::string, SignatureSource> source_; variable
|
/aosp12/frameworks/base/tools/aapt2/cmd/ |
H A 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 …]
|
/aosp12/art/runtime/ |
H A D | reflective_value_visitor.cc | 47 os << " source= (" << source_ << ") "; in Describe() 48 if (source_ == nullptr) { in Describe() 51 os << *source_; in Describe()
|
H A D | reflective_value_visitor.h | 129 : ReflectionSourceInfo(kSourceThreadHandleScope), source_(source) {} in ReflectiveHandleScopeSourceInfo() 134 BaseReflectiveHandleScope* source_;
|
/aosp12/system/bt/audio_hal_interface/ |
H A D | le_audio_software.cc | 508 if (source_ == nullptr) { in GetSource() 509 source_ = new Source(); in GetSource() 528 delete source_; in GetSource() 529 source_ = nullptr; in GetSource() 534 return source_; in GetSource() 537 bool LeAudioClientInterface::IsSourceAcquired() { return source_ != nullptr; } in IsSourceAcquired() 541 if (source != source_) { in ReleaseSource() 548 delete (source_); in ReleaseSource() 549 source_ = nullptr; in ReleaseSource()
|
/aosp12/frameworks/base/tools/aapt2/io/ |
H A 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()
|
H A D | ZipArchive.cpp | 34 : zip_handle_(handle), zip_entry_(entry), source_(source) {} in ZipFile() 72 return source_; in GetSource()
|
H A D | FileSystem.h | 39 Source source_; variable
|
/aosp12/bootable/recovery/updater/ |
H A D | simulator_runtime.cpp | 40 return source_->GetProperty(key, default_value); in GetProperty() 70 return source_->FindBlockDeviceName(name); in FindBlockDeviceName() 92 return android::base::ReadFileToString(source_->GetOemSettings(), content); in ReadFileToString()
|
/aosp12/frameworks/base/tools/aapt2/link/ |
H A D | XmlReferenceLinker.cpp | 43 : source_(source), in XmlVisitor() 64 const Source source = source_.WithLine(el->line_number); in Visit() 121 Source source_; member in aapt::__anon7de2839f0110::XmlVisitor
|
/aosp12/system/tools/aidl/ |
H A D | location.h | 40 bool IsInternal() const { return source_ == Source::INTERNAL; } in IsInternal() 57 Source source_; variable
|
H A D | location.cpp | 20 : file_(file), begin_(begin), end_(end), source_(source) {} in AidlLocation()
|
/aosp12/art/dex2oat/linker/ |
H A D | oat_writer.cc | 152 DCHECK(source_ != nullptr); in DexFileSource() 157 DCHECK(source_ != nullptr); in DexFileSource() 162 DCHECK(source_ != nullptr); in DexFileSource() 172 DCHECK(source_ != nullptr); in GetZipEntry() 178 DCHECK(source_ != nullptr); in GetRawFile() 184 DCHECK(source_ != nullptr); in GetRawData() 192 source_ = dexlayout_data_.data(); in SetDexLayoutData() 197 source_ = nullptr; in Clear() 205 const void* source_; member in art::linker::OatWriter::DexFileSource 328 DexFileSource source_; member in art::linker::OatWriter::OatDexFile [all …]
|
/aosp12/bootable/recovery/updater/include/updater/ |
H A D | simulator_runtime.h | 31 explicit SimulatorRuntime(BuildInfo* source) : source_(source) {} in SimulatorRuntime() 61 BuildInfo* source_; variable
|
/aosp12/frameworks/native/libs/vr/libvrflinger/ |
H A D | hardware_composer.h | 129 bool IsLayerSetup() const { return !source_.empty(); } in IsLayerSetup() 134 &source_, [&surface_id](const SourceSurface& surface_source) { in GetSurfaceId() 143 &source_, [&buffer_id](const SourceSurface& surface_source) { in GetBufferId() 272 pdx::rpc::Variant<SourceSurface, SourceBuffer> source_; variable
|
H A D | hardware_composer.cpp | 1301 source_ = EmptyVariant{}; in Reset() 1318 source_{SourceSurface{surface}} { 1330 source_{SourceBuffer{buffer}} { 1349 swap(source_, other.source_); in operator =() 1362 if (source_.is<SourceBuffer>()) in UpdateBuffer() 1363 std::get<SourceBuffer>(source_) = {buffer}; in UpdateBuffer() 1386 return source_.Visit(Visitor{}); in GetBuffer() 1465 IfAnyOf<SourceSurface, SourceBuffer>::Call(&source_, [&](auto& source) { in Prepare() 1533 &source_, [release_fence_fd](auto& source) { in Finish()
|
/aosp12/frameworks/base/tools/aapt2/test/ |
H A D | Common.h | 87 explicit TestFile(const android::StringPiece& path) : source_(path) {} in TestFile() 98 return source_; in GetSource() 104 Source source_; variable
|
/aosp12/bootable/recovery/updater/include/private/ |
H A D | commands.h | 312 source_(std::move(source)), in Command() 346 return source_; in source() 398 SourceInfo source_; variable
|