OSDN Git Service

android-x86/system-bt.git
3 years agoMerge "export async_fd_watcher" am: 96665b0602 am: 6c67f961f8
Treehugger Robot [Tue, 2 Mar 2021 18:46:17 +0000 (18:46 +0000)]
Merge "export async_fd_watcher" am: 96665b0602 am: 6c67f961f8

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I077700c4861751ad849507ce9ab5792c93a75276

3 years agoMerge "Merge RQ2A.210305.007 into stage." into stage-aosp-master am: fa84b60443
TreeHugger Robot [Tue, 2 Mar 2021 18:44:21 +0000 (18:44 +0000)]
Merge "Merge RQ2A.210305.007 into stage." into stage-aosp-master am: fa84b60443

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I640059a6ca8546a0c29f53855ecd9ec8de7656f8

3 years agoMerge "export async_fd_watcher" am: 96665b0602
Treehugger Robot [Tue, 2 Mar 2021 04:07:53 +0000 (04:07 +0000)]
Merge "export async_fd_watcher" am: 96665b0602

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I36f6d5575c304402f35437679cf7a0ddc6760cd7

3 years agoMerge "export async_fd_watcher"
Treehugger Robot [Tue, 2 Mar 2021 03:21:14 +0000 (03:21 +0000)]
Merge "export async_fd_watcher"

3 years agoAdd host support for btif/ am: 58accc1b51 am: c298c72189
Hansong Zhang [Tue, 2 Mar 2021 02:04:47 +0000 (02:04 +0000)]
Add host support for btif/ am: 58accc1b51 am: c298c72189

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I8c43e1ba62fe443193a17e7d42aed72c8591742f

3 years agoMerge "Merge RQ2A.210305.007 into stage." into stage-aosp-master
TreeHugger Robot [Tue, 2 Mar 2021 01:09:13 +0000 (01:09 +0000)]
Merge "Merge RQ2A.210305.007 into stage." into stage-aosp-master

3 years agoAdd host support for btif/ am: 58accc1b51
Hansong Zhang [Tue, 2 Mar 2021 01:07:46 +0000 (01:07 +0000)]
Add host support for btif/ am: 58accc1b51

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Id9aeabd3e816e188163531ae17f21ce401a11365

3 years agoMerge "Remove additional handle mapping between C++ and Python" am: 94b1656518 am...
Treehugger Robot [Tue, 2 Mar 2021 00:12:04 +0000 (00:12 +0000)]
Merge "Remove additional handle mapping between C++ and Python" am: 94b1656518 am: 2570b8d21f

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ic778f9f4b5c81f0f815300075dcbc8e063e50654

3 years agoAdd host support for btif/
Hansong Zhang [Mon, 1 Mar 2021 20:55:37 +0000 (12:55 -0800)]
Add host support for btif/

Move some dependencies to Android only.

Bug: 181590011
Tag: #refactor
Test: compile
Change-Id: I37812378210e822d1d36fcf24aaadbcf9f4a5084

3 years agoMerge "Remove additional handle mapping between C++ and Python" am: 94b1656518
Treehugger Robot [Mon, 1 Mar 2021 23:26:41 +0000 (23:26 +0000)]
Merge "Remove additional handle mapping between C++ and Python" am: 94b1656518

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I4b491223760aa702ef87cf507113da27be3c4de7

3 years agoMerge "Remove additional handle mapping between C++ and Python"
Treehugger Robot [Mon, 1 Mar 2021 22:58:55 +0000 (22:58 +0000)]
Merge "Remove additional handle mapping between C++ and Python"

3 years agoMerge changes I0d082b14,I868d5eb4,I32c5931e am: f46a087a5d am: 50f144292a
Treehugger Robot [Mon, 1 Mar 2021 20:08:49 +0000 (20:08 +0000)]
Merge changes I0d082b14,I868d5eb4,I32c5931e am: f46a087a5d am: 50f144292a

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I673580f04bb3a1591ae4f2da32df3daba6392f0a

3 years agohal: Add input port for bluetooth audio HAL am: 11b83404fa am: fcb2ca0269
Grzegorz Kołodziejczyk [Mon, 1 Mar 2021 20:08:44 +0000 (20:08 +0000)]
hal: Add input port for bluetooth audio HAL am: 11b83404fa am: fcb2ca0269

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I967be76e5ee8ffd826ab7899563a3608cdee3419

3 years agoRemove additional handle mapping between C++ and Python
Jakub Pawlowski [Mon, 1 Mar 2021 14:52:06 +0000 (15:52 +0100)]
Remove additional handle mapping between C++ and Python

We must be able to access ACL handle from upcoming ISO module.

Tag: #feature
Bug: 177907117
Test: cert/run LeL2capTest
Change-Id: I3124bff551930158ae80c43166dd9d95201ce6a2

3 years agoMerge changes I0d082b14,I868d5eb4,I32c5931e am: f46a087a5d
Treehugger Robot [Mon, 1 Mar 2021 19:48:23 +0000 (19:48 +0000)]
Merge changes I0d082b14,I868d5eb4,I32c5931e am: f46a087a5d

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I7d6df2c0e3400bee9ef8e472a0c19a1cbbc27d13

3 years agoMerge changes I0d082b14,I868d5eb4,I32c5931e
Treehugger Robot [Mon, 1 Mar 2021 19:31:29 +0000 (19:31 +0000)]
Merge changes I0d082b14,I868d5eb4,I32c5931e

* changes:
  PyLeAclManager: Implement connection cancel
  RootCanal: Send ConnectionComplete after Cancel
  RootCanal: Disallow configuring ongoing scans

3 years agohal: Add input port for bluetooth audio HAL am: 11b83404fa
Grzegorz Kołodziejczyk [Mon, 1 Mar 2021 19:29:35 +0000 (19:29 +0000)]
hal: Add input port for bluetooth audio HAL am: 11b83404fa

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I06281bdd73cf7e876a2ff2e3ae9bd27279a99861

3 years agohal: Add input port for bluetooth audio HAL
Grzegorz Kołodziejczyk [Tue, 9 Feb 2021 14:48:25 +0000 (14:48 +0000)]
hal: Add input port for bluetooth audio HAL

Patch adds input port for bluetooth audio HAL.

Bug: 150670922
Tag: #feature
Test: atest bluetooth-test-audio-hal-interface
Sponsor: jpawlowski@
Change-Id: I7f9a12bcf13d7ce44f1f9a73d8b8a9bf4c764f92

3 years ago[automerger skipped] DO NOT MERGE - Mark RQ2A.210105.001 as merged. am: 60ce72f1b0...
Xin Li [Mon, 1 Mar 2021 09:26:11 +0000 (09:26 +0000)]
[automerger skipped] DO NOT MERGE - Mark RQ2A.210105.001 as merged. am: 60ce72f1b0 -s ours

am skip reason: Change-Id Iad6ec9f3b83feae19d631c5d0499da4ba5885f40 with SHA-1 17c4753709 is in history

Original change: undetermined

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I5009a68ac5210c3fb3e1541a9086dc506e516c1e

3 years agoMerge RQ2A.210305.007 into stage.
Xin Li [Mon, 1 Mar 2021 08:53:15 +0000 (00:53 -0800)]
Merge RQ2A.210305.007 into stage.

Bug: 180401296
Merged-In: I1d014a7b793bb1b66e26652f6696499ea36a6510
Change-Id: I026f7700ab9b9547ab06de795ed1b84a658368fd

3 years agoDO NOT MERGE - Mark RQ2A.210105.001 as merged.
Xin Li [Mon, 1 Mar 2021 08:43:24 +0000 (00:43 -0800)]
DO NOT MERGE - Mark RQ2A.210105.001 as merged.

Bug: 180401296
Merged-In: Iad6ec9f3b83feae19d631c5d0499da4ba5885f40
Change-Id: I0756e13d93f10431ef56fce434c9da0cd9d43b5c

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 agoPyLeAclManager: Implement connection cancel
Myles Watson [Sat, 27 Feb 2021 00:05:23 +0000 (16:05 -0800)]
PyLeAclManager: Implement connection cancel

Bug: 181371297
Test: cert/run LeAclManagerTest
Tag: #gd-refactor
Change-Id: I0d082b143f4a0638695af9eeb20337f185d89af2

3 years agoRootCanal: Send ConnectionComplete after Cancel
Myles Watson [Fri, 26 Feb 2021 23:44:30 +0000 (15:44 -0800)]
RootCanal: Send ConnectionComplete after Cancel

Bug: 181371297
Test: cert/run LeAclManagerTest
Tag: #gd-refactor
Change-Id: I868d5eb48ec7eca7f0ecf10ad3014f8c57634d85

3 years agoRootCanal: Disallow configuring ongoing scans
Myles Watson [Fri, 26 Feb 2021 23:06:41 +0000 (15:06 -0800)]
RootCanal: Disallow configuring ongoing scans

Bug: 181371297
Test: cert/run LeAclManagerTest
Tag: #gd-refactor
Change-Id: I32c5931e69b7ab64e4d2c2f9558efa69ea9c34fb

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 agoexport async_fd_watcher
Jeongik Cha [Wed, 24 Feb 2021 13:29:18 +0000 (22:29 +0900)]
export async_fd_watcher

extract async_fd_watcher into library to be shared with remote HAL
implementation for BT

Bug: 181112377
Test: check building successfully
Change-Id: I7eef789e37e70f94a50f9ee15f0f80e0bb2da82a

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