summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Send auth fail for both auto & non-auto pair triesRavi Nagarajan2012-08-091-1/+2
| | | | | | | | | Both when auto-pair attempts exceeded or when auto-pair was not attempted, but authentication failure was observed, send auth fail to upper layer bug 6936335 Change-Id: Ieafd0c6bbc57fb36cf4c2c450556e4df7ec23a1a
* Fix issue with passing wrong str len to java layerGanesh Ganapathi Batta2012-08-092-3/+3
| | | | | | | Send only length of string to Java instead of length +1 from btif for local Bluetooth name, Remote name and Friendly name for paired devices. Change-Id: I4e822db62eb2affaadad283c6ceb2a368e3b107c
* Revise BT vendor lib interface (1/2)YK Jeffrey Chao2012-08-096-103/+202
| | | | | | | | | 1. Move UART port configuration into vendor lib to respect the fact that each vendor might have different UART port settings for its own chipsets. 2. Detail bt_vendor_lib.h header file with usage instructions. Change-Id: I10dc44afd9b3cc1985769166a717089728281296
* choose generic one if there is no board specific configurationKeun young Park2012-08-011-0/+4
| | | | | | - fix PDK mini builds Change-Id: Ic5cd4975210f70d028938b1f306ea38de27191a4
* Add bdroid_mako.txtBrian Muramatsu2012-07-271-0/+171
| | | | | | This is a copy of broid_generic.txt for now. Change-Id: Ia48bdbde2e7c2ca45cd57927182253c75cfbb252
* Manta Change default Bluetooth device name from Nexus 7 to Nexus tabletMatthew Xie2012-07-271-1/+1
| | | | Change-Id: I95563503209c9166ef5998a02683d700ed8eef5f
* HCI/Vendor lib: revise the way of making baud rate change (1/2)YK Jeffrey Chao2012-07-264-69/+14
| | | | | | | | | | | | | | | | The original baud rate change was done through closing the existing UART port then reopening UART port at new baud rate. It was reported that this approach would cause trouble on some platforms which spits out false start-bit signal on UART bus during port close and open process. Revise the way of doing baud rate change to use terminal I/O (termios) control functions. Change-Id: I18ab5a234576147dd9185eafd1e57d3b4e3fa2bd Conflicts: hci/src/userial.c
* Fix for BT-OFF hung issue seen in BT on/off instrumentation test.YK Jeffrey Chao2012-07-261-4/+4
| | | | | | | | | | | | From time to time, we had seen some GKI_exception error messages showing up in adb log during turning BT off. Those were triggered by a HCI event which arrived after BTU task had been terminated. The early termination of BTU task had also become a contributing factor to the BT-OFF hung issue. Revise the termination sequence between BTU and HCI/Vendor tasks to address the issues. Change-Id: I094104943275b3b1fb95aef514936e28394615eb
* Fix for CR BLTH01539543Ganesh Ganapathi Batta2012-07-2614-28/+32
| | | | | | Define max L2CAP channels to be 16 and combine MAX_L2CAP_LINKS and MAX_BD_CONNECTION into one definition Change-Id: Ib5cb95f5829400b2182beb3c8409142a20b8fb95
* Fix build breakage: Revert "Fix for CR BLTH01539543"Ed Heyl2012-07-256-16/+12
| | | | This reverts commit 3ec3b30a9d39c24437f30b98539b542a24e6737d.
* Fix for CR BLTH01539543Ganesh Ganapathi Batta2012-07-256-12/+16
| | | | | | Define max L2CAP channels to be 16 and combine MAX_L2CAP_LINKS and MAX_BD_CONNECTION into one definition Change-Id: Ib5cb95f5829400b2182beb3c8409142a20b8fb95
* Fix for updating correct COD value after pairingSyed Ibrahim M2012-07-251-20/+19
| | | | | | | Set the correct pointer to properties[] array before sending HAL callback for remote_device_properties_cb Change-Id: I199566d5f4b5997aad6a5b2ca83b67c9b1bd108b
* Work around for CR BLTH01373902Ganesh Ganapathi Batta2012-07-252-0/+16
| | | | | | While enabling BT, Do not toggle the chip power if the target is wingray. Change-Id: If044361d51354cfd3695d84895dada4342ef28c8
* Handle RC_Close while AV_Closing to cleanup uinputKausik Sinnaswamy2012-07-251-0/+5
| | | | | | | | While AV disconnection is in progress, we need to handle the RC_CLOSE event from the stack to trigger the uinput cleanup. Otherwise we would leaking uinput FDs. Change-Id: I9e37eef7b1c0fa0d56e809f1bf5686235f782cb5
* Fix for unpair failure during music streamingKausik Sinnaswamy2012-07-251-1/+6
| | | | | | | Fix for a potential race condition where unpair was failing is music was streaming. The issue was due to the unpair callback not being invoked Change-Id: I5dff05abd238b4af3301495be05cbaa970d275d6
* Do not auto-resume when A2DPSuspended is FALSEKausik Sinnaswamy2012-07-251-2/+6
| | | | | | | | Instead if music was streaming prior to the suspend, we just set the state to STANDBY and expect the AVDTP start to be triggered when the first data packet is sent Change-Id: Ia1486033c251c637b1560c41f7e8e07ca2201136
* Fix for carkits that send PLAY without AVDTP STARTRavi Nagarajan2012-07-251-0/+7
| | | | | | | | | | Some carkits after send AVDTP SUSPEND right after RC PAUSE Per the whitepaper, the device sending AVDTP SUSPEND should send AVDTP START. However a few carkits send AVRCP PLAY without sending AVDTP START. Added a workaround to reset the remote suspend flag when an AVRCP PLAY is received Change-Id: If12e55b4d905b03890c69c2137f363986482ab1a
* configure avdtp signalling timeout to default value (4 secs)Mattias Agren2012-07-2522-11/+12
| | | | | | | | | | | also added mutex protection for any a2dp control path signalling to ensure only one outstanding request at a time Change-Id: I06d95793a8632f6a8baec967a1d8440ecce8a65d Conflicts: audio_a2dp_hw/audio_a2dp_hw.c
* Get the vendor interface as a structure pointer instead of functionMatthew Xie2012-07-201-12/+4
| | | | | | | We donnot need the extra function to return the interface. bug 6853945 Change-Id: I693aa9f068a64ee5a5e9bc5ff3cc82ecf59d5de1
* Merge "add a bdroid file for panda"Jean-Baptiste Queru2012-07-191-0/+171
|\
| * add a bdroid file for pandaJean-Baptiste Queru2012-07-191-0/+171
| | | | | | | | Change-Id: I211f65ed1dd47f252082dcc2bd00c34df9c89ee8
* | Merge "Use dlopen to avoid compile time linking against libbt-vendor.so"Jean-Baptiste Queru2012-07-192-3/+20
|\ \ | |/ |/|
| * Use dlopen to avoid compile time linking against libbt-vendor.soColin Cross2012-07-172-3/+20
| | | | | | | | | | | | | | libbt-vendor.so is in vendor/, and shouldn't be compile-time linked against from external/. Use dlopen instead. Change-Id: Iefc2d5232506ce8e60a6e5dd93328332549daa1e
* | Fixed x86 build with GCC 4.6 compilerAndrew Hsieh2012-07-181-1/+1
| | | | | | | | | | | | | | | | | | | | The GCC 4.6 compiler generates lots of warnings treated as errors thanks to -Werror. Add the following flags before code is cleanup and ready. -Wno-error=maybe-uninitialized -Wno-error=uninitialized Change-Id: I2f492433722e7f4614e00e627bc8eb5f074a878f
* | Change name.Mike J. Chen2012-07-181-1/+1
| | | | | | | | | | Change-Id: I538421eada5d2d9349d7824cf03b9ed33f21d1c0 Signed-off-by: Mike J. Chen <mjchen@google.com>
* | add feature configuration for full_tunaMatthew Xie2012-07-181-0/+171
| | | | | | | | Change-Id: I3c98b9c3bf0092495f93df7a531b9e14590910df
* | add feature configuration file for sdk_x86 buildMatthew Xie2012-07-181-0/+171
| | | | | | | | | | It's the same as sdk feature configuration Change-Id: I2bed16daf99bf76fd018ad300e4ecd3f87722597
* | Add feature definitions for phatansmMatthew Xie2012-07-171-0/+171
|/ | | | Change-Id: I33ae2c1ec34630e10ee9003a340b310e04b1dba5
* Add bluetooth feature defintion file to get SDK build to compileMatthew Xie2012-07-171-0/+171
| | | | | | Followed maguro build. Change-Id: I7e6d21e803b41811d6d8871239ea7939aaf9e886
* Add feature definitions for stingray and mantaMatthew Xie2012-07-172-0/+352
| | | | | | | Stingray follows wingray manta follows grouper, BT cannot be turned on on manta yet Change-Id: I195c0f7b82e9a31644229105e10e1f2273b06b97
* Remove unused feature defines.Matthew Xie2012-07-141-29/+2
| | | | | | | Remove unused feature defines to match up the code cleaning of wingray. Change-Id: I779da53f24d5024387fbfc7db12a7afb8f6699a3
* Gaurd out_standby() API with mutexMatthew Xie2012-07-141-3/+10
|
* interwork with new audio.h prototypesMatthew Xie2012-07-141-21/+24
|
* fix strncat overflow compiler errorMatthew Xie2012-07-141-1/+1
|
* add config file for nakasiMatthew Xie2012-07-141-0/+203
|
* make HAL_MODULE_INFO_SYM non constMatthew Xie2012-07-141-1/+1
|
* replace logx with alogxMatthew Xie2012-07-1433-166/+164
| | | | | | | | | | | | | | | | | Conflicts: btif/src/btif_core.c btif/src/btif_dm.c btif/src/btif_hh.c btif/src/btif_sock.c gki/ulinux/gki_ulinux.c hci/include/bt_hci_bdroid.h hci/src/bt_hci_bdroid.c hci/src/btsnoop.c hci/src/hci_h4.c hci/src/userial.c vendor/libvendor/src/hardware.c vendor/libvendor/src/upio.c
* Send SCO_AUDIO_CONNECTING on connect_audioKausik Sinnaswamy2012-07-142-0/+35
| | | | | | | | This translates to AUDIO_STATE_CHANGED intent with state STATE_AUDIO_CONNECTING which is needed for AudioService/AudioManager to suspend music Change-Id: I1293c105aaf1486f046620d5778c680908aad362
* resubmit code-cleanup changes lost in gerrit mergeSrikanth Uppala2012-07-14158-69033/+11
| | | | Change-Id: Iebc520d9b10ef220a83a16ff55efa46b4c5a0d27
* Handle AG SLC setup timeoutRavi Nagarajan2012-07-143-2/+6
| | | | | | If the AG SLC is not setup within 10 seconds, disconnect the link Change-Id: If60338e821e575bf46bb81a5f3a640b7d530eb2f
* Notify bond state change prior to UuidsChangedRavi Nagarajan2012-07-141-6/+10
| | | | | | | | UuidsChanged event will force the Settings app to fetch the bonded devices list. Thus, bond state change event needs to be sent prior to sending SDP data (uuids) Change-Id: I15c420f477c89780022c28b47a3f7c1cd1b20aeb
* Fixed rename issuePriti Aghera2012-07-141-1/+2
| | | | | | Unknow characters were added while storing adapter name to storage sonetimes Change-Id: I081942cfb7be93cdbe0f5cd3d9fc9edef333a794
* Send PAN disconnecting event on local side disconnect initiationKausik Sinnaswamy2012-07-142-1/+33
| | | | | | | When the local side initiates disconnection, bluedroid should send diconnecting event, otherwise the instrumentation tests do not pass. Change-Id: Ic21a905407814c2117c04044c2799ea17a16d33b
* Handle service discovery failureRavi Nagarajan2012-07-141-4/+7
| | | | | | | | | For HID connection, hid and sdp connections could be attempted at the same time. Some devices, that are short on resources, do not handle this well, and reject our SDP L2CAP connection. SDP discovery failure was not handled, leading to GKI exception. This has been resolved Change-Id: Ib49d66c62a2d05a83b44b733d3c9c4259b5d4c6f
* Send bond_state_bonded only after SDP is completeKausik Sinnaswamy2012-07-141-1/+9
| | | | | | | | | With instrumentation tests, there were race conditions where the while SDP was in progress after bonding, the next iteration of bonding was triggerred. The fix was to ensure that the bonded callback is sent only after SDP is complete Change-Id: I07269b9188aa00eb91f8ecc089b9beb7dbff7af6
* Store all remote properties upon incoming pairingRavi Nagarajan2012-07-141-29/+55
| | | | | | | | When an incoming pairing request is received, store all the remote device properties - name, cod and type. Failing which results in an exception when upper layer tries to access remote device properties Change-Id: I7f5d27a90319a78cefc05873e74f1b322bbce8ac
* Not invoking adapter_bonded_devices_cb on Pairing.Kausik Sinnaswamy2012-07-141-7/+0
| | | | | | | | Calling adapter_bonded_devices_cb on Pairing was causing a race condition in certain scenario which resulted in bond_state_change intent being dropped. Change-Id: Ifa98331ad3a89d5b48b01f91a70db7fa660c7b26
* Fixed the BTIF_HL to exit the select thread and close the signal FDs when ↵Syed Ibrahim M2012-07-142-1/+45
| | | | | | | cleanup() is called. This stops the signal FDs to be leaked for every BT on/off cycle Closed the open FDs in univ_linux.c to stop FD leaks during BT on/off cycles Change-Id: I86af438dc1186e12aa1f18fd44bcc89343ef5489
* Override the CIND response to match HFP 1.5Ravi Nagarajan2012-07-141-0/+5
| | | | Change-Id: Ic21c4ee8bfb278bb5859ad6b0f9f02f5a3104202
* Fixed HID seg fault crashPriti Aghera2012-07-141-1/+0
| | | | Change-Id: Ib5e1342b4fba98fa5651ed8428f5580ad54a3332