summaryrefslogtreecommitdiffstats
path: root/stack/a2dp
Commit message (Collapse)AuthorAgeFilesLines
* Fix for issues reported by Static analysis tool.Sudharma Damgatla2015-10-061-8/+15
| | | | | | Fixed issues in reported by static analysis tool. Change-Id: Ia08641ee774b3da07445ef17269862f38d83606d
* Bluetooth: Use correct Avdtp features.Gaurav Asati2015-10-062-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use AVDT_GetAllCapReq request only when both remote and local Avdtp version are 1.3 and above. CRs-Fixed: 500730 Change-Id: I7145d8c26b5cc73c35e497c1b54d241e3f2317c8 Bluetooth: Clear Collision mask and send disconnect - clear collision mask during cleanup - send avdt disconnect in opening state. CRs-Fixed: 704728 Change-Id: I7438963694ac52dd995d1322823b791ef1cced44 Bluetooth: Set A2dp L2CAP TX Priority to HIGH Raise a2dp l2cap tx priority from medium to high to resolve audio glitchs during concurrency test. Change-Id: If30c6ba6cd1efc2816c686bdfd66814b8227c7a4 CRs-fixed: 733624 Bluetooth: Perform SDP for TG for SINK and CT role - In case we are A2DP Sink and AVRCP CT, we have to perform SDP for AVRCP_TG role. Change-Id: I9990f785920ad35da96a973139c336fe41e3f91e AVRC: Register for AVRC only connection once - Register for AVRC only connection once Change-Id: Ia85771a75d2b2e34aeb80c985a7eefd0300764c0 Bluetooth: Handle getCapability failure for Incoming Connection This change takes care of handling GetCapability failure event for Incoming Connection. DUT will initiate disconnect if GetCapability response is failed. CRs-fixed: 506864 Change-Id: Icc121739cc3da6f999a09f2e576cbfaec3007155 Bluetooth: update proper suspended state to BluetoothApk - update proper suspended state so as to avoid abandoning focus Change-Id: Ie0b8ffbd086bbce1080b7d7930062d09375b6e61 AVRCP: Delay after uinput open - uinput is not ready immediately after create. Because of this any command sent from remote immediately after connection will be ignored. Delay by 30 ms to give time for initialization. Change-Id: I97f1d960d4f5bc85b5e4ca7e58c728aeb187d01e Bluetooth: Synchronise A2dp HAL and Btif state. During Remote initiate start stream, A2dp HAL and Btif states are not in sync, Audio HAL in Suspend and Btif in Start state hence Audio HAL cannot send Suspend command. Change is made to synchronise A2DP HAL and Btif State by sending a CHECK_STREAM_Ready Command. CRs-Fixed: 549210 Change-Id: I5da46c433ec44b94afc4151facc0894fcb88759a Bluetooth: Handle Open after set_config - handle priority check from idle state - handle open after set_config# - changed queue size to 24 Change-Id: I0317dc5ff0e364d35723d74aa36a03ac42503e26 Bluetooth: Fix Crash due to random Connection While connecting randomly between paired headsets rc_handle was not initialised properly and this was causing crash while trying to retrieve peer device features. Change-Id: I4f93d541f616ca2c2bbb1e7871740264b20e3de4 CRs-Fixed: 465980 Add devices to Avrcp Absolute Volume Whitelist Add devices to absolute volume whitelist as these devices are tested to be functioning fine. Change-Id: I2a0c7ae8fd2ff83320327ee08d6d27025134520d
* Allocate buffer for SDP in StackAnubhav Gupta2015-10-061-4/+9
| | | | | | | | | | | | | Remove buffer allocation in BTA while going for SDP before triggering A2dp connection. This strategy is followed to address memory corruption issues due to freeing of BTA buffer before SDP RSP call back is triggered and access the freed buffer from there, leads to crash when running codemonicom tests. The change allocates and frees buffer in stack. Change-Id: I4cf0967a284ef900df3c9aeda18c83cc48ef0c01
* Collapse more feature flags.Sharvil Nanavati2015-03-161-56/+1
| | | | Start reviewing in include/bt_target.h.
* Make build more strict by adding more warning flags.Sharvil Nanavati2015-03-161-2/+1
| | | | | | This change introduces -Wunused-but-set-variable to help catch programming errors. It also undefines NDEBUG so assertions are fatal and defines LOG_NDEBUG=1 to suppress LOGV.
* Removing unnecessary BTAPI #defines.June R. Tate-Gans2015-03-161-3/+3
|
* am 158084e0: Logging cleanup: A2D, AVDT, and AVCT.Sharvil Nanavati2014-06-281-4/+4
|\ | | | | | | | | * commit '158084e065230a10ffeba6b24ab2fd22b422baed': Logging cleanup: A2D, AVDT, and AVCT.
| * Logging cleanup: A2D, AVDT, and AVCT.Sharvil Nanavati2014-06-191-4/+4
| | | | | | | | Change-Id: I5a9d4bcdd65f6e965b434bf86949bba7155fd300
* | Fix compiler/linker errors when A2D_SC_INCLUDED is FALSEMike J. Chen2014-04-011-2/+56
|/ | | | | Change-Id: I716927939c0f3090f16be4b2329ef22d9a6ca734 Signed-off-by: Mike J. Chen <mjchen@google.com>
* Snapshot cdeccf6fdd8c2d494ea2867cb37a025bf8879bafThe Android Open Source Project2012-12-123-0/+879
Change-Id: Ia2de32ccb97a9641462c72363b0a8c4288f4f36d