Home
last modified time | relevance | path

Searched refs:uicmd (Results 1 – 3 of 3) sorted by relevance

/external/qemu/android/protocol/
Dui-commands-impl.c85 _uiCmdImpl_handle_command(UICmdImpl* uicmd, in _uiCmdImpl_handle_command() argument
121 UICmdImpl* uicmd = opaque; in _uiCmdImpl_io_callback() local
127 status = socket_recv(uicmd->sock, in _uiCmdImpl_io_callback()
128 uicmd->reader_buffer + uicmd->reader_offset, in _uiCmdImpl_io_callback()
129 uicmd->reader_bytes - uicmd->reader_offset); in _uiCmdImpl_io_callback()
146 uicmd->reader_offset += status; in _uiCmdImpl_io_callback()
147 if (uicmd->reader_offset != uicmd->reader_bytes) { in _uiCmdImpl_io_callback()
153 if (uicmd->reader_state == EXPECTS_HEADER) { in _uiCmdImpl_io_callback()
155 if (uicmd->cmd_header.cmd_param_size) { in _uiCmdImpl_io_callback()
157 uicmd->reader_state = EXPECTS_PARAMETERS; in _uiCmdImpl_io_callback()
[all …]
Dattach-ui-proxy.c58 AttachUIProxy* uicmd = (AttachUIProxy*)opaque; in _attachUiProxy_io_func() local
69 asyncReader_init(&reader, read_buf, sizeof(read_buf), &uicmd->io); in _attachUiProxy_io_func()
Dui-commands-proxy.c107 UICmdProxy* uicmd = (UICmdProxy*)opaque; in _uiCmdProxy_io_func() local
118 asyncReader_init(&reader, read_buf, sizeof(read_buf), &uicmd->io); in _uiCmdProxy_io_func()