Home
last modified time | relevance | path

Searched refs:GetError (Results 1 – 25 of 35) 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 …]
DContainer.h45 std::string GetError() const;
67 std::string GetError() const;
88 std::string GetError() const;
DArchive.cpp113 std::string GetError() const override { in GetError() function in aapt::__anon52c9490b0111::DirectoryWriter
232 std::string GetError() const override { in GetError() function in aapt::__anon52c9490b0111::ZipFileWriter
256 diag->Error(DiagMessage(path) << writer->GetError()); in CreateDirectoryArchiveWriter()
266 diag->Error(DiagMessage(path) << writer->GetError()); in CreateZipFileArchiveWriter()
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.h70 virtual std::string GetError() const = 0;
/frameworks/base/cmds/idmap2/idmap2/
DCreate.cpp72 return opts_ok.GetError(); in Create()
85 return conv_result.GetError(); in Create()
105 return Error(idmap.GetError(), "failed to create idmap"); in Create()
DVerify.cpp43 return opts_ok.GetError(); in Verify()
55 return Error(header_ok.GetError(), "idmap not up to date"); in Verify()
DDump.cpp50 return opts_ok.GetError(); in Dump()
56 return Error(idmap.GetError(), "failed to load idmap"); in Dump()
DScan.cpp150 return opts_ok.GetError(); in Scan()
155 return Error(apk_paths.GetError(), "failed to find apk files"); in Scan()
163 return overlay_info.GetError(); in Scan()
234 << "\": " << create_ok.GetError().GetMessage(); in Scan()
DLookup.cpp177 return opts_ok.GetError(); in Lookup()
235 return Error(resid.GetError(), "failed to parse resource ID"); in Lookup()
240 return Error(value.GetError(), "resource 0x%08x not found", *resid); in Lookup()
/frameworks/base/tools/aapt2/io/
DIo.h55 virtual std::string GetError() const { return {}; } in GetError() function
90 virtual std::string GetError() const { return {}; } in GetError() function
DStringStream.h44 inline std::string GetError() const override { in GetError() function
75 inline std::string GetError() const override { in GetError() function
DFileStream.h49 std::string GetError() const override;
88 std::string GetError() const override;
DUtil.cpp38 << " to archive: " << writer->GetError()); in CopyInputStreamToArchive()
86 << " to archive: " << writer->GetError()); in CopyProtoToArchive()
DFileStream.cpp107 std::string FileInputStream::GetError() const { in GetError() function in aapt::io::FileInputStream
198 std::string FileOutputStream::GetError() const { in GetError() function in aapt::io::FileOutputStream
/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.h80 const std::string& GetError() const;
120 inline const std::string& JavaClassGenerator::GetError() const { in GetError() function
/frameworks/base/tools/aapt2/cmd/
DDump.cpp144 << "failed to open file: " << input.GetError()); in Action()
153 << "failed to read container: " << reader.GetError()); in Action()
168 << "failed to parse proto table: " << entry->GetError()); in Action()
193 << entry->GetError()); in Action()
DLink.cpp258 diag->Error(DiagMessage(path) << "failed to load XML file: " << fin.GetError()); in LoadXml()
656 diag->Error(DiagMessage(id_map_path) << "failed to open: " << fout.GetError()); in WriteStableIdMapToPath()
671 diag->Error(DiagMessage(id_map_path) << "failed writing to file: " << fout.GetError()); in WriteStableIdMapToPath()
1099 << "': " << fout->GetError());
1110 << "': " << fout_text->GetError());
1117 context_->GetDiagnostics()->Error(DiagMessage(out_path) << generator.GetError());
1251 << "': " << fout.GetError()); in WriteManifestJavaFile()
1261 << "': " << fout.GetError()); in WriteManifestJavaFile()
1277 << "': " << fout.GetError()); in WriteProguardFile()
1286 << "': " << fout.GetError()); in WriteProguardFile()
[all …]
DCompile.cpp153 << "failed to open file: " << fin->GetError()); in CompileTable()
230 << "': " << fout_text.GetError()); in CompileTable()
369 << "failed to open file: " << fin->GetError()); in CompileXml()
436 << "': " << fout_text.GetError()); in CompileXml()
/frameworks/base/tools/aapt2/compile/
DPngCrunch.cpp94 if (!in->GetError().empty()) { in ReadDataFromStream()
95 error_msg_builder << ": " << in->GetError(); in ReadDataFromStream()
120 if (!out->GetError().empty()) { in WriteDataToStream()
121 err_msg_builder << ": " << out->GetError(); in WriteDataToStream()
123 std::string err = out->GetError(); in WriteDataToStream()
157 source_diag.Error(DiagMessage() << "failed to read PNG signature: " << in->GetError()); in ReadPng()
DPng.h75 std::string GetError() const override { in GetError() function
/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
/frameworks/base/cmds/idmap2/tests/
DResultTests.cpp244 ASSERT_EQ(r2.GetError().GetMessage(), "foo"); in TEST()
250 return Error(container.GetError(), "bar"); in FailToCreateContainer()

12