OSDN Git Service
Pavlin Radoslavov [Fri, 17 Jun 2016 01:55:16 +0000 (01:55 +0000)]
Add missing NULL pointers assignments am:
8cbc291080 am:
deb7d2446c
am:
b8d04a8010
Change-Id: Ie3e9b39ae079c86039105d18b0ce2f2a50ac5cdc
Pavlin Radoslavov [Fri, 17 Jun 2016 01:55:16 +0000 (01:55 +0000)]
Add missing NULL pointers assignments am:
ba64c39c8c
am:
c52241c8d1
Change-Id: I75daaf39c2a4f709782a260642cb6a2f7fc7abbd
Pavlin Radoslavov [Fri, 17 Jun 2016 01:49:09 +0000 (01:49 +0000)]
Add missing NULL pointers assignments am:
8cbc291080
am:
deb7d2446c
Change-Id: Icae63f38c6196c52ca317634aba25b1aefe77456
Pavlin Radoslavov [Fri, 17 Jun 2016 01:48:40 +0000 (01:48 +0000)]
Add missing NULL pointers assignments
am:
ba64c39c8c
Change-Id: I8657b04da33177dcb714eebc1a8ad17f9510113f
Pavlin Radoslavov [Fri, 17 Jun 2016 01:46:22 +0000 (01:46 +0000)]
Add missing NULL pointers assignments
am:
8cbc291080
Change-Id: I0f0d5791508bfc635f8713f85ddfc71e282f606e
Pavlin Radoslavov [Thu, 16 Jun 2016 23:37:57 +0000 (16:37 -0700)]
Add missing NULL pointers assignments
Each pointer that was freed by one of the following functions should
be reset to NULL:
- config_free()
- data_dispatcher_free()
- fixed_queue_free()
- list_free()
Bug:
29421693
Change-Id: Ie55a04ed986393994564edcf872d7413b0767a85
(cherry picked from commit
8cbc291080730cd7d04990a8fc0e11249b06aa08)
Pavlin Radoslavov [Thu, 16 Jun 2016 23:37:57 +0000 (16:37 -0700)]
Add missing NULL pointers assignments
Each pointer that was freed by one of the following functions should
be reset to NULL:
- config_free()
- data_dispatcher_free()
- fixed_queue_free()
- list_free()
Bug:
29421693
Change-Id: Ie55a04ed986393994564edcf872d7413b0767a85
Jakub Pawlowski [Thu, 16 Jun 2016 19:17:56 +0000 (19:17 +0000)]
GATT: don\\\'t update link status for apps that were never connected am:
a62adcab30 am:
a26d811fd9
am:
9d59c6fbc9
Change-Id: Ic338980bbd5237997a46b896670762dfd12e8577
Jakub Pawlowski [Thu, 16 Jun 2016 19:15:00 +0000 (19:15 +0000)]
GATT: don\\'t update link status for apps that were never connected am:
a62adcab30
am:
a26d811fd9
Change-Id: I7c6fd1d6b1b23a7c3f7153f5e52b93efb5dda959
Jakub Pawlowski [Thu, 16 Jun 2016 19:12:20 +0000 (19:12 +0000)]
GATT: don\'t update link status for apps that were never connected
am:
a62adcab30
Change-Id: I084130c52f82ca960badeea1da6573e929cb85ff
Jakub Pawlowski [Thu, 16 Jun 2016 15:16:48 +0000 (08:16 -0700)]
GATT: don't update link status for apps that were never connected
Right now, in GATT_Deregister we make a call to
gatt_update_app_use_link_flag, which might result in a call to
GATT_SetIddleTimeout on links that this client was never connected to.
In order to fix that, we must check if gatt_update_app_hold_link_status
made any changes to p_tcb->app_hold_link. If not, then skip updating
the timer.
Change-Id: I6f18ec7fe4e80e048adc9e360cae703b7d64d62a
Jakub Pawlowski [Thu, 16 Jun 2016 17:40:44 +0000 (17:40 +0000)]
Convert HID and Device Manager BTA code to C++ am:
b7938c1866 am:
e61ca65604
am:
79f99bbcf8
Change-Id: Ibf2de99ffa540ae2b56d617ba55042586a3b86a1
Jakub Pawlowski [Thu, 16 Jun 2016 17:37:43 +0000 (17:37 +0000)]
Convert HID and Device Manager BTA code to C++ am:
b7938c1866
am:
e61ca65604
Change-Id: I989305f991be9497f8b8ca0ea47ed1f1d9ec1a79
Jakub Pawlowski [Thu, 16 Jun 2016 17:35:26 +0000 (17:35 +0000)]
Convert HID and Device Manager BTA code to C++
am:
b7938c1866
Change-Id: I9ddcdc2683d63ba84cd5f8e9de044dc78b0d6521
Jakub Pawlowski [Fri, 27 May 2016 00:57:22 +0000 (17:57 -0700)]
Convert HID and Device Manager BTA code to C++
These are the only places that use BTA GATTC API. After this change it's
possible to change GATT API to use C++ types as arguments.
Bug:
28485365
Change-Id: Idf83396f4bc3a2cc8a9b41f69da5d033af1be678
Dan Willemsen [Thu, 16 Jun 2016 00:14:16 +0000 (00:14 +0000)]
Fix unused source warning am:
b172552537 am:
407b1ca7c9
am:
8084558ad7
Change-Id: I9ae79233f39f914514895b27f7327d7a50b8e564
Dan Willemsen [Thu, 16 Jun 2016 00:10:10 +0000 (00:10 +0000)]
Fix unused source warning am:
b172552537
am:
407b1ca7c9
Change-Id: Ia10d88250882be35325ce989234f1bce92593166
Dan Willemsen [Thu, 16 Jun 2016 00:03:00 +0000 (00:03 +0000)]
Fix unused source warning
am:
b172552537
Change-Id: I2c2191358dd60a087cb1d39fa22dd65ab2eb7371
Dan Willemsen [Wed, 15 Jun 2016 22:46:15 +0000 (15:46 -0700)]
Fix unused source warning
These were using the wrong c++ extension, so the build system was not
picking them up.
Change-Id: I3a767a236bca05f04dd069bb1f40796f41cb8b60
Andy Hung [Wed, 15 Jun 2016 21:13:22 +0000 (21:13 +0000)]
Improve BT HAL write response to BT server reads am:
5952e40bef
am:
f0263b0a87
Change-Id: I82be0d2a62e1f9dd504769d62920df274a11326e
Andy Hung [Wed, 15 Jun 2016 21:08:55 +0000 (21:08 +0000)]
Improve BT HAL write response to BT server reads am:
5952e40bef
am:
a5f3b3bd45
Change-Id: I302f06d9f51b897b3d6da8374eb7dfd8185b7ec4
Andy Hung [Wed, 15 Jun 2016 21:03:06 +0000 (21:03 +0000)]
Improve BT HAL write response to BT server reads
am:
5952e40bef
Change-Id: I135acb67ba2228cdfc002fa79fd615f1c20d817d
Andy Hung [Wed, 15 Jun 2016 21:03:06 +0000 (21:03 +0000)]
Improve BT HAL write response to BT server reads
am:
5952e40bef
Change-Id: I88946232261030fc2e62fc5be78187d839f17d5f
Andy Hung [Wed, 15 Jun 2016 02:58:58 +0000 (19:58 -0700)]
Improve BT HAL write response to BT server reads
By polling, we ensure the socket buffer is nearly always full,
as blocking socket writes may not wake in time to avoid underflow.
Bug:
28286313
Change-Id: I056768dbd860993c41d44c33a4846d62c50db933
Jakub Pawlowski [Wed, 15 Jun 2016 00:45:53 +0000 (00:45 +0000)]
Fix missing GATT Characteristic from last service am:
6c81482c2d am:
13e3c509be
am:
9216eeeac2
Change-Id: I0667e8e8f7fe2c4a8512eca697bc1802088c5c7a
Jakub Pawlowski [Wed, 15 Jun 2016 00:45:52 +0000 (00:45 +0000)]
Merge \"Use UINT16 for GATT attribute id field am:
d407e1afca am:
889db4490c\" into nyc-dev-plus-aosp
am:
ccead378ee
Change-Id: I2feeb94c4e80b779bdf55b66fa852bc1589318c7
Jakub Pawlowski [Wed, 15 Jun 2016 00:45:52 +0000 (00:45 +0000)]
Merge \\"HOGP: Clear pending operations for a given device on connect\\" into nyc-dev am:
bfbda174b5
am:
29613301a2
Change-Id: Ifb5a63d4274b7681a610e7f624ddad35306ff02f
Jakub Pawlowski [Wed, 15 Jun 2016 00:43:09 +0000 (00:43 +0000)]
Merge \\"HOGP: Clear pending operations for a given device on connect\\" into nyc-dev am:
bfbda174b5
am:
52dfd8ca76
Change-Id: I109ccf9840c2560a918d58155ef6e398b4b10dbb
Jakub Pawlowski [Wed, 15 Jun 2016 00:33:18 +0000 (00:33 +0000)]
Fix missing GATT Characteristic from last service am:
6c81482c2d
am:
13e3c509be
Change-Id: I51b9ab591f6ff57bb7025f1f92457c33e2f0f9b2
Android Build Merger (Role) [Wed, 15 Jun 2016 00:33:09 +0000 (00:33 +0000)]
Merge "Use UINT16 for GATT attribute id field am:
d407e1afca am:
889db4490c" into nyc-dev-plus-aosp
Jakub Pawlowski [Wed, 15 Jun 2016 00:32:47 +0000 (00:32 +0000)]
Use UINT16 for GATT attribute id field am:
d407e1afca
am:
889db4490c
Change-Id: Idf4905c3aebb7cca12c6c6c8bdfc63a456ae3b68
Jakub Pawlowski [Wed, 15 Jun 2016 00:32:44 +0000 (00:32 +0000)]
Merge \"HOGP: Clear pending operations for a given device on connect\" into nyc-dev
am:
bfbda174b5
Change-Id: Ia026605f6083ad56f0974e092014bbe95a182d7d
Jakub Pawlowski [Wed, 15 Jun 2016 00:32:43 +0000 (00:32 +0000)]
Merge \"HOGP: Clear pending operations for a given device on connect\" into nyc-dev
am:
bfbda174b5
Change-Id: I1565542c0f9fd29b97d7235a799e3df27e8c8c41
Jakub Pawlowski [Wed, 15 Jun 2016 00:30:02 +0000 (00:30 +0000)]
Fix missing GATT Characteristic from last service
am:
6c81482c2d
Change-Id: I1f103942867c539eb97ce4768812558cf3bf9844
TreeHugger Robot [Wed, 15 Jun 2016 00:28:58 +0000 (00:28 +0000)]
Merge "HOGP: Clear pending operations for a given device on connect" into nyc-dev
Jakub Pawlowski [Wed, 15 Jun 2016 00:26:43 +0000 (00:26 +0000)]
Use UINT16 for GATT attribute id field
am:
d407e1afca
Change-Id: I890bc4f7bde854578c837dcc3fb0eaace92e411c
Android Build Merger (Role) [Tue, 14 Jun 2016 23:34:58 +0000 (23:34 +0000)]
Merge "Merge \\"HOGP: Preffer write command over write requests\\" into nyc-dev am:
8577ffca06 am:
e4da6bd195" into nyc-mr1-dev-plus-aosp
Jakub Pawlowski [Tue, 14 Jun 2016 23:34:42 +0000 (23:34 +0000)]
Merge \\"HOGP: Preffer write command over write requests\\" into nyc-dev am:
8577ffca06
am:
8cd573e26a
Change-Id: I6583e97dffc4cdbe677c63c4106aa0bcc55c119c
Jakub Pawlowski [Tue, 14 Jun 2016 23:34:42 +0000 (23:34 +0000)]
Merge \\"HOGP: Preffer write command over write requests\\" into nyc-dev am:
8577ffca06
am:
e4da6bd195
Change-Id: Ida8ca4e53794189dfb0ff6496ec09cbffa0db4eb
Jakub Pawlowski [Tue, 14 Jun 2016 23:32:10 +0000 (23:32 +0000)]
Merge \"HOGP: Preffer write command over write requests\" into nyc-dev
am:
8577ffca06
Change-Id: I226da0773982a88f030ce29ede2545bab2687ce3
Jakub Pawlowski [Tue, 14 Jun 2016 23:32:10 +0000 (23:32 +0000)]
Merge \"HOGP: Preffer write command over write requests\" into nyc-dev
am:
8577ffca06
Change-Id: I71cf1e5e38eed1a0136105d5cd4e1db2fff2ec54
TreeHugger Robot [Tue, 14 Jun 2016 23:28:20 +0000 (23:28 +0000)]
Merge "HOGP: Preffer write command over write requests" into nyc-dev
Jakub Pawlowski [Tue, 14 Jun 2016 23:27:34 +0000 (23:27 +0000)]
Merge \\"Use UINT16 for GATT attribute id field\\" into nyc-dev am:
a1d6772787
am:
462b2ed2c4
Change-Id: I3ffad0697e89fbcf1b4961effa3b9a16ec9a55d5
Jakub Pawlowski [Tue, 14 Jun 2016 23:27:05 +0000 (23:27 +0000)]
Fix missing GATT Characteristic from last service am:
552e630435 -s ours
am:
02ab52e5d4
Change-Id: Ife814e97aec5f5ca685a5d861fc3b0419b7378c1
Jakub Pawlowski [Tue, 14 Jun 2016 23:14:15 +0000 (23:14 +0000)]
Merge \"Use UINT16 for GATT attribute id field\" into nyc-dev
am:
a1d6772787
Change-Id: I1e55b63eb9203b5560fc049f97d6c5f2f2e2d250
Jakub Pawlowski [Tue, 14 Jun 2016 23:12:52 +0000 (23:12 +0000)]
Merge \\"Use UINT16 for GATT attribute id field\\" into nyc-dev am:
a1d6772787
am:
72cdfaa2d8
Change-Id: I0fc721990976b12929bf7e2896797a6cbbc2d084
Jakub Pawlowski [Tue, 14 Jun 2016 23:12:49 +0000 (23:12 +0000)]
Fix missing GATT Characteristic from last service
am:
552e630435 -s ours
Change-Id: Iae9ab73966cd2f1965343f44ae4d2409161f71a0
Jakub Pawlowski [Tue, 14 Jun 2016 23:11:58 +0000 (23:11 +0000)]
Fix missing GATT Characteristic from last service am:
552e630435
am:
73c29c0a47 -s ours
Change-Id: I359513bacfdcebe7ab9377d9c9c61b1d0e8afe6b
Jakub Pawlowski [Tue, 14 Jun 2016 19:23:44 +0000 (12:23 -0700)]
Fix missing GATT Characteristic from last service
GATT Service is contained between start and end handle. If
characteristic definition is at end handle, and it's value definition is
after end handle, it will not be properly discovered. That's because we
use value_handle instead of attribute_handle to identify
characteristics.
As a workaround, increase service boundary if value is defined after
it's definition.
Bug:
29253825
Change-Id: Ib145aea4f5cf38a1fbb977c301136e16f8f900f7
(chery picked from commit
552e630435a68d8f51d458dccf8697c625cf1510)
Jakub Pawlowski [Tue, 14 Jun 2016 22:36:29 +0000 (22:36 +0000)]
Add missing curly braces in clear notification am:
82e2fa17b4 am:
c0ee74dc9a
am:
676ede3240
Change-Id: I170a673e87e832d3599c1c405d317bc58bc80a53
Jakub Pawlowski [Tue, 14 Jun 2016 22:33:55 +0000 (22:33 +0000)]
Add missing curly braces in clear notification am:
82e2fa17b4
am:
c0ee74dc9a
Change-Id: Ic413e57a60173ca1cb8d9e3390f3b22d4d45e08f
Jakub Pawlowski [Tue, 14 Jun 2016 22:31:06 +0000 (22:31 +0000)]
Add missing curly braces in clear notification
am:
82e2fa17b4
Change-Id: I4185c983b253dcd06dade4e762b304e2594984f0
Jakub Pawlowski [Tue, 14 Jun 2016 22:28:10 +0000 (22:28 +0000)]
Merge \"Use UINT16 for GATT attribute id field\" into nyc-dev
am:
a1d6772787
Change-Id: I26659d38b1241962bd286c0c806687b6f95a7637
Jakub Pawlowski [Tue, 14 Jun 2016 22:27:42 +0000 (22:27 +0000)]
Fix missing GATT Characteristic from last service
am:
552e630435
Change-Id: I7539fc75908cf70833f4380b5b7a805094b2a341
Jakub Pawlowski [Tue, 14 Jun 2016 19:47:52 +0000 (12:47 -0700)]
Use UINT16 for GATT attribute id field
Id field is equal to attribute handle, so it must be 16bits.
Otherwise only piece of GATT database can be used.
Bug:
29253825
Change-Id: Ia88e3ad3eb96ca8e97349aa5e852e66c57072b49
(cherry picked from commit
e6b1cb43525e27f95de85dc43150d7368b9d4c35)
Jakub Pawlowski [Tue, 14 Jun 2016 22:03:29 +0000 (22:03 +0000)]
Merge "Use UINT16 for GATT attribute id field" into nyc-dev
Jakub Pawlowski [Tue, 14 Jun 2016 21:40:51 +0000 (14:40 -0700)]
HOGP: Preffer write command over write requests
Some HID devices will accept both write request and write command.
Prefer write commands when possible.
This is due to bug in some hardware, that will not send write response
when too many commands are queued.
Bug:
29184976
Change-Id: I5bafc067f044a48f152c60b8e17722067bc1453e
Jakub Pawlowski [Tue, 14 Jun 2016 19:47:52 +0000 (12:47 -0700)]
Use UINT16 for GATT attribute id field
Id field is equal to attribute handle, so it must be 16bits.
Otherwise only piece of GATT database can be used.
Bug:
29253825
Change-Id: Ia88e3ad3eb96ca8e97349aa5e852e66c57072b49
Jakub Pawlowski [Tue, 14 Jun 2016 19:23:44 +0000 (12:23 -0700)]
Fix missing GATT Characteristic from last service
GATT Service is contained between start and end handle. If
characteristic definition is at end handle, and it's value definition is
after end handle, it will not be properly discovered. That's because we
use value_handle instead of attribute_handle to identify
characteristics.
As a workaround, increase service boundary if value is defined after
it's definition.
Bug:
29253825
Change-Id: Ib145aea4f5cf38a1fbb977c301136e16f8f900f7
Jakub Pawlowski [Tue, 14 Jun 2016 16:26:24 +0000 (09:26 -0700)]
Add missing curly braces in clear notification
Change-Id: I59b13486f76735e5dd0c07d57b2671c746169bd8
Jakub Pawlowski [Mon, 13 Jun 2016 17:30:17 +0000 (10:30 -0700)]
HOGP: Clear pending operations for a given device on connect
If there are any HID operations scheduled after disconnect, mark the
device as no longer executing after establishing connection. Otherwise
we'll be unable to send any HID commands to it.
Change-Id: Ie1bb622388a3bcb574dec3dde76ef4518ee1102f
Jakub Pawlowski [Sat, 11 Jun 2016 02:07:51 +0000 (02:07 +0000)]
HOGP: Clear pending operations for a given device on disconnect am:
f978a57103 am:
6818e548cb
am:
0a0b63eef6
Change-Id: If41fad58ef6af146fe47ea372be0166468d9927e
Jakub Pawlowski [Sat, 11 Jun 2016 02:04:26 +0000 (02:04 +0000)]
HOGP: Clear pending operations for a given device on disconnect am:
f978a57103
am:
6818e548cb
Change-Id: Ife41744dba7574aaa462cb0a2ac545d9382544ca
Jakub Pawlowski [Sat, 11 Jun 2016 02:00:24 +0000 (02:00 +0000)]
HOGP: Clear pending operations for a given device on disconnect
am:
f978a57103
Change-Id: Ica1e0caf127e3baccb20075e2f6fd95b1d9c03ba
Jakub Pawlowski [Fri, 10 Jun 2016 23:32:26 +0000 (16:32 -0700)]
HOGP: Clear pending operations for a given device on disconnect
If there are any GATT operations interrupted by a disconnect, mark the
device as no longer executing. Otherwise we'll stil receive data from
the device, but we'll be unable to send any HID commands to it.
Bug:
29184976
Change-Id: I489f41c970abad0ff1145005d3250beafa83d27e
Android Build Merger (Role) [Sat, 11 Jun 2016 01:49:27 +0000 (01:49 +0000)]
Merge "HOGP: Clear pending operations for a given device on disconnect am:
22fc38259f am:
f272765cb4" into nyc-mr1-dev-plus-aosp
Jakub Pawlowski [Sat, 11 Jun 2016 01:49:14 +0000 (01:49 +0000)]
HOGP: Clear pending operations for a given device on disconnect am:
22fc38259f
am:
f7b9cdc74f
Change-Id: If328fb11609037eca9e06e9e457f4cd83156b461
Jakub Pawlowski [Sat, 11 Jun 2016 01:49:13 +0000 (01:49 +0000)]
HOGP: Clear pending operations for a given device on disconnect am:
22fc38259f
am:
f272765cb4
Change-Id: I7eeb8e3099b8d264028bc0bc629e916547ed1467
Jakub Pawlowski [Sat, 11 Jun 2016 01:45:26 +0000 (01:45 +0000)]
HOGP: Clear pending operations for a given device on disconnect
am:
22fc38259f
Change-Id: Icac19c9f691843e5df70fdd0051c6d2441bf5582
Jakub Pawlowski [Sat, 11 Jun 2016 01:45:25 +0000 (01:45 +0000)]
HOGP: Clear pending operations for a given device on disconnect
am:
22fc38259f
Change-Id: I6f6707eb9c69b34b12243f72f2b893c68ba31a72
Jakub Pawlowski [Fri, 10 Jun 2016 23:32:26 +0000 (16:32 -0700)]
HOGP: Clear pending operations for a given device on disconnect
If there are any GATT operations interrupted by a disconnect, mark the
device as no longer executing. Otherwise we'll stil receive data from
the device, but we'll be unable to send any HID commands to it.
Bug:
29184976
Change-Id: I489f41c970abad0ff1145005d3250beafa83d27e
AnubhavGupta [Thu, 9 Jun 2016 23:29:11 +0000 (23:29 +0000)]
Do not request AVRC_CAP_COMPANY_ID if A2DP Sink is not enabled am:
1c512b851d am:
6f01bc2a6d
am:
215982cd98
Change-Id: I96ccaa27654404757c74a650ba1fc5e9ff7e54a2
AnubhavGupta [Thu, 9 Jun 2016 23:26:17 +0000 (23:26 +0000)]
Do not request AVRC_CAP_COMPANY_ID if A2DP Sink is not enabled am:
1c512b851d
am:
6f01bc2a6d
Change-Id: I219aad79a41fd9499e040ecf1d551fb6fda058a1
AnubhavGupta [Thu, 9 Jun 2016 23:24:34 +0000 (23:24 +0000)]
Do not request AVRC_CAP_COMPANY_ID if A2DP Sink is not enabled am:
470466e6be
am:
8bba740103
Change-Id: I2223bbabd5ad2023f6e1b8e694e5ddcaf23edf9c
AnubhavGupta [Thu, 9 Jun 2016 23:23:38 +0000 (23:23 +0000)]
Do not request AVRC_CAP_COMPANY_ID if A2DP Sink is not enabled
am:
1c512b851d
Change-Id: Ic30615e2cf916ab2311deb1377d868e3f3a661a7
AnubhavGupta [Thu, 9 Jun 2016 23:23:38 +0000 (23:23 +0000)]
Do not request AVRC_CAP_COMPANY_ID if A2DP Sink is not enabled am:
470466e6be
am:
cd2e73f95d
Change-Id: Ib2f35ec82f3c787f6703d0c8b5ac3effeee37811
AnubhavGupta [Thu, 9 Jun 2016 23:21:17 +0000 (23:21 +0000)]
Do not request AVRC_CAP_COMPANY_ID if A2DP Sink is not enabled
am:
470466e6be
Change-Id: Ibc2f939f4e07dcccac95c88b8ac163d9a22586ff
AnubhavGupta [Thu, 9 Jun 2016 23:21:05 +0000 (23:21 +0000)]
Do not request AVRC_CAP_COMPANY_ID if A2DP Sink is not enabled
am:
470466e6be
Change-Id: If478c20f576e201f3443ae8ae61768f8ba6e80d8
AnubhavGupta [Wed, 6 Apr 2016 06:17:05 +0000 (11:47 +0530)]
Do not request AVRC_CAP_COMPANY_ID if A2DP Sink is not enabled
Also fixed AVRC_PDU_GET_PLAY_STATUS timeout response.
Bug:
28177785
Change-Id: Icde64a5c1806453850abe101f9707fff61566566
(cherry picked from commit
1c512b851d76deac860fce1232e4a1fa1a097f1c)
AnubhavGupta [Wed, 6 Apr 2016 06:17:05 +0000 (11:47 +0530)]
Do not request AVRC_CAP_COMPANY_ID if A2DP Sink is not enabled
Also fixed AVRC_PDU_GET_PLAY_STATUS timeout response.
Bug:
28177785
Change-Id: Icde64a5c1806453850abe101f9707fff61566566
Android Build Merger (Role) [Thu, 9 Jun 2016 00:53:30 +0000 (00:53 +0000)]
Merge "Set disable timer in case of any active ACL connection am:
70035577fd am:
a83a487e30" into nyc-mr1-dev-plus-aosp
Srinu Jella [Thu, 9 Jun 2016 00:53:23 +0000 (00:53 +0000)]
Set disable timer in case of any active ACL connection am:
70035577fd
am:
a83a487e30
Change-Id: I6d8a668c38edc12938dbd5130b23f91ac0dac5f1
Srinu Jella [Thu, 9 Jun 2016 00:53:16 +0000 (00:53 +0000)]
Set disable timer in case of any active ACL connection am:
70035577fd
am:
4cd9b23ef6
Change-Id: Ide451e5ca1a02e3e3e7dcb0ac4bf9a2174d81d97
Srinu Jella [Thu, 9 Jun 2016 00:51:00 +0000 (00:51 +0000)]
Set disable timer in case of any active ACL connection
am:
70035577fd
Change-Id: I05c0e02b4149cc8f943612617f5166d3fffafd59
Srinu Jella [Thu, 9 Jun 2016 00:50:41 +0000 (00:50 +0000)]
Set disable timer in case of any active ACL connection
am:
70035577fd
Change-Id: Ibd241e1dc6608a96576d9d4db4dcdd16f7c0d383
Srinu Jella [Wed, 8 Jun 2016 10:20:53 +0000 (15:50 +0530)]
Set disable timer in case of any active ACL connection
Use Case: Disable time out when atleast one active ACL connections
Steps:
1. Turn ON Bluetooth
2. Connect to any Headset
3. Turn OFF bluetooth.
Failure: Turn OFF bluetooth is failed when atleast one active ACL connections
Root Cause:i If we have one or more active ACL links, so it is not notitying
BTA_DM_DISABLE_EVT to upper layer.
Fix: Set disable timer in case of any active ACL connection
Bug:
29217385
Change-Id: Ica47717119f1ab9fa9f4f5244e8483c408276a2a
(cherry picked from commit
3e4f01ada8c1627bd48f31cd0c8269984b8e5f96)
Myles Watson [Wed, 8 Jun 2016 22:11:27 +0000 (22:11 +0000)]
Merge \\"btm: Restrict EXTENDED_INQUIRY_RESULT to 1 result\\" into nyc-dev am:
59bc2de906
am:
6dc2f1c5ac
Change-Id: I090d4adb025e70ae09dfae7d1a66cc420cfa3353
Myles Watson [Wed, 8 Jun 2016 22:11:14 +0000 (22:11 +0000)]
Merge \\"btm: Restrict EXTENDED_INQUIRY_RESULT to 1 result\\" into nyc-dev am:
59bc2de906
am:
60a20ed384
Change-Id: Ifc2e630e2e6a4d79792782459f4cf44b2cc5c4c1
Myles Watson [Wed, 8 Jun 2016 22:08:44 +0000 (22:08 +0000)]
Merge \"btm: Restrict EXTENDED_INQUIRY_RESULT to 1 result\" into nyc-dev
am:
59bc2de906
Change-Id: I5cefab6f346731ea11085ce613c9c4c95665ba4c
Myles Watson [Wed, 8 Jun 2016 22:08:44 +0000 (22:08 +0000)]
Merge \"btm: Restrict EXTENDED_INQUIRY_RESULT to 1 result\" into nyc-dev
am:
59bc2de906
Change-Id: I9234f8a567883fdbccb20326328f9cdb444de479
TreeHugger Robot [Wed, 8 Jun 2016 22:03:23 +0000 (22:03 +0000)]
Merge "btm: Restrict EXTENDED_INQUIRY_RESULT to 1 result" into nyc-dev
Srinu Jella [Wed, 8 Jun 2016 19:28:42 +0000 (19:28 +0000)]
Set disable timer in case of any active ACL connection am:
3e4f01ada8 am:
b5d0d36154
am:
f552af275f
Change-Id: Icca4154bc9b1fe34ab6fb17e6db72dca7b0b429b
Srinu Jella [Wed, 8 Jun 2016 19:15:52 +0000 (19:15 +0000)]
Set disable timer in case of any active ACL connection am:
3e4f01ada8
am:
b5d0d36154
Change-Id: I968db4a71934e298d91e8e3815c21d697157efb9
Srinu Jella [Wed, 8 Jun 2016 19:13:14 +0000 (19:13 +0000)]
Set disable timer in case of any active ACL connection
am:
3e4f01ada8
Change-Id: Ia22d37db6f47cf634a6c38a3f169140054b95ee8
Srinu Jella [Wed, 8 Jun 2016 10:20:53 +0000 (15:50 +0530)]
Set disable timer in case of any active ACL connection
Use Case: Disable time out when atleast one active ACL connections
Steps:
1. Turn ON Bluetooth
2. Connect to any Headset
3. Turn OFF bluetooth.
Failure: Turn OFF bluetooth is failed when atleast one active ACL connections
Root Cause:i If we have one or more active ACL links, so it is not notitying
BTA_DM_DISABLE_EVT to upper layer.
Fix: Set disable timer in case of any active ACL connection
Change-Id: Ica47717119f1ab9fa9f4f5244e8483c408276a2a
Android Build Merger (Role) [Wed, 8 Jun 2016 01:36:45 +0000 (01:36 +0000)]
Merge "Merge \\"Fix payload size for GATT Read by type request\\" into nyc-dev am:
73ee3314ed am:
449203183c" into nyc-mr1-dev-plus-aosp
Android Build Merger (Role) [Wed, 8 Jun 2016 01:36:43 +0000 (01:36 +0000)]
Merge "Merge \\"Fix payload size for GATT Read by type request\\" into nyc-dev am:
73ee3314ed am:
0939c23f4f" into nyc-mr1-dev-plus-aosp
Android Build Merger (Role) [Wed, 8 Jun 2016 01:36:40 +0000 (01:36 +0000)]
Merge "Merge \\"Reject L2CAP INFO RSP and ECHO RSP on the LE signaling channel\\" into nyc-dev am:
e67263c5e6 am:
9d2bd9ea1c" into nyc-mr1-dev-plus-aosp
Subramanian Srinivasan [Wed, 8 Jun 2016 01:36:27 +0000 (01:36 +0000)]
Merge \\"Fix payload size for GATT Read by type request\\" into nyc-dev am:
73ee3314ed
am:
0939c23f4f
Change-Id: Ie91063919e9dd01a20baa353ac511b89ae95e58c
Subramanian Srinivasan [Wed, 8 Jun 2016 01:36:26 +0000 (01:36 +0000)]
Merge \\"Fix payload size for GATT Read by type request\\" into nyc-dev am:
73ee3314ed
am:
449203183c
Change-Id: I832195a890bb8617a8b4dcd7c68f1b7dc27a721b