549c64d1eb96f8096915a39c2a3447190c851bce |
09-Jul-2015 |
Miao Chou <mcchou@google.com> |
Fix security vulnerabilities in string operations This CL prevents functions, bta_ag_hfp_result and bta_hf_client_send_atd, from the potential strings overflowing. Bug: 20674686,20677309 Change-Id: Iaef720fc784e020f237feb86e17857bddf57bbfc
ta_ag_cmd.c
|
46d706a9849dcd027d562200a0a43e6e9156aceb |
07-Nov-2014 |
Mallikarjuna GB <gbmalli@codeaurora.org> |
Fix issues in A2dp, Avrcp, HF and AG reported by static analysis tool - Fixes to validate Array Index Value and Null Pointer Dereference reported by static analysis tool. Change-Id: Id1492315f68378fdcfa517bd0a5cacefc8ebfddb
ta_ag_at.c
ta_ag_cmd.c
|
40969d03ffa9cfe67dbd3cec6ce074443638ce4a |
22-Sep-2014 |
Mallikarjuna GB <gbmalli@codeaurora.org> |
Clear remote BD address information. This change makes sure that when RFCOMM connection fails for HFP, AG control block clears the remote bd address. This will prevent the misuse of remote bd address. Change-Id: I9b14cfe7ae18e72f0972704ac3aa5e915f70ddb3
ta_ag_act.c
|
16eae38653e9f1bc2e7779dd7d5792adc05d2dbb |
22-Oct-2014 |
Mallikarjuna GB <gbmalli@codeaurora.org> |
Stop AG collision timer. This change makes sure to stop collision timer of AG when cleanup is happening while BT turn off. Change-Id: Ia877f98ba3136ec3278cbec5ab0d7ef2abfc6ed5
ta_ag_main.c
|
c380680cf4bdfd7cd4befea57f81407fccb88752 |
21-May-2015 |
Mallikarjuna GB <gbmalli@codeaurora.org> |
Return ERROR for invalid CHLD command arguments Return ERROR for invalid chld commands like "AT+CHLD=!" or "AT+CHLD=0a" etc. In such cases, held call was getting terminated. Change-Id: I93d159b20da7086fac3374ce2e163d1309680045
ta_ag_cmd.c
|
846c48f8a8a648302e0584acfe6e8e222d22fd1d |
22-May-2015 |
Mallikarjuna GB <gbmalli@codeaurora.org> |
Restarting PM timer for AG while reading OR writing - Once AG receives any data(eg. AT commands) from remote device(HF) and sending the response to remote device, PM(Bluedroid power Manager) timer should be restarted (stop & start) for AG. - Increased the sniff timer value to 7 seconds for AV & AG profiles to avoid sniff related IOT issues. Change-Id: I8c1b79d272391b3fa34b193477a34d561f4c508d
ta_ag_act.c
|
2d0d790ca98b6c46be085e1e0a3e6d16ebd8cddf |
28-Oct-2014 |
Mallikarjuna GB <gbmalli@codeaurora.org> |
Don't close SCO for MO calls This change removes condition to disconnect SCO when MO call process is started. Change-Id: I2af4ab82c097c7d9ce1bc892bdf40cc09ff6d97e
ta_ag_cmd.c
|
e1ded77ae6d10854dc2bd1aebdd9b53442cc4ba4 |
04-Jun-2015 |
Andre Eisenbach <eisenbach@google.com> |
Fix compile error in bta_ag_sco.c Change-Id: I8839ba732560a31a5e8a2351ea4bfb16999cf5ea
ta_ag_sco.c
|
5b675bc41986a159023c51b561e81939f0632f95 |
21-May-2015 |
Mallikarjuna GB <gbmalli@codeaurora.org> |
Create listen SCO for HS1 if HS2 disconnects during SCO xfer During SCO transfer process from HS1 to HS2, firstly active SCO for HS1 is disconnected. However, if suddenly HS2 disconnects even before SCO transfer is complete, listen SCO for HS1 is not created. This causes further incoming SCO connections from HS1 to be rejected. The change creates listen SCO for HS1 and moves SCO state properly to LISTEN. Change-Id: I0993c1ba1c24b3b7e9c243d179a913d7a0c40446
ta_ag_int.h
ta_ag_main.c
ta_ag_sco.c
|
a7ce13feaa2a84ff329f2bbd4ab964f0f6d54f0a |
30-May-2015 |
Mallikarjuna GB <gbmalli@codeaurora.org> |
Open SCO for held call. Use case: 1. Connect to headset/carkit 2. Make an outgoing call from AG 3. Turn off BT on AG 4. Hold the call from AG 5. Turn on BT on AG (No SCO link is established here) 6. Unhold call from AG (still no SCO link is established) Failure: No SCO connection established when held call is there during headset connection. Root cause: SCO is not initiated when SLC is done during held call. Fix: AG opens SCO connection when HF connected while in call and the call was in held state. Change-Id: I63d7655d26ddbf68cbf94c745df745cffa917b5e
ta_ag_cmd.c
|
7b0bfd32833a8da08069b60e6568aace90778b62 |
28-Nov-2014 |
Mallikarjuna GB <gbmalli@codeaurora.org> |
Update call state before opening SCO. This change makes sure to update the current call state before opening SCO connection when incoming call is answered. Some car kits are strict in checking this sequence and go in bad state if not done this way. Change-Id: Ie744dc26c02d897eaf016ee73022bfc2a0db067e
ta_ag_cmd.c
|
d345bb208fe35923b60bca6af76b0a6e023fc56f |
22-May-2015 |
Mallikarjuna GB <gbmalli@codeaurora.org> |
Handle multi party call states UseCase: 1. Set up Bluetooth connection between phone and remote device. 2. Disconnect BT link by turning off remote device. 3. Start Mo call from phone. 4. Receive MT call from far end. 5. Turn on remote device. 6. BT connection gets established successfully, but audio doesn't get transferred to headset. Failure: Call audio not routed to BT HS. SCO not established. Root cause: When a HS connects while in an active call and 2nd call (incoming/outgoing/alerting) setup ongoing, incorrect post SLC call setup updates might cause HS to get confused as phone had already updated correct call states in CIND response during SLC. This may cause HS to behave abnormally like delayed response to BCS as seen with jabra wave +. Fix: Avoid sending incorrect call updates post SLC since we already have sent correct updates during SLC as reponse to CIND. Change-Id: I53e57baf7cca782af6f374a043667971c66a956d
ta_ag_cmd.c
|
444a8da807abaf5f9e813ce70c56a79160495fb3 |
06-Mar-2015 |
Satya Calloji <satyac@broadcom.com> |
LE Privacy 1.2 and LE secure connections Bug: 19816438 Original author: Chaojing Sun <cjsun@broadcom.com> Change-Id: I5951f4d4e038f8348a62aa6d19b2111bae0b3ecc
ta_ag_act.c
|
933926c92e1378cc76bc9c149107e670c4872d4e |
03-Apr-2015 |
Scott James Remnant <keybuk@google.com> |
Fix missing #includes needed for glibc Some standard library functions are used while relying on bionic headers including the headers the functions were actually declared on. Add those missing #includes so that bluetooth.default.so will compile on glibc. Change-Id: Ied9f89ce5a05911fca63f6bfe1b8cc8196ab3b1c
ta_ag_sco.c
|
6afb248849399cfba59fb1e683a06e31d88e5d1d |
25-Mar-2015 |
Mudumba Ananth <ananthm@broadcom.com> |
Resolved hardware error observed during SCO Connection setup Hardware error was caused due to a faulty HCI command formed in the process of vendor specific pre-SCO setup in the stack(set_audio_state) Fixed the above problem and also added back the vendor (interface) mapping for the set_audio_state functionality to facilitate the sending of the pre-SCO vendor specific commands. Made common vendor library audio setting by moving to hci subsystem. General cleanup around this functionality. Bug: 19923226 Change-Id: I4a743f6725459f360bd2a90e0a46f08fcca2292d
ta_ag_sco.c
|
794f3b5f126fffc3dd1129a710187591348bbf23 |
01-Oct-2014 |
Chris Manton <cmanton@google.com> |
Removal of bd.[c|h] Consolidate legacy types into bt_types.h
ta_ag_act.c
ta_ag_api.c
ta_ag_cmd.c
ta_ag_main.c
ta_ag_rfc.c
|
ee7d6b06b6742ef9d84f4915871c4edb088d23f8 |
05-Sep-2014 |
Zach Johnson <zachoverflow@google.com> |
Remove Windows related macros
ta_ag_act.c
ta_ag_rfc.c
|
66432dcffe211e317d35978283a04a96d5620bdf |
27-Apr-2014 |
Matthew Xie <mattx@google.com> |
Add WBS support on Bluedroid (2/6) Bug 13764086 Change-Id: I12bf302f7dd19efb497ad49d4d1d638a7a926049
ta_ag_act.c
ta_ag_cmd.c
ta_ag_int.h
ta_ag_main.c
ta_ag_sco.c
|
e8c3d75b75493911ebf0f99c83676359657178f7 |
04-May-2014 |
Sharvil Nanavati <sharvil@google.com> |
Logging cleanup: BTIF and APPL. Change-Id: I5b1214642bbb4b9aecc0fd2c899a6ec2c9793286
ta_ag_act.c
ta_ag_api.c
ta_ag_ci.c
ta_ag_cmd.c
ta_ag_main.c
ta_ag_rfc.c
ta_ag_sco.c
ta_ag_sdp.c
|
82d0a118de082b95cc41b63de8fcd79c9f1f0831 |
06-Jun-2014 |
Sharvil Nanavati <sharvil@google.com> |
Eliminate dead code: remove GKI_sched* from the codebase. Change-Id: I607bd3bf88ef8847c8a7e984a54eabedd4fb7516
ta_ag_api.c
ta_ag_main.c
|
ffa5c93d455f33af1be3b04d39520413dc24afd5 |
30-Apr-2014 |
Zhihai Xu <zhihaixu@google.com> |
fix compilation error due to not include correct header Change-Id: Ic4c1fb319f9c4202efd108d180f438a6fa26e05a
ta_ag_cmd.c
|
2cb90bc58fc075ec2f814ada5ae8f728380566c1 |
15-Mar-2014 |
Nitin Srivastava <nitinsr@codeaurora.org> |
Add support for Multi-HFP devices 1. Add multi headset support in stack. 2. Each HS will be associated with unique CB in BTIF and also corresponding SCB in BTA. 3. Upstream event callbacks will be sent to specific HS based on BD_ADDR. 4. Similiarly all commands to BTIF will be for specific HS. Change-Id: I0dc6b1b54f16244b802d818ae60944877a41d020
ta_ag_act.c
ta_ag_cmd.c
ta_ag_main.c
|
5cd8bff2dd0337cb52bf48f312e3d2d55a8882fb |
01-Feb-2014 |
Mike J. Chen <mjchen@google.com> |
Major warnings cleanup Mostly fixing unused parameter warnings. A few other warnings also fixed like possible use of unitialized variables (no real issue found, just compiler couldn't follow the path), signed vs unsigned warning. Also fixed some typos, indent issues, removal of dead code, etc. Change-Id: I95eb887aefc4d559d7921f71a0af5f3bfb01ac01 Signed-off-by: Mike J. Chen <mjchen@google.com>
ta_ag_act.c
ta_ag_cmd.c
ta_ag_main.c
ta_ag_rfc.c
ta_ag_sco.c
ta_ag_sdp.c
|
0856d9c0a662d78ab0f68e6e0df1721ab43dbb45 |
29-Jul-2013 |
Sunny Kapdi <sunnyk@codeaurora.org> |
Bluetooth: Send Error for Invalid AT Command. Some Headsets send HFP 1.6 cmds even when it is not supported by DUT.Send error response in those cases. bug 11450717 Change-Id: If7745959c00fd49bd737b41a49adba9e726aa5c7
ta_ag_cmd.c
|
2154e12efeec88780933d47b3c3686ff9f6fe84d |
01-May-2013 |
Zhihai Xu <zhihaixu@google.com> |
BT problems in Acura MDX problem2 unexpected beep from carkit during ringing. The root cause is the interval between the ring alert is 10 seconds. it is too long for the carkit which trigger the beep from the carkit. After I change the inteval to 5 seconds, no unexpected beep from the carkit. issue 8720373 Change-Id: I6f1cc1faba27e61c80b31c63b6673436e003b117
ta_ag_cmd.c
|
5738f83aeb59361a0a2eda2460113f6dc9194271 |
13-Dec-2012 |
The Android Open Source Project <initial-contribution@android.com> |
Snapshot cdeccf6fdd8c2d494ea2867cb37a025bf8879baf Change-Id: Ia2de32ccb97a9641462c72363b0a8c4288f4f36d
ta_ag_act.c
ta_ag_api.c
ta_ag_at.c
ta_ag_at.h
ta_ag_cfg.c
ta_ag_ci.c
ta_ag_cmd.c
ta_ag_int.h
ta_ag_main.c
ta_ag_rfc.c
ta_ag_sco.c
ta_ag_sdp.c
|