OSDN Git Service

android-x86/system-bt.git
3 years agoMerge "[LSC] Add LOCAL_LICENSE_KINDS to system/bt" am: a349f37dfd am: 17c4753709
Treehugger Robot [Mon, 1 Mar 2021 05:37:59 +0000 (05:37 +0000)]
Merge "[LSC] Add LOCAL_LICENSE_KINDS to system/bt" am: a349f37dfd am: 17c4753709

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I4de166b5d5d6ba40b9eebf8d58f1e63cb4ca2810

3 years agoMerge "[LSC] Add LOCAL_LICENSE_KINDS to system/bt" am: a349f37dfd
Treehugger Robot [Mon, 1 Mar 2021 04:59:39 +0000 (04:59 +0000)]
Merge "[LSC] Add LOCAL_LICENSE_KINDS to system/bt" am: a349f37dfd

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iad6ec9f3b83feae19d631c5d0499da4ba5885f40

3 years agoMerge "[LSC] Add LOCAL_LICENSE_KINDS to system/bt"
Treehugger Robot [Mon, 1 Mar 2021 03:58:55 +0000 (03:58 +0000)]
Merge "[LSC] Add LOCAL_LICENSE_KINDS to system/bt"

3 years agoRemove unused AIDL API am: f7b2fad0d2 am: ca66a6bbe1
Hansong Zhang [Sun, 28 Feb 2021 23:07:13 +0000 (23:07 +0000)]
Remove unused AIDL API am: f7b2fad0d2 am: ca66a6bbe1

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I874b2b379871473a74b371a553e4ba4b54b3b568

3 years agoAdd host support for bta/ am: 6aebf4c109 am: 22c6ea6906
Hansong Zhang [Sun, 28 Feb 2021 23:07:11 +0000 (23:07 +0000)]
Add host support for bta/ am: 6aebf4c109 am: 22c6ea6906

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ief3763f8153d33e6bbdde682b0059e10d285e975

3 years agoAdd host support for udrv/ am: d480df840b am: 1bc5149095
Hansong Zhang [Sun, 28 Feb 2021 23:07:09 +0000 (23:07 +0000)]
Add host support for udrv/ am: d480df840b am: 1bc5149095

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ie203269d4620dc61158f216fd15c0b227d2f39d7

3 years agoRemove unused AIDL API am: f7b2fad0d2
Hansong Zhang [Sun, 28 Feb 2021 22:12:57 +0000 (22:12 +0000)]
Remove unused AIDL API am: f7b2fad0d2

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ibe12418f475a1afebdb42bf9a8032c731a3cb76e

3 years agoAdd host support for bta/ am: 6aebf4c109
Hansong Zhang [Sun, 28 Feb 2021 22:12:54 +0000 (22:12 +0000)]
Add host support for bta/ am: 6aebf4c109

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ie21af17729a7119175990746e3c670f24f74dc35

3 years agoAdd host support for udrv/ am: d480df840b
Hansong Zhang [Sun, 28 Feb 2021 22:12:51 +0000 (22:12 +0000)]
Add host support for udrv/ am: d480df840b

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I9b9f73e6b9d94ea857abf19406ab39dc25ba7d4d

3 years agoRemove unused AIDL API
Hansong Zhang [Fri, 26 Feb 2021 23:06:23 +0000 (15:06 -0800)]
Remove unused AIDL API

Test: compile
Change-Id: Ia7bfd2d6f8bbedc17b54e6d3c56581cb28945e0e

3 years agoAdd host support for bta/
Hansong Zhang [Tue, 23 Feb 2021 23:52:11 +0000 (15:52 -0800)]
Add host support for bta/

Test: compile
Change-Id: Ife3e7c386b4384907c1b39f921812c337becab52

3 years agoAdd host support for udrv/
Hansong Zhang [Thu, 25 Feb 2021 23:46:09 +0000 (15:46 -0800)]
Add host support for udrv/

Test: compile
Change-Id: I04394268d6259ccd08e5b5964cbcadb89209da91

3 years agoRe-include stack/gatt/gatt_utils am: 6509949af2 am: 70905fe696
Chris Manton [Sun, 28 Feb 2021 06:16:00 +0000 (06:16 +0000)]
Re-include stack/gatt/gatt_utils am: 6509949af2 am: 70905fe696

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I969731ceb9df83f663951893963744d2a7e34d1a

3 years agoRe-include stack/gatt/gatt_utils am: 6509949af2
Chris Manton [Sun, 28 Feb 2021 05:34:09 +0000 (05:34 +0000)]
Re-include stack/gatt/gatt_utils am: 6509949af2

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I93e3cab753a4dfedb5bfaea2416a468096f79702

3 years agoRe-include stack/gatt/gatt_utils
Chris Manton [Fri, 26 Feb 2021 23:34:30 +0000 (15:34 -0800)]
Re-include stack/gatt/gatt_utils

Bug: 163134718
Test: cert
Tag: #refactor

Change-Id: I732e977ead70a48031e5cee3d7a9a06be3ce49bb

3 years agoGD HCI packets: add LeCisParametersTestConfig am: c2ae150871 am: 7ed5805b40
Jakub Pawlowski [Sat, 27 Feb 2021 12:29:55 +0000 (12:29 +0000)]
GD HCI packets: add LeCisParametersTestConfig am: c2ae150871 am: 7ed5805b40

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ibb667fcf86d3216a913dec94b7fed41e6c794e6a

3 years agoGD HCI packets: add LeCisParametersTestConfig am: c2ae150871
Jakub Pawlowski [Sat, 27 Feb 2021 10:59:57 +0000 (10:59 +0000)]
GD HCI packets: add LeCisParametersTestConfig am: c2ae150871

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I15bf0f8ff1127b6393b36fd8467e1f9b4ee132c8

3 years agoGD HCI packets: add LeCisParametersTestConfig
Jakub Pawlowski [Fri, 26 Feb 2021 09:04:50 +0000 (10:04 +0100)]
GD HCI packets: add LeCisParametersTestConfig

Tag: #feature
Test: Added LeIsoTest
Bug: 177907117
Change-Id: I2ab56dc30bf02a9ea07cd0ea11135c06a77cb018

3 years agoMerge "follows the advice of -Wsign-compare" am: bfed8fbddb am: d19266bbff
Christopher Di Bella [Sat, 27 Feb 2021 01:52:36 +0000 (01:52 +0000)]
Merge "follows the advice of -Wsign-compare" am: bfed8fbddb am: d19266bbff

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I1ba0f90c969363e77f32dd661ab094ee9eabb99e

3 years agoMerge "follows the advice of -Wsign-compare" am: bfed8fbddb
Christopher Di Bella [Sat, 27 Feb 2021 00:59:39 +0000 (00:59 +0000)]
Merge "follows the advice of -Wsign-compare" am: bfed8fbddb

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I3804de7f155a73fa6eb4f99b56ce979a04bd7fc4

3 years agoSimplify build target am: 3ee67fc2d4 am: 0ef9ae9a4e
Hansong Zhang [Sat, 27 Feb 2021 00:22:12 +0000 (00:22 +0000)]
Simplify build target am: 3ee67fc2d4 am: 0ef9ae9a4e

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I02eacec851401e79cbcb8a06b47facef2e4c7a71

3 years agoAdd host support for embdrv/ am: 7640ab5ca9 am: 792e0e530c
Hansong Zhang [Sat, 27 Feb 2021 00:22:10 +0000 (00:22 +0000)]
Add host support for embdrv/ am: 7640ab5ca9 am: 792e0e530c

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I2f91f83fe027198c6e0f015b7000f79e568c76f4

3 years agoAdd host support for stack/ am: cd0d091634 am: bce299fba3
Hansong Zhang [Sat, 27 Feb 2021 00:22:08 +0000 (00:22 +0000)]
Add host support for stack/ am: cd0d091634 am: bce299fba3

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I179e6241edfa134140f96cd8c243fc4fe87dd2a4

3 years agoMerge "follows the advice of -Wsign-compare"
Christopher Di Bella [Sat, 27 Feb 2021 00:20:29 +0000 (00:20 +0000)]
Merge "follows the advice of -Wsign-compare"

3 years agoSimplify build target am: 3ee67fc2d4
Hansong Zhang [Fri, 26 Feb 2021 23:34:36 +0000 (23:34 +0000)]
Simplify build target am: 3ee67fc2d4

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Idc984110ce2321f401743700f2d269ec56aea929

3 years agoAdd host support for embdrv/ am: 7640ab5ca9
Hansong Zhang [Fri, 26 Feb 2021 23:34:33 +0000 (23:34 +0000)]
Add host support for embdrv/ am: 7640ab5ca9

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ie606f53f425a95667f48fe4feaab0e8b92f91725

3 years agoAdd host support for stack/ am: cd0d091634
Hansong Zhang [Fri, 26 Feb 2021 23:33:41 +0000 (23:33 +0000)]
Add host support for stack/ am: cd0d091634

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I8b748e1faac7b8345956fe923fb6133b500a504c

3 years agoSimplify build target
Hansong Zhang [Tue, 23 Feb 2021 23:31:20 +0000 (15:31 -0800)]
Simplify build target

Test: compile
Change-Id: Icf7a2665bf9b4b0dee651fe99d4763ab013834f3

3 years agoAdd host support for embdrv/
Hansong Zhang [Wed, 24 Feb 2021 01:22:26 +0000 (17:22 -0800)]
Add host support for embdrv/

Test: compile
Change-Id: I2b52c3012c37dfa19e49812c3b217b8716765437

3 years agoAdd host support for stack/
Hansong Zhang [Wed, 24 Feb 2021 00:35:31 +0000 (16:35 -0800)]
Add host support for stack/

Test: compile
Change-Id: Ie3c4f7c7625a50863200930c71f2e66a1cb77a9b

3 years agoMerge "rusty-gd: Use spawn instead of block_on" am: e472f2ba55 am: 114d7db2d9
Qasim Javed [Fri, 26 Feb 2021 19:36:24 +0000 (19:36 +0000)]
Merge "rusty-gd: Use spawn instead of block_on" am: e472f2ba55 am: 114d7db2d9

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ie205503a664303ce2f3f28448047fac248dff8e4

3 years agoMerge "GD Scanning: Always disable scan before set parameter" am: 58c75b9c01 am:...
Treehugger Robot [Fri, 26 Feb 2021 19:36:19 +0000 (19:36 +0000)]
Merge "GD Scanning: Always disable scan before set parameter" am: 58c75b9c01 am: 1bf1051df2

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ie36d77230c2c16471955cdacbcee0ddb8eeb80b7

3 years agofollows the advice of -Wsign-compare
Christopher Di Bella [Thu, 25 Feb 2021 02:16:59 +0000 (02:16 +0000)]
follows the advice of -Wsign-compare

Bug: 181177782
Test: #stability #security
Change-Id: Icf11ac28caf05e1bdfcb9453153723f40d147090

3 years agoMerge "rusty-gd: Use spawn instead of block_on" am: e472f2ba55
Qasim Javed [Fri, 26 Feb 2021 18:52:39 +0000 (18:52 +0000)]
Merge "rusty-gd: Use spawn instead of block_on" am: e472f2ba55

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I5b062bb4f02fa86e8921b2b6be6810928d760474

3 years agoMerge "GD Scanning: Always disable scan before set parameter" am: 58c75b9c01
Treehugger Robot [Fri, 26 Feb 2021 18:50:51 +0000 (18:50 +0000)]
Merge "GD Scanning: Always disable scan before set parameter" am: 58c75b9c01

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ibadb760ed72cf5c2ffff7c6de27af87db4f25dfa

3 years agoMerge "rusty-gd: Use spawn instead of block_on"
Qasim Javed [Fri, 26 Feb 2021 18:45:33 +0000 (18:45 +0000)]
Merge "rusty-gd: Use spawn instead of block_on"

3 years agoMerge "GD Scanning: Always disable scan before set parameter"
Treehugger Robot [Fri, 26 Feb 2021 17:59:20 +0000 (17:59 +0000)]
Merge "GD Scanning: Always disable scan before set parameter"

3 years agoAdd HCI ISO tests for GD am: efad454aae am: 5b7dafeaa1
Jakub Pawlowski [Fri, 26 Feb 2021 15:12:24 +0000 (15:12 +0000)]
Add HCI ISO tests for GD am: efad454aae am: 5b7dafeaa1

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I5daf3b615af4c119ee2e8716b5ebad5fe3a1cbc6

3 years agoAdd HCI ISO tests for GD am: efad454aae
Jakub Pawlowski [Fri, 26 Feb 2021 13:39:12 +0000 (13:39 +0000)]
Add HCI ISO tests for GD am: efad454aae

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iaf1afdb1f507099da425a286143072c5d023eb38

3 years agoAdd HCI ISO tests for GD
Jakub Pawlowski [Tue, 23 Feb 2021 17:39:51 +0000 (18:39 +0100)]
Add HCI ISO tests for GD

Bug: 177907117
Tag: #feature
Test: atest bluetooth_test_gd --gtest_filter=HciTest.receiveMultiple* --gtest_repeat=100
Change-Id: I1baa6406bd9f51c002c73039a09a4a0da9439bfc

3 years agoMerge "Shim ACL: Implement OnLocalAddressUpdate" am: 2f667ebfbf am: 7eaae27bf7
Treehugger Robot [Fri, 26 Feb 2021 12:44:12 +0000 (12:44 +0000)]
Merge "Shim ACL: Implement OnLocalAddressUpdate" am: 2f667ebfbf am: 7eaae27bf7

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: If895ab52239a2e35d6621966ca889d35d7560acb

3 years ago[LSC] Add LOCAL_LICENSE_KINDS to system/bt
Bob Badour [Fri, 26 Feb 2021 11:40:36 +0000 (03:40 -0800)]
[LSC] Add LOCAL_LICENSE_KINDS to system/bt

Added SPDX-license-identifier-Apache-2.0 to:
  gd/btaa/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work
Change-Id: Ic6943c23145d418527f3e3d5abc152a3d211402a

3 years agoMerge "Shim ACL: Implement OnLocalAddressUpdate" am: 2f667ebfbf
Treehugger Robot [Fri, 26 Feb 2021 11:35:15 +0000 (11:35 +0000)]
Merge "Shim ACL: Implement OnLocalAddressUpdate" am: 2f667ebfbf

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I41f60901ccf316b5c84d9e607bfd0aaba9a49e9e

3 years agoMerge "Shim ACL: Implement OnLocalAddressUpdate"
Treehugger Robot [Fri, 26 Feb 2021 10:44:48 +0000 (10:44 +0000)]
Merge "Shim ACL: Implement OnLocalAddressUpdate"

3 years agoMerge "Controller: Debug message for unuspported opcodes" am: fd7b7ffd29 am: 50379b77f7
Treehugger Robot [Fri, 26 Feb 2021 10:01:30 +0000 (10:01 +0000)]
Merge "Controller: Debug message for unuspported opcodes" am: fd7b7ffd29 am: 50379b77f7

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I4785b4b6d50f99dee27dde54d4814f2d4ace005f

3 years agoMerge "Controller: Debug message for unuspported opcodes" am: fd7b7ffd29
Treehugger Robot [Fri, 26 Feb 2021 09:29:27 +0000 (09:29 +0000)]
Merge "Controller: Debug message for unuspported opcodes" am: fd7b7ffd29

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I4dc629b6bc6931247ebf574a59e907b91cb2049d

3 years agoMerge "Controller: Debug message for unuspported opcodes"
Treehugger Robot [Fri, 26 Feb 2021 07:33:07 +0000 (07:33 +0000)]
Merge "Controller: Debug message for unuspported opcodes"

3 years agoMerge "Properly include bta when BTA_PAN_INCLUDED != TRUE" am: a7b42b7090 am: 0fd78ab77e
Treehugger Robot [Fri, 26 Feb 2021 07:20:27 +0000 (07:20 +0000)]
Merge "Properly include bta when BTA_PAN_INCLUDED != TRUE" am: a7b42b7090 am: 0fd78ab77e

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I4bacb00cb81d4c8903d039eaa34fd55040189421

3 years agoGD Scanning: Always disable scan before set parameter
Chienyuan [Thu, 25 Feb 2021 07:20:59 +0000 (15:20 +0800)]
GD Scanning: Always disable scan before set parameter

Tag: #gd-refactor
Bug: 181184816
Test: gd/cert/run
Test: manual, start scan from settings then start scan via other app
Change-Id: I7971d0ec674312b2cdc8b17c3532071377255ff7

3 years agoMerge "Properly include bta when BTA_PAN_INCLUDED != TRUE" am: a7b42b7090
Treehugger Robot [Fri, 26 Feb 2021 06:04:12 +0000 (06:04 +0000)]
Merge "Properly include bta when BTA_PAN_INCLUDED != TRUE" am: a7b42b7090

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I0d83d867c6c1a0984b880b03ecf1d21c24e752a9

3 years agoMerge "Properly include bta when BTA_PAN_INCLUDED != TRUE"
Treehugger Robot [Fri, 26 Feb 2021 05:01:01 +0000 (05:01 +0000)]
Merge "Properly include bta when BTA_PAN_INCLUDED != TRUE"

3 years agoMerge "Unbind gd_base_test from ACTS" am: 50725066e3 am: 18e8439336
Jizheng Chu [Fri, 26 Feb 2021 02:00:26 +0000 (02:00 +0000)]
Merge "Unbind gd_base_test from ACTS" am: 50725066e3 am: 18e8439336

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I186e64e512fb4629de13aad5ee14339262a7a4ab

3 years agoMerge "Unbind gd_base_test from ACTS" am: 50725066e3
Jizheng Chu [Fri, 26 Feb 2021 00:56:18 +0000 (00:56 +0000)]
Merge "Unbind gd_base_test from ACTS" am: 50725066e3

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I420f15787d78cb266b7f6e3d31e8be2438ae65a0

3 years agoMerge "Unbind gd_base_test from ACTS"
Jizheng Chu [Thu, 25 Feb 2021 23:34:54 +0000 (23:34 +0000)]
Merge "Unbind gd_base_test from ACTS"

3 years agorusty-gd: Use spawn instead of block_on
Qasim Javed [Mon, 22 Feb 2021 21:53:40 +0000 (13:53 -0800)]
rusty-gd: Use spawn instead of block_on

Using block_on causes panic since the runtime is being used to drive
asynchornous tasks.

tokio::runtime::Handle has a spawn_blocking method but that can only be
called from async context. Use spawn instead.

With this change, I tested pairing with Pixel Buds and it works.

Bug: 171749953
Tag: #gd-refactor
Test: gd/cert/run --rhost DirectHciTest

Change-Id: Ife8904181bd570336e80b7980435808deba7f423

3 years agoProperly include bta when BTA_PAN_INCLUDED != TRUE
Chris Manton [Thu, 25 Feb 2021 17:52:36 +0000 (09:52 -0800)]
Properly include bta when BTA_PAN_INCLUDED != TRUE

Bug: 181201483
Test: sc-tv-dev:: lunch inuvik && make libbluetooth
Tag: #refactor

Change-Id: Ic07bf040122696dc65748185dbf8cc6caa651e12

3 years agoShim ACL: Implement OnLocalAddressUpdate
Chienyuan [Thu, 25 Feb 2021 14:18:46 +0000 (22:18 +0800)]
Shim ACL: Implement OnLocalAddressUpdate

Tag: #gd-refactor
Bug: 181090402
Test: gd/cert/run
Test: manual, bond from remote device via nRF app
Change-Id: I3e570d0459d3d5fe6315b3416b7253aa9d9f1422

3 years agoRootCanal: Iso support am: 82b3f28222 am: 4c842607bb
Jakub Pawlowski [Thu, 25 Feb 2021 13:21:44 +0000 (13:21 +0000)]
RootCanal: Iso support am: 82b3f28222 am: 4c842607bb

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I42ad0c84e6b86a1e309b9400c861e61981f064f3

3 years agoRootCanal: Silence unused using warnings am: 4b2ee3cee5 am: c2a3f1a67d
Myles Watson [Thu, 25 Feb 2021 13:21:42 +0000 (13:21 +0000)]
RootCanal: Silence unused using warnings am: 4b2ee3cee5 am: c2a3f1a67d

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ie09c6bd85f79085a82f99de83a1573266d745888

3 years agoRootCanal: Iso support am: 82b3f28222
Jakub Pawlowski [Thu, 25 Feb 2021 12:48:24 +0000 (12:48 +0000)]
RootCanal: Iso support am: 82b3f28222

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Idb3df5b2c2ea1c31ca7b6bbcf2ec415dd2e7e3a7

3 years agoRootCanal: Silence unused using warnings am: 4b2ee3cee5
Myles Watson [Thu, 25 Feb 2021 12:48:14 +0000 (12:48 +0000)]
RootCanal: Silence unused using warnings am: 4b2ee3cee5

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Icfcf96c9000b664f7dc83f072ad89acb7eafd524

3 years agoMerge "Re-include bta/..." am: 888d89f72d am: 30128cd0d2
Chris Manton [Wed, 24 Feb 2021 22:58:58 +0000 (22:58 +0000)]
Merge "Re-include bta/..." am: 888d89f72d am: 30128cd0d2

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I087bb6851c2abc816e634ffb39e3199db60b9607

3 years agoAdd host support for utils/ am: d1116cf32e am: 751d9cfbb1
Hansong Zhang [Wed, 24 Feb 2021 22:56:25 +0000 (22:56 +0000)]
Add host support for utils/ am: d1116cf32e am: 751d9cfbb1

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I7bd5e32353e9e72b238cf5f55a38b2ea6d3a195a

3 years agoMerge "Re-include bta/..." am: 888d89f72d
Chris Manton [Wed, 24 Feb 2021 22:26:03 +0000 (22:26 +0000)]
Merge "Re-include bta/..." am: 888d89f72d

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ie5bc7e0766ebbde8d964cb1ddfa4b590b099af8a

3 years agoAdd host support for utils/ am: d1116cf32e
Hansong Zhang [Wed, 24 Feb 2021 22:21:59 +0000 (22:21 +0000)]
Add host support for utils/ am: d1116cf32e

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ic53996e3a14ca0b99d41f8498af5805f9fa26913

3 years agoController: Debug message for unuspported opcodes
Myles Watson [Wed, 24 Feb 2021 15:41:39 +0000 (07:41 -0800)]
Controller: Debug message for unuspported opcodes

Bug: 181159438
Test: cert/run
Tag: #gd-refactor
Change-Id: Iebee00b614da04cac77f9b2a8c104f16c97a8252

3 years agoRootCanal: Iso support
Jakub Pawlowski [Wed, 17 Feb 2021 15:45:41 +0000 (16:45 +0100)]
RootCanal: Iso support

Add remote_handle to ISO connections.

Tag: #feature
Test: cert/run LeIsoTest
Bug: 177907117
Change-Id: I55cca5f758264c1fb408623ed8a85110076f9bd9

3 years agoRootCanal: Silence unused using warnings
Myles Watson [Tue, 23 Feb 2021 20:29:37 +0000 (12:29 -0800)]
RootCanal: Silence unused using warnings

Tag: #feature
Test: cert/run LeIsoTest
Bug: 177907117
Change-Id: Ic0737634e3d5ebe3db102453eac792c890195d00

3 years agoMerge "Re-include bta/..."
Chris Manton [Wed, 24 Feb 2021 19:35:46 +0000 (19:35 +0000)]
Merge "Re-include bta/..."

3 years agoAdd host support for utils/
Hansong Zhang [Wed, 24 Feb 2021 00:40:00 +0000 (16:40 -0800)]
Add host support for utils/

Test: compile
Change-Id: Ib6dce1c141d483ed1be261db6257110932c3efd8

3 years agoMerge "btaa: route HCI packet to BTAA module" am: f78936fdcd am: af4a8194c2
Michael Sun [Wed, 24 Feb 2021 19:15:26 +0000 (19:15 +0000)]
Merge "btaa: route HCI packet to BTAA module" am: f78936fdcd am: af4a8194c2

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I320e61e15adc151c14dfc1699538a514006684ec

3 years agoMerge "btaa: route HCI packet to BTAA module" am: f78936fdcd
Michael Sun [Wed, 24 Feb 2021 18:25:57 +0000 (18:25 +0000)]
Merge "btaa: route HCI packet to BTAA module" am: f78936fdcd

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ide29dbf9e82c1ac9d2a38af8e0a1cf05c4e1f3f3

3 years agoMerge "btaa: route HCI packet to BTAA module"
Michael Sun [Wed, 24 Feb 2021 18:01:53 +0000 (18:01 +0000)]
Merge "btaa: route HCI packet to BTAA module"

3 years agoMerge "Fix the delta_time_ms types mismtach in btsnooz.py" am: 49d839ed9b am: 30e9fce854
Treehugger Robot [Wed, 24 Feb 2021 04:06:42 +0000 (04:06 +0000)]
Merge "Fix the delta_time_ms types mismtach in btsnooz.py" am: 49d839ed9b am: 30e9fce854

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I944448b6efbb79fa7b01e06dec76bf3ec86fe611

3 years agoMerge "Fix the delta_time_ms types mismtach in btsnooz.py" am: 49d839ed9b
Treehugger Robot [Wed, 24 Feb 2021 02:59:10 +0000 (02:59 +0000)]
Merge "Fix the delta_time_ms types mismtach in btsnooz.py" am: 49d839ed9b

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I4e2a59f59a73efa676531c0439a746673bca7467

3 years agoRe-include bta/...
Chris Manton [Fri, 22 Jan 2021 17:26:40 +0000 (09:26 -0800)]
Re-include bta/...

and some btif/...

Bug: 163134718
Test: cert
Tag: #refactor
Change-Id: I87fc3a29e6451aa2e743c57e136675b6546e694f

3 years agoMerge "Fix the delta_time_ms types mismtach in btsnooz.py"
Treehugger Robot [Wed, 24 Feb 2021 02:15:06 +0000 (02:15 +0000)]
Merge "Fix the delta_time_ms types mismtach in btsnooz.py"

3 years agoAdd gn builds for main/shim am: 5bc5b6c961 am: f35f739652
Sonny Sasaka [Wed, 24 Feb 2021 01:50:24 +0000 (01:50 +0000)]
Add gn builds for main/shim am: 5bc5b6c961 am: f35f739652

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I226aee7f1af8ec11107759ff3fcf3336755522b3

3 years agoStabilize hci_layer_test am: e26c52c7c6 am: 7c3a21e6d0
Jakub Pawlowski [Wed, 24 Feb 2021 01:45:47 +0000 (01:45 +0000)]
Stabilize hci_layer_test am: e26c52c7c6 am: 7c3a21e6d0

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I6f206282a84e7047df3a59ef277d5b02e48e81cc

3 years agoAdd gn builds for main/shim am: 5bc5b6c961
Sonny Sasaka [Wed, 24 Feb 2021 01:44:23 +0000 (01:44 +0000)]
Add gn builds for main/shim am: 5bc5b6c961

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I34b936d76312ec2bfc58ce07a8ad7e471e5579ec

3 years agoStabilize hci_layer_test am: e26c52c7c6
Jakub Pawlowski [Wed, 24 Feb 2021 01:26:32 +0000 (01:26 +0000)]
Stabilize hci_layer_test am: e26c52c7c6

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I44db79e18f85f59d4372a497871845a9547b5bdf

3 years agoMerge changes I5c8ad512,Idce102cd am: 730c48e66b am: b7dfc7acdf
Jakub Pawlowski [Wed, 24 Feb 2021 01:26:01 +0000 (01:26 +0000)]
Merge changes I5c8ad512,Idce102cd am: 730c48e66b am: b7dfc7acdf

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I9cd11d0519132d45d64723cc314c5693fc40f70a

3 years agoMerge "BluetoothAudioHAL: Don't cache the providers factory locally" am: 0be218317a...
Treehugger Robot [Wed, 24 Feb 2021 01:25:14 +0000 (01:25 +0000)]
Merge "BluetoothAudioHAL: Don't cache the providers factory locally" am: 0be218317a am: 9e4bee97c4

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I029728ba3085957bdc1775dadc2ef30cfab9c9c0

3 years agoMerge "Rename for updating BluetoothA2dp API naming" am: 2443531023 am: 95a908879e
More Kuo [Wed, 24 Feb 2021 01:23:48 +0000 (01:23 +0000)]
Merge "Rename for updating BluetoothA2dp API naming" am: 2443531023 am: 95a908879e

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I45b8b39bcb13e3c5c9282c8df7feeafabe0937d7

3 years agoMerge "Add explicit rate units for SCO fields" am: ec25c520ed am: 537646053c
Treehugger Robot [Wed, 24 Feb 2021 01:22:47 +0000 (01:22 +0000)]
Merge "Add explicit rate units for SCO fields" am: ec25c520ed am: 537646053c

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I4d7ecfcabe4b2e1c5302bccccc52d8b0f71a3571

3 years agoMerge changes I5c8ad512,Idce102cd am: 730c48e66b
Jakub Pawlowski [Wed, 24 Feb 2021 01:21:03 +0000 (01:21 +0000)]
Merge changes I5c8ad512,Idce102cd am: 730c48e66b

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I3e2d596358b5b056410a25b6bc3e64afeaf1a0c0

3 years agoMerge "BluetoothAudioHAL: Don't cache the providers factory locally" am: 0be218317a
Treehugger Robot [Wed, 24 Feb 2021 01:15:33 +0000 (01:15 +0000)]
Merge "BluetoothAudioHAL: Don't cache the providers factory locally" am: 0be218317a

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I6aa416cf79d878b7776e99b75ab7ce6de07ab033

3 years agoAdd gn builds for main/shim
Sonny Sasaka [Tue, 9 Feb 2021 06:09:59 +0000 (22:09 -0800)]
Add gn builds for main/shim

This adds GN builds for main/shim, along the way adding some fixes:
* Add message_loop_thread_bridge_header to use Rust's message loop
* Add some missing includes
* Build files for dumpsys
* Add gd/hci gn build

Bug: 176847216
Tag: #refactor
Test: atest --host bluetooth_test_common

Change-Id: Ide1edbb70076c4dcc4a4e6ee41303a9e315d52af

3 years agoMerge "Rename for updating BluetoothA2dp API naming" am: 2443531023
More Kuo [Wed, 24 Feb 2021 00:39:44 +0000 (00:39 +0000)]
Merge "Rename for updating BluetoothA2dp API naming" am: 2443531023

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Id8d054015deabd492d92dfb3c93f41c5735246e6

3 years agoMerge "Add explicit rate units for SCO fields" am: ec25c520ed
Treehugger Robot [Wed, 24 Feb 2021 00:38:37 +0000 (00:38 +0000)]
Merge "Add explicit rate units for SCO fields" am: ec25c520ed

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ic6582b7576547b9be28cddb4bd60f40653e77e16

3 years agoMerge "Surface ACL disconnect reasons from native to Java" am: ff63225f82 am: 0755aeb0db
Andrew Cheng [Tue, 23 Feb 2021 23:57:44 +0000 (23:57 +0000)]
Merge "Surface ACL disconnect reasons from native to Java" am: ff63225f82 am: 0755aeb0db

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I538e30a4015f4e7febc21186fb71600d879ec56b

3 years agoMerge "Surface ACL disconnect reasons from native to Java" am: ff63225f82
Andrew Cheng [Tue, 23 Feb 2021 23:38:25 +0000 (23:38 +0000)]
Merge "Surface ACL disconnect reasons from native to Java" am: ff63225f82

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ie1d0be92648da4263af4b68473161e105035c0fe

3 years agobtaa: route HCI packet to BTAA module
Michael Sun [Wed, 30 Dec 2020 23:57:53 +0000 (23:57 +0000)]
btaa: route HCI packet to BTAA module

Route HCI packets to BTAA for attribution analysis processing.

Tag: #feature
Bug: 177230507
Test: mmma -j system/bt
BYPASS_LONG_LINES_REASON: consist with gd format

Change-Id: Ic26c472758547fa7eeac1ff39c81a78c2545ad5d

3 years agoStabilize hci_layer_test
Jakub Pawlowski [Tue, 23 Feb 2021 18:26:22 +0000 (19:26 +0100)]
Stabilize hci_layer_test

Currently this test fails around 1 every 10 runs, with null pointer
exception.

Bug: 177907117
Tag: #feature
Test: atest bluetooth_test_gd --gtest_filter=HciTest.receiveMultiple* --gtest_repeat=100
Change-Id: I58de30ae493dc1a2764e36a4451906218632fd47

3 years agoMerge changes I5c8ad512,Idce102cd
Jakub Pawlowski [Tue, 23 Feb 2021 15:44:22 +0000 (15:44 +0000)]
Merge changes I5c8ad512,Idce102cd

* changes:
  Support Bluetooth HAL 1.1 in GD
  Rust HAL: Store header size as constant rather than enum

3 years agoMerge "BluetoothAudioHAL: Don't cache the providers factory locally"
Treehugger Robot [Tue, 23 Feb 2021 15:11:05 +0000 (15:11 +0000)]
Merge "BluetoothAudioHAL: Don't cache the providers factory locally"

3 years agoSupport Bluetooth HAL 1.1 in GD
Jakub Pawlowski [Tue, 23 Feb 2021 08:10:38 +0000 (09:10 +0100)]
Support Bluetooth HAL 1.1 in GD

Because ISO support is coming

Bug: 177907117
Tag: #feature
Test: run GD stack on device supporting 1.1HAL, verify it's choosen
Change-Id: I5c8ad512b93be443e09c02a435f9fd08179e4367

3 years agoRust HAL: Store header size as constant rather than enum
Jakub Pawlowski [Tue, 23 Feb 2021 10:35:53 +0000 (11:35 +0100)]
Rust HAL: Store header size as constant rather than enum

Enums are not appropriate here, headers size can be equal, i.e. for ACL
and upcoming ISO packets.

Bug: 177907117
Tag: #feature
Test: compilation
Change-Id: Idce102cd4f42fb37c723129e80671cedb5c6858a

3 years agoBluetoothAudioHAL: Don't cache the providers factory locally
Cheney Ni [Tue, 23 Feb 2021 12:03:45 +0000 (20:03 +0800)]
BluetoothAudioHAL: Don't cache the providers factory locally

This object is provided by Audio HAL, and we should get the
service every time while fetching a provider. It fixes the crash
which is due to out-of-sync in case of Audio HAL restarting.

Fixes: 173538746
Tag: #stability
Test: atest bluetooth-test-audio-hal-interface
      restart Audio HAL when Bluetooth is ON
Change-Id: I1e88136c768a1d5fdcd70cfd9e5f1a3a13645333

3 years ago[automerger skipped] Merge "Merge ab/7061308 into stage." into stage-aosp-master...
TreeHugger Robot [Tue, 23 Feb 2021 09:05:03 +0000 (09:05 +0000)]
[automerger skipped] Merge "Merge ab/7061308 into stage." into stage-aosp-master am: 55aa959766 -s ours

am skip reason: Change-Id I7e4d41466d34c565f4f0f410292f84642c8ee1dd with SHA-1 6356afca01 is in history

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iff77d4504c09592b2bee280151a6f0d09fb2fe7c