summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * merge in jb-mr1-release history after reset to jb-mr1-devThe Android Automerger2012-08-270-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |\
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * merge in jb-mr1-release history after reset to jb-mr1-devThe Android Automerger2012-08-230-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | |\
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * merge in jb-mr1-release history after reset to jb-mr1-devThe Android Automerger2012-08-220-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |\
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * merge in jb-mr1-release history after reset to jb-mr1-devThe Android Automerger2012-08-210-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |\
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * merge in jb-mr1-release history after reset to jb-mr1-devThe Android Automerger2012-08-160-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |\
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add HCI Multi-Channel Transport support (1/2)YK Jeffrey Chao2012-08-1510-136/+1991
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revise BT Vendor Lib interface and add support of HCI multi-channel transport. Change-Id: I5a7a7b64798bb30be60ed29bd564bc499bd5b5bc
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow HID connection even if DI does not matchKausik Sinnaswamy2012-11-072-41/+67
|/ / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This issue was found at the UPF where some carkits were initiating HID connection but did not have a valid DI record. We already paired and queried for HID and added the device to our database. The fix was to allow the HID connection to go through in such cases. bug 7313735 Change-Id: I87a1c74a1b607a55bb731a0d7495a04457d39f96
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge "Turn off socket debug messages" into jb-mr1-devMatthew Xie2012-11-013-155/+108
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Turn off socket debug messagesMatthew Xie2012-10-313-155/+108
| |/ / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change the message macro so that they can be turned on at runtime bug 7174712 Change-Id: I59b955720ec5de26774c58fba6d369ef34d1ac3b
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Turn off hid debug messagesMatthew Xie2012-11-013-32/+26
|/ / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some of the message should be debug instead of warning. Some of the messages were in wrong log message module bug 7174712 Change-Id: Ib57ae6255bdbe53d2d931b1003a47cd6cadcb425
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Address type should be UINT8 instead of char for btif_media_check_iop_exceptionsMatthew Xie2012-10-263-3/+3
|/ / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix a type mismatch error introduced by last checkin: Manage a2dp frame distribution... bug 7302257 Change-Id: I8fec02d416e9bd0f2a1cca72e0bbc5d2f704b29a
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge "Increase media task encoded buffer queue throw-away threshold from 12 ↵Matthew Xie2012-10-261-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to 24" into jb-mr1-dev
| * | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Increase media task encoded buffer queue throw-away threshold from 12 to 24Matthew Xie2012-10-261-1/+1
| |/ / / / / / / / / / / / / / / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To manage temporary congestion in lower layers, the max amount of queued up audio is raised from 240ms to 480ms bug 7394193 Change-Id: Ibee000b83c0f608120537f21323a069caa4f952d
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge "Manage a2dp frame distribution when rate doesn't scale with media ↵Matthew Xie2012-10-263-175/+74
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tick" into jb-mr1-dev
| * | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Manage a2dp frame distribution when rate doesn't scale with media tickMatthew Xie2012-10-253-175/+74
| |/ / / / / / / / / / / / / / / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added back original frame rate calculation used to manage sending 6.89 frames every 20 ms tick. Removed unused rate adjustment logic Blacklist Porsche carkit out of this change, ie keep old behavior. Originally by Mattias Ganesh bug 7302257 7394193 7267756 Change-Id: Id40fee2d52098a011d13ad3b70301003da675c72
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge "Bump up priority of a few tasks that could affect a2dp" into jb-mr1-devMatthew Xie2012-10-2612-5/+228
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bump up priority of a few tasks that could affect a2dpMatthew Xie2012-10-1912-5/+228
| | |/ / / / / / / / / / / / / / / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change nice to -16, same as android audio service. Affected tasks: btu, gki timer, hci worker, media task, userial_read bug 7267756 Change-Id: I0b5ecc4345240601ef6e5890240054dab193e4a0
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add new user-to-kernel interface for Bluetooth low power mode control (2/2)YK Jeffrey Chao2012-10-221-0/+4
| |/ / / / / / / / / / / / / / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The bluesleep kernel module was used in Tegra3 platform to perform Bluetooth low power wakelock and interrup control. Add new user-to-kernel interface through proc fs nodes for Bluedroid to feed bluesleep with the HCI_DEV events which bluesleep was monitoring on. Add call to disable LPM mode at turning BT off. bug 7347413 Change-Id: I65b58137ccbc7b3694b805d9be6756304a8da1be
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | During call state change DIALING/ALERTING -> CONNECTED, donot redo SCOMatthew Xie2012-10-182-1/+7
|/ / / / / / / / / / / / / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug 7337252 Change-Id: Icd3ceada57c02887a9e5f3c850ebd7b5639111af
* | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support of getting factory BDADDR from Controller's non-volatile memory(1/2)YK Jeffrey Chao2012-10-161-2/+39
|/ / / / / / / / / / / / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When factory Bluetooth device address is stored in the BT Controller's non-volatile memory instead of devices's file system, the BDADDR will be retrieved from the Controller while enabling Bluedroid core stack. Fire an HAL adapter_properties_cb callback to notify the AdapterProperties of the Controller's BDADDR information. bug 7340441 Change-Id: Iec9c0abe11ab2945ca74796f80930596561baf24
* | | | | | | | | | | | | | | | | | | | | | | | | | | Add serial port profile support and allow to connect to rfcomm channel ↵zzy2012-10-153-39/+106
|/ / / / / / / / / / / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | without sdp discovery bug 7272974 Change-Id: Idc10edc056b48da2fd96bea84eba3fb73b97bab1
* | | | | | | | | | | | | | | | | | | | | | | | | | Remove frame count offset compensation codeMatthew Xie2012-10-131-1/+2
|/ / / / / / / / / / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The clock rate base for bt media encoding drifts. Compensations were added. Frame count offset compensation causes problem. On certain carkit, removing this adjustment fixes problem. I am commenting this code out as it causes problem. We think GKI timer compensations should be sufficient. bug 7302257 Change-Id: Ia25d04ce06dc2f9a7c2be33e99ecb69d5e508cdf
* | | | | | | | | | | | | | | | | | | | | | | | | Disable btsnoop external parser for productionGanesha Batta2012-10-082-1/+12
|/ / / / / / / / / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This port allows real time parsing of the btsnoop traces using an external tool. Disabled this by default for production. bug 7298743 Change-Id: I595e3e9fede532dbf1bd1383d9babe7c44503af1
* | | | | | | | | | | | | | | | | | | | | | | | Change the file gid to net_bt_stackMatthew Xie2012-10-041-79/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | So the config file can be shared by Bluetooth apk of multi-users bug 6925422 Change-Id: Id97061454325ef898eb9413756408cf9d95bca62
* | | | | | | | | | | | | | | | | | | | | | | | Fix for timer thread stuck on BT OFFRavi Nagarajan2012-10-031-0/+1
|/ / / / / / / / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wake up with timer_thread on BT OFF bug 7266585 Change-Id: Id4ff27b94fc1e7f38b9c6861cb325e3d33ea91ce
* | | | | | | | | | | | | | | | | | | | | | | Ensure timer thread stops when inactivity timer expiresMattias Agren2012-09-301-9/+24
|/ / / / / / / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug 7243062 Change-Id: Ib9d85f65adce364f5a75c85d3cc55ab387a8efd5
* | | | | | | | | | | | | | | | | | | | | | Merge "Fix HCI Timeout issue on Mako" into jb-mr1-devMatthew Xie2012-09-281-3/+7
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | | | | Fix HCI Timeout issue on MakoGanesh Ganapathi Batta2012-09-281-3/+7
| |/ / / / / / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Root cause: HCI RX path event sometimes gets received at host HCI and the num_hci_cmd_pkts counter gets updated before the TX path returned from hci_mct_send_msg function. This results in next HCI command not being sent to controller and eventually resulting in HCI command timeout Bug 7223945, 7073814, 7150111 Change-Id: Idc6ea48d316385f99f95d9d9015d41b66cded5c8
* | | | | | | | | | | | | | | | | | | | | | Send the enabled hfp/hsp service UUIDs based on configRavi Nagarajan2012-09-283-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On platforms where HFP is disabled, we were incorrectly notifying upper layer of HFP support in local uuids. Use the build config to determine the right set of local UUIDs bug 7232184 Change-Id: Ica308dd879336300714e97d3441334e16471359a
* | | | | | | | | | | | | | | | | | | | | | Fixed the crash when rfcomm run out of 30 channelszzy2012-09-281-15/+29
|/ / / / / / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug 7230522 Change-Id: Id8bdedb757a9324d891aac1cbbaed0da94d7e274
* | | | | | | | | | | | | | | | | | | | | Trigger restart on BT Controller H/W errorKausik Sinnaswamy2012-09-266-28/+27
|/ / / / / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On a Bluetooth chip h/w error, trigger an event from the core stack to restart the Bluetooth process. This would ensure that any state is cleaned up and the process starts from scratch Bug: 7001800 Change-Id: I57b0b44276585e2ae3c22ddbcc9d80bd467135b2 Signed-off-by: Iliyan Malchev <malchev@google.com>
* | | | | | | | | | | | | | | | | | | | Change the order of Local BDA read locations.Ganesh Ganapathi Batta2012-09-251-9/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Look for Local BDA at ro.bdaddr_path before reading it from BT Local storage path Bug 7228514 Change-Id: Ib6d4b5321b1146d19f671d15c34df3a85b3a89d2
* | | | | | | | | | | | | | | | | | | | Add timer compensation to manage timer thread preemtionMattias Agren2012-09-251-9/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For each timer tick we monitor the actual elapsed time and compensate for any additional delays in next timer tick. This results in a correct timer tick value on average as opposed to simply incrementing delays Bug 7161154 Change-Id: I38dc56215fb03540f501f49dd8e48a4d0f6b1564
* | | | | | | | | | | | | | | | | | | | Set btif media timer tick to 20 msMattias Agren2012-09-251-54/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Reducing media timer tick prevents a2dp fragmentation due to MTU size limitations in many headsets. This also provides better robustness on poor rf links. * Adjusted bitrate to 229 kbps which represents middle quality setting in A2DP spec (bitpool 35 @ 44.1 khz). * Use fixed estimated nbr sbc frames per a2dp packet and adjust only using rate adjustment logic which would keep us within ~3 ms of the ideal rate Bug 7161154 Change-Id: Ifd84e7ab9f5ac404162269dc4ad0e3a9b024e788
* | | | | | | | | | | | | | | | | | | | Reduced logging before/after music play/pauseKausik Sinnaswamy2012-09-251-6/+6
|/ / / / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A burst of log messages are sent right music is paused. Moved these as verbose logs. bug 7222516 Change-Id: I08a0583eb1b96734e3fdbd0c97cd3a93d9a0304f
* | | | | | | | | | | | | | | | | | | Added a configurable BT disable timerKausik Sinnaswamy2012-09-212-2/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This timer(BTA_DISABLE_DELAY) if set to a value greater than zero shall delay the chip/transport shutdown. The BTA_DISABLE_DELAY can be fine-tuned per platform. bug 7212447 Change-Id: Ib0346af42f6b596e9fbb281203058872bceffbd9
* | | | | | | | | | | | | | | | | | | Move default COD macro BTA_DM_COD to bt_target.hKausik Sinnaswamy2012-09-213-16/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This can be over-ridden on the various platforms via the respective bdroid_buildcfg.h. Default value chosen is for MAJOR_PHONE and MINOR_SMARTPHONE. bug 7176584 Change-Id: Ie553e082273b63e871aad5cda9816b16345fd9e2
* | | | | | | | | | | | | | | | | | | bluedroid: add mutex lock when enumerating the hci tx queuezzy2012-09-213-17/+68
|/ / / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 7167816 Bug: 7136940 This could be fix for most of the hci timeout issues. The root cause seemed like the while loop for sending hci message messed up when another thread try to enque/deque a hci message at same time. Change-Id: Ib7f6a68b49b700b0d575326cafae41a158483b27 Signed-off-by: Iliyan Malchev <malchev@google.com>
* | | | | | | | | | | | | | | | | | Broadcom license for proprietary filesAndre Eisenbach2012-09-191-0/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I93e951df61326703bca58094ce58d9e0e2ad6748
* | | | | | | | | | | | | | | | | | Fixed OPP SDP records to indicate support for only vCard 2.1 and other type ↵Fred2012-09-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | of object This fix removes vNote and vCal from the OPP SDP record. Bug 7167658 Change-Id: I41c79e6a6e2c5b042dbf9f225265f4ad85ea3a87
* | | | | | | | | | | | | | | | | | Defer sending RC pass-through commands until A2DP connection is upGanesh Ganapathi Batta2012-09-192-5/+5
|/ / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Root cause for the bug is RC connection establishment before A2DP connection and play command from carkit arriving in mid of A2DP connection. Bug: 7131791 Change-Id: I74e7c456f68c5ab5a02e827c9a1e14d770f5ec2a
* | | | | | | | | | | | | | | | | Initual Bluetooth open source releaseAndre Eisenbach2012-09-18372-13353/+14640
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First release under Apache source license with updated header files and whitespace cleanups. Also fixed file permission to remove executable bit from source files. Change-Id: I7155903edfc2f491c1cbbd0db108f207852caaa0
* | | | | | | | | | | | | | | | | Merge "Revert "Header file and whitespace cleanups"" into jb-mr1-devMatthew Xie2012-09-18285-7339/+7395
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | Revert "Header file and whitespace cleanups"Matthew Xie2012-09-18285-7339/+7395
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit cc914cffd521b2e6e1be804c82aea2388b843ebf More changes in the original CL after my cherry-pick. Change-Id: Ic144dba96aeb8a60611baac7565c9f628ab8f9eb
* | | | | | | | | | | | | | | | | | Revert "Reference headers in their new location"Jean-Baptiste Queru2012-09-182-3/+1
|/ / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 6ed67e2ac54c83d18701d2b4ee1b9d729e99a38c.
* | | | | | | | | | | | | | | | | Header file and whitespace cleanupsAndre Eisenbach2012-09-18285-7395/+7339
|/ / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also fixed file permission to remove executable bit from source files. Change-Id: I6954c2d16190bc35b1b0d38386543253696b1112
* | | | | | | | | | | | | | | | Reference headers in their new locationJean-Baptiste Queru2012-09-152-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I5a10b52c6e6e7efe9c451d1f705dd875a9739117
* | | | | | | | | | | | | | | | Save the service uuid when changedzzy2012-09-141-0/+1
|/ / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Root cause: the service uuid is cached in memory, it could lost in case device crash or reboot bug 7170559
* | | | | | | | | | | | | | | bluetooth: BT SIG - AVRCP - Response for invalid PDU fixedhyungjung0521.kim2012-09-132-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When PTS sends the invalid PDU to the IUT, due to AVRCP spec, it's supposed to response back to PTS with General Reject MSG and Error code. PTS test case : AVRCP TC_TG_INV_BI_01_C Change-Id: Ieba59503f0e3c156c639b37167d3a3a743016706
* | | | | | | | | | | | | | | BTIF Media task not terminated during BT offKausik Sinnaswamy2012-09-131-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During BT disable, the BTIF AV media task was not shutdown cleanly, this could result in bad state on subsequent BT enable. bug 7142673 Change-Id: I6177baec5804720e96adcf9aa9445cc2bb438b07