Lines Matching refs:status

66     status_t status = p.readInt32(&len);
67 if (status != NO_ERROR) {
68 return status;
82 status_t status = writeToParcel(a.key, p);
83 if (status != NO_ERROR) {
84 return status;
90 status_t status = readFromParcel(&(a->key), p);
91 if (status != NO_ERROR) {
92 return status;
100 status_t status = writeToParcel(n.name, p);
101 if (status != NO_ERROR) {
102 return status;
104 status = writeToParcel(n.owner, p);
105 if (status != NO_ERROR) {
106 return status;
112 status_t status = readFromParcel(&(n->name), p);
113 if (status != NO_ERROR) {
114 return status;
116 status = readFromParcel(&(n->owner), p);
117 if (status != NO_ERROR) {
118 return status;
126 status_t status = writeToParcel(r.role, p);
127 if (status != NO_ERROR) {
128 return status;
130 status = writeToParcel(r.type, p);
131 if (status != NO_ERROR) {
132 return status;
134 status = p->writeBool(r.isEncoder);
135 if (status != NO_ERROR) {
136 return status;
138 status = p->writeBool(r.preferPlatformNodes);
139 if (status != NO_ERROR) {
140 return status;
146 status_t status = readFromParcel(&(r->role), p);
147 if (status != NO_ERROR) {
148 return status;
150 status = readFromParcel(&(r->type), p);
151 if (status != NO_ERROR) {
152 return status;
154 status = p.readBool(&(r->isEncoder));
155 if (status != NO_ERROR) {
156 return status;
158 status = p.readBool(&(r->preferPlatformNodes));
159 if (status != NO_ERROR) {
160 return status;
170 status_t status = p->writeVectorSize(v);
171 if (status != NO_ERROR) {
172 return status;
175 status = writeToParcel(x, p);
176 if (status != NO_ERROR) {
177 return status;
185 status_t status = p.resizeOutVector(v);
186 if (status != NO_ERROR) {
187 return status;
190 status = readFromParcel(&x, p);
191 if (status != NO_ERROR) {
192 return status;
211 status_t status;
212 status = data.writeInterfaceToken(IOMXStore::getInterfaceDescriptor());
213 if (status != NO_ERROR) {
214 return status;
216 status = remote()->transact(LIST_SERVICE_ATTRIBUTES, data, &reply);
217 if (status != NO_ERROR) {
218 return status;
225 status_t status;
226 status = data.writeInterfaceToken(IOMXStore::getInterfaceDescriptor());
227 if (status != NO_ERROR) {
228 return status;
230 status = remote()->transact(GET_NODE_PREFIX, data, &reply);
231 if (status != NO_ERROR) {
232 return status;
239 status_t status;
240 status = data.writeInterfaceToken(IOMXStore::getInterfaceDescriptor());
241 if (status != NO_ERROR) {
242 return status;
244 status = remote()->transact(LIST_ROLES, data, &reply);
245 if (status != NO_ERROR) {
246 return status;
253 status_t status;
254 status = data.writeInterfaceToken(IOMXStore::getInterfaceDescriptor());
255 if (status != NO_ERROR) {
256 return status;
258 status = writeToParcel(name, &data);
259 if (status != NO_ERROR) {
260 return status;
262 status = remote()->transact(GET_OMX, data, &reply);
263 if (status != NO_ERROR) {
264 return status;
286 status_t status;
289 status = listServiceAttributes(&attributes);
290 if (status != NO_ERROR) {
291 ALOGE("listServiceAttributes() fails with status %d",
292 static_cast<int>(status));
295 status = writeToParcel(attributes, reply);
296 if (status != NO_ERROR) {
304 status_t status;
307 status = getNodePrefix(&prefix);
308 if (status != NO_ERROR) {
309 ALOGE("getNodePrefix() fails with status %d",
310 static_cast<int>(status));
313 status = writeToParcel(prefix, reply);
314 if (status != NO_ERROR) {
322 status_t status;
325 status = listRoles(&roleList);
326 if (status != NO_ERROR) {
327 ALOGE("listRoles() fails with status %d",
328 static_cast<int>(status));
331 status = writeToParcel(roleList, reply);
332 if (status != NO_ERROR) {
340 status_t status;
344 status = readFromParcel(&name, data);
345 if (status != NO_ERROR) {
349 status = getOmx(name, &omx);
350 if (status != NO_ERROR) {
351 ALOGE("getOmx() fails with status %d",
352 static_cast<int>(status));
355 status = reply->writeStrongBinder(IInterface::asBinder(omx));
356 if (status != NO_ERROR) {