OSDN Git Service

android-x86/external-bluetooth-bluedroid.git
11 years agoam 72912851: (-s ours) Reconcile with jb-mr2-release - do not merge
The Android Open Source Project [Wed, 26 Jun 2013 00:02:17 +0000 (17:02 -0700)]
am 72912851: (-s ours) Reconcile with jb-mr2-release - do not merge

* commit '72912851ec38b96570ab60d19c175db1c73d53b5':
  Do not abort bonding if link disconnects during SDP after Auth cmplt

11 years agoam 29a69a11: am ec7e2c8e: Do not abort bonding if link disconnects during SDP after...
Ganesh Ganapathi Batta [Wed, 26 Jun 2013 00:01:57 +0000 (17:01 -0700)]
am 29a69a11: am ec7e2c8e: Do not abort bonding if link disconnects during SDP after Auth cmplt

* commit '29a69a1144fc42d3742bacb9acee89a612cbf8b3':
  Do not abort bonding if link disconnects during SDP after Auth cmplt

11 years agoReconcile with jb-mr2-release - do not merge
The Android Open Source Project [Tue, 25 Jun 2013 23:11:45 +0000 (16:11 -0700)]
Reconcile with jb-mr2-release - do not merge

Change-Id: I3582cf75047d93865faeb93e56a8dd10c6f83f8e

11 years agoDo not abort bonding if link disconnects during SDP after Auth cmplt
Ganesh Ganapathi Batta [Thu, 20 Jun 2013 18:00:28 +0000 (11:00 -0700)]
Do not abort bonding if link disconnects during SDP after Auth cmplt

If ACL link gets dropped during service search after bonding,
re-attempt service search instead of setting bond state to BOND_NONE
Bug 8611134

Change-Id: I77672d9f4feab634b3795a41e0d4e58903b5d275

11 years agoam ec7e2c8e: Do not abort bonding if link disconnects during SDP after Auth cmplt
Ganesh Ganapathi Batta [Tue, 25 Jun 2013 21:54:32 +0000 (14:54 -0700)]
am ec7e2c8e: Do not abort bonding if link disconnects during SDP after Auth cmplt

* commit 'ec7e2c8e06396101c6b26187995db7c105ed3c3f':
  Do not abort bonding if link disconnects during SDP after Auth cmplt

11 years agoDo not abort bonding if link disconnects during SDP after Auth cmplt
Ganesh Ganapathi Batta [Thu, 20 Jun 2013 18:00:28 +0000 (11:00 -0700)]
Do not abort bonding if link disconnects during SDP after Auth cmplt

If ACL link gets dropped during service search after bonding,
re-attempt service search instead of setting bond state to BOND_NONE
Bug 8611134

Change-Id: I77672d9f4feab634b3795a41e0d4e58903b5d275

11 years agoRemoved COD check for unbond and UNPAIRED_EVT
Ganesh Ganapathi Batta [Thu, 16 May 2013 00:58:35 +0000 (17:58 -0700)]
Removed COD check for unbond and UNPAIRED_EVT

PC supporting HID Device would not have Peripheral as
its MAJOR COD. So COD check for major peripheral device was removed
in case of UNBOND and while receiving UNPAIRED_EVT. Additonal checking
is done when virtual unplug evt is received to remove bonding only for
HID Devic with MAJOR COD as Peripheral or if its a locally initiated
VUP.

Change-Id: I5343919463e48babc9cd03e05ff92a3f93f6d26d

11 years agoam ebfa4720: (-s ours) Reconcile with jb-mr2-release - do not merge
The Android Open Source Project [Thu, 30 May 2013 21:24:15 +0000 (14:24 -0700)]
am ebfa4720: (-s ours) Reconcile with jb-mr2-release - do not merge

* commit 'ebfa47201fcac5d4f5772ac49bef186f8fc27f89':

11 years agoReconcile with jb-mr2-release - do not merge
The Android Open Source Project [Thu, 30 May 2013 14:31:27 +0000 (07:31 -0700)]
Reconcile with jb-mr2-release - do not merge

Change-Id: Ib7391931437918b090222401b2ef7c3c26f0b667

11 years agomerge in jb-mr2-release history after reset to jb-mr2-dev
The Android Automerger [Thu, 30 May 2013 12:55:24 +0000 (05:55 -0700)]
merge in jb-mr2-release history after reset to jb-mr2-dev

11 years agoam 67f5817f: am 77d1cb6f: Fix for AV lockup on local and remote start collision
Kausik Sinnaswamy [Wed, 29 May 2013 22:56:58 +0000 (15:56 -0700)]
am 67f5817f: am 77d1cb6f: Fix for AV lockup on local and remote start collision

* commit '67f5817f1526faa64d3720c2c3d471117c520de8':
  Fix for AV lockup on local and remote start collision

11 years agoam 77d1cb6f: Fix for AV lockup on local and remote start collision
Kausik Sinnaswamy [Wed, 29 May 2013 22:56:04 +0000 (15:56 -0700)]
am 77d1cb6f: Fix for AV lockup on local and remote start collision

* commit '77d1cb6ff904b48ee85c09a06c5e05dd0ed049b9':
  Fix for AV lockup on local and remote start collision

11 years agoFix for AV lockup on local and remote start collision
Kausik Sinnaswamy [Wed, 22 May 2013 10:48:31 +0000 (16:18 +0530)]
Fix for AV lockup on local and remote start collision

Bug: 7002859

Change-Id: I6170be864b44011b98e08d7e2599021a3eec70a3

11 years agoam d970d9e5: (-s ours) Reconcile with jb-mr2-release - do not merge
The Android Open Source Project [Wed, 22 May 2013 14:27:41 +0000 (07:27 -0700)]
am d970d9e5: (-s ours) Reconcile with jb-mr2-release - do not merge

* commit 'd970d9e56173111f9e016a5a0c9f5e532758eefb':

11 years agoReconcile with jb-mr2-release - do not merge
The Android Open Source Project [Wed, 22 May 2013 14:22:49 +0000 (07:22 -0700)]
Reconcile with jb-mr2-release - do not merge

Change-Id: I0497c8b9687906dfa54125cd9298a2474f423e3e

11 years agomerge in jb-mr2-release history after reset to jb-mr2-dev
The Android Automerger [Wed, 22 May 2013 12:55:12 +0000 (05:55 -0700)]
merge in jb-mr2-release history after reset to jb-mr2-dev

11 years agoam b5de2bb1: am 5ae72cf0: Media profile drop on ending the outgoing video call and...
Zhihai Xu [Tue, 21 May 2013 17:17:37 +0000 (10:17 -0700)]
am b5de2bb1: am 5ae72cf0: Media profile drop on ending the outgoing video call and music is heard locally

* commit 'b5de2bb12924525804f7569a1d6ac0af4e0d278d':
  Media profile drop on ending the outgoing video call and music is heard locally

11 years agoam 5ae72cf0: Media profile drop on ending the outgoing video call and music is heard...
Zhihai Xu [Tue, 21 May 2013 17:14:22 +0000 (10:14 -0700)]
am 5ae72cf0: Media profile drop on ending the outgoing video call and music is heard locally

* commit '5ae72cf049004ac3c0f2f2bc048d1638a3b13d55':
  Media profile drop on ending the outgoing video call and music is heard locally

11 years agoMedia profile drop on ending the outgoing video call and music is heard locally
Zhihai Xu [Thu, 16 May 2013 00:29:44 +0000 (17:29 -0700)]
Media profile drop on ending the outgoing video call and music is heard locally

receive AVDTP_Suspend response rejection which cause the A2DP disocnnected.
There is collision of AVDTP_Suspend request:
We send AVDTP_Suspend request and the headset send AVDTP_Suspend request also at the same time.
then We send AVDTP_Suspend response, but the headset send AVDTP_Suspend response rejection
with error code bad state after it receive the AVDTP_Suspend response from us.
we call bta_av_suspend_cfm twice in this case:
the first time we will call bta_av_suspend_cfm without error after receive AVDTP_Suspend request from headset.
the second time we will call bta_av_suspend_cfm with error bad state after receive AVDTP_Suspend response rejection from headset.
To fix this problem, we should ignore the AVDTP_Suspend response rejection from headset
after receive AVDTP_Suspend request from headset.
After we receive AVDTP_Suspend request from headset, the scb state will be changed to AVDT_SCB_OPEN_ST from AVDT_SCB_STREAM_ST.
but when we receive AVDTP_Suspend response rejection from headset, we should ignore it when we are in AVDT_SCB_OPEN_ST.
and also currently we already ignore AVDTP_Suspend response when we are in AVDT_SCB_OPEN_ST,
I don't know why we didn't do it for AVDTP Suspend rejection.

issue 8735903

Change-Id: I8db3ea6e7e4edfea41f255e7e29b8c7255cf3d96

11 years agoam d49bbba5: (-s ours) Reconcile with jb-mr2-release - do not merge
The Android Open Source Project [Thu, 16 May 2013 12:44:31 +0000 (05:44 -0700)]
am d49bbba5: (-s ours) Reconcile with jb-mr2-release - do not merge

* commit 'd49bbba51d8d6a3aaed65715b87d251e3d181728':
  Solve compilation problem when BLE/GATT/SMP features are false
  Audio glitches while playing songs over MOTO S305 headset

11 years agoReconcile with jb-mr2-release - do not merge
The Android Open Source Project [Thu, 16 May 2013 12:43:22 +0000 (05:43 -0700)]
Reconcile with jb-mr2-release - do not merge

Change-Id: If30a4d2103f4851f0faa1a8cf5ccf685b18e0664

11 years agomerge in jb-mr2-release history after reset to jb-mr2-dev
The Android Automerger [Wed, 15 May 2013 12:55:18 +0000 (05:55 -0700)]
merge in jb-mr2-release history after reset to jb-mr2-dev

11 years agoam 2fca6e54: am 48ebe2c6: Preload timeout and retry mechanism (1/3)
YK Jeffrey Chao [Tue, 14 May 2013 23:23:12 +0000 (16:23 -0700)]
am 2fca6e54: am 48ebe2c6: Preload timeout and retry mechanism (1/3)

* commit '2fca6e548ff48988e63d3550d807b016192e0a77':
  Preload timeout and retry mechanism (1/3)

11 years agoam 48ebe2c6: Preload timeout and retry mechanism (1/3)
YK Jeffrey Chao [Tue, 14 May 2013 23:21:52 +0000 (16:21 -0700)]
am 48ebe2c6: Preload timeout and retry mechanism (1/3)

* commit '48ebe2c6928d8fd4dc97c8adb138c3440714dc89':
  Preload timeout and retry mechanism (1/3)

11 years agoPreload timeout and retry mechanism (1/3)
YK Jeffrey Chao [Wed, 24 Apr 2013 18:38:06 +0000 (11:38 -0700)]
Preload timeout and retry mechanism (1/3)

If the Preload process was stuck due to unknown hardware init failure,
a 8-second ENABLE_TIMEOUT timeout would be eventually expired in Java layer
at AdapterState and attempted to set BT state back to STATE_OFF.
However BluetoothManagerService did not handle this case accordingly and led
to state mis-matching between Java layer and BTIF at the end.

Add a timeout and retry mechanism to manage Preload process.
Clean up native space resource and explicitly report STATE_OFF back to Java
space when Preload did not go through.

bug  7566317

Change-Id: I99a225e524f2b951249618990a2d0a8a39b43ff3

11 years agoam 7cc4a7e9: am ebef4763: Added available size check to fix zero byte data available...
zzy [Tue, 14 May 2013 20:25:21 +0000 (13:25 -0700)]
am 7cc4a7e9: am ebef4763: Added available size check to fix zero byte data available issue

* commit '7cc4a7e9c97eba4990af3c4cecb0b950f7eca204':
  Added available size check to fix zero byte data available issue

11 years agoam ebef4763: Added available size check to fix zero byte data available issue
zzy [Tue, 14 May 2013 20:23:29 +0000 (13:23 -0700)]
am ebef4763: Added available size check to fix zero byte data available issue

* commit 'ebef4763b36b05370d13dfd27c4fcaa9095dbeff':
  Added available size check to fix zero byte data available issue

11 years agoAdded available size check to fix zero byte data available issue
zzy [Tue, 14 May 2013 00:34:41 +0000 (17:34 -0700)]
Added available size check to fix zero byte data available issue

Bug 8950703
      rfcomm connection failed in case zero byte data available

11 years agomerge in jb-mr2-release history after reset to jb-mr2-dev
The Android Automerger [Mon, 13 May 2013 12:55:20 +0000 (05:55 -0700)]
merge in jb-mr2-release history after reset to jb-mr2-dev

11 years agoam 83ecfd88: am 5fd74f06: Stability fixes for a2dp hal control path
Mattias Agren [Fri, 10 May 2013 22:16:50 +0000 (15:16 -0700)]
am 83ecfd88: am 5fd74f06: Stability fixes for a2dp hal control path

* commit '83ecfd882bec4f5761c4114c571b170c5a9376db':
  Stability fixes for a2dp hal control path

11 years agoam 5fd74f06: Stability fixes for a2dp hal control path
Mattias Agren [Fri, 10 May 2013 19:48:44 +0000 (12:48 -0700)]
am 5fd74f06: Stability fixes for a2dp hal control path

* commit '5fd74f06caab4324d0ba69df86ad5170c072ec64':
  Stability fixes for a2dp hal control path

11 years agoStability fixes for a2dp hal control path
Mattias Agren [Fri, 5 Apr 2013 17:04:35 +0000 (19:04 +0200)]
Stability fixes for a2dp hal control path

Ensure av statemachine is preventing a2dp hal to restart the stream
when not ready. This prevents ending up in a scenario where a2dp hal
locks up. Code cleanup.
bug 7002859

Change-Id: I3f3eeaab4ca185733b8b0042ed2cfa701f76a203

11 years agoam e1405531: am e915116a: Merge "Solve compilation problem when BLE/GATT/SMP features...
Matthew Xie [Fri, 10 May 2013 00:09:28 +0000 (17:09 -0700)]
am e1405531: am e915116a: Merge "Solve compilation problem when BLE/GATT/SMP features are false" into jb-mr2-dev

* commit 'e1405531f637a3851371a2a2c624ff3db5e074fa':
  Solve compilation problem when BLE/GATT/SMP features are false

11 years agoam e915116a: Merge "Solve compilation problem when BLE/GATT/SMP features are false...
Matthew Xie [Thu, 9 May 2013 23:23:34 +0000 (16:23 -0700)]
am e915116a: Merge "Solve compilation problem when BLE/GATT/SMP features are false" into jb-mr2-dev

* commit 'e915116a24142955edbc40a0e380b4828957c762':
  Solve compilation problem when BLE/GATT/SMP features are false

11 years agoSolve compilation problem when BLE/GATT/SMP features are false
Matthew Xie [Tue, 7 May 2013 03:51:02 +0000 (20:51 -0700)]
Solve compilation problem when BLE/GATT/SMP features are false

bug 8664724
Change-Id: I582846ccf4b8995f298d8db533488fceb7993ae3

11 years agoam f71a3f66: am 67e4077c: New call-in/-back functions for Controller to do vendor...
YK Jeffrey Chao [Thu, 9 May 2013 21:19:58 +0000 (14:19 -0700)]
am f71a3f66: am 67e4077c: New call-in/-back functions for Controller to do vendor-specific shutdown (1/2)

* commit 'f71a3f6695cf7f8c605c0ee5fb3623990c9d2e9b':
  New call-in/-back functions for Controller to do vendor-specific shutdown (1/2)

11 years agoMerge "Solve compilation problem when BLE/GATT/SMP features are false" into jb-mr2-dev
Matthew Xie [Thu, 9 May 2013 21:10:48 +0000 (21:10 +0000)]
Merge "Solve compilation problem when BLE/GATT/SMP features are false" into jb-mr2-dev

11 years agoam 67e4077c: New call-in/-back functions for Controller to do vendor-specific shutdow...
YK Jeffrey Chao [Thu, 9 May 2013 19:46:32 +0000 (12:46 -0700)]
am 67e4077c: New call-in/-back functions for Controller to do vendor-specific shutdown (1/2)

* commit '67e4077c23bb9cc045885ae01cc83b38faecb71b':
  New call-in/-back functions for Controller to do vendor-specific shutdown (1/2)

11 years agoNew call-in/-back functions for Controller to do vendor-specific shutdown (1/2)
YK Jeffrey Chao [Tue, 7 May 2013 23:28:52 +0000 (16:28 -0700)]
New call-in/-back functions for Controller to do vendor-specific shutdown (1/2)

A pair of asynchronous call-in and call-back API are added into the Host
Controller Vendor Lib interface (bt_vendor_lib.h). The caller calls this new
call-in function to inform the vendor module to perform vendor-specific
shutdown process (e.g. send HCI_RESET to BT Controller) before the caller calls
for interface cleanup() function. The vendor module is responsible for calling
call-back function to notify the caller completion of vendor-specific shutdown
process.
bug 7390787

Change-Id: I29e3c94ff78e17cdd7a06b44ae537e3b0ad1516d

11 years agoSolve compilation problem when BLE/GATT/SMP features are false
Matthew Xie [Tue, 7 May 2013 03:51:02 +0000 (20:51 -0700)]
Solve compilation problem when BLE/GATT/SMP features are false

bug 8664724
Change-Id: I582846ccf4b8995f298d8db533488fceb7993ae3

11 years agoam ca6f7b39: am ed049d78: Remove role adjustment logic from Conn busy/idle handler
Ganesh Ganapathi Batta [Wed, 8 May 2013 22:03:18 +0000 (15:03 -0700)]
am ca6f7b39: am ed049d78: Remove role adjustment logic from Conn busy/idle handler

* commit 'ca6f7b39b499811667f475d7e967b9e454ecb863':
  Remove role adjustment logic from Conn busy/idle handler

11 years agoam 2731808c: am 88c66598: Merge "Fix a bug on jv and stack port handle conversion...
Matthew Xie [Wed, 8 May 2013 22:03:13 +0000 (15:03 -0700)]
am 2731808c: am 88c66598: Merge "Fix a bug on jv and stack port handle conversion" into jb-mr2-dev

* commit '2731808c048bb9f2d9f8a911971f018bfa2e243b':
  Fix a bug on jv and stack port handle conversion

11 years agomerge in jb-mr2-release history after reset to jb-mr2-dev
The Android Automerger [Wed, 8 May 2013 12:55:17 +0000 (05:55 -0700)]
merge in jb-mr2-release history after reset to jb-mr2-dev

11 years agoam ed049d78: Remove role adjustment logic from Conn busy/idle handler
Ganesh Ganapathi Batta [Tue, 7 May 2013 22:10:08 +0000 (15:10 -0700)]
am ed049d78: Remove role adjustment logic from Conn busy/idle handler

* commit 'ed049d78633d33d4fbb3178dacfa6edbb756ae45':
  Remove role adjustment logic from Conn busy/idle handler

11 years agoRemove role adjustment logic from Conn busy/idle handler
Ganesh Ganapathi Batta [Fri, 12 Apr 2013 18:57:50 +0000 (11:57 -0700)]
Remove role adjustment logic from Conn busy/idle handler

Each call into connection busy/idle handler should not result in
Role adjustments except for AV profiles.
Bug:8322094

Change-Id: I1eba2c428e877772614052396315c6f0467d3378

11 years agoam 88c66598: Merge "Fix a bug on jv and stack port handle conversion" into jb-mr2-dev
Matthew Xie [Tue, 7 May 2013 21:30:48 +0000 (14:30 -0700)]
am 88c66598: Merge "Fix a bug on jv and stack port handle conversion" into jb-mr2-dev

* commit '88c665988c7ae5e1a6dadd4df944b49cff1d1fca':
  Fix a bug on jv and stack port handle conversion

11 years agoMerge "Fix a bug on jv and stack port handle conversion" into jb-mr2-dev
Matthew Xie [Tue, 7 May 2013 21:28:22 +0000 (21:28 +0000)]
Merge "Fix a bug on jv and stack port handle conversion" into jb-mr2-dev

11 years agoFix a bug on jv and stack port handle conversion
Matthew Xie [Mon, 6 May 2013 07:55:08 +0000 (00:55 -0700)]
Fix a bug on jv and stack port handle conversion

bug 8755557

Change-Id: Id639677aa4bc6322fed0eb1a842d1155cdcdd5fc

11 years agomerge in jb-mr2-release history after reset to jb-mr2-dev
The Android Automerger [Tue, 7 May 2013 12:55:10 +0000 (05:55 -0700)]
merge in jb-mr2-release history after reset to jb-mr2-dev

11 years agoam 91409af5: am 95664a9a: Fix for SDP data structure leak during pairing
Kausik Sinnaswamy [Mon, 6 May 2013 23:20:37 +0000 (16:20 -0700)]
am 91409af5: am 95664a9a: Fix for SDP data structure leak during pairing

* commit '91409af50ebd2e7590b8e2463e1d06ac13f00e18':
  Fix for SDP data structure leak during pairing

11 years agoam 95664a9a: Fix for SDP data structure leak during pairing
Kausik Sinnaswamy [Mon, 6 May 2013 18:12:05 +0000 (11:12 -0700)]
am 95664a9a: Fix for SDP data structure leak during pairing

* commit '95664a9acc57b5e51365454f26d2fac0f2e1ecd4':
  Fix for SDP data structure leak during pairing

11 years agoFix for SDP data structure leak during pairing
Kausik Sinnaswamy [Fri, 3 May 2013 09:32:50 +0000 (15:02 +0530)]
Fix for SDP data structure leak during pairing

During pairing, bluedroid initiates a SDP request to search services.
Upon SDP completion, some data structure buffers were not returned to
the pool resulting in leak.

Bug : 8797456
Change-Id: Ic512fd22ca6b8b748c5b92c02e24016fe785c0b1

11 years agomerge in jb-mr2-release history after reset to jb-mr2-dev
The Android Automerger [Thu, 2 May 2013 12:55:11 +0000 (05:55 -0700)]
merge in jb-mr2-release history after reset to jb-mr2-dev

11 years agoam 53914252: am 2154e12e: BT problems in Acura MDX
Zhihai Xu [Wed, 1 May 2013 17:35:50 +0000 (10:35 -0700)]
am 53914252: am 2154e12e: BT problems in Acura MDX

* commit '53914252237e0d07c94ff7e90f0bc0f85df15e56':
  BT problems in Acura MDX

11 years agoam 2154e12e: BT problems in Acura MDX
Zhihai Xu [Wed, 1 May 2013 17:33:02 +0000 (10:33 -0700)]
am 2154e12e: BT problems in Acura MDX

* commit '2154e12efeec88780933d47b3c3686ff9f6fe84d':
  BT problems in Acura MDX

11 years agoBT problems in Acura MDX
Zhihai Xu [Wed, 1 May 2013 01:29:53 +0000 (18:29 -0700)]
BT problems in Acura MDX

problem2 unexpected beep from carkit during ringing.
The root cause is
the interval between the ring alert is 10 seconds. it is too long
for the carkit which trigger the beep from the carkit. After I
change the inteval to 5 seconds, no unexpected beep from the carkit.

issue 8720373

Change-Id: I6f1cc1faba27e61c80b31c63b6673436e003b117

11 years agoam f431832b: am b05c0190: Merge "LE: Fix shared ACL buffer allocation" into jb-mr2-dev
Matthew Xie [Tue, 30 Apr 2013 15:54:25 +0000 (08:54 -0700)]
am f431832b: am b05c0190: Merge "LE: Fix shared ACL buffer allocation" into jb-mr2-dev

* commit 'f431832b9d03cf9fc44dfcb7a0d2848228007a05':
  LE: Fix shared ACL buffer allocation

11 years agoam 9427be7e: am 2d41fe1c: LE: Disable L2CAP connection parameter update during pairing
Andre Eisenbach [Tue, 30 Apr 2013 15:54:24 +0000 (08:54 -0700)]
am 9427be7e: am 2d41fe1c: LE: Disable L2CAP connection parameter update during pairing

* commit '9427be7ee2996e46d0a4b52252ad17e1c2f149c7':
  LE: Disable L2CAP connection parameter update during pairing

11 years agomerge in jb-mr2-release history after reset to jb-mr2-dev
The Android Automerger [Tue, 30 Apr 2013 12:55:57 +0000 (05:55 -0700)]
merge in jb-mr2-release history after reset to jb-mr2-dev

11 years agoam b05c0190: Merge "LE: Fix shared ACL buffer allocation" into jb-mr2-dev
Matthew Xie [Mon, 29 Apr 2013 23:08:47 +0000 (16:08 -0700)]
am b05c0190: Merge "LE: Fix shared ACL buffer allocation" into jb-mr2-dev

* commit 'b05c0190b55369618c968b27ea406f9660bfa4ed':
  LE: Fix shared ACL buffer allocation

11 years agoam 2d41fe1c: LE: Disable L2CAP connection parameter update during pairing
Andre Eisenbach [Mon, 29 Apr 2013 23:08:47 +0000 (16:08 -0700)]
am 2d41fe1c: LE: Disable L2CAP connection parameter update during pairing

* commit '2d41fe1c5dbac701a074eec272545439168930a7':
  LE: Disable L2CAP connection parameter update during pairing

11 years agoMerge "LE: Fix shared ACL buffer allocation" into jb-mr2-dev
Matthew Xie [Mon, 29 Apr 2013 23:06:32 +0000 (23:06 +0000)]
Merge "LE: Fix shared ACL buffer allocation" into jb-mr2-dev

11 years agoLE: Disable L2CAP connection parameter update during pairing
Andre Eisenbach [Wed, 17 Apr 2013 03:22:58 +0000 (11:22 +0800)]
LE: Disable L2CAP connection parameter update during pairing

Some peripherals change the connection parameters during the pairing
procedure. Ideally when service discovery is started, connection
parameters are reset to default values. In instances where the
connection update fails, service discovery takes a very long time and
may result in a GATT application not receiving a connection status
update.
Disabling connection paramter update during service discovery ensures
a quick service discovery and improves interoperability.

Bug: 8714594
Change-Id: I2177e57bf250b99e314a1b020cd0fadbd480214e

11 years agoLE: Fix shared ACL buffer allocation
Andre Eisenbach [Wed, 24 Apr 2013 23:02:04 +0000 (16:02 -0700)]
LE: Fix shared ACL buffer allocation

Allocate a static amount of LE buffers for chipsets that do not provide
separate ACL buffers for LE and BR/EDR.

Bug: 8714387
Change-Id: I74e954c0824ddfd89b50c14f6848db787f9b9bff

11 years agomerge in jb-mr2-release history after reset to jb-mr2-dev
The Android Automerger [Thu, 25 Apr 2013 12:55:15 +0000 (05:55 -0700)]
merge in jb-mr2-release history after reset to jb-mr2-dev

11 years agoam f9020d0d: am f8f30c2c: HDP fix for Single SDP record
Priti Aghera [Wed, 24 Apr 2013 17:45:17 +0000 (10:45 -0700)]
am f9020d0d: am f8f30c2c: HDP fix for Single SDP record

* commit 'f9020d0de5c8ade5fab86b26979620aac4f67dc9':
  HDP fix for Single SDP record

11 years agoam f8f30c2c: HDP fix for Single SDP record
Priti Aghera [Wed, 24 Apr 2013 17:31:10 +0000 (10:31 -0700)]
am f8f30c2c: HDP fix for Single SDP record

* commit 'f8f30c2cecf221b2c3983b72d5a849d799c39dd7':
  HDP fix for Single SDP record

11 years agoHDP fix for Single SDP record
Priti Aghera [Tue, 2 Apr 2013 22:31:19 +0000 (15:31 -0700)]
HDP fix for Single SDP record

Modified stack code to support single SDP record
for each register app call.
bug 8656462
Change-Id: I92570243306d5c1ca8339042eba5733e43fdb72c

11 years agomerge in jb-mr2-release history after reset to jb-mr2-dev
The Android Automerger [Mon, 22 Apr 2013 12:55:19 +0000 (05:55 -0700)]
merge in jb-mr2-release history after reset to jb-mr2-dev

11 years agoam c11b7d75: am f5391070: Merge "LE (2/3): Add application ID to connection callback...
Matthew Xie [Thu, 18 Apr 2013 18:37:13 +0000 (11:37 -0700)]
am c11b7d75: am f5391070: Merge "LE (2/3): Add application ID to connection callback" into jb-mr2-dev

* commit 'c11b7d7598516783083970d17d52be0d1d75bcc4':
  LE (2/3): Add application ID to connection callback

11 years agoam f5391070: Merge "LE (2/3): Add application ID to connection callback" into jb...
Matthew Xie [Thu, 18 Apr 2013 18:33:22 +0000 (11:33 -0700)]
am f5391070: Merge "LE (2/3): Add application ID to connection callback" into jb-mr2-dev

* commit 'f5391070cbb1f3c66db34cef8501f2754cecc1e6':
  LE (2/3): Add application ID to connection callback

11 years agoMerge "LE (2/3): Add application ID to connection callback" into jb-mr2-dev
Matthew Xie [Thu, 18 Apr 2013 18:31:27 +0000 (18:31 +0000)]
Merge "LE (2/3): Add application ID to connection callback" into jb-mr2-dev

11 years agoam 0ad97e95: am c9053e64: Proper management of controller ACL buffers.
Ganesh Ganapathi Batta [Thu, 18 Apr 2013 17:13:47 +0000 (10:13 -0700)]
am 0ad97e95: am c9053e64: Proper management of controller ACL buffers.

* commit '0ad97e95708b449b966d8dab4177181dbad6d6b9':
  Proper management of controller ACL buffers.

11 years agoam c9053e64: Proper management of controller ACL buffers.
Ganesh Ganapathi Batta [Thu, 18 Apr 2013 17:10:32 +0000 (10:10 -0700)]
am c9053e64: Proper management of controller ACL buffers.

* commit 'c9053e64bd3383ea971582b4395fab9d5d614503':
  Proper management of controller ACL buffers.

11 years agomerge in jb-mr2-release history after reset to jb-mr2-dev
The Android Automerger [Thu, 18 Apr 2013 12:55:25 +0000 (05:55 -0700)]
merge in jb-mr2-release history after reset to jb-mr2-dev

11 years agoProper management of controller ACL buffers.
Ganesh Ganapathi Batta [Tue, 16 Apr 2013 18:57:07 +0000 (11:57 -0700)]
Proper management of controller ACL buffers.

Reclaim all the unacknowledged controller ACL buffers associated
with a L2CAP link when L2CAP control block is released.
Bug:8589069

Change-Id: Icef1646041e73280a13dedc7a45564d032c59712

11 years agoAudio glitches while playing songs over MOTO S305 headset
Zhihai Xu [Wed, 17 Apr 2013 00:58:43 +0000 (17:58 -0700)]
Audio glitches while playing songs over MOTO S305 headset

The MOTO S305 doesn't support read remote extended features command.
The fix is we should always use ReadRemoteSupportedFeaturesCommand at first,
Only send ReadRemoteExtendedFeaturesCommand if extend features are supported
by remote device.

issue 8618753

Change-Id: Id6d9c0e712dc892bcfca20336d1290b9443213ac

11 years agoam 65d545e7: am 74b82639: Merge "Audio glitches while playing songs over MOTO S305...
Zhihai Xu [Wed, 17 Apr 2013 18:21:21 +0000 (11:21 -0700)]
am 65d545e7: am 74b82639: Merge "Audio glitches while playing songs over MOTO S305 headset" into jb-mr2-dev

* commit '65d545e78e2ba79074f54d0e31ecbe4cc349263e':
  Audio glitches while playing songs over MOTO S305 headset

11 years agoam 74b82639: Merge "Audio glitches while playing songs over MOTO S305 headset" into...
Zhihai Xu [Wed, 17 Apr 2013 18:18:17 +0000 (11:18 -0700)]
am 74b82639: Merge "Audio glitches while playing songs over MOTO S305 headset" into jb-mr2-dev

* commit '74b826399b0ce0d13e8cea3e44c058495b3d6abc':
  Audio glitches while playing songs over MOTO S305 headset

11 years agoMerge "Audio glitches while playing songs over MOTO S305 headset" into jb-mr2-dev
Zhihai Xu [Wed, 17 Apr 2013 18:13:40 +0000 (18:13 +0000)]
Merge "Audio glitches while playing songs over MOTO S305 headset" into jb-mr2-dev

11 years agoam 1f961c73: am 2e5a95d3: Change the log display API called in the BT PAN call-out...
YK Jeffrey Chao [Wed, 17 Apr 2013 17:43:41 +0000 (10:43 -0700)]
am 1f961c73: am 2e5a95d3: Change the log display API called in the BT PAN call-out functions

* commit '1f961c73d2281c29c745d00fe773b9cec0035276':
  Change the log display API called in the BT PAN call-out functions

11 years agoam 2e5a95d3: Change the log display API called in the BT PAN call-out functions
YK Jeffrey Chao [Wed, 17 Apr 2013 17:16:52 +0000 (10:16 -0700)]
am 2e5a95d3: Change the log display API called in the BT PAN call-out functions

* commit '2e5a95d39f6c131142610d10f395aeeea4df5acf':
  Change the log display API called in the BT PAN call-out functions

11 years agomerge in jb-mr2-release history after reset to jb-mr2-dev
The Android Automerger [Wed, 17 Apr 2013 12:55:17 +0000 (05:55 -0700)]
merge in jb-mr2-release history after reset to jb-mr2-dev

11 years agoLE (2/3): Add application ID to connection callback
Andre Eisenbach [Wed, 10 Apr 2013 18:20:36 +0000 (11:20 -0700)]
LE (2/3): Add application ID to connection callback

Bug: 8589393
Change-Id: Ib5c34ce1cddb0e32ad08ac3cbdeaa74cd8514f81

11 years agoChange the log display API called in the BT PAN call-out functions
YK Jeffrey Chao [Tue, 16 Apr 2013 22:39:28 +0000 (15:39 -0700)]
Change the log display API called in the BT PAN call-out functions

Replace the ALOGD calls with BTIF_TRACE_DEBUG/API calls to control
log output through TRC_BTIF setting in bt_stack.conf at run-time.

bug 7893834

Change-Id: Ia24e87abc13272d61c0b1785685b71a8aabdb34e

11 years agoAudio glitches while playing songs over MOTO S305 headset
Zhihai Xu [Wed, 17 Apr 2013 00:58:43 +0000 (17:58 -0700)]
Audio glitches while playing songs over MOTO S305 headset

The MOTO S305 doesn't support read remote extended features command.
The fix is we should always use ReadRemoteSupportedFeaturesCommand at first,
Only send ReadRemoteExtendedFeaturesCommand if extend features are supported
by remote device.

issue 8618753

Change-Id: Id6d9c0e712dc892bcfca20336d1290b9443213ac

11 years agoam 52eb4f3d: am 33af35c4: Fix for Nyko playpad
Ganesh Ganapathi Batta [Tue, 16 Apr 2013 21:13:16 +0000 (14:13 -0700)]
am 52eb4f3d: am 33af35c4: Fix for Nyko playpad

* commit '52eb4f3d971d59e8b5f015c870e92a15a591fd55':
  Fix for Nyko playpad

11 years agoam 33af35c4: Fix for Nyko playpad
Ganesh Ganapathi Batta [Tue, 16 Apr 2013 21:09:06 +0000 (14:09 -0700)]
am 33af35c4: Fix for Nyko playpad

* commit '33af35c49731bc8e305c862c8e9f3e42a1ab0dc9':
  Fix for Nyko playpad

11 years agoFix for Nyko playpad
Ganesh Ganapathi Batta [Tue, 9 Apr 2013 23:33:31 +0000 (16:33 -0700)]
Fix for Nyko playpad

Nyko playpad does not cmply with HID Device spec. NYKO gamepad
advertises as supporting virtual unplug but when virtual is sent
by host it responds with ERR_UNSUPPORTED_REQUEST. Modified BTIF
code to start a timer when VUP is issued and fire the timer if peer
does not respond.
Bug:8055549

Change-Id: I90db956fb243f1a518b00424b103ebf9f0a1b7f0

11 years agoam 6da13cd2: Reconcile with jb-mr2-release - do not merge
The Android Open Source Project [Mon, 15 Apr 2013 17:49:00 +0000 (10:49 -0700)]
am 6da13cd2: Reconcile with jb-mr2-release - do not merge

* commit '6da13cd23b31b43c9258be1413a4df3c7ce12776':
  Make host side of Read Local/Remote Extended Features more reliable

11 years agoReconcile with jb-mr2-release - do not merge
The Android Open Source Project [Mon, 15 Apr 2013 17:46:01 +0000 (10:46 -0700)]
Reconcile with jb-mr2-release - do not merge

Change-Id: Ic568762f0902a0c814109a0f40938606e50f0dfe

11 years agoMake host side of Read Local/Remote Extended Features more reliable
Ganesh Ganapathi Batta [Thu, 11 Apr 2013 23:13:14 +0000 (16:13 -0700)]
Make host side of Read Local/Remote Extended Features more reliable

Issue Ext feature request only if the local controller supports
the command. Fall back to read remote feature command,
if the extended feature request fails
Bug:8591628

Change-Id: I744d9845c04b30d2dca1fd491fea49616adbb2d7

11 years agoam 9d140a9d: Make host side of Read Local/Remote Extended Features more reliable
Ganesh Ganapathi Batta [Fri, 12 Apr 2013 18:03:19 +0000 (11:03 -0700)]
am 9d140a9d: Make host side of Read Local/Remote Extended Features more reliable

* commit '9d140a9dc432e457a0437920d5f84c22e3baea0d':
  Make host side of Read Local/Remote Extended Features more reliable

11 years agoMake host side of Read Local/Remote Extended Features more reliable
Ganesh Ganapathi Batta [Thu, 11 Apr 2013 23:13:14 +0000 (16:13 -0700)]
Make host side of Read Local/Remote Extended Features more reliable

Issue Ext feature request only if the local controller supports
the command. Fall back to read remote feature command,
if the extended feature request fails
Bug:8591628

Change-Id: I744d9845c04b30d2dca1fd491fea49616adbb2d7

11 years agoam 2c7778fd: Merge "Add liblog" into jb-mr2-dev
Ying Wang [Wed, 10 Apr 2013 05:25:14 +0000 (22:25 -0700)]
am 2c7778fd: Merge "Add liblog" into jb-mr2-dev

* commit '2c7778fd055025367f96dca357dcf46e6fcd46cb':
  Add liblog

11 years agoMerge "Add liblog" into jb-mr2-dev
Ying Wang [Wed, 10 Apr 2013 05:13:33 +0000 (05:13 +0000)]
Merge "Add liblog" into jb-mr2-dev

11 years agoAdd liblog
Ying Wang [Wed, 10 Apr 2013 04:46:47 +0000 (21:46 -0700)]
Add liblog

Bug: 8580410
Change-Id: I3475705985b5db2cd3a640f8bc0ef173378edad2

11 years agoam c2bb2c13: Read the extended feature after ACL channel creation
Matthew Xie [Wed, 10 Apr 2013 00:25:32 +0000 (17:25 -0700)]
am c2bb2c13: Read the extended feature after ACL channel creation

* commit 'c2bb2c13030b2b48b861eac31f4eb134975fa8c5':
  Read the extended feature after ACL channel creation

11 years agoRead the extended feature after ACL channel creation
Matthew Xie [Tue, 9 Apr 2013 18:26:08 +0000 (11:26 -0700)]
Read the extended feature after ACL channel creation

This problem was introduced by Bluetooth stack merge.
bug 8521185

Change-Id: I9191c639e96382a452cf0fe336d5a9ef5b5f0f4a

11 years agoam 2f338f25: BT: JV rfcomm socket sniff support
Ganesh Ganapathi Batta [Mon, 8 Apr 2013 19:55:37 +0000 (12:55 -0700)]
am 2f338f25: BT: JV rfcomm socket sniff support

* commit '2f338f25530d2aaab7acf45701c271d10b81d96d':
  BT: JV rfcomm socket sniff support