Home
last modified time | relevance | path

Searched refs:HadError (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/tools/aapt2/format/
DArchive_test.cpp30 bool HadError() const override { return !error_.empty(); } in HadError() function in aapt::TestData
98 ASSERT_FALSE(writer->HadError()); in TEST_F()
103 ASSERT_FALSE(writer->HadError()); in TEST_F()
127 ASSERT_FALSE(writer->HadError()); in TEST_F()
129 ASSERT_FALSE(writer->HadError()); in TEST_F()
145 ASSERT_TRUE(writer->HadError()); in TEST_F()
158 ASSERT_FALSE(writer->HadError()); in TEST_F()
163 ASSERT_FALSE(writer->HadError()); in TEST_F()
187 ASSERT_FALSE(writer->HadError()); in TEST_F()
189 ASSERT_FALSE(writer->HadError()); in TEST_F()
[all …]
DContainer.cpp48 if (coded_out.HadError()) { in ContainerWriter()
89 if (coded_out.HadError()) { in AddResTableEntry()
135 if (coded_out.HadError()) { in AddResFileEntry()
141 if (in->HadError()) { in AddResFileEntry()
152 if (coded_out.HadError()) { in AddResFileEntry()
159 bool ContainerWriter::HadError() const { in HadError() function in aapt::ContainerWriter
259 bool ContainerReaderEntry::HadError() const { in HadError() function in aapt::ContainerReaderEntry
260 return reader_->HadError(); in HadError()
357 bool ContainerReader::HadError() const { in HadError() function in aapt::ContainerReader
DContainer_test.cpp42 ASSERT_FALSE(writer.HadError()); in TEST()
57 ASSERT_FALSE(writer.HadError()); in TEST()
62 ASSERT_FALSE(reader.HadError()); in TEST()
86 EXPECT_FALSE(reader.HadError()); in TEST()
DContainer.h44 bool HadError() const;
66 bool HadError() const;
87 bool HadError() const;
DArchive.cpp107 if (in->HadError()) { in WriteFile()
115 bool HadError() const override { in HadError() function in aapt::__anon52c9490b0111::DirectoryWriter
199 if (in->HadError()) { in WriteFile()
235 bool HadError() const override { in HadError() function in aapt::__anon52c9490b0111::ZipFileWriter
DArchive.h67 virtual bool HadError() const = 0;
/frameworks/base/tools/aapt2/io/
DFileStream.cpp61 if (HadError()) { in Next()
103 bool FileInputStream::HadError() const { in HadError() function in aapt::io::FileInputStream
143 if (HadError()) { in Next()
174 if (!HadError()) { in Flush()
194 bool FileOutputStream::HadError() const { in HadError() function in aapt::io::FileOutputStream
DData.h82 bool HadError() const override { return false; } in HadError() function
131 bool HadError() const override { return false; } in HadError() function
179 bool HadError() const override { return false; } in HadError() function
211 bool HadError() const override { return false; } in HadError() function
DIo.h58 virtual bool HadError() const = 0;
93 virtual bool HadError() const = 0;
DBigBufferStream.h43 bool HadError() const override;
68 bool HadError() const override;
DBigBufferStream.cpp71 bool BigBufferInputStream::HadError() const { in HadError() function in aapt::io::BigBufferInputStream
96 bool BigBufferOutputStream::HadError() const { in HadError() function in aapt::io::BigBufferOutputStream
DStringStream.h40 inline bool HadError() const override { in HadError() function
71 inline bool HadError() const override { in HadError() function
DFileStream_test.cpp40 ASSERT_FALSE(in.HadError()); in TEST()
83 EXPECT_FALSE(in.HadError()); in TEST()
92 ASSERT_FALSE(out.HadError()); in TEST()
DFileStream.h47 bool HadError() const override;
86 bool HadError() const override;
DUtil.cpp98 return !out->HadError(); in Copy()
106 return !in->HadError(); in Copy()
DStringStream_test.cpp49 EXPECT_FALSE(in.HadError()); in TEST()
/frameworks/base/libs/androidfw/include/androidfw/
DChunk.h98 inline bool HasNext() const { return !HadError() && len_ != 0; }; in HasNext()
100 inline bool HadError() const { return last_error_ != nullptr; } in HadError() function
106 inline bool HadFatalError() const { return HadError() && last_error_was_fatal_; } in HadFatalError()
/frameworks/base/tools/aapt2/compile/
DPngChunkFilter.cpp95 if (HadError()) { in Next()
165 if (HadError()) { in BackUp()
172 if (HadError()) { in Rewind()
DPng.h72 bool HadError() const override { in HadError() function
DXmlIdCollector.cpp81 return !source_diag.HadError(); in Consume()
/frameworks/base/libs/androidfw/
DLoadedArsc.cpp647 if (overlayable_iter.HadError()) { in Load()
662 if (iter.HadError()) { in Load()
741 if (iter.HadError()) { in LoadTable()
774 if (iter.HadError()) { in Load()
/frameworks/base/tools/aapt2/
DDiagnostics.h141 bool HadError() { in HadError() function
/frameworks/base/tools/aapt2/cmd/
DDump.cpp148 if (input.HadError()) { in Action()
157 if (reader.HadError()) { in Action()
DLink.cpp266 if (fin.HadError()) { in LoadXml()
663 if (fout.HadError()) { in WriteStableIdMapToPath()
678 if (fout.HadError()) { in WriteStableIdMapToPath()
1117 if (fout->HadError()) {
1127 if (fout_text->HadError()) {
1269 if (fout.HadError()) { in WriteManifestJavaFile()
1278 if (fout.HadError()) { in WriteManifestJavaFile()
1294 if (fout.HadError()) { in WriteProguardFile()
1304 if (fout.HadError()) { in WriteProguardFile()
1481 if (input_stream->HadError()) { in MergeFile()
[all …]
DCompile.cpp151 if (fin->HadError()) { in CompileTable()
226 if (fout_text.HadError()) { in CompileTable()
367 if (fin->HadError()) { in CompileXml()
432 if (fout_text.HadError()) { in CompileXml()

12