Lines Matching refs:reply

77         Parcel data, reply;  in start()  local
82 status_t ret = remote()->transact(START, data, &reply); in start()
87 sp<MetaData> meta = MetaData::createFromParcel(reply); in start()
96 Parcel data, reply; in stop() local
98 status_t status = remote()->transact(STOP, data, &reply); in stop()
106 Parcel data, reply; in getFormat() local
108 status_t ret = remote()->transact(GETFORMAT, data, &reply); in getFormat()
111 mMetaData = MetaData::createFromParcel(reply); in getFormat()
134 Parcel data, reply; in readMultiple() local
140 status_t ret = remote()->transact(READMULTIPLE, data, &reply); in readMultiple()
148 while ((buftype = reply.readInt32()) != NULL_BUFFER) { in readMultiple()
154 uint64_t index = reply.readUint64(); in readMultiple()
160 sp<IBinder> binder = reply.readStrongBinder(); in readMultiple()
171 size_t offset = reply.readInt32(); in readMultiple()
172 size_t length = reply.readInt32(); in readMultiple()
175 buf->meta_data().updateFromParcel(reply); in readMultiple()
177 int32_t len = reply.readInt32(); in readMultiple()
180 reply.read(buf->data(), len); in readMultiple()
181 buf->meta_data().updateFromParcel(reply); in readMultiple()
187 ret = reply.readInt32(); in readMultiple()
203 Parcel data, reply; in supportNonblockingRead() local
205 status_t ret = remote()->transact(SUPPORT_NONBLOCKING_READ, data, &reply); in supportNonblockingRead()
207 return reply.readInt32() != 0; in supportNonblockingRead()
214 Parcel data, reply; in pause() local
216 return remote()->transact(PAUSE, data, &reply); in pause()
283 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) in onTransact() argument
288 CHECK_INTERFACE(IMediaSource, data, reply); in onTransact()
295 meta->writeToParcel(*reply); in onTransact()
301 CHECK_INTERFACE(IMediaSource, data, reply); in onTransact()
311 CHECK_INTERFACE(IMediaSource, data, reply); in onTransact()
317 CHECK_INTERFACE(IMediaSource, data, reply); in onTransact()
320 meta->writeToParcel(*reply); in onTransact()
327 CHECK_INTERFACE(IMediaSource, data, reply); in onTransact()
406 reply->writeInt32(SHARED_BUFFER); in onTransact()
407 reply->writeUint64(index); in onTransact()
408 reply->writeStrongBinder(IInterface::asBinder(transferBuf->mMemory)); in onTransact()
412 reply->writeInt32(SHARED_BUFFER_INDEX); in onTransact()
413 reply->writeUint64(index); in onTransact()
417 reply->writeInt32(offset); in onTransact()
418 reply->writeInt32(length); in onTransact()
419 buf->meta_data().writeToParcel(*reply); in onTransact()
430 reply->writeInt32(INLINE_BUFFER); in onTransact()
431 reply->writeByteArray(length, (uint8_t*)buf->data() + offset); in onTransact()
432 buf->meta_data().writeToParcel(*reply); in onTransact()
440 reply->writeInt32(NULL_BUFFER); // Indicate no more MediaBuffers. in onTransact()
441 reply->writeInt32(ret); in onTransact()
448 CHECK_INTERFACE(IMediaSource, data, reply); in onTransact()
449 reply->writeInt32((int32_t)supportNonblockingRead()); in onTransact()
453 return BBinder::onTransact(code, data, reply, flags); in onTransact()