Lines Matching refs:reply

71         Parcel data, reply;  in freeNode()  local
73 remote()->transact(FREE_NODE, data, &reply); in freeNode()
75 return reply.readInt32(); in freeNode()
80 Parcel data, reply; in sendCommand() local
84 remote()->transact(SEND_COMMAND, data, &reply); in sendCommand()
86 return reply.readInt32(); in sendCommand()
92 Parcel data, reply; in getParameter() local
97 remote()->transact(GET_PARAMETER, data, &reply); in getParameter()
99 status_t err = reply.readInt32(); in getParameter()
104 reply.read(params, size); in getParameter()
112 Parcel data, reply; in setParameter() local
117 remote()->transact(SET_PARAMETER, data, &reply); in setParameter()
119 return reply.readInt32(); in setParameter()
125 Parcel data, reply; in getConfig() local
130 remote()->transact(GET_CONFIG, data, &reply); in getConfig()
132 status_t err = reply.readInt32(); in getConfig()
137 reply.read(params, size); in getConfig()
145 Parcel data, reply; in setConfig() local
150 remote()->transact(SET_CONFIG, data, &reply); in setConfig()
152 return reply.readInt32(); in setConfig()
157 Parcel data, reply; in setPortMode() local
161 remote()->transact(SET_PORT_MODE, data, &reply); in setPortMode()
163 return reply.readInt32(); in setPortMode()
168 Parcel data, reply; in getGraphicBufferUsage() local
171 remote()->transact(GET_GRAPHIC_BUFFER_USAGE, data, &reply); in getGraphicBufferUsage()
173 status_t err = reply.readInt32(); in getGraphicBufferUsage()
174 *usage = reply.readInt32(); in getGraphicBufferUsage()
180 Parcel data, reply; in useBuffer() local
189 remote()->transact(USE_BUFFER, data, &reply); in useBuffer()
191 err = reply.readInt32(); in useBuffer()
198 *buffer = (buffer_id)reply.readInt32(); in useBuffer()
205 Parcel data, reply; in setInputSurface() local
210 status_t err = remote()->transact(SET_INPUT_SURFACE, data, &reply); in setInputSurface()
217 err = reply.readInt32(); in setInputSurface()
225 Parcel data, reply; in prepareForAdaptivePlayback() local
231 remote()->transact(PREPARE_FOR_ADAPTIVE_PLAYBACK, data, &reply); in prepareForAdaptivePlayback()
233 status_t err = reply.readInt32(); in prepareForAdaptivePlayback()
240 Parcel data, reply; in configureVideoTunnelMode() local
245 remote()->transact(CONFIGURE_VIDEO_TUNNEL_MODE, data, &reply); in configureVideoTunnelMode()
247 status_t err = reply.readInt32(); in configureVideoTunnelMode()
249 *sidebandHandle = (native_handle_t *)reply.readNativeHandle(); in configureVideoTunnelMode()
258 Parcel data, reply; in allocateSecureBuffer() local
262 remote()->transact(ALLOC_SECURE_BUFFER, data, &reply); in allocateSecureBuffer()
264 status_t err = reply.readInt32(); in allocateSecureBuffer()
272 *buffer = (buffer_id)reply.readInt32(); in allocateSecureBuffer()
273 *buffer_data = (void *)reply.readInt64(); in allocateSecureBuffer()
276 reply.readNativeHandle(), true /* ownsHandle */); in allocateSecureBuffer()
285 Parcel data, reply; in freeBuffer() local
289 remote()->transact(FREE_BUFFER, data, &reply); in freeBuffer()
291 return reply.readInt32(); in freeBuffer()
296 Parcel data, reply; in fillBuffer() local
307 remote()->transact(FILL_BUFFER, data, &reply); in fillBuffer()
309 return reply.readInt32(); in fillBuffer()
315 Parcel data, reply; in emptyBuffer() local
328 remote()->transact(EMPTY_BUFFER, data, &reply); in emptyBuffer()
330 return reply.readInt32(); in emptyBuffer()
336 Parcel data, reply; in getExtensionIndex() local
340 remote()->transact(GET_EXTENSION_INDEX, data, &reply); in getExtensionIndex()
342 status_t err = reply.readInt32(); in getExtensionIndex()
344 *index = static_cast<OMX_INDEXTYPE>(reply.readInt32()); in getExtensionIndex()
353 Parcel data, reply; in dispatchMessage() local
362 remote()->transact(DISPATCH_MESSAGE, data, &reply); in dispatchMessage()
364 return reply.readInt32(); in dispatchMessage()
368 Parcel data, reply; in setQuirks() local
372 remote()->transact(SET_QUIRKS, data, &reply); in setQuirks()
374 return reply.readInt32(); in setQuirks()
484 #define CHECK_OMX_INTERFACE(interface, data, reply) \ argument
491 uint32_t code, const Parcel &data, Parcel *reply, uint32_t flags) { in onTransact() argument
495 CHECK_OMX_INTERFACE(IOMXNode, data, reply); in onTransact()
497 reply->writeInt32(freeNode()); in onTransact()
504 CHECK_OMX_INTERFACE(IOMXNode, data, reply); in onTransact()
510 reply->writeInt32(sendCommand(cmd, param)); in onTransact()
520 CHECK_OMX_INTERFACE(IOMXNode, data, reply); in onTransact()
590 reply->writeInt32(err); in onTransact()
593 reply->write(params, size); in onTransact()
606 CHECK_OMX_INTERFACE(IOMXNode, data, reply); in onTransact()
609 reply->writeInt32(setPortMode(port_index, mode)); in onTransact()
616 CHECK_OMX_INTERFACE(IOMXNode, data, reply); in onTransact()
622 reply->writeInt32(err); in onTransact()
623 reply->writeInt32(usage); in onTransact()
630 CHECK_OMX_INTERFACE(IOMXNode, data, reply); in onTransact()
642 reply->writeInt32(err); in onTransact()
645 reply->writeInt32((int32_t)buffer); in onTransact()
653 CHECK_OMX_INTERFACE(IOMXNode, data, reply); in onTransact()
659 reply->writeInt32(err); in onTransact()
666 CHECK_OMX_INTERFACE(IOMXNode, data, reply); in onTransact()
675 reply->writeInt32(err); in onTransact()
682 CHECK_OMX_INTERFACE(IOMXNode, data, reply); in onTransact()
691 reply->writeInt32(err); in onTransact()
693 reply->writeNativeHandle(sideband_handle); in onTransact()
701 CHECK_OMX_INTERFACE(IOMXNode, data, reply); in onTransact()
706 reply->writeInt32(INVALID_OPERATION); in onTransact()
717 reply->writeInt32(err); in onTransact()
720 reply->writeInt32((int32_t)buffer); in onTransact()
721 reply->writeInt64((uintptr_t)buffer_data); in onTransact()
723reply->writeNativeHandle(native_handle == NULL ? NULL : native_handle->handle()); in onTransact()
732 CHECK_OMX_INTERFACE(IOMXNode, data, reply); in onTransact()
736 reply->writeInt32(freeBuffer(port_index, buffer)); in onTransact()
743 CHECK_OMX_INTERFACE(IOMXNode, data, reply); in onTransact()
756 reply->writeInt32(fillBuffer(buffer, omxBuf, fenceFd)); in onTransact()
763 CHECK_OMX_INTERFACE(IOMXNode, data, reply); in onTransact()
775 reply->writeInt32(emptyBuffer( in onTransact()
783 CHECK_OMX_INTERFACE(IOMXNode, data, reply); in onTransact()
789 reply->writeInt32(INVALID_OPERATION); in onTransact()
796 reply->writeInt32(err); in onTransact()
799 reply->writeInt32(index); in onTransact()
807 CHECK_OMX_INTERFACE(IOMXNode, data, reply); in onTransact()
817 reply->writeInt32(err); in onTransact()
823 return BBinder::onTransact(code, data, reply, flags); in onTransact()
836 Parcel data, reply; in onMessages() local
853 remote()->transact(OBSERVER_ON_MSG, data, &reply, IBinder::FLAG_ONEWAY); in onMessages()
860 uint32_t code, const Parcel &data, Parcel *reply, uint32_t flags) { in onTransact() argument
864 CHECK_OMX_INTERFACE(IOMXObserver, data, reply); in onTransact()
888 return BBinder::onTransact(code, data, reply, flags); in onTransact()