Searched refs:error_ (Results 1 - 25 of 27) sorted by relevance

12

/frameworks/native/libs/vr/libpdx/private/pdx/
H A Dstatus.h14 ErrorStatus(int error) : error_{error} {}
15 int error() const { return error_; }
20 int error_; member in struct:android::pdx::ErrorStatus
29 Status() : error_{-1} {}
39 : error_{error_status.error()} {}
45 : value_{std::move(other.value_)}, error_{other.error_} {
46 other.error_ = -1;
52 error_ = other.error_;
[all...]
/frameworks/base/tools/aapt2/text/
H A DPrinter.cpp39 if (error_) {
55 error_ = true;
63 error_ = true;
71 error_ = true;
H A DPrinter.h47 bool error_ = false; member in class:aapt::text::Printer
/frameworks/base/tools/aapt2/format/
H A DContainer.cpp46 error_ = "failed writing container format header";
59 error_ = "too many entries being serialized";
81 error_ = "failed writing to output";
90 error_ = "too many entries being serialized";
127 error_ = "failed writing to output";
135 error_ = error.str();
137 error_ = "failed writing to output";
144 error_ = "failed writing to output";
151 return !error_.empty();
155 return error_;
[all...]
H A DArchive.cpp47 error_ = "directory does not exist";
50 error_ = "not a directory";
67 error_ = SystemErrorCodeToString(errno);
79 error_ = SystemErrorCodeToString(errno);
110 return !error_.empty();
114 return error_;
122 std::string error_; member in class:aapt::__anon1173::DirectoryWriter
132 error_ = SystemErrorCodeToString(errno);
155 error_ = ZipWriter::ErrorCodeString(result);
164 error_
247 std::string error_; member in class:aapt::__anon1173::ZipFileWriter
[all...]
H A DContainer.h53 std::string error_; member in class:aapt::ContainerWriter
101 std::string error_; member in class:aapt::ContainerReader
/frameworks/native/services/vr/performanced/
H A Ddirectory_reader.h20 error_ = errno;
32 int GetError() const { return error_; }
46 int error_; member in class:android::dvr::DirectoryReader
/frameworks/base/tools/aapt2/format/binary/
H A DResChunkPullParser.cpp59 error_ = "chunk is past the end of the document";
65 error_ = "chunk has too small header";
70 error_ = "chunk's total size is smaller than header " + ChunkHeaderDump(current_chunk_);
74 error_ = "chunk's data extends past the end of the document " + ChunkHeaderDump(current_chunk_);
H A DResChunkPullParser.h67 std::string error_; member in class:aapt::ResChunkPullParser
106 return error_;
/frameworks/base/tools/aapt2/io/
H A DFileStream.cpp45 error_ = SystemErrorCodeToString(errno);
54 error_ = "Bad File Descriptor";
76 error_ = SystemErrorCodeToString(errno);
108 return error_;
117 error_ = SystemErrorCodeToString(errno);
131 error_ = "Bad File Descriptor";
183 error_ = SystemErrorCodeToString(errno);
199 return error_;
H A DFileStream.h55 std::string error_; member in class:aapt::io::FileInputStream
97 std::string error_; member in class:aapt::io::FileOutputStream
/frameworks/base/tools/aapt2/link/
H A DXmlReferenceLinker.cpp44 : callsite_(callsite), context_(context), symbols_(symbols), decls_(decls), error_(false) {}
48 error_ = true;
53 return error_;
63 bool error_; member in class:aapt::__anon1182::ReferenceVisitor
109 error_ = true;
127 error_ = true;
136 return error_ || reference_visitor_.HasError();
148 bool error_ = false; member in class:aapt::__anon1182::XmlVisitor
H A DReferenceLinker.cpp60 error_ = true;
106 error_ = true;
115 error_ = true;
121 return error_;
157 bool error_ = false; member in class:aapt::__anon1180::ReferenceLinkerVisitor
/frameworks/base/tools/aapt2/compile/
H A DInlineXmlFormatParser.cpp55 error_ = true;
63 error_ = true;
72 error_ = true;
101 return error_;
110 bool error_ = false; member in class:aapt::__anon1165::Visitor
/frameworks/native/services/vr/virtual_touchpad/
H A DEvdevInjector.h60 int GetError() const { return error_; }
61 void ResetError() { error_ = 0; }
121 // Sets |error_| if it is not already set; returns |code|.
136 int error_ = 0; variable
H A DEvdevInjector.cpp300 if (!error_) {
301 error_ = code;
307 if (error_) {
308 return error_;
335 result.appendFormat("injector_error = %d\n", error_);
/frameworks/base/tools/aapt2/java/
H A DJavaClassGenerator.h117 std::string error_; member in class:aapt::JavaClassGenerator
121 return error_;
/frameworks/compile/libbcc/bcinfo/Wrap/
H A Dbitcode_wrapperer.cpp72 error_(false) {
81 error_ = true;
355 if (error_) {
370 if (!error_ &&
384 return !error_ && Seek(infile_bc_offset_) &&
/frameworks/native/libs/vr/libpdx/
H A Dclient.cpp27 error_ = -status.error();
38 // connection in the handler, in which case error_ will be non-zero.
42 ret.SetError(-error_);
69 error_ = -status.error();
81 int Client::error() const { return error_; }
111 error_ = error <= 0 ? error : -error;
/frameworks/compile/libbcc/bcinfo/include/bcinfo/Wrap/
H A Dbitcode_wrapperer.h218 bool error_; member in class:BitcodeWrapperer
/frameworks/base/tools/aapt2/util/
H A DUtil.h177 std::string error_; member in class:aapt::StringBuilder
185 return error_;
197 return error_.empty();
/frameworks/base/tools/aapt2/xml/
H A DXmlPullParser.cpp61 error_ = in_->GetError();
70 error_ = XML_ErrorString(XML_GetErrorCode(parser_));
107 const std::string& XmlPullParser::error() const { return error_; }
H A DXmlPullParser.h175 std::string error_; member in class:aapt::xml::XmlPullParser
/frameworks/base/tools/aapt2/
H A DResourceUtils.cpp801 if (!error_.empty()) {
846 error_ =
864 error_ = StringPrintf("unescaped apostrophe in string\n\"%s\"", text.c_str());
877 error_ = StringPrintf("invalid unicode code point in string\n\"%s\"", utf8_data + previous_len);
886 if (!error_.empty()) {
900 if (!error_.empty()) {
910 if (!error_.empty()) {
921 if (!error_.empty()) {
936 return error_.empty();
940 return error_;
[all...]
H A DResourceUtils.h308 std::string error_; member in class:aapt::ResourceUtils::StringBuilder

Completed in 244 milliseconds

12