c8f807502482e76a6052b74d01405e72a40ab9df |
|
22-Feb-2017 |
Sanket Agarwal <sanketa@google.com> |
BTA HF_CLIENT: Always reply to +BCS Phones don't like when we don't reply to +BCS codec-negotiation. We were having this behavior because not always do we want to accept a connection request over SCO. Instead of not replying to +BCS (which is essentially a codec negotiation) we rather refuse the SCO request when it comes in. This creates other issues such as some phones trying to connect SCO in an infinite loop but it still keeps interoperability with other devices such as iPhones and Microsoft phones intact Bug: b/35469963 Bug: b/35431871 Bug: b/35419773 Test: SCO (Phone Audio) test with iPhone, Microsoft and Nexus phones Change-Id: I5319edcb4da9d66c6d6b3a49742248c90dee98e6 (cherry picked from commit ad372cfa3376f882046284a5655ed9c6fdf24daf)
/system/bt/bta/hf_client/bta_hf_client_at.cc
|
ac109dc2256b90c5704bed20e4d15f2400502eaa |
|
31-Jan-2017 |
Sanket Agarwal <sanketa@google.com> |
HF Client: SCO routing with multiple devices For SCO it makes sense only to have one active connection at a time for any device since simultaneous SCO calls in a single device is un-reasonable. This change changes the SCO state machine in following ways: a) SCO is not setup automatically whenever AG wants, the client for this BTA layer will have to call connect_audio to start SCO b) Also when we disconnect SCO for a device, it does not go into a listen state. We are making sure that the upper layer caller always has to call connect to accept a connection Bug: b/34518638 Test: Manual testing w/ multiple active calls and SCO switching Change-Id: I6e6c4c6e6ee19e44e3ff14499fb99083102bde5a
/system/bt/bta/hf_client/bta_hf_client_at.cc
|
0e42408b91f9581f0177ce86fd1074fb825bad2b |
|
04-Jan-2017 |
liuchao <liuchao741@huawei.com> |
Fix an inappropriate sscanf return value judgment This fixes an inappropriate sscanf return value judgment that res check here is not needed while res2 is the one that need to be checked Test: mm -j 8 Change-Id: I3e332286c9434d5b9d01421f5f421039f84ad6c7
/system/bt/bta/hf_client/bta_hf_client_at.cc
|
5eccd90936d606e0070872b247fd3462e9c9c19b |
|
01-Dec-2016 |
Sanket Agarwal <sanketa@google.com> |
Implement multiple control blocks for HF Client in BTA/BTIF Test: Manual test for multiple incoming/outgoing HF connections Bug: b/30984220 Change-Id: If66cad7c9bbc92051ebb7efb2b352c10e7514af3
/system/bt/bta/hf_client/bta_hf_client_at.cc
|
bdcfc045f9d21afc1510cdad4fddd97a93c26477 |
|
01-Dec-2016 |
Sanket Agarwal <sanketa@google.com> |
BTA HF Client should use dynamic control block Most of the functions in bta_hf_client_at.cc are currently using a static field for passing callbacks to BTIF layer. In order to support multi device we need to make the functions have a parameter which denotes the device. In order to pass all the required information we choose to pass the control block for the device instead. Bug: b/30984220 Test: Manual regression test Change-Id: Iac692d7e28df3955ddbd28707c323c41714bd86a
/system/bt/bta/hf_client/bta_hf_client_at.cc
|
1baaae3f34a667058e7f0c5f778357d98320cf38 |
|
09-Nov-2016 |
Myles Watson <mylesgw@google.com> |
bta: Fix comment formatting after clang-format Test: mma -j32 Change-Id: Ic945ac421b1918527105c59674eda89afd3d4126
/system/bt/bta/hf_client/bta_hf_client_at.cc
|
cd1fd07f1306e08fe048682dd5918987e579f937 |
|
09-Nov-2016 |
Myles Watson <mylesgw@google.com> |
bta: Apply clang-format clang-format -i --style=file bta/*/* (twice) Test: mma -j32 Change-Id: Ib118b1dfb6a34f9a5bfe153d65841e9041165264
/system/bt/bta/hf_client/bta_hf_client_at.cc
|
8af480e24549ba51a3f6858d9d9af504715e0bea |
|
09-Nov-2016 |
Myles Watson <mylesgw@google.com> |
bta: Remove double asterisks in comments Double asterisks at the beginning of the line sed -i s,"^[*][*]"," *", bta/*/* Double asterisks after a space sed -i s,"^ [*][*]\([^*]\)"," *\1", bta/*/* sed -i s,"^ [*][*]$"," *", bta/*/* Test: mma -j32 Change-Id: Ib83b802c7000176683b4e7f24d1255b3c2c6c01c
/system/bt/bta/hf_client/bta_hf_client_at.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/bta/hf_client/bta_hf_client_at.cc
|