Lines Matching refs:reply
70 Parcel data, reply; in freeNode() local
72 remote()->transact(FREE_NODE, data, &reply); in freeNode()
74 return reply.readInt32(); in freeNode()
79 Parcel data, reply; in sendCommand() local
83 remote()->transact(SEND_COMMAND, data, &reply); in sendCommand()
85 return reply.readInt32(); in sendCommand()
91 Parcel data, reply; in getParameter() local
96 remote()->transact(GET_PARAMETER, data, &reply); in getParameter()
98 status_t err = reply.readInt32(); in getParameter()
103 reply.read(params, size); in getParameter()
111 Parcel data, reply; in setParameter() local
116 remote()->transact(SET_PARAMETER, data, &reply); in setParameter()
118 return reply.readInt32(); in setParameter()
124 Parcel data, reply; in getConfig() local
129 remote()->transact(GET_CONFIG, data, &reply); in getConfig()
131 status_t err = reply.readInt32(); in getConfig()
136 reply.read(params, size); in getConfig()
144 Parcel data, reply; in setConfig() local
149 remote()->transact(SET_CONFIG, data, &reply); in setConfig()
151 return reply.readInt32(); in setConfig()
156 Parcel data, reply; in setPortMode() local
160 remote()->transact(SET_PORT_MODE, data, &reply); in setPortMode()
162 return reply.readInt32(); in setPortMode()
167 Parcel data, reply; in getGraphicBufferUsage() local
170 remote()->transact(GET_GRAPHIC_BUFFER_USAGE, data, &reply); in getGraphicBufferUsage()
172 status_t err = reply.readInt32(); in getGraphicBufferUsage()
173 *usage = reply.readInt32(); in getGraphicBufferUsage()
179 Parcel data, reply; in useBuffer() local
188 remote()->transact(USE_BUFFER, data, &reply); in useBuffer()
190 err = reply.readInt32(); in useBuffer()
197 *buffer = (buffer_id)reply.readInt32(); in useBuffer()
204 Parcel data, reply; in setInputSurface() local
209 status_t err = remote()->transact(SET_INPUT_SURFACE, data, &reply); in setInputSurface()
216 err = reply.readInt32(); in setInputSurface()
224 Parcel data, reply; in prepareForAdaptivePlayback() local
230 remote()->transact(PREPARE_FOR_ADAPTIVE_PLAYBACK, data, &reply); in prepareForAdaptivePlayback()
232 status_t err = reply.readInt32(); in prepareForAdaptivePlayback()
239 Parcel data, reply; in configureVideoTunnelMode() local
244 remote()->transact(CONFIGURE_VIDEO_TUNNEL_MODE, data, &reply); in configureVideoTunnelMode()
246 status_t err = reply.readInt32(); in configureVideoTunnelMode()
248 *sidebandHandle = (native_handle_t *)reply.readNativeHandle(); in configureVideoTunnelMode()
257 Parcel data, reply; in allocateSecureBuffer() local
261 remote()->transact(ALLOC_SECURE_BUFFER, data, &reply); in allocateSecureBuffer()
263 status_t err = reply.readInt32(); in allocateSecureBuffer()
271 *buffer = (buffer_id)reply.readInt32(); in allocateSecureBuffer()
272 *buffer_data = (void *)reply.readInt64(); in allocateSecureBuffer()
275 reply.readNativeHandle(), true /* ownsHandle */); in allocateSecureBuffer()
284 Parcel data, reply; in freeBuffer() local
288 remote()->transact(FREE_BUFFER, data, &reply); in freeBuffer()
290 return reply.readInt32(); in freeBuffer()
295 Parcel data, reply; in fillBuffer() local
306 remote()->transact(FILL_BUFFER, data, &reply); in fillBuffer()
308 return reply.readInt32(); in fillBuffer()
314 Parcel data, reply; in emptyBuffer() local
327 remote()->transact(EMPTY_BUFFER, data, &reply); in emptyBuffer()
329 return reply.readInt32(); in emptyBuffer()
335 Parcel data, reply; in getExtensionIndex() local
339 remote()->transact(GET_EXTENSION_INDEX, data, &reply); in getExtensionIndex()
341 status_t err = reply.readInt32(); in getExtensionIndex()
343 *index = static_cast<OMX_INDEXTYPE>(reply.readInt32()); in getExtensionIndex()
352 Parcel data, reply; in dispatchMessage() local
361 remote()->transact(DISPATCH_MESSAGE, data, &reply); in dispatchMessage()
363 return reply.readInt32(); in dispatchMessage()
367 Parcel data, reply; in setQuirks() local
371 remote()->transact(SET_QUIRKS, data, &reply); in setQuirks()
373 return reply.readInt32(); in setQuirks()
483 #define CHECK_OMX_INTERFACE(interface, data, reply) \ argument
490 uint32_t code, const Parcel &data, Parcel *reply, uint32_t flags) { in onTransact() argument
494 CHECK_OMX_INTERFACE(IOMXNode, data, reply); in onTransact()
496 reply->writeInt32(freeNode()); in onTransact()
503 CHECK_OMX_INTERFACE(IOMXNode, data, reply); in onTransact()
509 reply->writeInt32(sendCommand(cmd, param)); in onTransact()
519 CHECK_OMX_INTERFACE(IOMXNode, data, reply); in onTransact()
589 reply->writeInt32(err); in onTransact()
592 reply->write(params, size); in onTransact()
605 CHECK_OMX_INTERFACE(IOMXNode, data, reply); in onTransact()
608 reply->writeInt32(setPortMode(port_index, mode)); in onTransact()
615 CHECK_OMX_INTERFACE(IOMXNode, data, reply); in onTransact()
621 reply->writeInt32(err); in onTransact()
622 reply->writeInt32(usage); in onTransact()
629 CHECK_OMX_INTERFACE(IOMXNode, data, reply); in onTransact()
641 reply->writeInt32(err); in onTransact()
644 reply->writeInt32((int32_t)buffer); in onTransact()
652 CHECK_OMX_INTERFACE(IOMXNode, data, reply); in onTransact()
658 reply->writeInt32(err); in onTransact()
665 CHECK_OMX_INTERFACE(IOMXNode, data, reply); in onTransact()
674 reply->writeInt32(err); in onTransact()
681 CHECK_OMX_INTERFACE(IOMXNode, data, reply); in onTransact()
690 reply->writeInt32(err); in onTransact()
692 reply->writeNativeHandle(sideband_handle); in onTransact()
700 CHECK_OMX_INTERFACE(IOMXNode, data, reply); in onTransact()
705 reply->writeInt32(INVALID_OPERATION); in onTransact()
716 reply->writeInt32(err); in onTransact()
719 reply->writeInt32((int32_t)buffer); in onTransact()
720 reply->writeInt64((uintptr_t)buffer_data); in onTransact()
722 … reply->writeNativeHandle(native_handle == NULL ? NULL : native_handle->handle()); in onTransact()
731 CHECK_OMX_INTERFACE(IOMXNode, data, reply); in onTransact()
735 reply->writeInt32(freeBuffer(port_index, buffer)); in onTransact()
742 CHECK_OMX_INTERFACE(IOMXNode, data, reply); in onTransact()
755 reply->writeInt32(fillBuffer(buffer, omxBuf, fenceFd)); in onTransact()
762 CHECK_OMX_INTERFACE(IOMXNode, data, reply); in onTransact()
774 reply->writeInt32(emptyBuffer( in onTransact()
782 CHECK_OMX_INTERFACE(IOMXNode, data, reply); in onTransact()
788 reply->writeInt32(INVALID_OPERATION); in onTransact()
795 reply->writeInt32(err); in onTransact()
798 reply->writeInt32(index); in onTransact()
806 CHECK_OMX_INTERFACE(IOMXNode, data, reply); in onTransact()
816 reply->writeInt32(err); in onTransact()
822 return BBinder::onTransact(code, data, reply, flags); in onTransact()
835 Parcel data, reply; in onMessages() local
852 remote()->transact(OBSERVER_ON_MSG, data, &reply, IBinder::FLAG_ONEWAY); in onMessages()
859 uint32_t code, const Parcel &data, Parcel *reply, uint32_t flags) { in onTransact() argument
863 CHECK_OMX_INTERFACE(IOMXObserver, data, reply); in onTransact()
887 return BBinder::onTransact(code, data, reply, flags); in onTransact()