Searched refs:write_packet (Results 1 – 3 of 3) sorted by relevance
/system/bt/hci/test/ |
D | hci_hal_h4_test.cpp | 189 static void write_packet(int fd, char first_byte, char *data) { 223 write_packet(sockfd[1], DATA_TYPE_ACL, acl_data); 224 write_packet(sockfd[1], DATA_TYPE_SCO, sco_data); 225 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 | 161 write_packet(int fd, const char* name, apacket** ppacket) in write_packet() function 228 if(write_packet(t->transport_socket, t->serial, &p)){ in send_packet() 258 if(write_packet(t->fd, t->serial, &p)) { in output_thread() 271 if(write_packet(t->fd, t->serial, &p)){ in output_thread() 289 if(write_packet(t->fd, t->serial, &p)) { in output_thread()
|