OSDN Git Service

android-x86/system-bt.git
6 years agoFix build error for AVRCP13 compat fix am: 544f7e1be9 am: 7b1e826e9c am: 3fbeb7aff7
Andre Eisenbach [Fri, 22 Sep 2017 20:48:23 +0000 (20:48 +0000)]
Fix build error for AVRCP13 compat fix am: 544f7e1be9 am: 7b1e826e9c am: 3fbeb7aff7
am: 435406d692

Change-Id: I17cc183a9ec410897bdddf174665a39f50a9b943

6 years agoChange our AVRCP capabilities if the remote device only supports 1.3 am: c8ab11a06a...
Ajay Panicker [Fri, 22 Sep 2017 20:48:16 +0000 (20:48 +0000)]
Change our AVRCP capabilities if the remote device only supports 1.3 am: c8ab11a06a am: 38cb8be9c3 am: f59c97c20d
am: b6432d3893

Change-Id: If5caae4224f49f1f44d7506818f812145386c80b

6 years agoFix build error for AVRCP13 compat fix am: 544f7e1be9 am: 7b1e826e9c
Andre Eisenbach [Fri, 22 Sep 2017 20:26:18 +0000 (20:26 +0000)]
Fix build error for AVRCP13 compat fix am: 544f7e1be9 am: 7b1e826e9c
am: 3fbeb7aff7

Change-Id: I1438233901f6d9b15fd32717ea566f2153dcbd6c

6 years agoChange our AVRCP capabilities if the remote device only supports 1.3 am: c8ab11a06a...
Ajay Panicker [Fri, 22 Sep 2017 20:26:12 +0000 (20:26 +0000)]
Change our AVRCP capabilities if the remote device only supports 1.3 am: c8ab11a06a am: 38cb8be9c3
am: f59c97c20d

Change-Id: I00659188e38d5aaf847d13a79dab941fe106b755

6 years agoFix build error for AVRCP13 compat fix am: 544f7e1be9
Andre Eisenbach [Fri, 22 Sep 2017 20:19:48 +0000 (20:19 +0000)]
Fix build error for AVRCP13 compat fix am: 544f7e1be9
am: 7b1e826e9c

Change-Id: I5813e2869be1b9ef4e1e36b92a6da96a38948fd9

6 years agoChange our AVRCP capabilities if the remote device only supports 1.3 am: c8ab11a06a
Ajay Panicker [Fri, 22 Sep 2017 20:19:43 +0000 (20:19 +0000)]
Change our AVRCP capabilities if the remote device only supports 1.3 am: c8ab11a06a
am: 38cb8be9c3

Change-Id: I4951d1ba9a0e086b89340cf3cf00bcaf66b084ad

6 years agoFix build error for AVRCP13 compat fix
Andre Eisenbach [Fri, 22 Sep 2017 20:15:26 +0000 (20:15 +0000)]
Fix build error for AVRCP13 compat fix
am: 544f7e1be9

Change-Id: I4acd192aea9c8c72d3ad1ab6c7b3f3ccf9bb868f

6 years agoChange our AVRCP capabilities if the remote device only supports 1.3
Ajay Panicker [Fri, 22 Sep 2017 20:15:23 +0000 (20:15 +0000)]
Change our AVRCP capabilities if the remote device only supports 1.3
am: c8ab11a06a

Change-Id: I0aee338bc6c387ea6060637c74d89fa0745c40e5

6 years agoFix build error for AVRCP13 compat fix
Andre Eisenbach [Sat, 16 Sep 2017 07:22:10 +0000 (00:22 -0700)]
Fix build error for AVRCP13 compat fix

Bug: 37943083
Test: manual
Change-Id: I3974192dd007804f90f35a724a39824ed093a633
Merged-In: I6d041590dc51d7e8711b17fb1cb9c880b640052a

6 years agoChange our AVRCP capabilities if the remote device only supports 1.3
Ajay Panicker [Wed, 6 Sep 2017 16:59:51 +0000 (09:59 -0700)]
Change our AVRCP capabilities if the remote device only supports 1.3

This prevents issues with devices that only support 1.3 but can not
handle forward compatability like some Alpine Carkits.

Bug: 37943083
Test: Connect to Alpine carkit that only supports 1.3 and see new features
      are used.

Change-Id: I6d041590dc51d7e8711b17fb1cb9c880b640052a
Merged-In: I6d041590dc51d7e8711b17fb1cb9c880b640052a
(cherry picked from commit f9f1c8b449efb9cb7894a64fe2977f875679ba52)
(cherry picked from commit ff2d86ed3af91099597d033a76a143437543d6fd)

6 years agoGAP: Set service_id before calling gap_release_ccb am: 4c6208fd2d am: acf7e8e1ac...
Myles Watson [Thu, 21 Sep 2017 22:31:58 +0000 (22:31 +0000)]
GAP: Set service_id before calling gap_release_ccb am: 4c6208fd2d am: acf7e8e1ac am: 883ef90657
am: fc090595c4

Change-Id: I1f275a52468fdd55338beb39c01596e34a8c9d9b

6 years agoGAP: Set service_id before calling gap_release_ccb am: 4c6208fd2d am: acf7e8e1ac...
Myles Watson [Thu, 21 Sep 2017 22:31:33 +0000 (22:31 +0000)]
GAP: Set service_id before calling gap_release_ccb am: 4c6208fd2d am: acf7e8e1ac am: 77a5bf558c
am: b9d22d44ae

Change-Id: I55bc8f0944b6f4a1f43d0f323de4f28815f9f590

6 years agoGAP: Set service_id before calling gap_release_ccb am: 4c6208fd2d am: acf7e8e1ac
Myles Watson [Thu, 21 Sep 2017 22:21:01 +0000 (22:21 +0000)]
GAP: Set service_id before calling gap_release_ccb am: 4c6208fd2d am: acf7e8e1ac
am: 883ef90657

Change-Id: If82e262cedd399facdcb2f7b7d4bddab2cd74355

6 years agoGAP: Set service_id before calling gap_release_ccb am: 4c6208fd2d am: acf7e8e1ac
Myles Watson [Thu, 21 Sep 2017 22:14:58 +0000 (22:14 +0000)]
GAP: Set service_id before calling gap_release_ccb am: 4c6208fd2d am: acf7e8e1ac
am: 77a5bf558c

Change-Id: Icb162c02341d9534ce2908271485a3dc161fe28f

6 years agoGAP: Set service_id before calling gap_release_ccb am: 4c6208fd2d
Myles Watson [Thu, 21 Sep 2017 22:01:26 +0000 (22:01 +0000)]
GAP: Set service_id before calling gap_release_ccb am: 4c6208fd2d
am: acf7e8e1ac

Change-Id: Ie4e81653a6a05a050f2c369cafc02ff4cb41da3e

6 years agoGAP: Set service_id before calling gap_release_ccb am: 4c6208fd2d
Myles Watson [Thu, 21 Sep 2017 22:01:26 +0000 (22:01 +0000)]
GAP: Set service_id before calling gap_release_ccb am: 4c6208fd2d
am: acf7e8e1ac

Change-Id: I802897e8f613f1f19bd7b2a06b3dc818041f71a1

6 years agoGAP: Set service_id before calling gap_release_ccb
Myles Watson [Thu, 21 Sep 2017 21:52:54 +0000 (21:52 +0000)]
GAP: Set service_id before calling gap_release_ccb
am: 4c6208fd2d

Change-Id: I705d78e301414308a7150a20576f61a9e95f35c3

6 years agoGAP: Set service_id before calling gap_release_ccb
Myles Watson [Thu, 14 Sep 2017 21:13:44 +0000 (14:13 -0700)]
GAP: Set service_id before calling gap_release_ccb

Calling gap_release_ccb with a service_id == 0, which in turn
calls BTM_SecClrService with an ID of 0.

From the documentation for BTM_SecClrService:

  Service ID - Id of the service to remove. '0' removes all
               service records (except SDP).

Bug: 6569576965223508
Test: BLE connection and characteristic read
Change-Id: Icf309807f02e1faa273cf9bad9c09d9221a8bbfd
(cherry picked from commit 5c5c10683e2a11162838297fc8054b15837c4f32)
(cherry picked from commit 4023c6731d5e991c6202d4e499b9dd43d642fb3c)

6 years agoEnable extra A2DP control log messages am: dd8dfc4ec5
Pavlin Radoslavov [Thu, 21 Sep 2017 04:30:23 +0000 (04:30 +0000)]
Enable extra A2DP control log messages am: dd8dfc4ec5
am: 6fd79f21e7

Change-Id: I9e151f9f8d888d268ee87cb304bc80c2db7fc7c5

6 years agoGet rid of libhardware dependency in native daemon am: 8c273b3700 am: 7959aec405...
Jakub Pawlowski [Thu, 21 Sep 2017 04:30:00 +0000 (04:30 +0000)]
Get rid of libhardware dependency in native daemon am: 8c273b3700 am: 7959aec405 am: 95cfdf98c7
am: 48a48c553d

Change-Id: Ia228717b65f4e874795fb3fa1333989aff365ebf

6 years agoLoosen libhardware dependency am: b1aa65fbb3 am: 9a586e4b53 am: 7ec2db7b26
Jakub Pawlowski [Thu, 21 Sep 2017 04:29:36 +0000 (04:29 +0000)]
Loosen libhardware dependency am: b1aa65fbb3 am: 9a586e4b53 am: 7ec2db7b26
am: 2bb8b47679

Change-Id: Ia9de7378250b6086bdb8a1b37e0094315e915243

6 years agoEnable extra A2DP control log messages am: 7b67302a28 am: 98c3a8e046 am: de4c6da774
Pavlin Radoslavov [Thu, 21 Sep 2017 04:29:09 +0000 (04:29 +0000)]
Enable extra A2DP control log messages am: 7b67302a28 am: 98c3a8e046 am: de4c6da774
am: 76360243cb

Change-Id: I5ff95b51b6ea6da6b05028bf7c981b3fbdeca51a

6 years agoEnable extra A2DP control log messages
Pavlin Radoslavov [Wed, 20 Sep 2017 23:45:53 +0000 (23:45 +0000)]
Enable extra A2DP control log messages
am: dd8dfc4ec5

Change-Id: Ib1ffb0a5061cbbf4d6c1a9a48a5e76d1aa9eeda6

6 years agoGet rid of libhardware dependency in native daemon am: 8c273b3700 am: 7959aec405
Jakub Pawlowski [Wed, 20 Sep 2017 22:37:02 +0000 (22:37 +0000)]
Get rid of libhardware dependency in native daemon am: 8c273b3700 am: 7959aec405
am: 95cfdf98c7

Change-Id: I4905a09629e4630b28224dd5cf500132dea4bfc9

6 years agoGet rid of libhardware dependency in native daemon am: 8c273b3700
Jakub Pawlowski [Wed, 20 Sep 2017 22:34:30 +0000 (22:34 +0000)]
Get rid of libhardware dependency in native daemon am: 8c273b3700
am: 7959aec405

Change-Id: I556ef243394b01a6889bd7a6c0a4a116fe8653ef

6 years agoGet rid of libhardware dependency in native daemon
Jakub Pawlowski [Wed, 20 Sep 2017 22:32:26 +0000 (22:32 +0000)]
Get rid of libhardware dependency in native daemon
am: 8c273b3700

Change-Id: I9b2d7c3dd6cf7bbd0fcc5c6e39cf9ebf1d68e7aa

6 years agoLoosen libhardware dependency am: b1aa65fbb3 am: 9a586e4b53
Jakub Pawlowski [Wed, 20 Sep 2017 21:57:54 +0000 (21:57 +0000)]
Loosen libhardware dependency am: b1aa65fbb3 am: 9a586e4b53
am: 7ec2db7b26

Change-Id: I1921b8184da1298ede9a4fb1641178b24e0d1778

6 years agoLoosen libhardware dependency am: b1aa65fbb3
Jakub Pawlowski [Wed, 20 Sep 2017 21:55:23 +0000 (21:55 +0000)]
Loosen libhardware dependency am: b1aa65fbb3
am: 9a586e4b53

Change-Id: Iec1bd55eb4515b1e58daacae7837dde66572d0c8

6 years agoLoosen libhardware dependency
Jakub Pawlowski [Wed, 20 Sep 2017 21:53:23 +0000 (21:53 +0000)]
Loosen libhardware dependency
am: b1aa65fbb3

Change-Id: Icd6842ffc2f5411c5f41c2c811b124b78796d3af

6 years agoGet rid of libhardware dependency in native daemon
Jakub Pawlowski [Wed, 20 Sep 2017 20:52:11 +0000 (13:52 -0700)]
Get rid of libhardware dependency in native daemon

Test: compilation test
Bug: 66187274
Change-Id: I97ee33a55315f44dc03083d1a8da9a38d5619725

6 years agoLoosen libhardware dependency
Jakub Pawlowski [Wed, 20 Sep 2017 20:16:11 +0000 (13:16 -0700)]
Loosen libhardware dependency

In most places we don't really need the libhardware library, just the
headers.

Bug: 66187274
Test: compilation test
Change-Id: Ifa2f547165fcf8b34bc29ab80d2bd12ce02f4ae1

6 years agoEnable extra A2DP control log messages
Pavlin Radoslavov [Wed, 20 Sep 2017 03:29:33 +0000 (20:29 -0700)]
Enable extra A2DP control log messages

Also, fixed a log message when failed to accept the
corresponding socket socket.

Test: manual
Bug: 63949429
Change-Id: I6d9af32f61974a739d179c37da36c360aefcca79
(cherry picked from commit 7b67302a28019468ae6df9cdb7f9085c6579b859)

6 years agoEnable extra A2DP control log messages am: 7b67302a28 am: 98c3a8e046
Pavlin Radoslavov [Wed, 20 Sep 2017 19:51:16 +0000 (19:51 +0000)]
Enable extra A2DP control log messages am: 7b67302a28 am: 98c3a8e046
am: de4c6da774

Change-Id: Ib988de431eb40a9913ee0e535c092662b6dc3f05

6 years agoEnable extra A2DP control log messages am: 7b67302a28
Pavlin Radoslavov [Wed, 20 Sep 2017 19:49:14 +0000 (19:49 +0000)]
Enable extra A2DP control log messages am: 7b67302a28
am: 98c3a8e046

Change-Id: Icfd063f42b0cf78dc5b3971a1a3f8dc9800cfc01

6 years agoEnable extra A2DP control log messages
Pavlin Radoslavov [Wed, 20 Sep 2017 19:47:14 +0000 (19:47 +0000)]
Enable extra A2DP control log messages
am: 7b67302a28

Change-Id: I0247ee2d4e174b46df2d6c9f37b666fbe3b969f3

6 years agoEnable extra A2DP control log messages
Pavlin Radoslavov [Wed, 20 Sep 2017 03:29:33 +0000 (20:29 -0700)]
Enable extra A2DP control log messages

Also, fixed a log message when failed to accept the
corresponding socket socket.

Test: manual
Bug: 63949429
Change-Id: I6d9af32f61974a739d179c37da36c360aefcca79

6 years agoBLE Adv RPA is not updated on first timeout am: de1203d8cc am: 33f363e634 am: 48916870e8
Sunny Kapdi [Tue, 19 Sep 2017 20:18:07 +0000 (20:18 +0000)]
BLE Adv RPA is not updated on first timeout am: de1203d8cc am: 33f363e634 am: 48916870e8
am: 2ce49cafed

Change-Id: I951b3a5ea09c2f636761a706597e6b7664b8ed08

6 years agoBLE Adv RPA is not updated on first timeout am: de1203d8cc am: 33f363e634
Sunny Kapdi [Tue, 19 Sep 2017 20:08:14 +0000 (20:08 +0000)]
BLE Adv RPA is not updated on first timeout am: de1203d8cc am: 33f363e634
am: 48916870e8

Change-Id: I110e13ddf51e03890eb4748c753a87700f2b77d4

6 years agoBLE Adv RPA is not updated on first timeout am: de1203d8cc
Sunny Kapdi [Tue, 19 Sep 2017 20:03:39 +0000 (20:03 +0000)]
BLE Adv RPA is not updated on first timeout am: de1203d8cc
am: 33f363e634

Change-Id: I89c2c80b03b77e5a5b7e216e9a286887d1306e57

6 years agoBLE Adv RPA is not updated on first timeout
Sunny Kapdi [Tue, 19 Sep 2017 20:01:39 +0000 (20:01 +0000)]
BLE Adv RPA is not updated on first timeout
am: de1203d8cc

Change-Id: I20fa5876f0d091a680ae4028e63a50051f390b8e

6 years agoBLE Adv RPA is not updated on first timeout
Sunny Kapdi [Tue, 19 Sep 2017 01:14:13 +0000 (18:14 -0700)]
BLE Adv RPA is not updated on first timeout

BLE Advertisement RPA is getting updated with the
same RPA instead of the newly generated RPA on the
first timeout. Make sure to send the newly generated
RPA to the Controller.

CRs-Fixed: 2111232
Bug: 65857055
Change-Id: I4d8e95c26fe8e5944fdee32089b8fcaffa238367

6 years agoMerge changes from topic "am-d37d37956b3e49d89a31faaa131fd1fc" into oc-mr1-dev-plus...
Andre Eisenbach [Sat, 16 Sep 2017 15:33:22 +0000 (15:33 +0000)]
Merge changes from topic "am-d37d37956b3e49d89a31faaa131fd1fc" into oc-mr1-dev-plus-aosp
am: af7b3b007f  -s ours

Change-Id: Ie9c4ac48cae1b04cd7d7ea2124715349f951a467

6 years agoFix build error for AVRCP13 compat fix am: ab0fec08a4 am: b2fbd7e3d0 -s ours
Andre Eisenbach [Sat, 16 Sep 2017 15:32:45 +0000 (15:32 +0000)]
Fix build error for AVRCP13 compat fix am: ab0fec08a4 am: b2fbd7e3d0  -s ours
am: 4104542501  -s ours

Change-Id: Id4cb33ab69e96868fa80f9bc8da61ec2ae0e3c0c

6 years agoChange our AVRCP capabilities if the remote device only supports 1.3 am: ff2d86ed3a...
Ajay Panicker [Sat, 16 Sep 2017 15:32:38 +0000 (15:32 +0000)]
Change our AVRCP capabilities if the remote device only supports 1.3 am: ff2d86ed3a am: f2ea7f1799  -s ours
am: 3ef0ac6de8  -s ours

Change-Id: I08df9c8c6cf700b63e4c91eee1236b17c3bbaa40

6 years agoMerge changes from topic "am-d37d37956b3e49d89a31faaa131fd1fc" into oc-mr1-dev-plus...
Android Build Merger (Role) [Sat, 16 Sep 2017 15:31:08 +0000 (15:31 +0000)]
Merge changes from topic "am-d37d37956b3e49d89a31faaa131fd1fc" into oc-mr1-dev-plus-aosp

* changes:
  Fix build error for AVRCP13 compat fix am: ab0fec08a4  -s ours am: 9e79daa051  -s ours
  Change our AVRCP capabilities if the remote device only supports 1.3 am: ff2d86ed3a  -s ours am: 69bd4978f2  -s ours

6 years agoFix build error for AVRCP13 compat fix am: ab0fec08a4 -s ours
Andre Eisenbach [Sat, 16 Sep 2017 15:30:13 +0000 (15:30 +0000)]
Fix build error for AVRCP13 compat fix am: ab0fec08a4  -s ours
am: 9e79daa051  -s ours

Change-Id: Ic1b532f896c2abf5de35b5f8f80a779da698513b

6 years agoFix build error for AVRCP13 compat fix am: ab0fec08a4
Andre Eisenbach [Sat, 16 Sep 2017 15:30:12 +0000 (15:30 +0000)]
Fix build error for AVRCP13 compat fix am: ab0fec08a4
am: b2fbd7e3d0  -s ours

Change-Id: I48fcc51377ff162a80251aedbd77d100030c4669

6 years agoChange our AVRCP capabilities if the remote device only supports 1.3 am: ff2d86ed3a
Ajay Panicker [Sat, 16 Sep 2017 15:30:08 +0000 (15:30 +0000)]
Change our AVRCP capabilities if the remote device only supports 1.3 am: ff2d86ed3a
am: f2ea7f1799  -s ours

Change-Id: I3e19e99676645942fa16c79dbf89ec220c83bdb4

6 years agoChange our AVRCP capabilities if the remote device only supports 1.3 am: ff2d86ed3a...
Ajay Panicker [Sat, 16 Sep 2017 15:30:08 +0000 (15:30 +0000)]
Change our AVRCP capabilities if the remote device only supports 1.3 am: ff2d86ed3a  -s ours
am: 69bd4978f2  -s ours

Change-Id: I0ad2524f46de7fe5c9298b143319b711308e35ba

6 years agoFix build error for AVRCP13 compat fix
Andre Eisenbach [Sat, 16 Sep 2017 15:27:43 +0000 (15:27 +0000)]
Fix build error for AVRCP13 compat fix
am: ab0fec08a4

Change-Id: Ia47840da1e2536eb5a8d226771a9baff8c0a277a

6 years agoFix build error for AVRCP13 compat fix
Andre Eisenbach [Sat, 16 Sep 2017 15:27:42 +0000 (15:27 +0000)]
Fix build error for AVRCP13 compat fix
am: ab0fec08a4  -s ours

Change-Id: I6b0837dbb37dc51267ec5eb6955ba7c6facca53c

6 years agoChange our AVRCP capabilities if the remote device only supports 1.3
Ajay Panicker [Sat, 16 Sep 2017 15:27:38 +0000 (15:27 +0000)]
Change our AVRCP capabilities if the remote device only supports 1.3
am: ff2d86ed3a

Change-Id: I8787fd127a2e02c195d76d4d6c60756c4b16dfd4

6 years agoChange our AVRCP capabilities if the remote device only supports 1.3
Ajay Panicker [Sat, 16 Sep 2017 15:27:37 +0000 (15:27 +0000)]
Change our AVRCP capabilities if the remote device only supports 1.3
am: ff2d86ed3a  -s ours

Change-Id: I8edbd554ec49ed2d05f747664c538a54bbad74ed

6 years agoFix build error for AVRCP13 compat fix
Andre Eisenbach [Sat, 16 Sep 2017 07:22:10 +0000 (00:22 -0700)]
Fix build error for AVRCP13 compat fix

Bug: 37943083
Test: manual
Change-Id: I3974192dd007804f90f35a724a39824ed093a633
Merged-In: I6d041590dc51d7e8711b17fb1cb9c880b640052a

6 years agoChange our AVRCP capabilities if the remote device only supports 1.3
Ajay Panicker [Wed, 6 Sep 2017 16:59:51 +0000 (09:59 -0700)]
Change our AVRCP capabilities if the remote device only supports 1.3

This prevents issues with devices that only support 1.3 but can not
handle forward compatability like some Alpine Carkits.

Bug: 37943083
Test: Connect to Alpine carkit that only supports 1.3 and see new features
      are used.

Change-Id: I6d041590dc51d7e8711b17fb1cb9c880b640052a
Merged-In: I6d041590dc51d7e8711b17fb1cb9c880b640052a
(cherry picked from commit f9f1c8b449efb9cb7894a64fe2977f875679ba52)

6 years agoMerge "Clean-up BTIF profile queue on profile shutdown" am: 643c869ca2 am: 0ee292a4d0...
Jack He [Sat, 16 Sep 2017 06:35:38 +0000 (06:35 +0000)]
Merge "Clean-up BTIF profile queue on profile shutdown" am: 643c869ca2 am: 0ee292a4d0 am: 839f75226d
am: 261241e310

Change-Id: I1b0c98cfe471731314f5952b3f7bff4128bb97cd

6 years agoMerge "Clean-up BTIF profile queue on profile shutdown" am: 643c869ca2 am: 0ee292a4d0
Jack He [Sat, 16 Sep 2017 06:33:07 +0000 (06:33 +0000)]
Merge "Clean-up BTIF profile queue on profile shutdown" am: 643c869ca2 am: 0ee292a4d0
am: 839f75226d

Change-Id: Ie78edfdf34c4f4a79918c9a5859c6f2c58a1639c

6 years agoDO NOT MERGE Fix unknown type issue in unit tests am: 9b4aebb1ba -s ours am: 55e7146...
Jack He [Sat, 16 Sep 2017 06:30:40 +0000 (06:30 +0000)]
DO NOT MERGE Fix unknown type issue in unit tests am: 9b4aebb1ba  -s ours am: 55e7146aa8  -s ours
am: 1704eb3806  -s ours

Change-Id: Ib8a30c70eabf80f2f3b48d3984cfd25c9431d56c

6 years agoMerge "Clean-up BTIF profile queue on profile shutdown" am: 643c869ca2
Jack He [Sat, 16 Sep 2017 06:30:37 +0000 (06:30 +0000)]
Merge "Clean-up BTIF profile queue on profile shutdown" am: 643c869ca2
am: 0ee292a4d0

Change-Id: I9fdffd82475266ea2fae4fb65f039ec81775e521

6 years agoClean-up BTIF profile queue on profile shutdown am: a2d0cbc35a am: 88e62568fb -s...
Jack He [Sat, 16 Sep 2017 06:30:37 +0000 (06:30 +0000)]
Clean-up BTIF profile queue on profile shutdown am: a2d0cbc35a am: 88e62568fb  -s ours
am: cbdb92aee2  -s ours

Change-Id: If8edce3f6b920b6f6169abb416e4f709aebda307

6 years agoDO NOT MERGE Fix unknown type issue in unit tests am: 9b4aebb1ba -s ours
Jack He [Sat, 16 Sep 2017 06:27:42 +0000 (06:27 +0000)]
DO NOT MERGE Fix unknown type issue in unit tests am: 9b4aebb1ba  -s ours
am: 55e7146aa8  -s ours

Change-Id: If80dde750d1a3e38a41dd9a4d49dfcf7bb71143a

6 years agoMerge "Clean-up BTIF profile queue on profile shutdown"
Jack He [Sat, 16 Sep 2017 06:27:37 +0000 (06:27 +0000)]
Merge "Clean-up BTIF profile queue on profile shutdown"
am: 643c869ca2

Change-Id: I7c22ae8dd883edacbe532f93d9e6a279f168d5ac

6 years agoClean-up BTIF profile queue on profile shutdown am: a2d0cbc35a
Jack He [Sat, 16 Sep 2017 06:27:37 +0000 (06:27 +0000)]
Clean-up BTIF profile queue on profile shutdown am: a2d0cbc35a
am: 88e62568fb  -s ours

Change-Id: I47dbb5c523b99c4b8e853bf353c29cd4c514a17c

6 years agoDO NOT MERGE Fix unknown type issue in unit tests
Jack He [Sat, 16 Sep 2017 06:25:13 +0000 (06:25 +0000)]
DO NOT MERGE Fix unknown type issue in unit tests
am: 9b4aebb1ba  -s ours

Change-Id: Ief005c60c2372c1b8fa95a3a4459147f6e2009b0

6 years agoClean-up BTIF profile queue on profile shutdown
Jack He [Sat, 16 Sep 2017 06:25:07 +0000 (06:25 +0000)]
Clean-up BTIF profile queue on profile shutdown
am: a2d0cbc35a

Change-Id: I42e2f4d5e273c83c4e935b0263b707b5442ec619

6 years agoMerge "Clean-up BTIF profile queue on profile shutdown"
Treehugger Robot [Sat, 16 Sep 2017 06:24:09 +0000 (06:24 +0000)]
Merge "Clean-up BTIF profile queue on profile shutdown"

6 years agoDO NOT MERGE Fix unknown type issue in unit tests am: 9b4aebb1ba -s ours am: 877bc67...
Jack He [Sat, 16 Sep 2017 06:17:11 +0000 (06:17 +0000)]
DO NOT MERGE Fix unknown type issue in unit tests am: 9b4aebb1ba  -s ours am: 877bc67b60  -s ours
am: 371ede1d91  -s ours

Change-Id: I4e568ab7f425c924d56b0a08288113c406263f7d

6 years agoClean-up BTIF profile queue on profile shutdown am: a2d0cbc35a -s ours am: 951eeba31...
Jack He [Sat, 16 Sep 2017 06:17:06 +0000 (06:17 +0000)]
Clean-up BTIF profile queue on profile shutdown am: a2d0cbc35a  -s ours am: 951eeba315  -s ours
am: 06365c8274  -s ours

Change-Id: I0ee9b7296a51474f3b4613534e94a9ebe62bb14f

6 years agoDO NOT MERGE Fix unknown type issue in unit tests am: 9b4aebb1ba -s ours
Jack He [Sat, 16 Sep 2017 06:14:42 +0000 (06:14 +0000)]
DO NOT MERGE Fix unknown type issue in unit tests am: 9b4aebb1ba  -s ours
am: 877bc67b60  -s ours

Change-Id: Ie4af9ab59c59fcd8b0e4362ffd6d51381a9fe18c

6 years agoClean-up BTIF profile queue on profile shutdown am: a2d0cbc35a -s ours
Jack He [Sat, 16 Sep 2017 06:14:36 +0000 (06:14 +0000)]
Clean-up BTIF profile queue on profile shutdown am: a2d0cbc35a  -s ours
am: 951eeba315  -s ours

Change-Id: I17cfff2d7983301ffa2be630a4985aa743061c94

6 years agoDO NOT MERGE Fix unknown type issue in unit tests
Jack He [Sat, 16 Sep 2017 06:12:11 +0000 (06:12 +0000)]
DO NOT MERGE Fix unknown type issue in unit tests
am: 9b4aebb1ba  -s ours

Change-Id: I8fe51a6c113e8dd94e7822cd45548043baddfb51

6 years agoClean-up BTIF profile queue on profile shutdown
Jack He [Sat, 16 Sep 2017 06:12:05 +0000 (06:12 +0000)]
Clean-up BTIF profile queue on profile shutdown
am: a2d0cbc35a  -s ours

Change-Id: I25dae768d2fb38d1b8b0747bba8cf46300838530

6 years agoDO NOT MERGE Fix unknown type issue in unit tests
Jack He [Sat, 16 Sep 2017 01:03:29 +0000 (18:03 -0700)]
DO NOT MERGE Fix unknown type issue in unit tests

Bug: 63790458
Test: build, unit test
Change-Id: If5e403907292aa25c8d39b17f2f1818d493433e6
Merged-In: I28288c295b7ca0259b2112c11b4e5a81d6f2e33c

6 years agoMerge "Clean-up BTIF profile queue on profile shutdown" into oc-mr1-dev am: 11dc2c883b
Jack He [Sat, 16 Sep 2017 01:31:03 +0000 (01:31 +0000)]
Merge "Clean-up BTIF profile queue on profile shutdown" into oc-mr1-dev am: 11dc2c883b
am: 586286fcec

Change-Id: Iec282b0fa2937884c9c3211a5b68ffc997f77533

6 years agoMerge "Clean-up BTIF profile queue on profile shutdown" into oc-mr1-dev
Jack He [Sat, 16 Sep 2017 01:28:14 +0000 (01:28 +0000)]
Merge "Clean-up BTIF profile queue on profile shutdown" into oc-mr1-dev
am: 11dc2c883b

Change-Id: Iaee55739cbdb395ab6fdf37d004f2b0cd7374d68

6 years agoMerge "Clean-up BTIF profile queue on profile shutdown" into oc-mr1-dev
TreeHugger Robot [Sat, 16 Sep 2017 01:24:29 +0000 (01:24 +0000)]
Merge "Clean-up BTIF profile queue on profile shutdown" into oc-mr1-dev

6 years agoClean-up BTIF profile queue on profile shutdown
Jack He [Fri, 15 Sep 2017 00:13:19 +0000 (17:13 -0700)]
Clean-up BTIF profile queue on profile shutdown

* Add btif_profile_cleanup(uuid) method to remove pending connection
  requests for individual UUIDs
* Call the above method in each profile's clean-up method
* Add unit tests for btif_profile_queue

Bug: 63790458
Test: make, unit tests, pair and connect car kits
Change-Id: I28288c295b7ca0259b2112c11b4e5a81d6f2e33c
Merged-In: I28288c295b7ca0259b2112c11b4e5a81d6f2e33c
(cherry picked from commit d366807102bce97e494e83570d757ebcb6a33b3c)

6 years agoSetPreferredPhy/ReadPhy callback fix am: d08d44e09b am: 6891e6f7c8 am: 7e1effb961
Jakub Pawlowski [Sat, 16 Sep 2017 00:31:12 +0000 (00:31 +0000)]
SetPreferredPhy/ReadPhy callback fix am: d08d44e09b am: 6891e6f7c8 am: 7e1effb961
am: cb479e36b8

Change-Id: I2116440875b42243dbab537d157f195e2c80a91e

6 years agoSetPreferredPhy/ReadPhy callback fix am: d08d44e09b am: 6891e6f7c8
Jakub Pawlowski [Sat, 16 Sep 2017 00:28:43 +0000 (00:28 +0000)]
SetPreferredPhy/ReadPhy callback fix am: d08d44e09b am: 6891e6f7c8
am: 7e1effb961

Change-Id: Ide2e1fb84bcf375b0a31ba133e91ae102ae765f7

6 years agoSetPreferredPhy/ReadPhy callback fix am: d08d44e09b
Jakub Pawlowski [Sat, 16 Sep 2017 00:26:42 +0000 (00:26 +0000)]
SetPreferredPhy/ReadPhy callback fix am: d08d44e09b
am: 6891e6f7c8

Change-Id: I07157be624a2b5aac9dcd7862cbffa4ba19a278d

6 years agoSetPreferredPhy/ReadPhy callback fix
Jakub Pawlowski [Sat, 16 Sep 2017 00:24:11 +0000 (00:24 +0000)]
SetPreferredPhy/ReadPhy callback fix
am: d08d44e09b

Change-Id: I81698e198eb7be1e4b11efb16f8c43311ed4a029

6 years agoMerge "Merge "Don't reject notifications and wait until new addressed player is ready...
Ajay Panicker [Sat, 16 Sep 2017 00:20:06 +0000 (00:20 +0000)]
Merge "Merge "Don't reject notifications and wait until new addressed player is ready (2/2)" into oc-dr1-dev am: 7fba61cf06 am: e46b0613f6  -s ours" into oc-mr1-dev-plus-aosp
am: 1b6946412c  -s ours

Change-Id: Iff686ab2e94f319020cdfbe125b3d6059cc2266b

6 years agoMerge "Don't reject notifications and wait until new addressed player is ready (2...
Ajay Panicker [Sat, 16 Sep 2017 00:19:15 +0000 (00:19 +0000)]
Merge "Don't reject notifications and wait until new addressed player is ready (2/2)" into oc-dr1-dev am: 7fba61cf06  -s ours am: 4b8ab1844a  -s ours
am: 232c2d50cf  -s ours

Change-Id: I1272783646a7a112c8b7705cc4545455ba2b810f

6 years agoMerge "Merge "Don't reject notifications and wait until new addressed player is ready...
Android Build Merger (Role) [Sat, 16 Sep 2017 00:17:25 +0000 (00:17 +0000)]
Merge "Merge "Don't reject notifications and wait until new addressed player is ready (2/2)" into oc-dr1-dev am: 7fba61cf06 am: e46b0613f6  -s ours" into oc-mr1-dev-plus-aosp

6 years agoMerge "Don't reject notifications and wait until new addressed player is ready (2...
Ajay Panicker [Sat, 16 Sep 2017 00:16:48 +0000 (00:16 +0000)]
Merge "Don't reject notifications and wait until new addressed player is ready (2/2)" into oc-dr1-dev am: 7fba61cf06  -s ours
am: 4b8ab1844a  -s ours

Change-Id: I2746fe0ed3cc634f21b59bc91a357f48dd0621f9

6 years agoMerge "Don't reject notifications and wait until new addressed player is ready (2...
Ajay Panicker [Sat, 16 Sep 2017 00:16:48 +0000 (00:16 +0000)]
Merge "Don't reject notifications and wait until new addressed player is ready (2/2)" into oc-dr1-dev am: 7fba61cf06
am: e46b0613f6  -s ours

Change-Id: I911c98e4b025c3f122ccd5c25d28c8bcf429a685

6 years agoMerge "Don't reject notifications and wait until new addressed player is ready (2...
Ajay Panicker [Sat, 16 Sep 2017 00:14:27 +0000 (00:14 +0000)]
Merge "Don't reject notifications and wait until new addressed player is ready (2/2)" into oc-dr1-dev
am: 7fba61cf06

Change-Id: I26368f08958d60e52a6e6cf22b6bd88ddd902682

6 years agoMerge "Don't reject notifications and wait until new addressed player is ready (2...
Ajay Panicker [Sat, 16 Sep 2017 00:14:14 +0000 (00:14 +0000)]
Merge "Don't reject notifications and wait until new addressed player is ready (2/2)" into oc-dr1-dev
am: 7fba61cf06  -s ours

Change-Id: Ibbe07200a10dcbd5a2aa189a4d1e95fab9912a3c

6 years agoMerge "Don't reject notifications and wait until new addressed player is ready (2...
TreeHugger Robot [Sat, 16 Sep 2017 00:10:43 +0000 (00:10 +0000)]
Merge "Don't reject notifications and wait until new addressed player is ready (2/2)" into oc-dr1-dev

6 years agoMerge "GAP: Set service_id before calling gap_release_ccb am: f606990828 -s ours...
Myles Watson [Fri, 15 Sep 2017 23:42:25 +0000 (23:42 +0000)]
Merge "GAP: Set service_id before calling gap_release_ccb am: f606990828  -s ours am: 9a1b87c3bc  -s ours" into oc-mr1-dev-plus-aosp
am: cbf077e8a4  -s ours

Change-Id: I622e98ad8fad727c28861c8fc6edfdf683620988

6 years agoGAP: Set service_id before calling gap_release_ccb am: f606990828 -s ours am: a8f526...
Myles Watson [Fri, 15 Sep 2017 23:42:04 +0000 (23:42 +0000)]
GAP: Set service_id before calling gap_release_ccb am: f606990828  -s ours am: a8f5269b23  -s ours
am: 70ea664c03  -s ours

Change-Id: I7b2cb776f28966f7f2a612420cb9ecc778449f00

6 years agoMerge "GAP: Set service_id before calling gap_release_ccb am: f606990828 -s ours...
Android Build Merger (Role) [Fri, 15 Sep 2017 23:40:08 +0000 (23:40 +0000)]
Merge "GAP: Set service_id before calling gap_release_ccb am: f606990828  -s ours am: 9a1b87c3bc  -s ours" into oc-mr1-dev-plus-aosp

6 years agoGAP: Set service_id before calling gap_release_ccb am: f606990828 -s ours
Myles Watson [Fri, 15 Sep 2017 23:39:54 +0000 (23:39 +0000)]
GAP: Set service_id before calling gap_release_ccb am: f606990828  -s ours
am: a8f5269b23  -s ours

Change-Id: I0e7f54c446ff22b24db2dc9e2d21b996168010f5

6 years agoGAP: Set service_id before calling gap_release_ccb am: f606990828 -s ours
Myles Watson [Fri, 15 Sep 2017 23:39:52 +0000 (23:39 +0000)]
GAP: Set service_id before calling gap_release_ccb am: f606990828  -s ours
am: 9a1b87c3bc  -s ours

Change-Id: I73be3630c2664c99a9493b479a02e15869cc1c43

6 years agoGAP: Set service_id before calling gap_release_ccb
Myles Watson [Fri, 15 Sep 2017 23:37:42 +0000 (23:37 +0000)]
GAP: Set service_id before calling gap_release_ccb
am: f606990828  -s ours

Change-Id: I673dd88b298cb58b94bbd8326066af93e5a2e2f4

6 years agoGAP: Set service_id before calling gap_release_ccb
Myles Watson [Fri, 15 Sep 2017 23:37:23 +0000 (23:37 +0000)]
GAP: Set service_id before calling gap_release_ccb
am: f606990828  -s ours

Change-Id: I5d2b91b2f343491ef4ad1654f30eab118b173a52

6 years agoClean-up BTIF profile queue on profile shutdown
Jack He [Fri, 15 Sep 2017 00:13:19 +0000 (17:13 -0700)]
Clean-up BTIF profile queue on profile shutdown

* Add btif_profile_cleanup(uuid) method to remove pending connection
  requests for individual UUIDs
* Call the above method in each profile's clean-up method
* Add unit tests for btif_profile_queue

Bug: 63790458
Test: make, unit tests, pair and connect car kits
Change-Id: I28288c295b7ca0259b2112c11b4e5a81d6f2e33c
(cherry picked from commit d366807102bce97e494e83570d757ebcb6a33b3c)

6 years agoGAP: Set service_id before calling gap_release_ccb
Myles Watson [Thu, 14 Sep 2017 21:13:44 +0000 (14:13 -0700)]
GAP: Set service_id before calling gap_release_ccb

Calling gap_release_ccb with a service_id == 0, which in turn
calls BTM_SecClrService with an ID of 0.

From the documentation for BTM_SecClrService:

  Service ID - Id of the service to remove. '0' removes all
               service records (except SDP).

Bug: 6569576965223508
Test: BLE connection and characteristic read
Change-Id: Icf309807f02e1faa273cf9bad9c09d9221a8bbfd
Merged-In: Icf309807f02e1faa273cf9bad9c09d9221a8bbfd
(cherry picked from commit 5c5c10683e2a11162838297fc8054b15837c4f32)
(cherry picked from commit 4023c6731d5e991c6202d4e499b9dd43d642fb3c)

6 years agoDon't reject notifications and wait until new addressed player is ready (2/2)
Ajay Panicker [Wed, 30 Aug 2017 01:30:43 +0000 (18:30 -0700)]
Don't reject notifications and wait until new addressed player is ready (2/2)

There are some carkits like the ones found in the 2016 Honda CRZ and some
Audi's that do not follow the spec and do not honor reject pending notification
messages after switching players. This causes an issue whenever you switch
players, the metadata freezes due to the fact that the carkit never re-registers
for new track changed notifications. This patch removes the reject notification
and reorders the current notifications.

Bug: 64142363
Test: Test with Audi S7 and 2016 Honda CRZ and see that switching players works
      TestTracker: 105391/3975
Change-Id: Iaec70863594e13217916ab740d529f526d27c2d1
Merged-In: Iaec70863594e13217916ab740d529f526d27c2d1
(cherry picked from commit dd535e70c767fe214c1634b46618d0fb5ed4385d)

6 years agoClean-up BTIF profile queue on profile shutdown
Jack He [Fri, 15 Sep 2017 00:13:19 +0000 (17:13 -0700)]
Clean-up BTIF profile queue on profile shutdown

* Add btif_profile_cleanup(uuid) method to remove pending connection
  requests for individual UUIDs
* Call the above method in each profile's clean-up method
* Add unit tests for btif_profile_queue

Bug: 63790458
Test: make, unit tests, pair and connect car kits
Change-Id: I28288c295b7ca0259b2112c11b4e5a81d6f2e33c