b5c932fe13c7d0124ce42102d616e4d394d8f877 |
|
19-Jun-2017 |
Pavlin Radoslavov <pavlin@google.com> |
Add a mechanism to avoid using AVDTP RECONFIGURE for blacklisted devices Some carkits report SUCCESS for AVDTP RECONFIGURE commands when changing A2DP codec configuration. However, there is no audio coming from the carkit. Bug: 37625892 Test: Manual - A2DP Codec reconfiguration while streaming audio Change-Id: I01f37a2514e490986a20e96ace78c92463403396 Merged-In: I01f37a2514e490986a20e96ace78c92463403396 (cherry picked from commit e91297a4d1a77ae0c367fbe756090b7357e9893a)
/system/bt/device/src/interop.cc
|
a776d907a9b3a3b87f461587ea6096479b236d5a |
|
26-May-2017 |
Myles Watson <mylesgw@google.com> |
GATT: Interop fix for service changed indications The Pixel C Keyboard disconnects if it receives an indication for which it hasn't registered. Test: Add a GATT service with Pixel C connected Bug: 34352677 Change-Id: I1f717db40b2ba9ec21feac5fd9e339c09f140d51 (cherry picked from commit 43c7f9f4775e589d8fd0604ef4717996696a0321)
/system/bt/device/src/interop.cc
|
484b1c70c627b7cfc2049257a1d05f5c8e027c00 |
|
28-Mar-2017 |
Jakub Pawlowski <jpawlowski@google.com> |
Add supervision timeout workaround for Nexus Remote The Nexus Remote would report 100ms supervision timeout in its preferred connection parameters. In some noisy environments, this might cause connection to be dropped. As a workaround, set the timeout to 3s for the remote. Test: manual Bug: 36645397 Bug: 37717216 Change-Id: I665a854e9d55067ec1aca273c31d06c6114c48be (cherry picked from commit 9e6747537a4a2c0143c26ab31e4597a017372e5f)
/system/bt/device/src/interop.cc
|
f2af1c42ccb2f642b241c2261b42d0be61d45438 |
|
13-Dec-2016 |
Jack He <siyuanh@google.com> |
Replace assert with CHECK from base/logging.h * Replace assert with CHECK * Remove all NDEBUG definitions * Remove hacks for BT_LIBCHROME_NDEBUG * Removed some removed directories from Makefile such as hcis, brcm, rpc Coccinelle-assisted: @@ @@ - #include "base/logging.h" + #include <base/logging.h> @ assert_included @ @@ @ base_logging_included @ @@ @ depends on (assert_included && !(base_logging_included)) @ @@ - #include <assert.h> + #include <base/logging.h> @ depends on (assert_included && base_logging_included) @ @@ - #include <assert.h> @@ expression E; @@ - assert(E); + CHECK(E); And a bash script: for file in $(find . -name "*.cc"); do spatch --sp-file replace_assert_with_CHECK.cocci --in-place $file done The following files are maually edited: btif/src/btif_config.cc btif/src/btif_avrcp_audio_track.cc btif/src/btif_gatt_client.cc osi/src/data_dispatcher.cc osi/src/reactor.cc osi/src/thread.cc osi/src/fixed_queue.cc osi/src/list.cc osi/src/allocation_tracker.cc osi/src/alarm.cc osi/test/wakelock_test.cc Bug: 31781465 Test: Code compilation, Unit Tests, BtStressTest, BtFunhausMetricsTest Change-Id: I21dc10a45be31665e41441b75b0515ed87523988
/system/bt/device/src/interop.cc
|
4451b3bf8891639360e0890b15949b875233bda6 |
|
09-Nov-2016 |
Myles Watson <mylesgw@google.com> |
device: Apply clang-format clang-format -i --style=file device/include/* \ device/src/* device/test/* Test: mma -j32 Change-Id: I1a0f9e1cd838c025fca487347358cc0079265004
/system/bt/device/src/interop.cc
|
b2a292b5d8df2f359c38b0787bc01181225a9bc9 |
|
15-Oct-2016 |
Pavlin Radoslavov <pavlin@google.com> |
Renamed most C files to C++: *.c to *.cc Also: - Fixed C++ related compilation errors. - Added missing 'extern "C"' guards in some of the header files. - Added missing LOCAL_CPP_EXTENSION to Android.mk files. - Added-back btif/src/btif_mce.cc and bta/mce/bta_mce_* to btif/Android.mk and bta/Android.mk respectively. - Fixed the alphabetical ordering of the *.cc files in some of the Android.mk files. - Added missing Copyright header to "osi/include/list.h" - Updated "osi/src/wakelock.cc" to use C++ std::string instead of dynamic allocation of C-style strings. Test: code compilation, unit tests, and A2DP streaming Change-Id: Ia2f7215ed9df32775c701b68fc86b09875b942c7
/system/bt/device/src/interop.cc
|