Lines Matching refs:status

64     status_t status = rawParcel->writeInt32(static_cast<int32_t>(length));  in WriteAndValidateArraySize()  local
65 if (status != STATUS_OK) return PruneStatusT(status); in WriteAndValidateArraySize()
72 binder_status_t status = WriteAndValidateArraySize(parcel, array == nullptr, length); in WriteArray() local
73 if (status != STATUS_OK) return status; in WriteArray()
90 binder_status_t status = WriteAndValidateArraySize(parcel, array == nullptr, length); in WriteArray() local
91 if (status != STATUS_OK) return status; in WriteArray()
100 status = rawParcel->writeChar(array[i]); in WriteArray()
102 if (status != STATUS_OK) return PruneStatusT(status); in WriteArray()
114 status_t status = rawParcel->readInt32(&length); in ReadArray() local
116 if (status != STATUS_OK) return PruneStatusT(status); in ReadArray()
143 status_t status = rawParcel->readInt32(&length); in ReadArray() local
145 if (status != STATUS_OK) return PruneStatusT(status); in ReadArray()
158 status = rawParcel->readChar(array + i); in ReadArray()
160 if (status != STATUS_OK) return PruneStatusT(status); in ReadArray()
171 binder_status_t status = WriteAndValidateArraySize(parcel, arrayIsNull, length); in WriteArray() local
172 if (status != STATUS_OK) return status; in WriteArray()
178 status = (rawParcel->*write)(getter(arrayData, i)); in WriteArray()
180 if (status != STATUS_OK) return PruneStatusT(status); in WriteArray()
192 status_t status = rawParcel->readInt32(&length); in ReadArray() local
194 if (status != STATUS_OK) return PruneStatusT(status); in ReadArray()
203 status = (rawParcel->*read)(&readTarget); in ReadArray()
204 if (status != STATUS_OK) return PruneStatusT(status); in ReadArray()
235 status_t status = parcel->get()->readNullableStrongBinder(&readBinder); in AParcel_readStrongBinder() local
236 if (status != STATUS_OK) { in AParcel_readStrongBinder()
237 return PruneStatusT(status); in AParcel_readStrongBinder()
242 return PruneStatusT(status); in AParcel_readStrongBinder()
252 status_t status = parcel->get()->writeInt32(1); // not-null in AParcel_writeParcelFileDescriptor() local
253 if (status != STATUS_OK) return PruneStatusT(status); in AParcel_writeParcelFileDescriptor()
255 status = parcel->get()->writeDupParcelFileDescriptor(fd); in AParcel_writeParcelFileDescriptor()
256 return PruneStatusT(status); in AParcel_writeParcelFileDescriptor()
262 status_t status = parcel->get()->readParcelable(&parcelFd); in AParcel_readParcelFileDescriptor() local
263 if (status != STATUS_OK) return PruneStatusT(status); in AParcel_readParcelFileDescriptor()
274 binder_status_t AParcel_writeStatusHeader(AParcel* parcel, const AStatus* status) { in AParcel_writeStatusHeader() argument
275 return PruneStatusT(status->get()->writeToParcel(parcel->get())); in AParcel_writeStatusHeader()
277 binder_status_t AParcel_readStatusHeader(const AParcel* parcel, AStatus** status) { in AParcel_readStatusHeader() argument
281 *status = new AStatus(std::move(bstatus)); in AParcel_readStatusHeader()
368 binder_status_t status = WriteAndValidateArraySize(parcel, arrayIsNull, length); in AParcel_writeStringArray() local
369 if (status != STATUS_OK) return status; in AParcel_writeStringArray()
377 binder_status_t status = AParcel_writeString(parcel, str, elementLength); in AParcel_writeStringArray() local
378 if (status != STATUS_OK) return status; in AParcel_writeStringArray()
404 status_t status = rawParcel->readInt32(&length); in AParcel_readStringArray() local
406 if (status != STATUS_OK) return PruneStatusT(status); in AParcel_readStringArray()
420 binder_status_t status = AParcel_readString(parcel, static_cast<void*>(&adapter), in AParcel_readStringArray() local
423 if (status != STATUS_OK) return status; in AParcel_readStringArray()
433 binder_status_t status = WriteAndValidateArraySize(parcel, arrayIsNull, length); in AParcel_writeParcelableArray() local
434 if (status != STATUS_OK) return status; in AParcel_writeParcelableArray()
438 binder_status_t status = elementWriter(parcel, arrayData, i); in AParcel_writeParcelableArray() local
439 if (status != STATUS_OK) return status; in AParcel_writeParcelableArray()
451 status_t status = rawParcel->readInt32(&length); in AParcel_readParcelableArray() local
453 if (status != STATUS_OK) return PruneStatusT(status); in AParcel_readParcelableArray()
461 binder_status_t status = elementReader(parcel, arrayData, i); in AParcel_readParcelableArray() local
462 if (status != STATUS_OK) return status; in AParcel_readParcelableArray()
472 status_t status = parcel->get()->writeInt32(value); in AParcel_writeInt32() local
473 return PruneStatusT(status); in AParcel_writeInt32()
477 status_t status = parcel->get()->writeUint32(value); in AParcel_writeUint32() local
478 return PruneStatusT(status); in AParcel_writeUint32()
482 status_t status = parcel->get()->writeInt64(value); in AParcel_writeInt64() local
483 return PruneStatusT(status); in AParcel_writeInt64()
487 status_t status = parcel->get()->writeUint64(value); in AParcel_writeUint64() local
488 return PruneStatusT(status); in AParcel_writeUint64()
492 status_t status = parcel->get()->writeFloat(value); in AParcel_writeFloat() local
493 return PruneStatusT(status); in AParcel_writeFloat()
497 status_t status = parcel->get()->writeDouble(value); in AParcel_writeDouble() local
498 return PruneStatusT(status); in AParcel_writeDouble()
502 status_t status = parcel->get()->writeBool(value); in AParcel_writeBool() local
503 return PruneStatusT(status); in AParcel_writeBool()
507 status_t status = parcel->get()->writeChar(value); in AParcel_writeChar() local
508 return PruneStatusT(status); in AParcel_writeChar()
512 status_t status = parcel->get()->writeByte(value); in AParcel_writeByte() local
513 return PruneStatusT(status); in AParcel_writeByte()
517 status_t status = parcel->get()->readInt32(value); in AParcel_readInt32() local
518 return PruneStatusT(status); in AParcel_readInt32()
522 status_t status = parcel->get()->readUint32(value); in AParcel_readUint32() local
523 return PruneStatusT(status); in AParcel_readUint32()
527 status_t status = parcel->get()->readInt64(value); in AParcel_readInt64() local
528 return PruneStatusT(status); in AParcel_readInt64()
532 status_t status = parcel->get()->readUint64(value); in AParcel_readUint64() local
533 return PruneStatusT(status); in AParcel_readUint64()
537 status_t status = parcel->get()->readFloat(value); in AParcel_readFloat() local
538 return PruneStatusT(status); in AParcel_readFloat()
542 status_t status = parcel->get()->readDouble(value); in AParcel_readDouble() local
543 return PruneStatusT(status); in AParcel_readDouble()
547 status_t status = parcel->get()->readBool(value); in AParcel_readBool() local
548 return PruneStatusT(status); in AParcel_readBool()
552 status_t status = parcel->get()->readChar(value); in AParcel_readChar() local
553 return PruneStatusT(status); in AParcel_readChar()
557 status_t status = parcel->get()->readByte(value); in AParcel_readByte() local
558 return PruneStatusT(status); in AParcel_readByte()