Lines Matching refs:status
60 Status Status::fromStatusT(status_t status) { in fromStatusT() argument
62 ret.setFromStatusT(status); in fromStatusT()
96 status_t status = parcel.readInt32(&mException); in readFromParcel() local
97 if (status != OK) { in readFromParcel()
98 setFromStatusT(status); in readFromParcel()
99 return status; in readFromParcel()
110 status = parcel.readInt32(&header_size); in readFromParcel()
111 if (status != OK) { in readFromParcel()
112 setFromStatusT(status); in readFromParcel()
113 return status; in readFromParcel()
129 return status; in readFromParcel()
134 status = parcel.readString16(&message); in readFromParcel()
135 if (status != OK) { in readFromParcel()
136 setFromStatusT(status); in readFromParcel()
137 return status; in readFromParcel()
146 status = parcel.readInt32(&remote_stack_trace_header_size); in readFromParcel()
147 if (status != OK) { in readFromParcel()
148 setFromStatusT(status); in readFromParcel()
149 return status; in readFromParcel()
164 status = parcel.readInt32(&mErrorCode); in readFromParcel()
172 status = parcel.readInt32(&header_size); in readFromParcel()
173 if (status != OK) { in readFromParcel()
174 setFromStatusT(status); in readFromParcel()
175 return status; in readFromParcel()
186 if (status != OK) { in readFromParcel()
187 setFromStatusT(status); in readFromParcel()
188 return status; in readFromParcel()
191 return status; in readFromParcel()
201 status_t status = parcel->writeInt32(mException); in writeToParcel() local
202 if (status != OK) return status; in writeToParcel()
205 return status; in writeToParcel()
207 status = parcel->writeString16(String16(mMessage)); in writeToParcel()
208 if (status != OK) return status; in writeToParcel()
209 status = parcel->writeInt32(0); // Empty remote stack trace header in writeToParcel()
210 if (status != OK) return status; in writeToParcel()
212 status = parcel->writeInt32(mErrorCode); in writeToParcel()
215 status = parcel->writeInt32(0); in writeToParcel()
217 return status; in writeToParcel()
237 void Status::setFromStatusT(status_t status) { in setFromStatusT() argument
238 mException = (status == NO_ERROR) ? EX_NONE : EX_TRANSACTION_FAILED; in setFromStatusT()
239 mErrorCode = status; in setFromStatusT()