Searched refs:received_size (Results 1 – 1 of 1) sorted by relevance
/system/bt/gd/hal/ |
D | hci_hal_host_rootcanal.cc | 233 ssize_t received_size; in incoming_packet_received() local 234 RUN_NO_INTR(received_size = recv(sock_fd_, buf, kH4HeaderSize, 0)); in incoming_packet_received() 235 ASSERT_LOG(received_size != -1, "Can't receive from socket: %s", strerror(errno)); in incoming_packet_received() 236 if (received_size == 0) { in incoming_packet_received() 243 RUN_NO_INTR(received_size = recv(sock_fd_, buf + kH4HeaderSize, kHciEvtHeaderSize, 0)); in incoming_packet_received() 244 ASSERT_LOG(received_size != -1, "Can't receive from socket: %s", strerror(errno)); in incoming_packet_received() 245 ASSERT_LOG(received_size == kHciEvtHeaderSize, "malformed HCI event header received"); in incoming_packet_received() 272 RUN_NO_INTR(received_size = recv(sock_fd_, buf + kH4HeaderSize, kHciAclHeaderSize, 0)); in incoming_packet_received() 273 ASSERT_LOG(received_size != -1, "Can't receive from socket: %s", strerror(errno)); in incoming_packet_received() 274 ASSERT_LOG(received_size == kHciAclHeaderSize, "malformed ACL header received"); in incoming_packet_received() [all …]
|