Home
last modified time | relevance | path

Searched refs:GetError (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/base/tools/aapt2/format/
DContainer.cpp143 error << "failed reading from input: " << in->GetError(); in AddResFileEntry()
163 std::string ContainerWriter::GetError() const { in GetError() function in aapt::ContainerWriter
212 error << "failed to read header length from input: " << reader_->in_->GetError(); in GetResFileOffsets()
220 error << "failed to read data length from input: " << reader_->in_->GetError(); in GetResFileOffsets()
263 std::string ContainerReaderEntry::GetError() const { in GetError() function in aapt::ContainerReaderEntry
264 return reader_->GetError(); in GetError()
278 error << "failed to read magic from input: " << in_->GetError(); in ContainerReader()
292 error << "failed to read version from input: " << in_->GetError(); in ContainerReader()
306 error << "failed to read entry count from input: " << in_->GetError(); in ContainerReader()
326 error << "failed reading entry type from input: " << in_->GetError(); in Next()
[all …]
DArchive.cpp108 error_ = in->GetError(); in WriteFile()
119 std::string GetError() const override { in GetError() function in aapt::__anone368909f0111::DirectoryWriter
200 error_ = in->GetError(); in WriteFile()
239 std::string GetError() const override { in GetError() function in aapt::__anone368909f0111::ZipFileWriter
263 diag->Error(android::DiagMessage(path) << writer->GetError()); in CreateDirectoryArchiveWriter()
273 diag->Error(android::DiagMessage(path) << writer->GetError()); in CreateZipFileArchiveWriter()
DContainer.h44 std::string GetError() const;
66 std::string GetError() const;
87 std::string GetError() const;
DContainer_test.cpp71 ASSERT_TRUE(entry->GetResFileOffsets(&pb_new_file, &offset, &len)) << entry->GetError(); in TEST()
87 EXPECT_THAT(reader.GetError(), IsEmpty()); in TEST()
DArchive.h69 virtual std::string GetError() const = 0;
/frameworks/base/cmds/idmap2/libidmap2/
DResourceContainer.cpp118 return xml.GetError(); in ExtractOverlayManifestInfo()
130 return result_str.GetError(); in ExtractOverlayManifestInfo()
182 return parser.GetError(); in CreateResourceMapping()
350 return state.GetError(); in GetState()
367 return state.GetError(); in DefinesOverlayable()
376 return state.GetError(); in GetOverlayableInfo()
388 return state.GetError(); in GetOverlayData()
409 return state.GetError(); in GetResourceId()
423 return state.GetError(); in GetResourceName()
432 return result.GetError(); in FromPath()
[all …]
DResourceMapping.cpp66 return Error(defines_overlayable.GetError(), "unable to retrieve overlayable info"); in CheckOverlayable()
80 return overlayable_info.GetError(); in CheckOverlayable()
122 return overlay_data.GetError(); in FromContainers()
146 return Error(result.GetError(), "failed to add mapping for '%s'", in FromContainers()
DIdmap.cpp368 return Error(target_crc.GetError(), "failed to get zip CRC for '%s'", target.GetPath().data()); in FromContainers()
374 return Error(overlay_crc.GetError(), "failed to get zip CRC for '%s'", in FromContainers()
387 return Error(info.GetError(), "failed to get overlay info for '%s'", overlay.GetPath().data()); in FromContainers()
394 return Error(resource_mapping.GetError(), "failed to generate resource map for '%s'", in FromContainers()
400 return idmap_data.GetError(); in FromContainers()
DXmlParser.cpp147 return value ? GetStringValue(parser_, *value, label) : value.GetError(); in GetAttributeStringValue()
152 return value ? GetStringValue(parser_, *value, name) : value.GetError(); in GetAttributeStringValue()
/frameworks/base/cmds/idmap2/idmap2/
DLookup.cpp169 return opts_ok.GetError(); in Lookup()
199 return overlay.GetError(); in Lookup()
204 return manifest_info.GetError(); in Lookup()
226 return Error(resid.GetError(), "failed to parse resource ID"); in Lookup()
231 return Error(value.GetError(), "resource 0x%08x not found", *resid); in Lookup()
DCreate.cpp77 return opts_ok.GetError(); in Create()
90 return conv_result.GetError(); in Create()
110 return Error(idmap.GetError(), "failed to create idmap"); in Create()
DDump.cpp50 return opts_ok.GetError(); in Dump()
56 return Error(idmap.GetError(), "failed to load idmap"); in Dump()
DCreateMultiple.cpp80 return opts_ok.GetError(); in CreateMultiple()
88 return conv_result.GetError(); in CreateMultiple()
DCommandUtils.cpp59 return Error(header_ok.GetError(), "idmap not up to date"); in Verify()
/frameworks/base/libs/androidfw/include/androidfw/
DStreams.h58 virtual std::string GetError() const { in GetError() function
102 virtual std::string GetError() const { in GetError() function
DFileStream.h57 std::string GetError() const override;
99 std::string GetError() const override;
/frameworks/base/tools/aapt2/io/
DStringStream.h43 inline std::string GetError() const override { in GetError() function
76 inline std::string GetError() const override { in GetError() function
DUtil.cpp41 << " to archive: " << writer->GetError()); in CopyInputStreamToArchive()
91 << " to archive: " << writer->GetError()); in CopyProtoToArchive()
/frameworks/native/services/vr/virtual_touchpad/
DVirtualTouchpadEvdev.cpp80 if (const status_t configuration_status = touchpad.injector->GetError()) { in Attach()
138 return touchpad.injector->GetError(); in Touch()
167 return touchpad.injector->GetError(); in ButtonState()
194 return touchpad.injector->GetError(); in Scroll()
/frameworks/base/tools/aapt2/java/
DJavaClassGenerator.h79 const std::string& GetError() const;
118 inline const std::string& JavaClassGenerator::GetError() const { in GetError() function
/frameworks/base/tools/aapt2/cmd/
DDump.cpp150 << "failed to open file: " << input.GetError()); in Action()
159 << "failed to read container: " << reader.GetError()); in Action()
174 << "failed to parse proto table: " << entry->GetError()); in Action()
199 << entry->GetError()); in Action()
/frameworks/base/libs/androidfw/
DPngCrunch.cpp93 if (!in->GetError().empty()) { in ReadDataFromStream()
94 error_msg_builder << ": " << in->GetError(); in ReadDataFromStream()
119 if (!out->GetError().empty()) { in WriteDataToStream()
120 err_msg_builder << ": " << out->GetError(); in WriteDataToStream()
122 std::string err = out->GetError(); in WriteDataToStream()
152 diag->Error(android::DiagMessage() << "failed to read PNG signature: " << in->GetError()); in ReadPng()
DFileStream.cpp123 std::string FileInputStream::GetError() const { in GetError() function in android::FileInputStream
218 std::string FileOutputStream::GetError() const { in GetError() function in android::FileOutputStream
/frameworks/base/cmds/idmap2/include/idmap2/
DResult.h72 Error GetError() const;
133 inline Error Result<T>::GetError() const { in GetError() function
/frameworks/native/services/vr/performanced/
Ddirectory_reader.h33 int GetError() const { return error_; } in GetError() function

12