OSDN Git Service

android-x86/system-bt.git
3 years agoAdd layer of indirection to set hal_callbacks am: 6869395b5f am: f48bddb8b0 am: d3598...
Chris Manton [Fri, 9 Apr 2021 08:04:06 +0000 (08:04 +0000)]
Add layer of indirection to set hal_callbacks am: 6869395b5f am: f48bddb8b0 am: d35983050a

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1670987

Change-Id: I6ce9666eb41d7d2696677c76a3b4ae23e9b5d3b0

3 years agoCononicalize include pathnames am: 1dcbf80e0a am: 397286a97a am: 38cdc7f01d
Chris Manton [Fri, 9 Apr 2021 08:04:04 +0000 (08:04 +0000)]
Cononicalize include pathnames am: 1dcbf80e0a am: 397286a97a am: 38cdc7f01d

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1670986

Change-Id: Ief681a69f8ccd9f6f5aec0df8420b4bb5fb81f20

3 years agoRemove execute bits btif/:: am: 6938800037 am: 3089b6f415 am: 5dc1ff9b39
Chris Manton [Fri, 9 Apr 2021 08:04:03 +0000 (08:04 +0000)]
Remove execute bits btif/:: am: 6938800037 am: 3089b6f415 am: 5dc1ff9b39

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1670985

Change-Id: I5da8d50d30f4662a507f3f3b79b03e27f54cfb43

3 years agoAdd layer of indirection to set hal_callbacks am: 6869395b5f am: f48bddb8b0
Chris Manton [Fri, 9 Apr 2021 07:17:27 +0000 (07:17 +0000)]
Add layer of indirection to set hal_callbacks am: 6869395b5f am: f48bddb8b0

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1670987

Change-Id: If4dea361ce1418ea88536007441f39d295df7deb

3 years agoCononicalize include pathnames am: 1dcbf80e0a am: 397286a97a
Chris Manton [Fri, 9 Apr 2021 07:17:26 +0000 (07:17 +0000)]
Cononicalize include pathnames am: 1dcbf80e0a am: 397286a97a

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1670986

Change-Id: I1fcc1c9a13d968c63defedb20a08493b0df45698

3 years agoRemove execute bits btif/:: am: 6938800037 am: 3089b6f415
Chris Manton [Fri, 9 Apr 2021 07:17:25 +0000 (07:17 +0000)]
Remove execute bits btif/:: am: 6938800037 am: 3089b6f415

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1670985

Change-Id: I00e1a9fafb56a116e600e02b1383392abaad8fb3

3 years agoAdd layer of indirection to set hal_callbacks am: 6869395b5f
Chris Manton [Fri, 9 Apr 2021 06:35:26 +0000 (06:35 +0000)]
Add layer of indirection to set hal_callbacks am: 6869395b5f

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1670987

Change-Id: Idb81558fb6a18ffc5ca6b967fcba208fafaa176b

3 years agoCononicalize include pathnames am: 1dcbf80e0a
Chris Manton [Fri, 9 Apr 2021 06:35:24 +0000 (06:35 +0000)]
Cononicalize include pathnames am: 1dcbf80e0a

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1670986

Change-Id: I625540239f09f3ef04092795fb74b7ffd0548146

3 years agoRemove execute bits btif/:: am: 6938800037
Chris Manton [Fri, 9 Apr 2021 06:34:22 +0000 (06:34 +0000)]
Remove execute bits btif/:: am: 6938800037

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1670985

Change-Id: I84a3cd6931b6aeeb0450d0d8a9fdb08b35473448

3 years agoPrint stopwatch log when the bluetooth HAL died. am: 1a7586dd08 am: 944c6f9ba7 am...
weichinweng [Fri, 9 Apr 2021 04:10:25 +0000 (04:10 +0000)]
Print stopwatch log when the bluetooth HAL died. am: 1a7586dd08 am: 944c6f9ba7 am: e5a4d18762

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1669526

Change-Id: I2fc0a427e956e656b613eb6458e55d79e68ad514

3 years agoPrint stopwatch log when the bluetooth HAL died. am: 1a7586dd08 am: 944c6f9ba7
weichinweng [Fri, 9 Apr 2021 03:21:27 +0000 (03:21 +0000)]
Print stopwatch log when the bluetooth HAL died. am: 1a7586dd08 am: 944c6f9ba7

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1669526

Change-Id: If33076ac33ea4bcce4f00a9a30f89f855918ac79

3 years agoPrint stopwatch log when the bluetooth HAL died. am: 1a7586dd08
weichinweng [Fri, 9 Apr 2021 02:31:23 +0000 (02:31 +0000)]
Print stopwatch log when the bluetooth HAL died. am: 1a7586dd08

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1669526

Change-Id: I3b1392d8102c893b86d41d482f34338789dd4054

3 years agoAdd layer of indirection to set hal_callbacks
Chris Manton [Thu, 8 Apr 2021 23:16:53 +0000 (16:16 -0700)]
Add layer of indirection to set hal_callbacks

Used for test injection

Bug: 163134718
Test: gd/cert/run
Tag: #refactor
BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines

Change-Id: I1cfd4103bfe6b20aabff2885e5ace106e11b04e8

3 years agoCononicalize include pathnames
Chris Manton [Thu, 8 Apr 2021 00:37:18 +0000 (17:37 -0700)]
Cononicalize include pathnames

Bug: 163134718
Test: gd/cert/run
Tag: #refactor
BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines

Change-Id: I5a8f78346ae26fd4cdccc5730160cb76b3a01a9e

3 years agoRemove execute bits btif/::
Chris Manton [Wed, 7 Apr 2021 20:01:27 +0000 (13:01 -0700)]
Remove execute bits btif/::

Bug: 163134718
Test: gd/cert/run
Tag: #refactor
BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines

Change-Id: I35654b3c03d365900c06e12a09934a27739b75b9

3 years agoPrint stopwatch log when the bluetooth HAL died.
weichinweng [Thu, 8 Apr 2021 09:48:39 +0000 (17:48 +0800)]
Print stopwatch log when the bluetooth HAL died.

Bug: 175754404
Test: atest BluetoothInstrumentationTests
Tag: #stability
Change-Id: I775066475cc3b14de3b613b8a3b60c34214c3703

3 years agoMerge "Update to use CXX 1.0" am: 73f77c9369 am: 8b16351826 am: 6ad9046878
Matthew Maurer [Thu, 8 Apr 2021 21:55:22 +0000 (21:55 +0000)]
Merge "Update to use CXX 1.0" am: 73f77c9369 am: 8b16351826 am: 6ad9046878

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1669167

Change-Id: I72dc925ccfc8724b002239f4d7bd2500c32cd702

3 years agoMerge "Update to use CXX 1.0" am: 73f77c9369 am: 8b16351826
Matthew Maurer [Thu, 8 Apr 2021 21:06:36 +0000 (21:06 +0000)]
Merge "Update to use CXX 1.0" am: 73f77c9369 am: 8b16351826

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1669167

Change-Id: Ieb01450258608cbfcf08dc30423402b1250daccf

3 years agoMerge "Update to use CXX 1.0" am: 73f77c9369
Matthew Maurer [Thu, 8 Apr 2021 20:24:19 +0000 (20:24 +0000)]
Merge "Update to use CXX 1.0" am: 73f77c9369

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1669167

Change-Id: I7d28ba797c3340d6648e88a4a6fcb42ee9209853

3 years agoMerge "Update to use CXX 1.0"
Matthew Maurer [Thu, 8 Apr 2021 19:59:20 +0000 (19:59 +0000)]
Merge "Update to use CXX 1.0"

3 years agoMerge "Merge "Add a hint for cert tests" am: 51f099ca2c am: f6813b5a7f am: 09f3e85162...
Automerger Merge Worker [Thu, 8 Apr 2021 19:46:35 +0000 (19:46 +0000)]
Merge "Merge "Add a hint for cert tests" am: 51f099ca2c am: f6813b5a7f am: 09f3e85162" into sc-dev

3 years agoMerge "Add a hint for cert tests" am: 51f099ca2c am: f6813b5a7f am: 09f3e85162
Treehugger Robot [Thu, 8 Apr 2021 19:46:29 +0000 (19:46 +0000)]
Merge "Add a hint for cert tests" am: 51f099ca2c am: f6813b5a7f am: 09f3e85162

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1668867

Change-Id: Ia71e2e6f748c3ad1599988617ee4d400eab70de9

3 years agoMerge "Add a hint for cert tests" am: 51f099ca2c am: f6813b5a7f am: 09f3e85162
Treehugger Robot [Thu, 8 Apr 2021 19:46:23 +0000 (19:46 +0000)]
Merge "Add a hint for cert tests" am: 51f099ca2c am: f6813b5a7f am: 09f3e85162

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1668867

Change-Id: Icf8e2545f67bd7672924cc5d3327da9312862c29

3 years agoMerge changes I3ccf85d5,I731adcff,I6f5f9cec,I9f773287,Iabf796dc, ... am: 88d3421141...
Treehugger Robot [Thu, 8 Apr 2021 19:46:08 +0000 (19:46 +0000)]
Merge changes I3ccf85d5,I731adcff,I6f5f9cec,I9f773287,Iabf796dc, ... am: 88d3421141 am: b06b00e197 am: 24b1a39bc9

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1667066

Change-Id: I27df782032ad49afb6f82fe449554c019f302dd9

3 years agoMerge "gd hci: Check credit before sending next fragment" am: 7476efe66c am: ebf0876f...
Jack He [Thu, 8 Apr 2021 19:45:05 +0000 (19:45 +0000)]
Merge "gd hci: Check credit before sending next fragment" am: 7476efe66c am: ebf0876f16 am: 50d1420ac2

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1669525

Change-Id: Ibbfa60e0112883e5b41c6d99e7e8342f98c879cd

3 years agoMerge "Add a hint for cert tests" am: 51f099ca2c am: f6813b5a7f
Treehugger Robot [Thu, 8 Apr 2021 19:00:35 +0000 (19:00 +0000)]
Merge "Add a hint for cert tests" am: 51f099ca2c am: f6813b5a7f

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1668867

Change-Id: I49ab4a9a5f29276107b41716f7ac7166de67f5dc

3 years agoMerge changes I3ccf85d5,I731adcff,I6f5f9cec,I9f773287,Iabf796dc, ... am: 88d3421141...
Treehugger Robot [Thu, 8 Apr 2021 19:00:26 +0000 (19:00 +0000)]
Merge changes I3ccf85d5,I731adcff,I6f5f9cec,I9f773287,Iabf796dc, ... am: 88d3421141 am: b06b00e197

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1667066

Change-Id: I9c0632dc5081e813a0cf61f552fb1d2553c600ef

3 years agoMerge "gd hci: Check credit before sending next fragment" am: 7476efe66c am: ebf0876f16
Jack He [Thu, 8 Apr 2021 18:58:37 +0000 (18:58 +0000)]
Merge "gd hci: Check credit before sending next fragment" am: 7476efe66c am: ebf0876f16

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1669525

Change-Id: I37e1850b554fbb2e590b1756dcdce948d244b2b9

3 years agoMerge "Add a hint for cert tests" am: 51f099ca2c
Treehugger Robot [Thu, 8 Apr 2021 18:40:54 +0000 (18:40 +0000)]
Merge "Add a hint for cert tests" am: 51f099ca2c

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1668867

Change-Id: I12671d4a4459848b1a03ddffcbf0345ac9e4c561

3 years agoMerge changes I3ccf85d5,I731adcff,I6f5f9cec,I9f773287,Iabf796dc, ... am: 88d3421141
Treehugger Robot [Thu, 8 Apr 2021 18:38:32 +0000 (18:38 +0000)]
Merge changes I3ccf85d5,I731adcff,I6f5f9cec,I9f773287,Iabf796dc, ... am: 88d3421141

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1667066

Change-Id: Id7317f98f5f402f462252ca28cb328f2340d288d

3 years agoMerge "Add a hint for cert tests"
Treehugger Robot [Thu, 8 Apr 2021 18:28:09 +0000 (18:28 +0000)]
Merge "Add a hint for cert tests"

3 years agoMerge changes I3ccf85d5,I731adcff,I6f5f9cec,I9f773287,Iabf796dc, ...
Treehugger Robot [Thu, 8 Apr 2021 18:27:11 +0000 (18:27 +0000)]
Merge changes I3ccf85d5,I731adcff,I6f5f9cec,I9f773287,Iabf796dc, ...

* changes:
  Update gitignore for Cargo.lock and tags
  Use local rules for flex/bison
  Specify bt_shim_ffi dependency to bluetoothtbd
  Fix rust build in build.py
  Avoid const value_type of vector
  Guard printing PKG_CONFIG_PATH in build.py
  Add missing #include <string.h> for memcpy
  Fix packetgen outputs

3 years agoMerge "gd hci: Check credit before sending next fragment" am: 7476efe66c
Jack He [Thu, 8 Apr 2021 18:09:42 +0000 (18:09 +0000)]
Merge "gd hci: Check credit before sending next fragment" am: 7476efe66c

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1669525

Change-Id: I6f73f3f5b9c7b7150b5b2d314d8370a450357e76

3 years agoMerge "gd hci: Check credit before sending next fragment"
Jack He [Thu, 8 Apr 2021 17:29:14 +0000 (17:29 +0000)]
Merge "gd hci: Check credit before sending next fragment"

3 years agogd hci: Check credit before sending next fragment
Chienyuan [Thu, 8 Apr 2021 07:37:19 +0000 (15:37 +0800)]
gd hci: Check credit before sending next fragment

Tag: #gd-refactor
Bug: 180870443
Test: gd/cert/run
BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines
Change-Id: Ifd2af34886a0cf40d5ca3f4fdd4869089276d919

3 years agoAdd a hint for cert tests
Myles Watson [Thu, 8 Apr 2021 00:44:36 +0000 (17:44 -0700)]
Add a hint for cert tests

Bug: 184786243
Test: cert/run
Tag: #gd-refactor
Change-Id: Ie81ce626c23016dd66c8418aeff44687d50111d5

3 years agoAdd StopWatch for Hwbinder callback function am: 4311da6596 am: 367f7ea179 am: 1782eecabf
weichinweng [Thu, 8 Apr 2021 13:12:46 +0000 (13:12 +0000)]
Add StopWatch for Hwbinder callback function am: 4311da6596 am: 367f7ea179 am: 1782eecabf

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1666379

Change-Id: I467b11a9438dc4443a58a98901650f48255c847a

3 years agoAdd StopWatch for Hwbinder callback function am: 4311da6596 am: 367f7ea179
weichinweng [Thu, 8 Apr 2021 12:25:45 +0000 (12:25 +0000)]
Add StopWatch for Hwbinder callback function am: 4311da6596 am: 367f7ea179

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1666379

Change-Id: I42c7928b154bb07745352be393ffe6cdbd917e1a

3 years agoAdd StopWatch for Hwbinder callback function am: 4311da6596
weichinweng [Thu, 8 Apr 2021 11:40:38 +0000 (11:40 +0000)]
Add StopWatch for Hwbinder callback function am: 4311da6596

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1666379

Change-Id: I981dce97c04d24d8ff3871fe2c5ebd8444c71551

3 years agoUpdate to use CXX 1.0
Matthew Maurer [Thu, 8 Apr 2021 08:08:26 +0000 (01:08 -0700)]
Update to use CXX 1.0

Test: m
Bug: 184799689
Tag: #refactor
Change-Id: I93c7c2e8f754501771fe13c9f30408940dfe66a6

3 years agoAdd StopWatch for Hwbinder callback function
weichinweng [Wed, 3 Mar 2021 02:19:19 +0000 (10:19 +0800)]
Add StopWatch for Hwbinder callback function

Add stopWatch feature to monitor HCI callbacks and audio client
callbacks.

Bug: 175754854
Test: atest BluetoothInstrumentationTests
Tag: #stability
Change-Id: I87b9aac85166f345629ea110653cc873ca24c079

3 years agoUpdate owners am: 63cecbe338 am: 43dd8b0d7e am: d43c6797c7
Hansong Zhang [Thu, 8 Apr 2021 03:27:02 +0000 (03:27 +0000)]
Update owners am: 63cecbe338 am: 43dd8b0d7e am: d43c6797c7

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1668433

Change-Id: I6eaa66216634d4d22d41339da7bcdbe3790bd7fd

3 years agoUpdate owners am: 63cecbe338 am: 43dd8b0d7e
Hansong Zhang [Thu, 8 Apr 2021 02:36:53 +0000 (02:36 +0000)]
Update owners am: 63cecbe338 am: 43dd8b0d7e

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1668433

Change-Id: Ia8ed89e2900513e64f7aee11496150971b6dc7c7

3 years agoUpdate owners am: 63cecbe338
Hansong Zhang [Thu, 8 Apr 2021 02:03:05 +0000 (02:03 +0000)]
Update owners am: 63cecbe338

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1668433

Change-Id: I72b5486c69e23208691879cb3ab9892891548cc5

3 years agoUpdate owners
Hansong Zhang [Wed, 7 Apr 2021 23:29:11 +0000 (16:29 -0700)]
Update owners

Test: N/A
Change-Id: Ia98b958ea7a97b7aa5a47ce3b118148adcaa5d08

3 years agoMerge "OOB: Implement generateLocalOobData API" into sc-dev
TreeHugger Robot [Wed, 7 Apr 2021 19:32:23 +0000 (19:32 +0000)]
Merge "OOB: Implement generateLocalOobData API" into sc-dev

3 years agoMerge "SCO: Use const reference instead of const value" am: 6d09b3f034 am: fb7d59128a...
Treehugger Robot [Wed, 7 Apr 2021 19:28:44 +0000 (19:28 +0000)]
Merge "SCO: Use const reference instead of const value" am: 6d09b3f034 am: fb7d59128a am: 89b9a637c7

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1667119

Change-Id: I3ece986e545630e77f07ae19793703fad7799c68

3 years agoAdd Volume Control Profile API am: 06f084b01d am: 6e266d5d99 am: 4d5f61f2af
Łukasz Rymanowski [Wed, 7 Apr 2021 19:28:39 +0000 (19:28 +0000)]
Add Volume Control Profile API am: 06f084b01d am: 6e266d5d99 am: 4d5f61f2af

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1564640

Change-Id: Ifdd00f63fefabdceb883d2d7907da6a6c0e12f0d

3 years agovc: Implement Volume Control Profile am: 3578a9e806 am: edcf88700e am: 8fff1fe0ab
Łukasz Rymanowski [Wed, 7 Apr 2021 19:28:33 +0000 (19:28 +0000)]
vc: Implement Volume Control Profile am: 3578a9e806 am: edcf88700e am: 8fff1fe0ab

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1564641

Change-Id: I79552e502d024da77789a349560853931d6d34c0

3 years agoMerge "SCO: Use const reference instead of const value" am: 6d09b3f034 am: fb7d59128a
Treehugger Robot [Wed, 7 Apr 2021 19:04:30 +0000 (19:04 +0000)]
Merge "SCO: Use const reference instead of const value" am: 6d09b3f034 am: fb7d59128a

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1667119

Change-Id: I4ac4afbf8da1558c6160040abdffb9ca315e88af

3 years agoAdd Volume Control Profile API am: 06f084b01d am: 6e266d5d99
Łukasz Rymanowski [Wed, 7 Apr 2021 19:04:25 +0000 (19:04 +0000)]
Add Volume Control Profile API am: 06f084b01d am: 6e266d5d99

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1564640

Change-Id: Ieba3bb1600fb6af74cef5dd0c38eb9538d1080fe

3 years agovc: Implement Volume Control Profile am: 3578a9e806 am: edcf88700e
Łukasz Rymanowski [Wed, 7 Apr 2021 19:03:49 +0000 (19:03 +0000)]
vc: Implement Volume Control Profile am: 3578a9e806 am: edcf88700e

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1564641

Change-Id: I78733de2b298fa8ca30809644138bc862f500dfc

3 years agoMerge "SCO: Use const reference instead of const value" am: 6d09b3f034
Treehugger Robot [Wed, 7 Apr 2021 18:40:34 +0000 (18:40 +0000)]
Merge "SCO: Use const reference instead of const value" am: 6d09b3f034

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1667119

Change-Id: I34f75e72130639a11fe5e5c9f79a0a5102925b54

3 years agoMerge "SCO: Use const reference instead of const value"
Treehugger Robot [Wed, 7 Apr 2021 17:28:48 +0000 (17:28 +0000)]
Merge "SCO: Use const reference instead of const value"

3 years agoAdd Volume Control Profile API am: 06f084b01d
Łukasz Rymanowski [Wed, 7 Apr 2021 16:57:47 +0000 (16:57 +0000)]
Add Volume Control Profile API am: 06f084b01d

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1564640

Change-Id: I3de8beebd36dc467fdc4fd60bd9516abb9aee135

3 years agovc: Implement Volume Control Profile am: 3578a9e806
Łukasz Rymanowski [Wed, 7 Apr 2021 16:57:42 +0000 (16:57 +0000)]
vc: Implement Volume Control Profile am: 3578a9e806

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1564641

Change-Id: I04457c3e0dd9e5658da0385b9f53ad460a1c7df0

3 years agoAdd Volume Control Profile API
Łukasz Rymanowski [Fri, 29 Jan 2021 08:56:03 +0000 (08:56 +0000)]
Add Volume Control Profile API

Bug: 150670922
Test: compilation
Tag: #feature
Sponsor: jpawlowski@
Change-Id: I4a12847f9be7cb77d9094fd5a1a8f9c68053ad21

3 years agoSCO: Use const reference instead of const value
Jack He [Wed, 7 Apr 2021 06:02:32 +0000 (23:02 -0700)]
SCO: Use const reference instead of const value

Bug: 183476377
Test: gd/cert/run
Tag: #refactor
BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines

Change-Id: I538c46eeb9cf40400f4f4ec424c4da6ae804213c

3 years ago vc: Implement Volume Control Profile
Łukasz Rymanowski [Fri, 29 Jan 2021 09:05:10 +0000 (09:05 +0000)]
 vc: Implement Volume Control Profile

 This implements basic version of VCP which allows to control Volume
 Control Service on ther remote side.

 This profile for expose only connect/disconnect/set volume

 Bug: 150670922
 Tag: #feature
 Test: atest --host bluetooth_test_vc
 Sponsor: jpawlowski@

Change-Id: Ie68c333ffece3958d68580fbfd3a86aec1186711

3 years agolegacy: Plumb gd sco conn req to legacy stack am: c39bd0957d am: 9f001551ad am: 1d919...
Chris Manton [Wed, 7 Apr 2021 09:40:34 +0000 (09:40 +0000)]
legacy: Plumb gd sco conn req to legacy stack am: c39bd0957d am: 9f001551ad am: 1d919a8853

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1666090

Change-Id: I950a483af96867b8997c898bdfab3dc43a401821

3 years agoConst-ify btm_sco_conn_req::DEV_CLASS am: 85fb557c11 am: 5f5e61b775 am: 6342601b5e
Chris Manton [Wed, 7 Apr 2021 09:40:30 +0000 (09:40 +0000)]
Const-ify btm_sco_conn_req::DEV_CLASS am: 85fb557c11 am: 5f5e61b775 am: 6342601b5e

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1667068

Change-Id: I584cebc1f9c1e49d0de848848bf7fd7afc34314f

3 years agolegacy: Plumb gd sco conn req to legacy stack am: c39bd0957d am: 9f001551ad
Chris Manton [Wed, 7 Apr 2021 09:15:10 +0000 (09:15 +0000)]
legacy: Plumb gd sco conn req to legacy stack am: c39bd0957d am: 9f001551ad

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1666090

Change-Id: I00ff1f200a009103b281c5ec4cfa95f720252980

3 years agoConst-ify btm_sco_conn_req::DEV_CLASS am: 85fb557c11 am: 5f5e61b775
Chris Manton [Wed, 7 Apr 2021 09:15:07 +0000 (09:15 +0000)]
Const-ify btm_sco_conn_req::DEV_CLASS am: 85fb557c11 am: 5f5e61b775

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1667068

Change-Id: I91bd44dce72a506026bc399e22d454556243a06c

3 years agolegacy: Plumb gd sco conn req to legacy stack am: c39bd0957d
Chris Manton [Wed, 7 Apr 2021 08:33:16 +0000 (08:33 +0000)]
legacy: Plumb gd sco conn req to legacy stack am: c39bd0957d

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1666090

Change-Id: I7bc8b21f606c6c56e32f4b356dca7a65587be7e5

3 years agoConst-ify btm_sco_conn_req::DEV_CLASS am: 85fb557c11
Chris Manton [Wed, 7 Apr 2021 08:32:32 +0000 (08:32 +0000)]
Const-ify btm_sco_conn_req::DEV_CLASS am: 85fb557c11

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1667068

Change-Id: I3a3079e175bb767f5090049cd42290fa3cfce97d

3 years agoMerge "RFCOMM: Handle failed connection request" am: a2f6bff875 am: b50769045d am...
Treehugger Robot [Wed, 7 Apr 2021 07:34:56 +0000 (07:34 +0000)]
Merge "RFCOMM: Handle failed connection request" am: a2f6bff875 am: b50769045d am: e272248313

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1664098

Change-Id: I6810e0a053fe356663f8050282db14604799324b

3 years agoMerge "RFCOMM: Handle failed connection request" am: a2f6bff875 am: b50769045d
Treehugger Robot [Wed, 7 Apr 2021 07:08:43 +0000 (07:08 +0000)]
Merge "RFCOMM: Handle failed connection request" am: a2f6bff875 am: b50769045d

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1664098

Change-Id: Ie074dcc86ae96f334ff674dbf1a321ad3efa520d

3 years agoMerge "RFCOMM: Handle failed connection request" am: a2f6bff875
Treehugger Robot [Wed, 7 Apr 2021 06:46:11 +0000 (06:46 +0000)]
Merge "RFCOMM: Handle failed connection request" am: a2f6bff875

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1664098

Change-Id: I269d56ccfe71b5304c26a92f468c9352e8cafa8b

3 years agolegacy: Plumb gd sco conn req to legacy stack
Chris Manton [Wed, 7 Apr 2021 01:12:21 +0000 (18:12 -0700)]
legacy: Plumb gd sco conn req to legacy stack

Bug: 183476377
Test: gd/cert/run
Tag: #refactor
BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines

Change-Id: I79fcfcf8dde071aff0a07f5440cfdca6e0e8134e

3 years agoConst-ify btm_sco_conn_req::DEV_CLASS
Chris Manton [Wed, 7 Apr 2021 05:42:02 +0000 (22:42 -0700)]
Const-ify btm_sco_conn_req::DEV_CLASS

Bug: 183476377
Test: gd/cert/run
Tag: #refactor
BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines

Change-Id: Iec78ab6a7b46837f9ab512d57b320b565d78f7cd

3 years agoMerge "RFCOMM: Handle failed connection request"
Treehugger Robot [Wed, 7 Apr 2021 06:06:49 +0000 (06:06 +0000)]
Merge "RFCOMM: Handle failed connection request"

3 years agoUpdate gitignore for Cargo.lock and tags
Abhishek Pandit-Subedi [Mon, 15 Mar 2021 20:52:05 +0000 (13:52 -0700)]
Update gitignore for Cargo.lock and tags

Bug: 176847216
Tag: #floss
Test: atest --host bluetooth_test_gd

Change-Id: I3ccf85d54493630257957a1c5182e54470bcb16f

3 years agoUse local rules for flex/bison
Abhishek Pandit-Subedi [Mon, 15 Mar 2021 20:44:51 +0000 (13:44 -0700)]
Use local rules for flex/bison

Use local flex and bison rules for the packet parser instead of
depending on the rules in common-mk. Right now, the packet parser is
using a re-entrant parser which can't be used with C++ codegen for flex.
Common-mk maintainers would like the flex code to use C++ codegen since
it is compiling the file as C++.

Bug: 176847216
Tag: #floss
Test: atest --host bluetooth_test_gd
Change-Id: I731adcff7c966543300d2cdf1f87ef2a69b8a211

3 years agoSpecify bt_shim_ffi dependency to bluetoothtbd
Sonny Sasaka [Sat, 27 Mar 2021 05:17:53 +0000 (22:17 -0700)]
Specify bt_shim_ffi dependency to bluetoothtbd

Specifying lib bt_shim_ffi explicitly before ssl so that ssl references
can be linked from bt_shim_ffi.

Bug: 176846220
Tag: #floss
Test: atest --host bluetooth_test_gd
Change-Id: I6f5f9cec960157559a57fe6721cd21ea0647c312

3 years agoFix rust build in build.py
Sonny Sasaka [Thu, 25 Mar 2021 14:10:47 +0000 (07:10 -0700)]
Fix rust build in build.py

This copies the rust build result to the gn output directory to be
accessible when linking from C++. Also adds an option to use crates.io
for rust crates.

Bug: 176846220
Tag: #floss
Test: atest --host bluetooth_test_gd
Change-Id: I9f7732878a2aced6f80f363c25aff3243d34f0d5

3 years agoAvoid const value_type of vector
Sonny Sasaka [Thu, 25 Mar 2021 13:28:55 +0000 (06:28 -0700)]
Avoid const value_type of vector

This change is required to build fluoride against libstdc++.
libstdc++ asserts that: std::vector must have a non-const, non-volatile
value_type.

Bug: 176846220
Tag: #floss
Test: atest --host bluetooth_test_gd
Change-Id: Iabf796dc356826782b480fd01887c04a86e9708a

3 years agoGuard printing PKG_CONFIG_PATH in build.py
Sonny Sasaka [Thu, 25 Mar 2021 12:39:20 +0000 (05:39 -0700)]
Guard printing PKG_CONFIG_PATH in build.py

Bug: 176846220
Tag: #floss
Test: atest --host bluetooth_test_gd
Change-Id: Iba0c739a07bcfa7256ea624e2391d5cee016d2de

3 years agoAdd missing #include <string.h> for memcpy
Sonny Sasaka [Thu, 25 Mar 2021 05:46:23 +0000 (22:46 -0700)]
Add missing #include <string.h> for memcpy

Bug: 176846220
Tag: #floss
Test: atest --host bluetooth_test_gd
Change-Id: I62b5a032c1a346a006668145407cd00f3c6bddd5

3 years agoFix packetgen outputs
Sonny Sasaka [Thu, 4 Feb 2021 06:06:18 +0000 (22:06 -0800)]
Fix packetgen outputs

This changes action_foreach() to action() to be able to control the
outputs field correctly.

Tag: #floss
Bug: 176846220
Test: atest --host bluetooth_test_gd
Change-Id: I3cc9613e5c33aa3610a542107e97c7b4667e06c4

3 years agoshim: Plumb e/sco through shim into legacy am: ace8f38d4a am: 05ebf4202c am: 5e5a2b65e5
Chris Manton [Wed, 7 Apr 2021 04:01:41 +0000 (04:01 +0000)]
shim: Plumb e/sco through shim into legacy am: ace8f38d4a am: 05ebf4202c am: 5e5a2b65e5

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1666419

Change-Id: I36b59642c8a033584e881a9d34ac99c35616278a

3 years agoshim: Plumb e/sco connect request am: 7c4c80e3b6 am: 7b98ee7e53 am: 9abc58de22
Chris Manton [Wed, 7 Apr 2021 04:01:37 +0000 (04:01 +0000)]
shim: Plumb e/sco connect request am: 7c4c80e3b6 am: 7b98ee7e53 am: 9abc58de22

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1666083

Change-Id: I415cbab8c0cb6b92e830ab9d41cc3cca0591af6c

3 years agoshim: Plumb e/sco through shim into legacy am: ace8f38d4a am: 05ebf4202c
Chris Manton [Wed, 7 Apr 2021 03:28:35 +0000 (03:28 +0000)]
shim: Plumb e/sco through shim into legacy am: ace8f38d4a am: 05ebf4202c

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1666419

Change-Id: I1db07a592ecbd5a6cb7a1c6ac29dbe5bdf20b011

3 years agoshim: Plumb e/sco connect request am: 7c4c80e3b6 am: 7b98ee7e53
Chris Manton [Wed, 7 Apr 2021 03:28:33 +0000 (03:28 +0000)]
shim: Plumb e/sco connect request am: 7c4c80e3b6 am: 7b98ee7e53

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1666083

Change-Id: I2de916e00b3f9610ef1bf6b03593ab979a53307a

3 years agoshim: Plumb e/sco through shim into legacy am: ace8f38d4a
Chris Manton [Wed, 7 Apr 2021 02:43:12 +0000 (02:43 +0000)]
shim: Plumb e/sco through shim into legacy am: ace8f38d4a

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1666419

Change-Id: I70dd4894b74a2418bfbcb3e5e6d9d3e936487243

3 years agoshim: Plumb e/sco connect request am: 7c4c80e3b6
Chris Manton [Wed, 7 Apr 2021 02:42:15 +0000 (02:42 +0000)]
shim: Plumb e/sco connect request am: 7c4c80e3b6

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1666083

Change-Id: Id02f73dfc866996382539ea4e80a5d10eb81b144

3 years agoMerge "gd: Plumb remote esco/sco connection requests through GD" am: 05f72ffbff am...
Chris Manton [Wed, 7 Apr 2021 02:04:59 +0000 (02:04 +0000)]
Merge "gd: Plumb remote esco/sco connection requests through GD" am: 05f72ffbff am: 7f2a645087 am: bbbfc01d5e

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1664730

Change-Id: I78ca1bfa4ef8277e7d6855591a6d5e02b08ace4d

3 years agoMerge changes from topic "bt-gd-vse" am: 814f49d73c am: 5c196bd3f9 am: 8b905f137c
Myles Watson [Wed, 7 Apr 2021 02:04:53 +0000 (02:04 +0000)]
Merge changes from topic "bt-gd-vse" am: 814f49d73c am: 5c196bd3f9 am: 8b905f137c

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1664345

Change-Id: Ic67a04d08e6c391b8926502fb273e45d68e191e8

3 years agoMerge "gd: Plumb remote esco/sco connection requests through GD" am: 05f72ffbff am...
Chris Manton [Wed, 7 Apr 2021 01:14:30 +0000 (01:14 +0000)]
Merge "gd: Plumb remote esco/sco connection requests through GD" am: 05f72ffbff am: 7f2a645087

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1664730

Change-Id: Iea61fbd4fd884b5aaec9bf7158f598fb9979bdc7

3 years agoMerge changes from topic "bt-gd-vse" am: 814f49d73c am: 5c196bd3f9
Myles Watson [Wed, 7 Apr 2021 01:14:24 +0000 (01:14 +0000)]
Merge changes from topic "bt-gd-vse" am: 814f49d73c am: 5c196bd3f9

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1664345

Change-Id: I4d8dae6dda0d34535266b363ee6058b70e06a0a6

3 years agoMerge "gd: Plumb remote esco/sco connection requests through GD" am: 05f72ffbff
Chris Manton [Wed, 7 Apr 2021 00:54:26 +0000 (00:54 +0000)]
Merge "gd: Plumb remote esco/sco connection requests through GD" am: 05f72ffbff

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1664730

Change-Id: I4b30e4d738146e125a401c65f187f023b0ea6132

3 years agoshim: Plumb e/sco through shim into legacy
Chris Manton [Tue, 6 Apr 2021 22:20:35 +0000 (15:20 -0700)]
shim: Plumb e/sco through shim into legacy

Bug: 183476377
Test: gd/cert/run
Tag: #refactor
BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines

Change-Id: Id3b9e0931e17a2e376dee207af86241836e96cbb

3 years agoshim: Plumb e/sco connect request
Chris Manton [Tue, 6 Apr 2021 22:10:23 +0000 (15:10 -0700)]
shim: Plumb e/sco connect request

Bug: 183476377
Test: gd/cert/run
Tag: #refactor
BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines

Change-Id: If14d3bf2f8c632e9007fa846d514a9c3e7bbe18a

3 years agoMerge "gd: Plumb remote esco/sco connection requests through GD"
Chris Manton [Wed, 7 Apr 2021 00:39:44 +0000 (00:39 +0000)]
Merge "gd: Plumb remote esco/sco connection requests through GD"

3 years agoMerge changes from topic "bt-gd-vse" am: 814f49d73c
Myles Watson [Wed, 7 Apr 2021 00:32:18 +0000 (00:32 +0000)]
Merge changes from topic "bt-gd-vse" am: 814f49d73c

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1664345

Change-Id: I8d8253305ddaccbc5621f7c23a41e7f08b0dde41

3 years agoMerge changes from topic "bt-gd-vse"
Myles Watson [Tue, 6 Apr 2021 23:50:54 +0000 (23:50 +0000)]
Merge changes from topic "bt-gd-vse"

* changes:
  Hci: Include 0xFF in event loops
  GD: Crash on Root Inflammation Event
  BQR: Print common BQR events
  Revert "GD HCI: Pipe VSEs up in shim layer"
  Revert "GD HCI: Support vendor specific event in GD"

3 years ago[automerger skipped] RESTRICT AUTOMERGE Contain avrc_ctrl_pars_vendor_cmd OOB write...
Chris Manton [Tue, 6 Apr 2021 22:29:12 +0000 (22:29 +0000)]
[automerger skipped] RESTRICT AUTOMERGE Contain avrc_ctrl_pars_vendor_cmd OOB write am: 4deeb022c7 am: d0a72022c3 -s ours

am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bt/+/13954702

Change-Id: I1be17a03235f777dc648ec7088bb2c42eadd69b7

3 years ago[automerger skipped] RESTRICT AUTOMERGE Contain avrc_ctrl_pars_vendor_cmd OOB write...
Chris Manton [Tue, 6 Apr 2021 22:28:32 +0000 (22:28 +0000)]
[automerger skipped] RESTRICT AUTOMERGE Contain avrc_ctrl_pars_vendor_cmd OOB write am: 4deeb022c7 am: ad7f1f6f28 am: f6053c9846 -s ours

am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bt/+/13954702

Change-Id: I0b0f1d5a6d80a9694fff83060f15637bd3076c17

3 years ago[automerger skipped] RESTRICT AUTOMERGE Contain avrc_ctrl_pars_vendor_cmd OOB write...
Chris Manton [Tue, 6 Apr 2021 22:28:12 +0000 (22:28 +0000)]
[automerger skipped] RESTRICT AUTOMERGE Contain avrc_ctrl_pars_vendor_cmd OOB write am: bf9310d474 am: a695aca255 -s ours

am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bt/+/13954703

Change-Id: I132a827131c69979b2fd3b3627a65076b9c7f6ab

3 years agogd: Plumb remote esco/sco connection requests through GD
Chris Manton [Tue, 6 Apr 2021 00:29:22 +0000 (17:29 -0700)]
gd: Plumb remote esco/sco connection requests through GD

Bug: 183476377
Test: gd/cert/run
Tag: #refactor
BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines

Change-Id: Ib36d3fded252a51be550510f11cc102df2277512

3 years agoRESTRICT AUTOMERGE Contain avrc_ctrl_pars_vendor_cmd OOB write am: 4deeb022c7
Chris Manton [Tue, 6 Apr 2021 21:33:28 +0000 (21:33 +0000)]
RESTRICT AUTOMERGE Contain avrc_ctrl_pars_vendor_cmd OOB write am: 4deeb022c7

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bt/+/13954702

Change-Id: Ic73065a6d1331e4202cf3aa7863994ec36c2a8c5