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()
143 status = parcel.readInt32(&remote_stack_trace_header_size); in readFromParcel()
144 if (status != OK) { in readFromParcel()
145 setFromStatusT(status); in readFromParcel()
146 return status; in readFromParcel()
158 status = parcel.readInt32(&mErrorCode); in readFromParcel()
166 status = parcel.readInt32(&header_size); in readFromParcel()
167 if (status != OK) { in readFromParcel()
168 setFromStatusT(status); in readFromParcel()
169 return status; in readFromParcel()
180 if (status != OK) { in readFromParcel()
181 setFromStatusT(status); in readFromParcel()
182 return status; in readFromParcel()
185 return status; in readFromParcel()
195 status_t status = parcel->writeInt32(mException); in writeToParcel() local
196 if (status != OK) { return status; } in writeToParcel()
199 return status; in writeToParcel()
201 status = parcel->writeString16(String16(mMessage)); in writeToParcel()
202 status = parcel->writeInt32(0); // Empty remote stack trace header in writeToParcel()
204 status = parcel->writeInt32(mErrorCode); in writeToParcel()
207 status = parcel->writeInt32(0); in writeToParcel()
209 return status; in writeToParcel()
223 void Status::setFromStatusT(status_t status) { in setFromStatusT() argument
224 mException = (status == NO_ERROR) ? EX_NONE : EX_TRANSACTION_FAILED; in setFromStatusT()
225 mErrorCode = status; in setFromStatusT()