summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* When Bluetooth disable is initiated, terminate pending bonding setup, and ↵Ravi Nagarajan2012-07-144-5/+23
| | | | | | reset control blocks on startup/init Change-Id: Iddc37e60ddb712de4af39a25f3c2e5bc7b11410d
* If peer initiates connection and does SETCONFIG, if the SETCONFIG is for SBC ↵Ravi Nagarajan2012-07-141-4/+27
| | | | | | codec, use the same SEID, else discover to find out the SEPs supported Change-Id: I4d362e1cb5c7b702be26d10f257274e54d7b6dd7
* Ensure we ack back suspend request if we are not ready for itMattias Agren2012-07-145-41/+120
| | | | | | | Block audioflinger/a2dp hal from trying to restart stream while we are remotely suspended. Change-Id: I17577306f1be248857a8484a22a8a14cb956ec19
* Updated preferred SBC settings to only allow 44.1 khz to match theMattias Agren2012-07-141-1/+1
| | | | | | audioflinger audiostream Change-Id: Ifd983b0fdea0dd24b21a2f3fdf3bfeeec486b63d
* After calling BTA_HHOpen(), sending a HAL callback for connection state ↵Syed Ibrahim M2012-07-141-0/+1
| | | | | | | | | | | | changed to BTHH_CONN_STATE_CONNECTING to sync up the HIDService java class to the right connection state. On branch main_syedibra_1462879 Changes to be committed: (use "git reset HEAD <file>..." to unstage) modified: btif/src/btif_hh.c Change-Id: If6e00b0ea4bc0195577b6ee4ce9aa0a899f8b44e
* Fix for BLTH01456966 : Clear stack's connection queue when the BT is disabledGanesh Ganapathi Batta2012-07-143-0/+28
| | | | Change-Id: I075e5f95d354d81925b9dbfd06ae89efa8bf6eb3
* Modified the BT stack to check for HID_VIRTUAL_UNPLUG SDP attribute and send ↵Syed Ibrahim M2012-07-144-5/+14
| | | | | | a virtual unplug for all HID devices for device disconnect event; Change-Id: I0068958800103037998eeaa01a45aad1f1605729
* If the peer supports both source and sink role, peer initiated connections ↵Ravi Nagarajan2012-07-141-1/+3
| | | | | | were ending up in a bad state (infinite loop). Resolve this by terminating the getcap on successful codec match Change-Id: I8d669f4ff06284e601525e3b4ab025f10fd4abeb
* Fix for hdp channel disconnect when connection is initiated from sourcePriti Aghera2012-07-141-7/+53
| | | | Change-Id: Ifffb8a96c3d553e5c15f1c284da30ad62fe93a91
* Fix for HID keyboard key stuck issuePriti Aghera2012-07-145-2/+7
| | | | Change-Id: Icd1d3fc78722244f24ebc5a31bc5900a69704996
* Fix for app not getting timeout notification while SSP pairingSwaminatha Balaji2012-07-141-0/+19
| | | | Change-Id: I9137c1313e9e132d71f61ff571af683f8ca6728b
* Increase MAX_L2CAP_LINKS to 7(from current 4) and add definition to ↵Ganesh Ganapathi Batta2012-07-145-0/+5
| | | | | | Bdroid_<target>.txt file Change-Id: I1db3ef639846b743cc3841fa83ffe4c2379233d5