OSDN Git Service

test_vendor_lib: Add test channel command transport and handler
authorDennis Cheng <dennischeng@google.com>
Tue, 4 Aug 2015 23:51:59 +0000 (16:51 -0700)
committerDennis Cheng <dennischeng@google.com>
Fri, 14 Aug 2015 23:00:46 +0000 (16:00 -0700)
commit8bb61fe28ac339276acf1b5b1616a6e56e2cccac
tree81428e2bbb036a7a35b69f2b144c817e2a894c53
parent2d96c88025c80d4d7e0e341cfdbf278596340b66
test_vendor_lib: Add test channel command transport and handler

This upload adds the transport and handler functionality for the test
channel. Test channel commands will be sent by the test channel
program and processed by library objects in a manner analogous to how
packets are received and handled from the HCI. The actual
implementation for the 4 test channel commands included here will be
in the next upload.

Bug: 21586676
Change-Id: I9354baedcbd6e48b8920a3ebf1afa69eb89834d9
13 files changed:
vendor_libs/test_vendor_lib/Android.mk
vendor_libs/test_vendor_lib/include/dual_mode_controller.h
vendor_libs/test_vendor_lib/include/hci_handler.h
vendor_libs/test_vendor_lib/include/test_channel_handler.h [new file with mode: 0644]
vendor_libs/test_vendor_lib/include/test_channel_transport.h [new file with mode: 0644]
vendor_libs/test_vendor_lib/include/vendor_manager.h
vendor_libs/test_vendor_lib/scripts/build_and_run.sh
vendor_libs/test_vendor_lib/scripts/test_channel.py
vendor_libs/test_vendor_lib/src/dual_mode_controller.cc
vendor_libs/test_vendor_lib/src/hci_transport.cc
vendor_libs/test_vendor_lib/src/test_channel_handler.cc [new file with mode: 0644]
vendor_libs/test_vendor_lib/src/test_channel_transport.cc [new file with mode: 0644]
vendor_libs/test_vendor_lib/src/vendor_manager.cc