OSDN Git Service

Add conditional unit testing for codecs that might not be on the device
authorPavlin Radoslavov <pavlin@google.com>
Sat, 14 Jan 2017 01:42:01 +0000 (17:42 -0800)
committerPavlin Radoslavov <pavlin@google.com>
Tue, 17 Jan 2017 20:28:03 +0000 (12:28 -0800)
commit4decac33f65a8530ed1a7f71db9ffdc53359085c
tree2e8b9a78d563cba12a16de8c1931380cad1870b0
parent9b2e40df051af05becf9672100e1004bb6f746ae
Add conditional unit testing for codecs that might not be on the device

Codecs like aptX and aptX-HD are supported on the device if the
corresponding shared library is installed.
Fix the unit tests to conditionally test for aptX/aptX-HD.

Also, update function descriptions in files a2dp_sbc.h and
a2dp_vendor_ldac.h .

Test: Running unit tests on a device that doesn't have aptX/aptX-HD
Change-Id: I44dc275ca6e0cb5438ee6ed0b6213213d56592f4
stack/include/a2dp_sbc.h
stack/include/a2dp_vendor_ldac.h
stack/test/stack_a2dp_test.cc