Home
last modified time | relevance | path

Searched refs:source_ (Results 1 – 25 of 35) sorted by relevance

12

/aosp12/frameworks/base/tools/aapt2/format/binary/
H A DBinaryResourceParser.cpp115 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 Dfile_descriptor_utils_unittest.cc76 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 DDiagnostics.h41 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 DResourceParser.cpp185 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 DLoadedApk.h62 : source_(source), in LoadedApk()
86 return source_; in GetSource()
119 Source source_; variable
H A DResourceValues.h72 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 Dflow_analysis.h48 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 Dhidden_api.h57 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 DConvert.cpp47 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 Dreflective_value_visitor.cc47 os << " source= (" << source_ << ") "; in Describe()
48 if (source_ == nullptr) { in Describe()
51 os << *source_; in Describe()
H A Dreflective_value_visitor.h129 : ReflectionSourceInfo(kSourceThreadHandleScope), source_(source) {} in ReflectiveHandleScopeSourceInfo()
134 BaseReflectiveHandleScope* source_;
/aosp12/system/bt/audio_hal_interface/
H A Dle_audio_software.cc508 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 DFileSystem.cpp37 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 DZipArchive.cpp34 : zip_handle_(handle), zip_entry_(entry), source_(source) {} in ZipFile()
72 return source_; in GetSource()
H A DFileSystem.h39 Source source_; variable
/aosp12/bootable/recovery/updater/
H A Dsimulator_runtime.cpp40 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 DXmlReferenceLinker.cpp43 : 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 Dlocation.h40 bool IsInternal() const { return source_ == Source::INTERNAL; } in IsInternal()
57 Source source_; variable
H A Dlocation.cpp20 : file_(file), begin_(begin), end_(end), source_(source) {} in AidlLocation()
/aosp12/art/dex2oat/linker/
H A Doat_writer.cc152 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 Dsimulator_runtime.h31 explicit SimulatorRuntime(BuildInfo* source) : source_(source) {} in SimulatorRuntime()
61 BuildInfo* source_; variable
/aosp12/frameworks/native/libs/vr/libvrflinger/
H A Dhardware_composer.h129 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 Dhardware_composer.cpp1301 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 DCommon.h87 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 Dcommands.h312 source_(std::move(source)), in Command()
346 return source_; in source()
398 SourceInfo source_; variable

12