- Nov 10, 2016
-
-
Myles Watson authored
Test: mma -j32 Change-Id: Ic945ac421b1918527105c59674eda89afd3d4126
-
Myles Watson authored
clang-format -i --style=file bta/*/* (twice) Test: mma -j32 Change-Id: Ib118b1dfb6a34f9a5bfe153d65841e9041165264
-
Myles Watson authored
bta: Separate includes of different types Include "bta_sys.h" in bta/dm/bta_dm_int.h Test: mma -j32 Change-Id: I292bc6518230201e1175937b9c6766c19709c9d5
-
Myles Watson authored
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
-
- Nov 09, 2016
-
-
Myles Watson authored
clang-format -i --style=file include/* Test: mma -j32 Change-Id: Ibfb31af3fa82cfd6021fdc3203381b91e57bb71e
-
Myles Watson authored
In preparation for clang-format, fix a few comments that would have been mangled. Test: mma -j32 Change-Id: I7194818e93432f8bad4d7c114a93025e217aa694
-
- Nov 08, 2016
-
-
Myles Watson authored
Test: mma -j32 Change-Id: I2d0df65001c82b37f001ba4697e58c206f2a4b9c
-
Pavlin Radoslavov authored
This reverts commit ec7a3f8f. Change-Id: I862272c682409778dce356c8cba497ea4b78b14d
-
- Nov 07, 2016
-
-
Treehugger Robot authored
-
Marie Janssen authored
Simplify the code surrounding passthrough commands and responses since we send them all up to the upper layer now. Test: basic AVRCP control from a carkit Change-Id: I1d1e22454471a9948df6602b34ae767d7091197c
-
Andre Eisenbach authored
Bug: 32378402 Test: manual Change-Id: Iac8684bdfd02b18cce260bedefb829e8f7285361
-
Marco Nelissen authored
Test: build/boot Change-Id: I8aa5cb6c5351d04daf7117cf8bb983da50d4b089 (cherry picked from commit af8b51c4061a5d0c18841195dfa1f4deaf9179b5)
-
- Nov 04, 2016
-
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Ayan Ghosh authored
VolksWagan UHV Preminum takes time to initiate AVDTP media channel after AVDTP signalling channel is up. If mentioned duration exceeds 7 seconds then ACL link goes into sniff due to which A2dp Connection fails. With this change we make sure that when AVDTP signalling channel is up and media channel is not connected we do not go to sniff, which is achieved by restarting sniff timer on signalling channel up so that link does not go to sniff in between ongoing connection. Change-Id: Ic3f268703067155ffd55a43f320ce199641c6b3f
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Arun Jagadish authored
Enables the bits for AVRCP Vol UP, VOL Down and Mute based on ICS document. Change-Id: I50cdd97812b260812edf4d005c4dd95177d53426 Signed-off-by:
Arun Jagadish <arun.jagadish@intel.com>
-
Jack He authored
This fixes a potential NULL-pointer reference crash in case btm_find_dev() returns NULL. Test: mm -j 8 Change-Id: Ic154b872ca84b4e9e8bc57803a4d9ee7c1665204
-
Anubhav Gupta authored
- Start listening for incoming AVRCP connection if we have only AVRCP Controller - Update default peer_features based on feature mask. In case of incoming AVRCP connection, SDP will be done later. In such a scenario default peer features sent to btif should be based on features-set selected during initialization. Test: code compilation Change-Id: Ied8ac0673288a4423bd41500985366ddc2c567a8
-
Matadeen Mishra authored
Use case: register/unregister HDP from third party APK Test Steps: 1.Install Any Test APK which internally registers/unregister the HDP. 2.Run Test APK. 3.Do initialization of Test APK which internally registers the HDP. 4.Force stop the Test APK. 5.And rerun the APK by going back test APK menu. 6.Now it never perform the re-register the HDP as part of initialization. Root Cause: HDP registration related counter write operations are done in JNI main thread, and it's been referenced in BTIF thread.Sometimes, if the context switch to BTIF thread doesn't happen immediately after counter increment/decrement, it may not un-register the app if the counter becomes 0. Fix: Fixed it by making all operations related to counter in BTIF thread, so that de-registration happens for all HDP APPs. Test: code compilation. Change-Id: I71ace68a5f3d39d81b646f5f40c02ce56b9e93f0
-
Srinu Jella authored
- Sometimes before receiving the connection complete event from remote device, upper layer might send a disconnection on incomplete L2CAP connection, and expects notification of connection failure. - This change notifies disconnection to upper layers with error in case L2CAP disconnection is received on incomplete L2CAP channel. Test: code compilation. Change-Id: I4ab675329b3d791a3f68101495a6e6d90b13bde4
-
Marie Janssen authored
In an effort to simplify and reduce errors, replace pthread_mutexes with std equivalents. Test: run unit tests & manual sanity checks Change-Id: Ia6492b0007dca311ebd1579f52b206993b7535fd
-
Andre Eisenbach authored
Change-Id: Id022d0c98ab3bddc8ceabef148a6c8d1cc4f0bc8
-
Treehugger Robot authored
-
Jakub Pawlowski authored
Test: mma -j45 Change-Id: Ieadd33bfe1be9439e1aeb9a7844260a6e33d8dcd
-
Treehugger Robot authored
-
- Nov 03, 2016
-
-
Andre Eisenbach authored
|data| may be NULL if the RSSI request times out. See btm_read_rssi_timeout implementation for details. Bug: 32587130 Test: manual Change-Id: I12ad78ecf5f5859bee7e1536956756bc16d7e54e
-
Jakub Pawlowski authored
Test: mma -j45 Change-Id: Ia96e87460a22c9c14ba682d07dfcb3bf5479add8
-
Sanket Agarwal authored
Since the timer callback requires copy of the passed argument, it is not a good idea to pass non-constant data. Instead passing handle since lookup based on the handle is safe against possible corruption. Bug: b/32610667 Change-Id: I02270b0f52d79310e2db8cf218f624eeb674b9c8
-
- Nov 02, 2016
-
-
Sanket Agarwal authored
In case A2DP is not enabled we are still executing the shut down path which is leading to a race condition and posting to a thread queue which is never created. Bug: b/32610895 Change-Id: Id0cf95f4c7b5be26be28db5e837fbca3a0a87072
-
Pavlin Radoslavov authored
* Update bta_av_co_audio_getconfig() to select the preferred codec * Fix a bug in selecting the A2DP codec inside bta_av_co_audio_set_codec() * No need for function A2DP_ParsSbcMplHdr() to be exposed in the API * Generalize the following APIs, so they can be used to redirect the call for vendor-specific codecs: - A2DP_CodecSepIndexStr() - A2DP_InitCodecConfig() - A2DP_SetSourceCodec() * Change tA2DP_ENCODER_INIT_PARAMS.SamplingFreq from uint16_t to uint32_t so it can store larger sampling frequency. * Rename content protection constants from BTA_AV_CP_* to AVDT_CP_* and move them from bta_av_co.h to avdt_api.h * Rename some of the internal functions in a2dp_sbc.cc * Add extra debug logging and fix some comments Test: A2DP streaming, unit tests passing Change-Id: I1b67ff18dc568dd859429fcd89c644799fb1438d
-
Jakub Pawlowski authored
-
- Nov 01, 2016
-
-
Satish Kodishala authored
Test case: 1. Connect Plantronics backbeat PRO headset. 2. Initiate outgoing call from phone. 3. Accept the call from remote side and terminate call. 4. Try to redial from headset and observe Failure: AG is sending error for redial request from BT headset. Root cause: Sometimes, the number in CLCC response has "-". Repeated from the headset, the ATD string has "-" which is not allowed in the dial string for ATD and errors. Fix: * Sanitize CLCC response to only include valid ATD characters. * Accept "-" in ATD because it works for us. Change-Id: I854165c7da295f428852c829543eb4fc18455d91
-
Jakub Pawlowski authored
This patch removes BLE_PERIPHERAL_MODE_SUPPORT and all code related to it, which is unused. Bug: 30622771 Bug: 24099160 Change-Id: Ic9cc2a94c8d1b974814d453ee8a0073e7d6deb85
-
Jakub Pawlowski authored
-
Treehugger Robot authored
-
Jakub Pawlowski authored
Advertising related code should be exposed through BleAdvertiserInterface. Move client.listen function into this interface. Remove reduntant clientif parameter. Bug: 30622771 Bug: 24099160 Test: no tests necessary Change-Id: Icc865c062e3d7c4b83bbeea6ff5b08bd2c1c4d9a
-
Treehugger Robot authored
-