Searched refs:transport_handle (Results 1 – 6 of 6) sorted by relevance
/system/core/fastbootd/ |
D | transport.h | 22 struct transport_handle { struct 30 void (*close)(struct transport_handle *thandle); argument 31 ssize_t (*read)(struct transport_handle *thandle, void *data, size_t len); 32 ssize_t (*write)(struct transport_handle *thandle, const void *data, size_t len); 33 struct transport_handle *(*connect)(struct transport *transport); 38 ssize_t transport_handle_write(struct transport_handle *handle, char *buffer, size_t len); 39 int transport_handle_download(struct transport_handle *handle, size_t len);
|
D | protocol.h | 39 struct transport_handle *transport_handle; member 52 struct protocol_handle *create_protocol_handle(struct transport_handle *t);
|
D | transport.c | 30 ssize_t transport_handle_write(struct transport_handle *thandle, char *buffer, size_t len) in transport_handle_write() 35 void transport_handle_close(struct transport_handle *thandle) in transport_handle_close() 40 int transport_handle_download(struct transport_handle *thandle, size_t len) in transport_handle_download() 87 struct transport_handle *thandle = arg; in transport_data_thread() 117 struct transport_handle *thandle; in transport_connect_thread()
|
D | transport_socket.c | 57 struct transport_handle handle; 62 void socket_close(struct transport_handle *thandle) in socket_close() 68 struct transport_handle *socket_connect(struct transport *transport) in socket_connect() 86 ssize_t socket_write(struct transport_handle *thandle, const void *data, size_t len) in socket_write() 101 ssize_t socket_read(struct transport_handle *thandle, void *data, size_t len) in socket_read()
|
D | protocol.c | 104 return transport_handle_download(phandle->transport_handle, len); in protocol_handle_download() 110 return transport_handle_write(phandle->transport_handle, buffer, len); in protocol_handle_write() 170 struct protocol_handle *create_protocol_handle(struct transport_handle *thandle) in create_protocol_handle() 176 phandle->transport_handle = thandle; in create_protocol_handle()
|
D | usb_linux_client.c | 69 struct transport_handle handle; 214 static ssize_t usb_write(struct transport_handle *thandle, const void *data, size_t len) in usb_write() 230 ssize_t usb_read(struct transport_handle *thandle, void *data, size_t len) in usb_read() 246 void usb_close(struct transport_handle *thandle) in usb_close() 270 struct transport_handle *usb_connect(struct transport *transport) in usb_connect()
|