Searched refs:write_packet (Results 1 – 3 of 3) sorted by relevance
/system/bt/hci/test/ |
D | hci_hal_h4_test.cpp | 195 static void write_packet(int fd, char first_byte, char *data) { 229 write_packet(sockfd[1], DATA_TYPE_ACL, acl_data); 230 write_packet(sockfd[1], HCI_BLE_EVENT, corrupted_data); 231 write_packet(sockfd[1], DATA_TYPE_SCO, sco_data); 232 write_packet(sockfd[1], DATA_TYPE_EVENT, event_data);
|
D | hci_hal_mct_test.cpp | 198 static void write_packet(int fd, char *data) { 225 write_packet(acl_in_sockfd[1], acl_data); 228 write_packet(event_sockfd[1], event_data);
|
/system/core/adb/ |
D | transport.cpp | 114 write_packet(int fd, const char* name, apacket** ppacket) in write_packet() function 176 if(write_packet(t->transport_socket, t->serial, &p)){ in send_packet() 207 if(write_packet(t->fd, t->serial, &p)) { in read_transport_thread() 220 if(write_packet(t->fd, t->serial, &p)){ in read_transport_thread() 238 if(write_packet(t->fd, t->serial, &p)) { in read_transport_thread()
|