Lines Matching refs:reply

89         Parcel data, reply;  in requestBuffer()  local
92 status_t result =remote()->transact(REQUEST_BUFFER, data, &reply); in requestBuffer()
96 bool nonNull = reply.readInt32(); in requestBuffer()
99 result = reply.read(**buf); in requestBuffer()
105 result = reply.readInt32(); in requestBuffer()
110 Parcel data, reply; in setMaxDequeuedBufferCount() local
115 data, &reply); in setMaxDequeuedBufferCount()
119 result = reply.readInt32(); in setMaxDequeuedBufferCount()
124 Parcel data, reply; in setAsyncMode() local
129 data, &reply); in setAsyncMode()
133 result = reply.readInt32(); in setAsyncMode()
140 Parcel data, reply; in dequeueBuffer() local
150 status_t result = remote()->transact(DEQUEUE_BUFFER, data, &reply); in dequeueBuffer()
155 *buf = reply.readInt32(); in dequeueBuffer()
157 result = reply.read(**fence); in dequeueBuffer()
163 result = reply.readUint64(outBufferAge); in dequeueBuffer()
167 result = reply.readUint64(&bufferAge); in dequeueBuffer()
174 result = reply.read(*outTimestamps); in dequeueBuffer()
181 result = reply.readInt32(); in dequeueBuffer()
186 Parcel data, reply; in detachBuffer() local
189 status_t result = remote()->transact(DETACH_BUFFER, data, &reply); in detachBuffer()
193 result = reply.readInt32(); in detachBuffer()
206 Parcel data, reply; in detachNextBuffer() local
208 status_t result = remote()->transact(DETACH_NEXT_BUFFER, data, &reply); in detachNextBuffer()
212 result = reply.readInt32(); in detachNextBuffer()
214 bool nonNull = reply.readInt32(); in detachNextBuffer()
217 result = reply.read(**outBuffer); in detachNextBuffer()
223 nonNull = reply.readInt32(); in detachNextBuffer()
226 result = reply.read(**outFence); in detachNextBuffer()
238 Parcel data, reply; in attachBuffer() local
241 status_t result = remote()->transact(ATTACH_BUFFER, data, &reply); in attachBuffer()
246 *slot = reply.readInt32(); in attachBuffer()
247 result = reply.readInt32(); in attachBuffer()
260 Parcel data, reply; in queueBuffer() local
266 status_t result = remote()->transact(QUEUE_BUFFER, data, &reply); in queueBuffer()
271 result = reply.read(*output); in queueBuffer()
276 result = reply.readInt32(); in queueBuffer()
281 Parcel data, reply; in cancelBuffer() local
285 status_t result = remote()->transact(CANCEL_BUFFER, data, &reply); in cancelBuffer()
289 result = reply.readInt32(); in cancelBuffer()
294 Parcel data, reply; in query() local
297 status_t result = remote()->transact(QUERY, data, &reply); in query()
301 value[0] = reply.readInt32(); in query()
302 result = reply.readInt32(); in query()
308 Parcel data, reply; in connect() local
318 status_t result = remote()->transact(CONNECT, data, &reply); in connect()
322 reply.read(*output); in connect()
323 result = reply.readInt32(); in connect()
328 Parcel data, reply; in disconnect() local
332 status_t result =remote()->transact(DISCONNECT, data, &reply); in disconnect()
336 result = reply.readInt32(); in disconnect()
341 Parcel data, reply; in setSidebandStream() local
350 if ((result = remote()->transact(SET_SIDEBAND_STREAM, data, &reply)) == NO_ERROR) { in setSidebandStream()
351 result = reply.readInt32(); in setSidebandStream()
358 Parcel data, reply; in allocateBuffers() local
364 status_t result = remote()->transact(ALLOCATE_BUFFERS, data, &reply, IBinder::FLAG_ONEWAY); in allocateBuffers()
371 Parcel data, reply; in allowAllocation() local
374 status_t result = remote()->transact(ALLOW_ALLOCATION, data, &reply); in allowAllocation()
378 result = reply.readInt32(); in allowAllocation()
383 Parcel data, reply; in setGenerationNumber() local
386 status_t result = remote()->transact(SET_GENERATION_NUMBER, data, &reply); in setGenerationNumber()
388 result = reply.readInt32(); in setGenerationNumber()
394 Parcel data, reply; in getConsumerName() local
396 status_t result = remote()->transact(GET_CONSUMER_NAME, data, &reply); in getConsumerName()
401 return reply.readString8(); in getConsumerName()
405 Parcel data, reply; in setSharedBufferMode() local
410 &reply); in setSharedBufferMode()
412 result = reply.readInt32(); in setSharedBufferMode()
418 Parcel data, reply; in setAutoRefresh() local
422 status_t result = remote()->transact(SET_AUTO_REFRESH, data, &reply); in setAutoRefresh()
424 result = reply.readInt32(); in setAutoRefresh()
430 Parcel data, reply; in setDequeueTimeout() local
433 status_t result = remote()->transact(SET_DEQUEUE_TIMEOUT, data, &reply); in setDequeueTimeout()
438 return reply.readInt32(); in setDequeueTimeout()
442 Parcel data, reply; in setLegacyBufferDrop() local
447 data, &reply); in setLegacyBufferDrop()
451 result = reply.readInt32(); in setLegacyBufferDrop()
457 Parcel data, reply; in getLastQueuedBuffer() local
460 &reply); in getLastQueuedBuffer()
465 result = reply.readInt32(); in getLastQueuedBuffer()
469 bool hasBuffer = reply.readBool(); in getLastQueuedBuffer()
473 result = reply.read(*buffer); in getLastQueuedBuffer()
475 result = reply.read(outTransformMatrix, sizeof(float) * 16); in getLastQueuedBuffer()
483 result = reply.read(*fence); in getLastQueuedBuffer()
494 Parcel data, reply; in getFrameTimestamps() local
501 result = remote()->transact(GET_FRAME_TIMESTAMPS, data, &reply); in getFrameTimestamps()
506 result = reply.read(*outDelta); in getFrameTimestamps()
514 Parcel data, reply; in getUniqueId() local
516 status_t result = remote()->transact(GET_UNIQUE_ID, data, &reply); in getUniqueId()
521 result = reply.readInt32(&actualResult); in getUniqueId()
525 result = reply.readUint64(outId); in getUniqueId()
533 Parcel data, reply; in getConsumerUsage() local
535 status_t result = remote()->transact(GET_CONSUMER_USAGE, data, &reply); in getConsumerUsage()
540 result = reply.readInt32(&actualResult); in getConsumerUsage()
544 result = reply.readUint64(outUsage); in getConsumerUsage()
765 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) in onTransact() argument
769 CHECK_INTERFACE(IGraphicBufferProducer, data, reply); in onTransact()
773 reply->writeInt32(buffer != nullptr); in onTransact()
775 reply->write(*buffer); in onTransact()
777 reply->writeInt32(result); in onTransact()
781 CHECK_INTERFACE(IGraphicBufferProducer, data, reply); in onTransact()
784 reply->writeInt32(result); in onTransact()
788 CHECK_INTERFACE(IGraphicBufferProducer, data, reply); in onTransact()
791 reply->writeInt32(result); in onTransact()
795 CHECK_INTERFACE(IGraphicBufferProducer, data, reply); in onTransact()
813 reply->writeInt32(buf); in onTransact()
814 reply->write(*fence); in onTransact()
815 reply->writeUint64(bufferAge); in onTransact()
817 reply->write(frameTimestamps); in onTransact()
819 reply->writeInt32(result); in onTransact()
823 CHECK_INTERFACE(IGraphicBufferProducer, data, reply); in onTransact()
826 reply->writeInt32(result); in onTransact()
830 CHECK_INTERFACE(IGraphicBufferProducer, data, reply); in onTransact()
834 reply->writeInt32(result); in onTransact()
836 reply->writeInt32(buffer != nullptr); in onTransact()
838 reply->write(*buffer); in onTransact()
840 reply->writeInt32(fence != nullptr); in onTransact()
842 reply->write(*fence); in onTransact()
848 CHECK_INTERFACE(IGraphicBufferProducer, data, reply); in onTransact()
855 reply->writeInt32(slot); in onTransact()
856 reply->writeInt32(result); in onTransact()
860 CHECK_INTERFACE(IGraphicBufferProducer, data, reply); in onTransact()
866 reply->write(output); in onTransact()
867 reply->writeInt32(result); in onTransact()
872 CHECK_INTERFACE(IGraphicBufferProducer, data, reply); in onTransact()
879 reply->writeInt32(result); in onTransact()
883 CHECK_INTERFACE(IGraphicBufferProducer, data, reply); in onTransact()
887 reply->writeInt32(value); in onTransact()
888 reply->writeInt32(res); in onTransact()
892 CHECK_INTERFACE(IGraphicBufferProducer, data, reply); in onTransact()
901 reply->write(output); in onTransact()
902 reply->writeInt32(res); in onTransact()
906 CHECK_INTERFACE(IGraphicBufferProducer, data, reply); in onTransact()
910 reply->writeInt32(res); in onTransact()
914 CHECK_INTERFACE(IGraphicBufferProducer, data, reply); in onTransact()
920 reply->writeInt32(result); in onTransact()
924 CHECK_INTERFACE(IGraphicBufferProducer, data, reply); in onTransact()
933 CHECK_INTERFACE(IGraphicBufferProducer, data, reply); in onTransact()
936 reply->writeInt32(result); in onTransact()
940 CHECK_INTERFACE(IGraphicBufferProducer, data, reply); in onTransact()
943 reply->writeInt32(result); in onTransact()
947 CHECK_INTERFACE(IGraphicBufferProducer, data, reply); in onTransact()
948 reply->writeString8(getConsumerName()); in onTransact()
952 CHECK_INTERFACE(IGraphicBufferProducer, data, reply); in onTransact()
955 reply->writeInt32(result); in onTransact()
959 CHECK_INTERFACE(IGraphicBuffer, data, reply); in onTransact()
962 reply->writeInt32(result); in onTransact()
966 CHECK_INTERFACE(IGraphicBufferProducer, data, reply); in onTransact()
969 reply->writeInt32(result); in onTransact()
973 CHECK_INTERFACE(IGraphicBufferProducer, data, reply); in onTransact()
978 reply->writeInt32(result); in onTransact()
983 reply->writeBool(false); in onTransact()
985 reply->writeBool(true); in onTransact()
986 result = reply->write(*buffer); in onTransact()
988 reply->write(transform, sizeof(float) * 16); in onTransact()
999 result = reply->write(*fence); in onTransact()
1007 CHECK_INTERFACE(IGraphicBufferProducer, data, reply); in onTransact()
1010 status_t result = reply->write(frameTimestamps); in onTransact()
1019 CHECK_INTERFACE(IGraphicBufferProducer, data, reply); in onTransact()
1022 status_t result = reply->writeInt32(actualResult); in onTransact()
1026 result = reply->writeUint64(outId); in onTransact()
1033 CHECK_INTERFACE(IGraphicBufferProducer, data, reply); in onTransact()
1036 status_t result = reply->writeInt32(actualResult); in onTransact()
1040 result = reply->writeUint64(outUsage); in onTransact()
1047 CHECK_INTERFACE(IGraphicBufferProducer, data, reply); in onTransact()
1050 reply->writeInt32(result); in onTransact()
1054 return BBinder::onTransact(code, data, reply, flags); in onTransact()