OSDN Git Service
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
Hansong Zhang [Fri, 12 Apr 2019 00:22:19 +0000 (17:22 -0700)]
Add .gitignore am:
c1255fbfdf
am:
119268c70a
Change-Id: Ibc0cd812aba2a0a7088065cce8ba184c11277e84
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
Hansong Zhang [Fri, 12 Apr 2019 00:16:59 +0000 (17:16 -0700)]
Add .gitignore
am:
c1255fbfdf
Change-Id: I60fbec469b1d862fa11329f0a96ba76abf4bc132
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
Hansong Zhang [Thu, 11 Apr 2019 21:24:37 +0000 (14:24 -0700)]
Add .gitignore
Test: compile
Change-Id: I0e4dd26c07ba5ed5e6ea4acf0fa9c9f831cba534
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
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
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
Treehugger Robot [Thu, 11 Apr 2019 05:46:26 +0000 (05:46 +0000)]
Merge "packet: Enforce View inheritance and validation"
TreeHugger Robot [Thu, 11 Apr 2019 03:37:58 +0000 (03:37 +0000)]
Merge "Change storage metadata type to byte array" into qt-dev
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
Jakub Pawlowski [Wed, 10 Apr 2019 14:57:07 +0000 (07:57 -0700)]
Merge "PDL: SMP packet definitions"
am:
b24bdd10d2
Change-Id: I8dd13c6b023d0a9371d8089c6fe7d12f4ecc89f8
Jakub Pawlowski [Wed, 10 Apr 2019 14:48:30 +0000 (14:48 +0000)]
Merge "PDL: SMP packet definitions"
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
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
Zach Johnson [Tue, 9 Apr 2019 22:59:31 +0000 (15:59 -0700)]
Merge "Remove Ajay from owners"
am:
48979694e4
Change-Id: I88b6c30bf2d4631d9e8ef3e0e46bcc233083cc15
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
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
Zach Johnson [Tue, 9 Apr 2019 21:47:23 +0000 (21:47 +0000)]
Merge "Remove 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
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
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
Stephen Hines [Tue, 9 Apr 2019 17:40:21 +0000 (10:40 -0700)]
Merge "Switch to clang-r353983b."
am:
28e2d001ef
Change-Id: Id494050e454c8d4ddd66de6c7e206ec94cf35e64
Treehugger Robot [Tue, 9 Apr 2019 17:14:53 +0000 (17:14 +0000)]
Merge "Switch to clang-r353983b."
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
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
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
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
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
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
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
Myles Watson [Tue, 9 Apr 2019 05:16:22 +0000 (22:16 -0700)]
Merge "hci: CreateConnectionRoleSwitch is 8 bits"
am:
d3367ec66f
Change-Id: Id2ed8c5d0df64d1b7688672f0f11ff7ce8b3ddfe
Xin Li [Tue, 9 Apr 2019 04:29:22 +0000 (04:29 +0000)]
Merge "DO NOT MERGE -- Merge PPRL.190405.003 into master"
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
Myles Watson [Mon, 11 Mar 2019 23:48:08 +0000 (16:48 -0700)]
PDL: SMP packet definitions
Change-Id: Ia6e2da10a959e9476c4f3f32398ac5e815996669
Treehugger Robot [Tue, 9 Apr 2019 04:06:16 +0000 (04:06 +0000)]
Merge "hci: 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
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
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
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
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
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
Treehugger Robot [Tue, 9 Apr 2019 01:50:55 +0000 (01:50 +0000)]
Merge "packet/parser: Add pragma once to generated files"
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
Hansong Zhang [Tue, 9 Apr 2019 00:55:21 +0000 (17:55 -0700)]
Adapter layer for Bluetooth HCI HAL
am:
751a221208
Change-Id: Ida1e8d6e465d221844b83e38ba4b72fe4f28bdb4
Treehugger Robot [Tue, 9 Apr 2019 00:26:30 +0000 (00:26 +0000)]
Merge "no 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Yi Kong [Sat, 6 Apr 2019 00:24:16 +0000 (17:24 -0700)]
Modernise code to use override specifier
am:
183eacee0d
Change-Id: I09d145a1e5773fb0ab055a2e34de930ac95efe60
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
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
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
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
Jakub Pawlowski [Fri, 5 Apr 2019 21:27:01 +0000 (14:27 -0700)]
[automerger] DO NOT MERGE Don't persist bonds using sample LTK am:
c0fb2a25f9 am:
c544656a68 am:
0fd5b5de7d am:
1dec8a9f3e skipped:
05e4e07328
am:
c07f304de8
Change-Id: I20eed1aeb29a3df15251033d02fd7d5d241a28dd
Jakub Pawlowski [Fri, 5 Apr 2019 21:15:47 +0000 (14:15 -0700)]
[automerger skipped] DO NOT MERGE Don't persist bonds using sample LTK
am:
250529d6f1 -s ours
am skip reason: subject contains skip directive
Change-Id: I0a7b5b8ff742ca1b31b35247da5b3ea3eb97ab19
Hansong Zhang [Fri, 5 Apr 2019 21:06:06 +0000 (14:06 -0700)]
Merge changes Ica38a448,I526fb846 am:
7702782f80
am:
7919006fa0
Change-Id: Ic0a5b8f56dc5d94ae835c9281fedf1c26cf7279a
Zach Johnson [Fri, 5 Apr 2019 20:24:47 +0000 (13:24 -0700)]
Merge "Add packet parser tests to TEST_MAPPING" am:
42f90b5519
am:
9b4d20a501
Change-Id: I901404411c5bd9d72bd8a082ed9406d8a9ba00ba
Sunny Kapdi [Fri, 5 Apr 2019 20:21:45 +0000 (13:21 -0700)]
[automerger skipped] Merge "Fix handling of startup_timer_expired" am:
b0388ceb17
am:
e687490b6d -s ours
am skip reason: change_id I1a397bab5c88fe7ef8ccbc369897903ee5d0a36a with SHA1
146608a91d is in history
Change-Id: I8f89cb09601014f22b8fc514210b7e9ae6acd958
Myles Watson [Fri, 5 Apr 2019 20:15:24 +0000 (13:15 -0700)]
PDL: L2CAP packet definition am:
a4cd53c63a
am:
a2f971d240
Change-Id: I19219b414bad15b4d01da92f8ad1141869bb2354
Myles Watson [Fri, 5 Apr 2019 20:15:02 +0000 (13:15 -0700)]
PDL: HCI packet definition am:
cc57c6b64e
am:
0d04dcea15
Change-Id: Iff74c62b4be2ad24f533d469e310d6ea4eca657c
Yi Kong [Fri, 29 Mar 2019 22:42:58 +0000 (15:42 -0700)]
Modernise code to use override specifier
Generated by clang-tidy.
Test: m checkbuild
Change-Id: Icba58009f6db2a0e9e1360326b0b66fc10d04a5a
Ajay Panicker [Fri, 5 Apr 2019 20:14:44 +0000 (13:14 -0700)]
packet: Add the PDL Packet Generator am:
4d6b760fad
am:
89e577ed67
Change-Id: I1cadbf15330a88bb31c9aa8853d9b81bd3fbbe43
Jakub Pawlowski [Fri, 5 Apr 2019 08:51:33 +0000 (01:51 -0700)]
Fix for GATT not returning disconnect callback.
am:
7845dc6a98
Change-Id: I40527b4ad9f75688ac8cc1710e5dfd0131f4460a
Hansong Zhang [Fri, 5 Apr 2019 05:22:22 +0000 (22:22 -0700)]
Merge changes Ica38a448,I526fb846
am:
7702782f80
Change-Id: Ie2710fb620e160e4ecc075feb3753fdbc7f3bb1e
Treehugger Robot [Fri, 5 Apr 2019 05:05:25 +0000 (05:05 +0000)]
Merge changes Ica38a448,I526fb846
* changes:
Add namespace in bluetooth_packetgen
Add multi file support for bluetooth_packetgen
Zach Johnson [Fri, 5 Apr 2019 02:31:23 +0000 (19:31 -0700)]
Merge "Add packet parser tests to TEST_MAPPING"
am:
42f90b5519
Change-Id: I7f73702671e88960d1d68932744c1eb5eb5c6a4d
Treehugger Robot [Fri, 5 Apr 2019 02:19:38 +0000 (02:19 +0000)]
Merge "Add packet parser tests to TEST_MAPPING"
Sunny Kapdi [Fri, 5 Apr 2019 01:52:01 +0000 (18:52 -0700)]
Merge "Fix handling of startup_timer_expired"
am:
b0388ceb17
Change-Id: I37f856cd7941404a5a276f40c015626760cfda66
Treehugger Robot [Fri, 5 Apr 2019 01:35:30 +0000 (01:35 +0000)]
Merge "Fix handling of startup_timer_expired"
Hansong Zhang [Thu, 4 Apr 2019 23:23:32 +0000 (16:23 -0700)]
Add namespace in bluetooth_packetgen
::bluetooth is our top level namespace. Each subdirectory is a
namespace.
Test: bluetooth_packet_parser_test
Change-Id: Ica38a448c692396e6a34dd66eabc3eaa8df884e0
Hansong Zhang [Thu, 4 Apr 2019 20:24:43 +0000 (13:24 -0700)]
Add multi file support for bluetooth_packetgen
Test: bluetooth_packet_parser_test
Change-Id: I526fb8462f67f2ce099aab4e63ca695797f36723
Zach Johnson [Fri, 5 Apr 2019 00:21:31 +0000 (17:21 -0700)]
Add packet parser tests to TEST_MAPPING
Test: atest bluetooth_packet_parser_test
Change-Id: If82370a834825cd265fac3c7e100176b94c79bb0
Myles Watson [Fri, 5 Apr 2019 00:21:33 +0000 (17:21 -0700)]
PDL: L2CAP packet definition
am:
a4cd53c63a
Change-Id: I8b6e714f1a2298db2e9f0b360568d74a02b33a06
Myles Watson [Fri, 5 Apr 2019 00:21:13 +0000 (17:21 -0700)]
PDL: HCI packet definition
am:
cc57c6b64e
Change-Id: I4f6ce897126af4d06096368eab52bf3be6e9ea6a
Ajay Panicker [Fri, 5 Apr 2019 00:20:54 +0000 (17:20 -0700)]
packet: Add the PDL Packet Generator
am:
4d6b760fad
Change-Id: Ibc5520ff6856b46df5c624f9c3aca4158625ab81
Myles Watson [Mon, 25 Mar 2019 22:25:08 +0000 (15:25 -0700)]
PDL: L2CAP packet definition
Test: Comparison with the SPEC
bluetooth_test_gd --gtest_filter="*L2cap*"
Change-Id: If29036fa7147b27d5a79458773c5eb772eb15817
Myles Watson [Mon, 25 Mar 2019 22:24:43 +0000 (15:24 -0700)]
PDL: HCI packet definition
Test: Comparison with the SPEC
bluetooth_test_gd --gtest_filter="*Acl*"
Change-Id: I48fcd2655edb54d831f8b395de9a209c46049189
Ajay Panicker [Wed, 6 Feb 2019 22:02:36 +0000 (14:02 -0800)]
packet: Add the PDL Packet Generator
Test: bluetooth_packet_parser_test
Change-Id: Ia741e608aebff7b55d005a37e0f0eaeae63767a8
Jakub Pawlowski [Tue, 2 Apr 2019 17:21:14 +0000 (19:21 +0200)]
Fix for GATT not returning disconnect callback.
Before recent refactor GATT was using the L2CAP layer to start LE
connections. Since the refactor, GATT talks directly to added
connection_manager, just like L2CAP.
L2CAP does have it's own timer for direct connections, that was
returning conneciton failure after timeout. After switching to
connection_manager, GATT no longer receives those callbacks.
This patch makes the connection_manager send the on_connection_timed_out
callback, and wire it to same handler that L2CAP layer was using before.
Test: unit tests added
Bug:
125553095
Change-Id: Iaf8be46fe8eed49f78ddbc6a2f3516bc8279e91f
Chienyuan [Thu, 4 Apr 2019 09:50:20 +0000 (02:50 -0700)]
Fix memory leak of reactor and reactor_unittest am:
2d7f3b71a7
am:
ed6e181dbd
Change-Id: I412069e599f2ff81b45f19ccb4671089011b1be8
Chienyuan [Thu, 4 Apr 2019 09:50:00 +0000 (02:50 -0700)]
PacketBuilderTest: Modify member array am:
ebed359a56
am:
699d23341d
Change-Id: Ief63072c3919f40330a4841c1d8a57f061488c67
Chienyuan [Thu, 4 Apr 2019 04:32:55 +0000 (21:32 -0700)]
Fix memory leak of reactor and reactor_unittest
am:
2d7f3b71a7
Change-Id: I7507ded9a4bac7f686d0717bb03661e76868ccfa
Chienyuan [Thu, 4 Apr 2019 04:32:40 +0000 (21:32 -0700)]
PacketBuilderTest: Modify member array
am:
ebed359a56
Change-Id: Ib1448ee622a2dd79bbd8dab201e0b2dcc8a1b34b