OSDN Git Service

test_vendor_lib: Use EPOLLOUT
authorDennis Cheng <dennischeng@google.com>
Tue, 16 Jun 2015 19:44:55 +0000 (12:44 -0700)
committerDennis Cheng <dennischeng@google.com>
Tue, 4 Aug 2015 17:39:47 +0000 (10:39 -0700)
commit3c0ea3e5a5aca269283854d8f2f584ad0699c951
tree2ebbef7a2468b4d04a5ed9fc4284f9d2b196b4d3
parent6f2cecf90691c44c0a7955fa765d55795bacb6e5
test_vendor_lib: Use EPOLLOUT

HciTransport checks for write-readiness before sending any packets
back to the HCI. Packets are maintained on a queue and only written
when the EPOLLOUT flag is set in the epoll_event.

Bug: 21586676
Change-Id: Iebd9599286b62746e2be7e424c522058ae978bb1
BUILD.gn
vendor_libs/test_vendor_lib/include/bredr_controller.h
vendor_libs/test_vendor_lib/include/hci_handler.h
vendor_libs/test_vendor_lib/include/hci_transport.h
vendor_libs/test_vendor_lib/include/packet_stream.h
vendor_libs/test_vendor_lib/src/bredr_controller.cc
vendor_libs/test_vendor_lib/src/bt_vendor.cc
vendor_libs/test_vendor_lib/src/hci_handler.cc
vendor_libs/test_vendor_lib/src/hci_transport.cc
vendor_libs/test_vendor_lib/src/packet_stream.cc