Home
last modified time | relevance | path

Searched refs:received_size (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Bluetooth/system/gd/hal/
Dhci_hal_host.cc389 ssize_t received_size; in incoming_packet_received() local
390 RUN_NO_INTR(received_size = read(sock_fd_, buf, kBufSize)); in incoming_packet_received()
393 if (received_size == -1) { in incoming_packet_received()
400 if (received_size == 0) { in incoming_packet_received()
410 received_size >= kH4HeaderSize + kHciEvtHeaderSize, in incoming_packet_received()
412 received_size); in incoming_packet_received()
414 ssize_t payload_size = received_size - (kH4HeaderSize + kHciEvtHeaderSize); in incoming_packet_received()
437 received_size >= kH4HeaderSize + kHciAclHeaderSize, in incoming_packet_received()
439 received_size); in incoming_packet_received()
440 int payload_size = received_size - (kH4HeaderSize + kHciAclHeaderSize); in incoming_packet_received()
[all …]
Dhci_hal_host_rootcanal.cc264 ssize_t received_size; in incoming_packet_received() local
265 RUN_NO_INTR(received_size = recv(sock_fd_, buf, kH4HeaderSize, 0)); in incoming_packet_received()
266 log::assert_that(received_size != -1, "Can't receive from socket: {}", strerror(errno)); in incoming_packet_received()
267 if (received_size == 0) { in incoming_packet_received()