OSDN Git Service

test_vendor_lib: Read controller properties from file.
authorDennis Cheng <dennischeng@google.com>
Mon, 10 Aug 2015 16:29:41 +0000 (09:29 -0700)
committerDennis Cheng <dennischeng@google.com>
Wed, 19 Aug 2015 17:24:29 +0000 (10:24 -0700)
commitbf7db3143fda4dc8391c92ec25dc93b9725ec225
tree0c2f0085fbc4da4de8bf28125df1da91bcb8a61f
parent5192309af14408c3f170f15c1282ae5c1eb5abff
test_vendor_lib: Read controller properties from file.

This upload lets the controller be configured via a JSON file that
specifies the controller attributes. A default configuration is not
currently provided but will be included in a future upload. Also fixes
a few mistakes in test_channel.py.

Bug: 21586676
Change-Id: I9d0e65a9664e179ddb97664a748c766f4f8a554e
vendor_libs/test_vendor_lib/Android.mk
vendor_libs/test_vendor_lib/data/controller_properties.json [new file with mode: 0644]
vendor_libs/test_vendor_lib/include/dual_mode_controller.h
vendor_libs/test_vendor_lib/include/hci_transport.h
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_transport.cc
vendor_libs/test_vendor_lib/src/vendor_manager.cc