OSDN Git Service

android-x86/system-bt.git
5 years agoBitInserter: Add byte observer for checksums am: afafb32eb7
Myles Watson [Thu, 18 Apr 2019 21:49:23 +0000 (14:49 -0700)]
BitInserter: Add byte observer for checksums am: afafb32eb7
am: a5672e4897

Change-Id: I8cf6445f41f3c1af6c8f223c8397ba42a296e8aa

5 years agoBitInserter: Add byte observer for checksums
Myles Watson [Thu, 18 Apr 2019 21:42:03 +0000 (14:42 -0700)]
BitInserter: Add byte observer for checksums
am: afafb32eb7

Change-Id: If4c71d919a302df6b56c8ad2187ca40abb250c45

5 years agoBitInserter: Add byte observer for checksums
Myles Watson [Tue, 16 Apr 2019 17:24:26 +0000 (10:24 -0700)]
BitInserter: Add byte observer for checksums

Test: bluetooth_test_gd --gtest_filter=*BitInserter*
Change-Id: I9ef5bc5951244279fc142127a5c3c9a54c4eaf5c

5 years agopacket: Support fixed-width custom types am: af1b2d152f
Myles Watson [Thu, 18 Apr 2019 14:20:59 +0000 (07:20 -0700)]
packet: Support fixed-width custom types am: af1b2d152f
am: 422d3f38b4

Change-Id: I999131e50c4296aa11698ad69af43d365aa95ccc

5 years agopacket: Support fixed-width custom types
Myles Watson [Thu, 18 Apr 2019 14:16:56 +0000 (07:16 -0700)]
packet: Support fixed-width custom types
am: af1b2d152f

Change-Id: I62a9d400acc11c43fd7aa09b40534eecfa294eb1

5 years agopacket: Support fixed-width custom types
Myles Watson [Fri, 12 Apr 2019 17:39:59 +0000 (10:39 -0700)]
packet: Support fixed-width custom types

Test: bluetooth_packet_parser_test --gtest_filter=*testChildWithAddress*
Change-Id: I73ff7962d99f668b4cbf1b4068bf74d069b9f599

5 years ago[automerger skipped] Send connected callback immediately when attempting to connect...
Jakub Pawlowski [Wed, 17 Apr 2019 02:26:51 +0000 (19:26 -0700)]
[automerger skipped] Send connected callback immediately when attempting to connect to already connected device
am: 55015964ef -s ours
am skip reason: change_id Ic4fa7089a8262f6f792206496a7cfb9c83a16eb2 with SHA1 4c0701f21b is in history

Change-Id: Ia1ed3e991b9a8a420ddea8427ac6c363e5431467

5 years agoSend connected callback immediately when attempting to connect to already connected...
Jakub Pawlowski [Tue, 16 Apr 2019 22:13:41 +0000 (15:13 -0700)]
Send connected callback immediately when attempting to connect to already connected device am: 4c0701f21b
am: 62ef9cb65e

Change-Id: I49e0065356533a3ef1cea8760e3c38f06b3e1951

5 years agoSend connected callback immediately when attempting to connect to already connected...
Jakub Pawlowski [Tue, 16 Apr 2019 22:01:49 +0000 (15:01 -0700)]
Send connected callback immediately when attempting to connect to already connected device
am: 4c0701f21b

Change-Id: I89cd760c2bef5ae249df31ba7082e83cdde28987

5 years agoSend connected callback immediately when attempting to connect to already connected...
Jakub Pawlowski [Mon, 15 Apr 2019 20:07:27 +0000 (22:07 +0200)]
Send connected callback immediately when attempting to connect to already connected device

Instead of adding the device to the connection manager, just send the
successfull connection callback.

This patch is restoring behaviour from before Connection Manager
refactor. During the refactor this behaviour was broken.

Bug: 130273570
Test: sl4a GattConnectTest
Change-Id: Ic4fa7089a8262f6f792206496a7cfb9c83a16eb2
Merged-In: Ic4fa7089a8262f6f792206496a7cfb9c83a16eb2

5 years agoSend connected callback immediately when attempting to connect to already connected...
Jakub Pawlowski [Mon, 15 Apr 2019 20:07:27 +0000 (22:07 +0200)]
Send connected callback immediately when attempting to connect to already connected device

Instead of adding the device to the connection manager, just send the
successfull connection callback.

This patch is restoring behaviour from before Connection Manager
refactor. During the refactor this behaviour was broken.

Bug: 130273570
Test: sl4a GattConnectTest
Change-Id: Ic4fa7089a8262f6f792206496a7cfb9c83a16eb2

5 years agoMerge "Mark these yacc files as creating headers" am: 29a9284d99
Dan Willemsen [Tue, 16 Apr 2019 00:51:46 +0000 (17:51 -0700)]
Merge "Mark these yacc files as creating headers" am: 29a9284d99
am: 1d980db7e6

Change-Id: I1f4891658b4370e4c90fb732ab6abfe42f30a6ef

5 years agoMerge "Mark these yacc files as creating headers"
Dan Willemsen [Tue, 16 Apr 2019 00:25:11 +0000 (17:25 -0700)]
Merge "Mark these yacc files as creating headers"
am: 29a9284d99

Change-Id: I7ef27a6c6b7a769e463885a146791a3a5d1cc013

5 years agoMerge "Mark these yacc files as creating headers"
Treehugger Robot [Tue, 16 Apr 2019 00:06:53 +0000 (00:06 +0000)]
Merge "Mark these yacc files as creating headers"

5 years agoMerge "Implement Queue" am: 514d25c3b1
Chienyuan [Mon, 15 Apr 2019 22:21:40 +0000 (15:21 -0700)]
Merge "Implement Queue" am: 514d25c3b1
am: acb4e6e15e

Change-Id: Ie106ed8fd75069154904e67b3c7aa2b7934c9cdb

5 years agoMerge "Implement Queue"
Chienyuan [Mon, 15 Apr 2019 22:10:04 +0000 (15:10 -0700)]
Merge "Implement Queue"
am: 514d25c3b1

Change-Id: I61f6b3e5560bbe603bf8c4dbdd36c52d274440e0

5 years agoMerge "Implement Queue"
Treehugger Robot [Mon, 15 Apr 2019 21:49:01 +0000 (21:49 +0000)]
Merge "Implement Queue"

5 years ago[automerger skipped] Merge "Change storage metadata type to byte array" am: dcab2c1b4c
Ugo Yu [Mon, 15 Apr 2019 21:07:38 +0000 (14:07 -0700)]
[automerger skipped] Merge "Change storage metadata type to byte array" am: dcab2c1b4c
am: ecda356e23 -s ours
am skip reason: change_id I10489c4aa93c2c3463456bcba210036bc20082a4 with SHA1 5a1e7dc033 is in history

Change-Id: Ie9341ad75263977b5d29f32574975101d7e43a8e

5 years agoMerge "Change storage metadata type to byte array"
Ugo Yu [Mon, 15 Apr 2019 20:56:30 +0000 (13:56 -0700)]
Merge "Change storage metadata type to byte array"
am: dcab2c1b4c

Change-Id: I66e07b5a1d011a7682c28a4edad4550dd07964e9

5 years agoMerge "Change storage metadata type to byte array"
Treehugger Robot [Mon, 15 Apr 2019 20:37:28 +0000 (20:37 +0000)]
Merge "Change storage metadata type to byte array"

5 years agoRootCanal: Open network ports only if there is a console
Myles Watson [Mon, 15 Apr 2019 19:05:15 +0000 (12:05 -0700)]
RootCanal: Open network ports only if there is a console
am: 076f33f677

Change-Id: I59757d4e02ee9596e4c30415d52ef3fb099a85fb

5 years agoRootCanal: Open network ports only if there is a console am: 0ffd38f3a3
Myles Watson [Sat, 13 Apr 2019 02:50:57 +0000 (19:50 -0700)]
RootCanal: Open network ports only if there is a console am: 0ffd38f3a3
am: 8d9cc36df4

Change-Id: I60da863d4c727d97ac93542857c33f57d8356445

5 years agoRootCanal: Open network ports only if there is a console
Myles Watson [Sat, 13 Apr 2019 02:00:48 +0000 (19:00 -0700)]
RootCanal: Open network ports only if there is a console
am: 0ffd38f3a3

Change-Id: I4f55bbfd95d1bd00e4baa55720ddf94c36ce3fcf

5 years agoRootCanal: Open network ports only if there is a console
Myles Watson [Fri, 12 Apr 2019 21:30:51 +0000 (14:30 -0700)]
RootCanal: Open network ports only if there is a console

Fixes: 128355308
Test: toggle airplane mode and check for opening sockets
Change-Id: I8c4581b708c05a8c72dba3604c02adea97c1653b

5 years agoRootCanal: Open network ports only if there is a console
Myles Watson [Fri, 12 Apr 2019 21:30:51 +0000 (14:30 -0700)]
RootCanal: Open network ports only if there is a console

Bug: 128355308
Test: toggle airplane mode and check for opening sockets
Change-Id: I8c4581b708c05a8c72dba3604c02adea97c1653b

5 years agoMark these yacc files as creating headers
Dan Willemsen [Fri, 12 Apr 2019 22:16:12 +0000 (15:16 -0700)]
Mark these yacc files as creating headers

So that they're properly represented in the build graph.

Test: treehugger
Change-Id: If7141171117260b870dc6a0c6608dcae696b3189

5 years agoImplement Queue
Chienyuan [Thu, 4 Apr 2019 17:29:02 +0000 (10:29 -0700)]
Implement Queue

* Implement Queue which provides a flow control mechanism for data
  transmission between modules. This queue streaming data with
  EnqueueCallback and DequeueCallback based on the reactor pattern.
  Enqueue end should register callback when data is ready to be sent
  and unregister when no data ready to send. Dequeue end should
  register callback when ready to handle data and unregister when not
  ready to handle data.

* Implement ReactiveSemaphore, a wrapper for an event_fd work in
  non-blocking and Semaphore mode used by Queue to handle readable
  signal in the reactor pattern.

Test: run bluetooth_test_gd
Change-Id: Ia7019cdbe271d193c92f1a0b405ecced41a2d84b

5 years agoSimple stack bring up am: 3fa05ab25c
Hansong Zhang [Fri, 12 Apr 2019 05:28:02 +0000 (22:28 -0700)]
Simple stack bring up am: 3fa05ab25c
am: 1148b5b112

Change-Id: Ia944f6aed129bd53a74855a8d45897c8af100261

5 years agoSimple stack bring up
Hansong Zhang [Fri, 12 Apr 2019 05:23:42 +0000 (22:23 -0700)]
Simple stack bring up
am: 3fa05ab25c

Change-Id: Icb8368a6ac9488c8b3f9534363ac48d46698d9e6

5 years agoSimple stack bring up
Hansong Zhang [Tue, 9 Apr 2019 15:55:27 +0000 (08:55 -0700)]
Simple stack bring up

Just bring up the HAL transportation layer

Test: unit test
Change-Id: I94641d3008ce155d13df6ffe78f3710b3efca645

5 years agoHCI HAL adapter: separate initialization and set_callback am: de51682880
Hansong Zhang [Fri, 12 Apr 2019 00:22:53 +0000 (17:22 -0700)]
HCI HAL adapter: separate initialization and set_callback am: de51682880
am: d97de08821

Change-Id: I11f8cd990b2421df41a8cbef334441aa440d5da3

5 years agoAdd .gitignore am: c1255fbfdf
Hansong Zhang [Fri, 12 Apr 2019 00:22:19 +0000 (17:22 -0700)]
Add .gitignore am: c1255fbfdf
am: 119268c70a

Change-Id: Ibc0cd812aba2a0a7088065cce8ba184c11277e84

5 years agoHCI HAL adapter: separate initialization and set_callback
Hansong Zhang [Fri, 12 Apr 2019 00:17:22 +0000 (17:17 -0700)]
HCI HAL adapter: separate initialization and set_callback
am: de51682880

Change-Id: Icb7ac3c89820f5e0591ce88445c49ba0cb41d6e2

5 years agoAdd .gitignore
Hansong Zhang [Fri, 12 Apr 2019 00:16:59 +0000 (17:16 -0700)]
Add .gitignore
am: c1255fbfdf

Change-Id: I60fbec469b1d862fa11329f0a96ba76abf4bc132

5 years agoHCI HAL adapter: separate initialization and set_callback
Hansong Zhang [Wed, 10 Apr 2019 22:46:25 +0000 (15:46 -0700)]
HCI HAL adapter: separate initialization and set_callback

Test: run bluetooth_test_gd

Change-Id: I1275be3020e34c56e0ef439e0f748db127d9f8e2

5 years agoAdd .gitignore
Hansong Zhang [Thu, 11 Apr 2019 21:24:37 +0000 (14:24 -0700)]
Add .gitignore

Test: compile
Change-Id: I0e4dd26c07ba5ed5e6ea4acf0fa9c9f831cba534

5 years agoMerge "packet: Enforce View inheritance and validation" am: 183f06aff0
Myles Watson [Thu, 11 Apr 2019 09:02:19 +0000 (02:02 -0700)]
Merge "packet: Enforce View inheritance and validation" am: 183f06aff0
am: 04d77e6193

Change-Id: I806702a5e791ebb9defe11e9e7394f9fe594952e

5 years agoMerge "packet: Enforce View inheritance and validation"
Myles Watson [Thu, 11 Apr 2019 08:16:22 +0000 (01:16 -0700)]
Merge "packet: Enforce View inheritance and validation"
am: 183f06aff0

Change-Id: Ic58c4bff5e28ab91bb870de31aa70a7c4b714897

5 years agoMerge "Change storage metadata type to byte array" into qt-dev
Ugo Yu [Thu, 11 Apr 2019 05:59:05 +0000 (22:59 -0700)]
Merge "Change storage metadata type to byte array" into qt-dev
am: d47022f92b

Change-Id: I42e185e650a2ac9644622a1e065bcb06b20f3dc4

5 years agoMerge "packet: Enforce View inheritance and validation"
Treehugger Robot [Thu, 11 Apr 2019 05:46:26 +0000 (05:46 +0000)]
Merge "packet: Enforce View inheritance and validation"

5 years agoMerge "Change storage metadata type to byte array" into qt-dev
TreeHugger Robot [Thu, 11 Apr 2019 03:37:58 +0000 (03:37 +0000)]
Merge "Change storage metadata type to byte array" into qt-dev

5 years agoMerge "PDL: SMP packet definitions" am: b24bdd10d2
Jakub Pawlowski [Wed, 10 Apr 2019 15:01:52 +0000 (08:01 -0700)]
Merge "PDL: SMP packet definitions" am: b24bdd10d2
am: 3a6d1bed88

Change-Id: I48d4e1629874c03e359330c8a781f3655605b3e4

5 years agoMerge "PDL: SMP packet definitions"
Jakub Pawlowski [Wed, 10 Apr 2019 14:57:07 +0000 (07:57 -0700)]
Merge "PDL: SMP packet definitions"
am: b24bdd10d2

Change-Id: I8dd13c6b023d0a9371d8089c6fe7d12f4ecc89f8

5 years agoMerge "PDL: SMP packet definitions"
Jakub Pawlowski [Wed, 10 Apr 2019 14:48:30 +0000 (14:48 +0000)]
Merge "PDL: SMP packet definitions"

5 years agoMerge "Remove Ajay from owners" am: 48979694e4
Zach Johnson [Wed, 10 Apr 2019 00:17:13 +0000 (17:17 -0700)]
Merge "Remove Ajay from owners" am: 48979694e4
am: 5ca613c9b0

Change-Id: Ie0832856142a47f300dc8af3ef3409c8a24ae709

5 years agoBluetooth HCI HAL adapter for Android HIDL am: 904c022d46
Hansong Zhang [Wed, 10 Apr 2019 00:16:44 +0000 (17:16 -0700)]
Bluetooth HCI HAL adapter for Android HIDL am: 904c022d46
am: 985cbf2cba

Change-Id: Ia5b5dc8195c0eafc008e2ecfe4456b5c9fce6e1d

5 years agoMerge "Remove Ajay from owners"
Zach Johnson [Tue, 9 Apr 2019 22:59:31 +0000 (15:59 -0700)]
Merge "Remove Ajay from owners"
am: 48979694e4

Change-Id: I88b6c30bf2d4631d9e8ef3e0e46bcc233083cc15

5 years agoBluetooth HCI HAL adapter for Android HIDL
Hansong Zhang [Tue, 9 Apr 2019 22:58:54 +0000 (15:58 -0700)]
Bluetooth HCI HAL adapter for Android HIDL
am: 904c022d46

Change-Id: Ic2c1582945214fa4e5d1126737eded31cabafbf6

5 years agopacket: Enforce View inheritance and validation
Myles Watson [Thu, 4 Apr 2019 22:33:43 +0000 (15:33 -0700)]
packet: Enforce View inheritance and validation

Add was_validated_ flag to Views that can be constructed from bytes.
Check was_validated_ in every generated Get* function.

Test: bluetooth_packet_parser_test --gtest_filter=*Validate*Death*
Change-Id: I1de8d4e5e60bdd7b51562ffd258300e808db4adb

5 years agoMerge "Remove Ajay from owners"
Zach Johnson [Tue, 9 Apr 2019 21:47:23 +0000 (21:47 +0000)]
Merge "Remove Ajay from owners"

5 years agoRemove Ajay from owners
Zach Johnson [Tue, 9 Apr 2019 21:43:41 +0000 (14:43 -0700)]
Remove Ajay from owners

Moved to a different team.

Test: none
Change-Id: I2df8efa1dd59a98ae5c0d9bcd801955e5c85f8d7

5 years agoBluetooth HCI HAL adapter for Android HIDL
Hansong Zhang [Mon, 8 Apr 2019 21:26:53 +0000 (14:26 -0700)]
Bluetooth HCI HAL adapter for Android HIDL

Test: unit test
Change-Id: I60339d3f0845437e64705edc744e6091a2c3a171

5 years agoMerge "Switch to clang-r353983b." am: 28e2d001ef
Stephen Hines [Tue, 9 Apr 2019 17:57:41 +0000 (10:57 -0700)]
Merge "Switch to clang-r353983b." am: 28e2d001ef
am: c7f514d18d

Change-Id: I596f8f4214af1966d32840977eae6685470359cc

5 years agoMerge "Switch to clang-r353983b."
Stephen Hines [Tue, 9 Apr 2019 17:40:21 +0000 (10:40 -0700)]
Merge "Switch to clang-r353983b."
am: 28e2d001ef

Change-Id: Id494050e454c8d4ddd66de6c7e206ec94cf35e64

5 years agoMerge "Switch to clang-r353983b."
Treehugger Robot [Tue, 9 Apr 2019 17:14:53 +0000 (17:14 +0000)]
Merge "Switch to clang-r353983b."

5 years ago[automerger skipped] Merge "DO NOT MERGE -- Merge PPRL.190405.003 into master" am...
Xin Li [Tue, 9 Apr 2019 06:27:09 +0000 (23:27 -0700)]
[automerger skipped] Merge "DO NOT MERGE -- Merge PPRL.190405.003 into master" am: 0f01b3a5ea -s ours
am: b7bb50c564 -s ours
am skip reason: subject contains skip directive

Change-Id: Id4c812baa30173d8c4256b3d05ff5623cc95d8c3

5 years ago[automerger skipped] Merge "DO NOT MERGE -- Merge PPRL.190405.003 into master"
Xin Li [Tue, 9 Apr 2019 06:25:15 +0000 (23:25 -0700)]
[automerger skipped] Merge "DO NOT MERGE -- Merge PPRL.190405.003 into master"
am: 0f01b3a5ea -s ours
am skip reason: subject contains skip directive

Change-Id: Ibdfe9fe7741504c66d1b4e26c08caf4e19fe8451

5 years ago[automerger skipped] DO NOT MERGE -- Merge PPRL.190405.003 into master am: f97b951645...
Xin Li [Tue, 9 Apr 2019 05:36:52 +0000 (22:36 -0700)]
[automerger skipped] DO NOT MERGE -- Merge PPRL.190405.003 into master am: f97b951645 -s ours
am: 4257b9b217 -s ours
am skip reason: subject contains skip directive

Change-Id: I6571ef0bd6b78d4f702516246858f8e36737f7e7

5 years agoMerge "hci: CreateConnectionRoleSwitch is 8 bits" am: d3367ec66f
Myles Watson [Tue, 9 Apr 2019 05:36:34 +0000 (22:36 -0700)]
Merge "hci: CreateConnectionRoleSwitch is 8 bits" am: d3367ec66f
am: d648e333b3

Change-Id: I249b4addc50b276c72a0e9182d33b1c85fb1b93d

5 years ago[automerger skipped] Merge "DO NOT MERGE - Merge PPRL.190405.003 into stage-aosp...
Xin Li [Tue, 9 Apr 2019 05:35:54 +0000 (22:35 -0700)]
[automerger skipped] Merge "DO NOT MERGE - Merge PPRL.190405.003 into stage-aosp-master" into stage-aosp-master
am: 1c61f2ef8c -s ours
am skip reason: subject contains skip directive

Change-Id: Iea7df1abdaf1487be2d63c399e8356fa21be2ba4

5 years ago[automerger skipped] DO NOT MERGE - Merge PPRL.190405.003 into stage-aosp-master
Xin Li [Tue, 9 Apr 2019 05:20:08 +0000 (22:20 -0700)]
[automerger skipped] DO NOT MERGE - Merge PPRL.190405.003 into stage-aosp-master
am: e8f209181f -s ours
am skip reason: subject contains skip directive

Change-Id: Ic696e17f41841af2a31f1ef97d2995ab9f53d7ec

5 years ago[automerger skipped] DO NOT MERGE -- Merge PPRL.190405.003 into master
Xin Li [Tue, 9 Apr 2019 05:16:49 +0000 (22:16 -0700)]
[automerger skipped] DO NOT MERGE -- Merge PPRL.190405.003 into master
am: f97b951645 -s ours
am skip reason: subject contains skip directive

Change-Id: Ic383ec1408e324784845a002f2754bd17e83e22f

5 years agoMerge "hci: CreateConnectionRoleSwitch is 8 bits"
Myles Watson [Tue, 9 Apr 2019 05:16:22 +0000 (22:16 -0700)]
Merge "hci: CreateConnectionRoleSwitch is 8 bits"
am: d3367ec66f

Change-Id: Id2ed8c5d0df64d1b7688672f0f11ff7ce8b3ddfe

5 years agoMerge "DO NOT MERGE -- Merge PPRL.190405.003 into master"
Xin Li [Tue, 9 Apr 2019 04:29:22 +0000 (04:29 +0000)]
Merge "DO NOT MERGE -- Merge PPRL.190405.003 into master"

5 years agoMerge "DO NOT MERGE - Merge PPRL.190405.003 into stage-aosp-master" into stage-aosp...
Xin Li [Tue, 9 Apr 2019 04:28:37 +0000 (04:28 +0000)]
Merge "DO NOT MERGE - Merge PPRL.190405.003 into stage-aosp-master" into stage-aosp-master

5 years agoPDL: SMP packet definitions
Myles Watson [Mon, 11 Mar 2019 23:48:08 +0000 (16:48 -0700)]
PDL: SMP packet definitions

Change-Id: Ia6e2da10a959e9476c4f3f32398ac5e815996669

5 years agoMerge "hci: CreateConnectionRoleSwitch is 8 bits"
Treehugger Robot [Tue, 9 Apr 2019 04:06:16 +0000 (04:06 +0000)]
Merge "hci: CreateConnectionRoleSwitch is 8 bits"

5 years agohci: CreateConnectionRoleSwitch is 8 bits
Myles Watson [Mon, 8 Apr 2019 23:41:33 +0000 (16:41 -0700)]
hci: CreateConnectionRoleSwitch is 8 bits

Test: Manual comparison with the spec
      Vol 2 Part E 7.1.5 Command Parameter Allow_Role_Switch
Change-Id: Iaa7df5c3c946e3740115df79f14bfae0ddf872b6

5 years agoMerge "packet/parser: Add pragma once to generated files" am: f1cf016d82
Myles Watson [Tue, 9 Apr 2019 02:35:38 +0000 (19:35 -0700)]
Merge "packet/parser: Add pragma once to generated files" am: f1cf016d82
am: a417e88b6b

Change-Id: Iff6ad793189a9c8df87918e74870dfd261f35755

5 years agoMerge "no forward_list in hci/acl_builder_test.cc" am: 76653a3d90
Myles Watson [Tue, 9 Apr 2019 02:35:09 +0000 (19:35 -0700)]
Merge "no forward_list in hci/acl_builder_test.cc" am: 76653a3d90
am: 96bed45389

Change-Id: I1578b644d6443f91ab041ce29cacac14313b191b

5 years agoAdapter layer for Bluetooth HCI HAL am: 751a221208
Hansong Zhang [Tue, 9 Apr 2019 02:34:35 +0000 (19:34 -0700)]
Adapter layer for Bluetooth HCI HAL am: 751a221208
am: 3b92973421

Change-Id: I1ca655f42f60c338ff9a9c5a08f402e5876decc6

5 years agoMerge "packet/parser: Add pragma once to generated files"
Myles Watson [Tue, 9 Apr 2019 02:08:21 +0000 (19:08 -0700)]
Merge "packet/parser: Add pragma once to generated files"
am: f1cf016d82

Change-Id: Iae2dd27765616d83be96d530bd9340af8e4a18a0

5 years agoDO NOT MERGE -- Merge PPRL.190405.003 into master
Xin Li [Tue, 9 Apr 2019 01:56:18 +0000 (18:56 -0700)]
DO NOT MERGE -- Merge PPRL.190405.003 into master

Bug: 130175407
Change-Id: I643bb187b1555598121d8b4a15b0acd73fe1f741

5 years agoMerge "packet/parser: Add pragma once to generated files"
Treehugger Robot [Tue, 9 Apr 2019 01:50:55 +0000 (01:50 +0000)]
Merge "packet/parser: Add pragma once to generated files"

5 years agoMerge "no forward_list in hci/acl_builder_test.cc"
Myles Watson [Tue, 9 Apr 2019 00:56:30 +0000 (17:56 -0700)]
Merge "no forward_list in hci/acl_builder_test.cc"
am: 76653a3d90

Change-Id: Ied9a7233d6a80fa97bd94e04659a4489b5ec0433

5 years agoAdapter layer for Bluetooth HCI HAL
Hansong Zhang [Tue, 9 Apr 2019 00:55:21 +0000 (17:55 -0700)]
Adapter layer for Bluetooth HCI HAL
am: 751a221208

Change-Id: Ida1e8d6e465d221844b83e38ba4b72fe4f28bdb4

5 years agoMerge "no forward_list in hci/acl_builder_test.cc"
Treehugger Robot [Tue, 9 Apr 2019 00:26:30 +0000 (00:26 +0000)]
Merge "no forward_list in hci/acl_builder_test.cc"

5 years agono forward_list in hci/acl_builder_test.cc
Myles Watson [Mon, 8 Apr 2019 19:08:33 +0000 (12:08 -0700)]
no forward_list in hci/acl_builder_test.cc

Test: bluetooth_test_gd --gtest_filter="*Acl*"
Change-Id: I6a764ec276102df59897102d6380110b5dd266ce

5 years agopacket/parser: Add pragma once to generated files
Myles Watson [Fri, 5 Apr 2019 15:45:43 +0000 (08:45 -0700)]
packet/parser: Add pragma once to generated files

Test: bluetooth_packet_parser_test
Change-Id: Ie0a2717cdbf74859fd457ee68533caded16a5d20

5 years agoDO NOT MERGE - Merge PPRL.190405.003 into stage-aosp-master
Xin Li [Mon, 8 Apr 2019 21:32:43 +0000 (14:32 -0700)]
DO NOT MERGE - Merge PPRL.190405.003 into stage-aosp-master

Bug: 130175407
Change-Id: I9729a1b9eaa1a86152fca409da33cf641e947043

5 years agoAdapter layer for Bluetooth HCI HAL
Hansong Zhang [Fri, 29 Mar 2019 21:27:05 +0000 (14:27 -0700)]
Adapter layer for Bluetooth HCI HAL

Add adapter layer for HIDL HAL and host rootcanal HAL

Test: with cert and rootcanal
Change-Id: I1a84076d3df3176b75a499ac160e503e51fad8b3

5 years agoSnap for 5310204 from 817facf4bc2a956fafa8a38c15ab5963f2d0bc0e to pi-platform-release
android-build-team Robot [Mon, 8 Apr 2019 18:10:47 +0000 (18:10 +0000)]
Snap for 5310204 from 817facf4bc2a956fafa8a38c15ab5963f2d0bc0e to pi-platform-release

Change-Id: I704240f3f6bd8da8e23865ff7a6eb85b2233bcb1

5 years ago[automerger skipped] DO NOT MERGE Don't persist bonds using sample LTK am: 292fcf8612...
Jakub Pawlowski [Mon, 8 Apr 2019 13:12:35 +0000 (06:12 -0700)]
[automerger skipped] DO NOT MERGE Don't persist bonds using sample LTK am: 292fcf8612 -s ours am: e8dea68f6a -s ours am: dc17388efd -s ours am: 6c931823ce -s ours
am: 2c0318fbb3 -s ours
am skip reason: change_id I52fd484d42bf87e96dbc9e6456090f231ed48111 with SHA1 250529d6f1 is in history

Change-Id: If58e0bcb021962597aa8305f3f55ed1829a99786

5 years ago[automerger skipped] DO NOT MERGE Don't persist bonds using sample LTK am: 292fcf8612...
Jakub Pawlowski [Mon, 8 Apr 2019 13:07:10 +0000 (06:07 -0700)]
[automerger skipped] DO NOT MERGE Don't persist bonds using sample LTK am: 292fcf8612 -s ours am: e8dea68f6a -s ours am: dc17388efd -s ours
am: 6c931823ce -s ours
am skip reason: subject contains skip directive

Change-Id: I5594c2a292a9754900e8c574cc859f51dbc4442c

5 years ago[automerger skipped] DO NOT MERGE Don't persist bonds using sample LTK am: 292fcf8612...
Jakub Pawlowski [Mon, 8 Apr 2019 13:03:09 +0000 (06:03 -0700)]
[automerger skipped] DO NOT MERGE Don't persist bonds using sample LTK am: 292fcf8612 -s ours am: e8dea68f6a -s ours
am: dc17388efd -s ours
am skip reason: subject contains skip directive

Change-Id: I368bf6dcf1599b50fce99a9c55fb25bc896996cb

5 years ago[automerger skipped] DO NOT MERGE Don't persist bonds using sample LTK am: 292fcf8612...
Jakub Pawlowski [Mon, 8 Apr 2019 13:00:22 +0000 (06:00 -0700)]
[automerger skipped] DO NOT MERGE Don't persist bonds using sample LTK am: 292fcf8612 -s ours
am: e8dea68f6a -s ours
am skip reason: change_id I52fd484d42bf87e96dbc9e6456090f231ed48111 with SHA1 c0fb2a25f9 is in history

Change-Id: If68cf83db0a7388146f4e28a8433f8bd4c402e72

5 years ago[automerger skipped] DO NOT MERGE Don't persist bonds using sample LTK
Jakub Pawlowski [Mon, 8 Apr 2019 12:55:18 +0000 (05:55 -0700)]
[automerger skipped] DO NOT MERGE Don't persist bonds using sample LTK
am: 292fcf8612 -s ours
am skip reason: change_id I52fd484d42bf87e96dbc9e6456090f231ed48111 with SHA1 c0fb2a25f9 is in history

Change-Id: I923523630e1e8530f23f3720611582353ffecff4

5 years agoDO NOT MERGE Don't persist bonds using sample LTK
Jakub Pawlowski [Mon, 11 Mar 2019 18:22:01 +0000 (19:22 +0100)]
DO NOT MERGE Don't persist bonds using sample LTK

Test: compilation, manual testing
Bug: 128843052
Merged-In: I52fd484d42bf87e96dbc9e6456090f231ed48111
Change-Id: I52fd484d42bf87e96dbc9e6456090f231ed48111

5 years agoChange storage metadata type to byte array
Ugo Yu [Thu, 14 Mar 2019 07:32:44 +0000 (15:32 +0800)]
Change storage metadata type to byte array

Bug: 124448651
Test: runtest bluetooth

Change-Id: I10489c4aa93c2c3463456bcba210036bc20082a4

5 years ago[automerger skipped] [automerger] DO NOT MERGE Don't persist bonds using sample LTK...
Jakub Pawlowski [Sat, 6 Apr 2019 01:30:26 +0000 (18:30 -0700)]
[automerger skipped] [automerger] DO NOT MERGE Don't persist bonds using sample LTK am: c0fb2a25f9 am: c544656a68 am: 0fd5b5de7d am: 1dec8a9f3e skipped: 05e4e07328 am: c07f304de8 am: fc58eb3c8d am: 97e9e1540a -s ours am: a07ff2d7de -s ours
am: 5277cb2912

Change-Id: Ib71aa5531f36e17c0f6326676cc5b1fb8fe005c8

5 years agoModernise code to use override specifier am: 183eacee0d
Yi Kong [Sat, 6 Apr 2019 01:26:30 +0000 (18:26 -0700)]
Modernise code to use override specifier am: 183eacee0d
am: 3d6b243a8c

Change-Id: I2b9c00af0061fabd5a3925c4b3018c635afb357d

5 years ago[automerger skipped] DO NOT MERGE Don't persist bonds using sample LTK am: 054dcec1c9...
Jakub Pawlowski [Sat, 6 Apr 2019 01:22:32 +0000 (18:22 -0700)]
[automerger skipped] DO NOT MERGE Don't persist bonds using sample LTK am: 054dcec1c9 -s ours am: 1091324048 -s ours
am: 53df91d3c6

Change-Id: If948426c91f696de62c29c2bf5e0099d4810330a

5 years ago[automerger skipped] DO NOT MERGE Don't persist bonds using sample LTK am: 250529d6f1...
Jakub Pawlowski [Sat, 6 Apr 2019 01:09:15 +0000 (18:09 -0700)]
[automerger skipped] DO NOT MERGE Don't persist bonds using sample LTK am: 250529d6f1 -s ours
am: 8ee9183547

Change-Id: I932f389a8a2ad8a433f6bf34fc73b1f163e4cc7d

5 years ago[automerger skipped] [automerger] DO NOT MERGE Don't persist bonds using sample LTK...
Jakub Pawlowski [Sat, 6 Apr 2019 00:30:22 +0000 (17:30 -0700)]
[automerger skipped] [automerger] DO NOT MERGE Don't persist bonds using sample LTK am: c0fb2a25f9 am: c544656a68 am: 0fd5b5de7d am: 1dec8a9f3e skipped: 05e4e07328 am: c07f304de8 am: fc58eb3c8d am: 97e9e1540a -s ours
am: a07ff2d7de -s ours
am skip reason: subject contains skip directive

Change-Id: I2b7882f5c6ac4790c9f32be9640743ee2471e6d4

5 years ago[automerger skipped] DO NOT MERGE Don't persist bonds using sample LTK am: 054dcec1c9...
Jakub Pawlowski [Sat, 6 Apr 2019 00:29:33 +0000 (17:29 -0700)]
[automerger skipped] DO NOT MERGE Don't persist bonds using sample LTK am: 054dcec1c9 -s ours
am: 1091324048 -s ours
am skip reason: subject contains skip directive

Change-Id: I3143af4a96421e245ea8fbe6ba3f887f1740603e

5 years agoModernise code to use override specifier
Yi Kong [Sat, 6 Apr 2019 00:24:16 +0000 (17:24 -0700)]
Modernise code to use override specifier
am: 183eacee0d

Change-Id: I09d145a1e5773fb0ab055a2e34de930ac95efe60

5 years ago[automerger skipped] [automerger] DO NOT MERGE Don't persist bonds using sample LTK...
Jakub Pawlowski [Fri, 5 Apr 2019 23:25:51 +0000 (16:25 -0700)]
[automerger skipped] [automerger] DO NOT MERGE Don't persist bonds using sample LTK am: c0fb2a25f9 am: c544656a68 am: 0fd5b5de7d am: 1dec8a9f3e skipped: 05e4e07328 am: c07f304de8 am: fc58eb3c8d
am: 97e9e1540a -s ours
am skip reason: subject contains skip directive

Change-Id: Ib1c23383e61d4faca8970cad71fa8f24dd2e354c

5 years ago[automerger] DO NOT MERGE Don't persist bonds using sample LTK am: c0fb2a25f9 am...
Jakub Pawlowski [Fri, 5 Apr 2019 23:23:05 +0000 (16:23 -0700)]
[automerger] DO NOT MERGE Don't persist bonds using sample LTK am: c0fb2a25f9 am: c544656a68 am: 0fd5b5de7d am: 1dec8a9f3e skipped: 05e4e07328 am: c07f304de8
am: fc58eb3c8d

Change-Id: I346917706000054f0aee3bc3084f60e15b7a4f57

5 years agoSwitch to clang-r353983b.
Stephen Hines [Fri, 5 Apr 2019 23:06:55 +0000 (16:06 -0700)]
Switch to clang-r353983b.

This is the current toolchain version being used in
build/soong/cc/config/global.go, so it should be used here as well.
Ideally, this python file would be updated to pick up the value directly
from the build configuration.

Test: N/A
Change-Id: I1c615a0d0c6dc4dedd82d1ced0381bab273f9e61

5 years ago[automerger skipped] DO NOT MERGE Don't persist bonds using sample LTK
Jakub Pawlowski [Fri, 5 Apr 2019 23:03:40 +0000 (16:03 -0700)]
[automerger skipped] DO NOT MERGE Don't persist bonds using sample LTK
am: 054dcec1c9 -s ours
am skip reason: subject contains skip directive

Change-Id: Ib7be32bd6046f7fce608fc0bef9d812ab6341b2a