OSDN Git Service

android-x86/system-bt.git
5 years agoMerge "SDP: Disconnect when there is a bad length"
TreeHugger Robot [Sat, 24 Aug 2019 05:53:51 +0000 (05:53 +0000)]
Merge "SDP: Disconnect when there is a bad length"

5 years agoSDP: Disconnect when there is a bad length
Zongheng Wang [Wed, 21 Aug 2019 00:56:04 +0000 (17:56 -0700)]
SDP: Disconnect when there is a bad length

Handle the case when SDP_RAW_DATA_INCLUDED is FALSE.
Related to: I9f0df8b2de28970e7d69b737ce5d363785183bf3

Bug: 137239831
Test: manual test
Change-Id: I354494565005f2ca9093486546fc54c145066413

5 years agoMerge "RootCanal: Mark newer commands as unsupported" am: 382f024c99 am: fe9159b29f...
Myles Watson [Fri, 23 Aug 2019 16:54:20 +0000 (09:54 -0700)]
Merge "RootCanal: Mark newer commands as unsupported" am: 382f024c99 am: fe9159b29f am: 979ee12a02 am: f8c393f218
am: cffc884d05

Change-Id: I88996b891808929fe31b5c1a91db6a4a152fbe60

5 years agoMerge "RootCanal: Mark newer commands as unsupported" am: 382f024c99 am: fe9159b29f...
Myles Watson [Fri, 23 Aug 2019 16:38:55 +0000 (09:38 -0700)]
Merge "RootCanal: Mark newer commands as unsupported" am: 382f024c99 am: fe9159b29f am: 979ee12a02
am: f8c393f218

Change-Id: I769857536fbf4ff0800b99a4b3a355c69bb4cd99

5 years agoMerge "RootCanal: Mark newer commands as unsupported" am: 382f024c99 am: fe9159b29f
Myles Watson [Fri, 23 Aug 2019 16:16:05 +0000 (09:16 -0700)]
Merge "RootCanal: Mark newer commands as unsupported" am: 382f024c99 am: fe9159b29f
am: 979ee12a02

Change-Id: I35a0b573ba2aa8c05f01f78b52ea35dc5a2b9dd9

5 years agoMerge "RootCanal: Mark newer commands as unsupported" am: 382f024c99
Myles Watson [Fri, 23 Aug 2019 15:45:26 +0000 (08:45 -0700)]
Merge "RootCanal: Mark newer commands as unsupported" am: 382f024c99
am: fe9159b29f

Change-Id: I5076f4708c2b7c224efa7421ff6abf1a6580f7d3

5 years agoMerge "RootCanal: Mark newer commands as unsupported"
Myles Watson [Fri, 23 Aug 2019 15:35:30 +0000 (08:35 -0700)]
Merge "RootCanal: Mark newer commands as unsupported"
am: 382f024c99

Change-Id: I771f4cbc81dd96ed5a785db0125f8d7164e042f9

5 years agoMerge "RootCanal: Mark newer commands as unsupported"
Treehugger Robot [Fri, 23 Aug 2019 15:13:19 +0000 (15:13 +0000)]
Merge "RootCanal: Mark newer commands as unsupported"

5 years agoRootCanal: Mark newer commands as unsupported
Myles Watson [Fri, 23 Aug 2019 12:23:37 +0000 (05:23 -0700)]
RootCanal: Mark newer commands as unsupported

Bug: 139329371
Test: manual ReadLocalSupportedCommands
Change-Id: Ife208c53453b970bccad0effd288a8d0f1d67686

5 years agoMerge "HCI: Add an API for sending security commands" am: d68ae77395 am: 264431cbe0...
Myles Watson [Fri, 23 Aug 2019 04:56:14 +0000 (21:56 -0700)]
Merge "HCI: Add an API for sending security commands" am: d68ae77395 am: 264431cbe0 am: 26cc6ff56a am: 48baf331ea
am: 06dfc4a17b

Change-Id: Id4aea62e63819f38121c38070505346ebf9c0f77

5 years agoMerge "HCI: Add an API for sending security commands" am: d68ae77395 am: 264431cbe0...
Myles Watson [Fri, 23 Aug 2019 04:37:53 +0000 (21:37 -0700)]
Merge "HCI: Add an API for sending security commands" am: d68ae77395 am: 264431cbe0 am: 26cc6ff56a
am: 48baf331ea

Change-Id: Ia70cdf496b2bf6c9d05ae1fe8ff332df4b695754

5 years agoMerge "HCI: Add an API for sending security commands" am: d68ae77395 am: 264431cbe0
Myles Watson [Fri, 23 Aug 2019 04:27:50 +0000 (21:27 -0700)]
Merge "HCI: Add an API for sending security commands" am: d68ae77395 am: 264431cbe0
am: 26cc6ff56a

Change-Id: I828f0d634ae291c773504e27c6627c5d4b085b77

5 years agoMerge "HCI: Add an API for sending security commands" am: d68ae77395
Myles Watson [Fri, 23 Aug 2019 04:18:48 +0000 (21:18 -0700)]
Merge "HCI: Add an API for sending security commands" am: d68ae77395
am: 264431cbe0

Change-Id: I1a1d6847f28cc4626ff39d508bfdaf18f6deae5a

5 years agoMerge "HCI: Add an API for sending security commands"
Myles Watson [Fri, 23 Aug 2019 04:09:30 +0000 (21:09 -0700)]
Merge "HCI: Add an API for sending security commands"
am: d68ae77395

Change-Id: I8f07c979da9491a6e37026294845399345db1238

5 years agoMerge "HCI: Add an API for sending security commands"
Treehugger Robot [Fri, 23 Aug 2019 03:40:39 +0000 (03:40 +0000)]
Merge "HCI: Add an API for sending security commands"

5 years agoHCI: Use arrays and fixed-length structs am: 2d23443166 am: 969147a81f am: 705dec41fb...
Myles Watson [Fri, 23 Aug 2019 03:37:32 +0000 (20:37 -0700)]
HCI: Use arrays and fixed-length structs am: 2d23443166 am: 969147a81f am: 705dec41fb am: 71846934c9
am: 4772bf94e0

Change-Id: Ib516cad026a1a3130b425828dbb64a36358b594b

5 years agoHCI: Use arrays and fixed-length structs am: 2d23443166 am: 969147a81f am: 705dec41fb
Myles Watson [Fri, 23 Aug 2019 03:28:14 +0000 (20:28 -0700)]
HCI: Use arrays and fixed-length structs am: 2d23443166 am: 969147a81f am: 705dec41fb
am: 71846934c9

Change-Id: I3963ea2dc0e297c01b5b288b56673df09820d88b

5 years agoHCI: Use arrays and fixed-length structs am: 2d23443166 am: 969147a81f
Myles Watson [Fri, 23 Aug 2019 03:21:32 +0000 (20:21 -0700)]
HCI: Use arrays and fixed-length structs am: 2d23443166 am: 969147a81f
am: 705dec41fb

Change-Id: Id55d5e7d33403d4c40df0e93f34396da3e550e87

5 years agoHCI: Use arrays and fixed-length structs am: 2d23443166
Myles Watson [Fri, 23 Aug 2019 03:09:02 +0000 (20:09 -0700)]
HCI: Use arrays and fixed-length structs am: 2d23443166
am: 969147a81f

Change-Id: I8556335db92e59ae0d98469b6e3735dea1496b82

5 years agoHCI: Use arrays and fixed-length structs
Myles Watson [Fri, 23 Aug 2019 02:59:50 +0000 (19:59 -0700)]
HCI: Use arrays and fixed-length structs
am: 2d23443166

Change-Id: Idae2d6682d4f0440dcafac216df80220d0bdb124

5 years agoGD: Move Address and ClassOfDevice to hci am: 94db40c6c9 am: cf95615e90 am: 5736c685a...
Martin Brabham [Thu, 22 Aug 2019 22:15:59 +0000 (15:15 -0700)]
GD: Move Address and ClassOfDevice to hci am: 94db40c6c9 am: cf95615e90 am: 5736c685a5 am: 47a5a33aa2
am: 36657718a2

Change-Id: I663e0bc840ea41974744f4a8766f2cc0ed776dd7

5 years agoHCI: Use arrays and fixed-length structs
Myles Watson [Mon, 19 Aug 2019 20:33:27 +0000 (13:33 -0700)]
HCI: Use arrays and fixed-length structs

Test: build
Change-Id: I74a470b7d31a716824c7356cff7698451604a5ad

5 years agoGD: Move Address and ClassOfDevice to hci am: 94db40c6c9 am: cf95615e90 am: 5736c685a5
Martin Brabham [Thu, 22 Aug 2019 20:37:18 +0000 (13:37 -0700)]
GD: Move Address and ClassOfDevice to hci am: 94db40c6c9 am: cf95615e90 am: 5736c685a5
am: 47a5a33aa2

Change-Id: Ia34ad1d950e04a893fab4fe3dce650404e159fa7

5 years agoGD: Move Address and ClassOfDevice to hci am: 94db40c6c9 am: cf95615e90
Martin Brabham [Thu, 22 Aug 2019 19:44:49 +0000 (12:44 -0700)]
GD: Move Address and ClassOfDevice to hci am: 94db40c6c9 am: cf95615e90
am: 5736c685a5

Change-Id: I633c6b9c7d5b796ba27109df1701793941e8b7ae

5 years agoGD: Move Address and ClassOfDevice to hci am: 94db40c6c9
Martin Brabham [Thu, 22 Aug 2019 19:15:28 +0000 (12:15 -0700)]
GD: Move Address and ClassOfDevice to hci am: 94db40c6c9
am: cf95615e90

Change-Id: I7ccfd821eb44a10ffe98d868c52b26873e014f2b

5 years agoGD: Move Address and ClassOfDevice to hci
Martin Brabham [Thu, 22 Aug 2019 18:59:37 +0000 (11:59 -0700)]
GD: Move Address and ClassOfDevice to hci
am: 94db40c6c9

Change-Id: I882104c8192e0aa28b0f4532dad606265a222723

5 years agoGD: Move Address and ClassOfDevice to hci
Martin Brabham [Fri, 29 Mar 2019 17:24:52 +0000 (10:24 -0700)]
GD: Move Address and ClassOfDevice to hci

Bug: 139135297
Test: atest --host -t bluetooth_test_gd
Change-Id: I64c3ccbb3543a22a24f1b6b8a99f32e3d8aa3e24

5 years agoL2CAP scheduler definition and FIFO am: 2ea2e8d2b0 am: 409fe96003 am: 9e4d029960...
Hansong Zhang [Thu, 22 Aug 2019 02:22:38 +0000 (19:22 -0700)]
L2CAP scheduler definition and FIFO am: 2ea2e8d2b0 am: 409fe96003 am: 9e4d029960 am: 33c6a8b5c0
am: 24c7df2f4c

Change-Id: I9e7e382e94c620653cd913db6055b2e8b2506720

5 years agoL2CAP scheduler definition and FIFO am: 2ea2e8d2b0 am: 409fe96003 am: 9e4d029960
Hansong Zhang [Thu, 22 Aug 2019 01:53:11 +0000 (18:53 -0700)]
L2CAP scheduler definition and FIFO am: 2ea2e8d2b0 am: 409fe96003 am: 9e4d029960
am: 33c6a8b5c0

Change-Id: I5422dd1c0d6564107f8ce7920d4b699f7635a879

5 years agoL2CAP scheduler definition and FIFO am: 2ea2e8d2b0 am: 409fe96003
Hansong Zhang [Thu, 22 Aug 2019 01:44:10 +0000 (18:44 -0700)]
L2CAP scheduler definition and FIFO am: 2ea2e8d2b0 am: 409fe96003
am: 9e4d029960

Change-Id: I095b8e1cc8d9158cddb40be919c583939d8e5c00

5 years agoL2CAP scheduler definition and FIFO am: 2ea2e8d2b0
Hansong Zhang [Thu, 22 Aug 2019 01:31:06 +0000 (18:31 -0700)]
L2CAP scheduler definition and FIFO am: 2ea2e8d2b0
am: 409fe96003

Change-Id: I618ad944dedd1a009557c924228764d258b5470a

5 years agoL2CAP scheduler definition and FIFO
Hansong Zhang [Thu, 22 Aug 2019 01:21:06 +0000 (18:21 -0700)]
L2CAP scheduler definition and FIFO
am: 2ea2e8d2b0

Change-Id: Ic4c61ae22cd8b283ea78fedaf033ab8d1f38ae73

5 years agoL2CAP scheduler definition and FIFO
Hansong Zhang [Fri, 16 Aug 2019 22:07:30 +0000 (15:07 -0700)]
L2CAP scheduler definition and FIFO

Test: bluetooth_test_gd
Bug: 138261142
Change-Id: If1dbabf48b5a53892e36b8434c46a3180f2a2799

5 years agoMerge "GD HCI: register request event for security interface" am: 23d5a6717b am:...
Chienyuan [Wed, 21 Aug 2019 17:13:45 +0000 (10:13 -0700)]
Merge "GD HCI: register request event for security interface" am: 23d5a6717b am: 57f8772e2f am: ba05589b96 am: bee00d7158
am: fb32a4f027

Change-Id: I721b535e3ae30c30ef1922c7ef2e16cc9ba2cff5

5 years agoMerge "GD HCI: register request event for security interface" am: 23d5a6717b am:...
Chienyuan [Wed, 21 Aug 2019 17:07:03 +0000 (10:07 -0700)]
Merge "GD HCI: register request event for security interface" am: 23d5a6717b am: 57f8772e2f am: ba05589b96
am: bee00d7158

Change-Id: I46583481a3b9fd2d6a0dd7896f75749f69a6c21e

5 years agoMerge "GD HCI: register request event for security interface" am: 23d5a6717b am:...
Chienyuan [Wed, 21 Aug 2019 16:59:33 +0000 (09:59 -0700)]
Merge "GD HCI: register request event for security interface" am: 23d5a6717b am: 57f8772e2f
am: ba05589b96

Change-Id: I87895d5d6acfd3a8270ca636cad378c98a38f907

5 years agoHCI: Add an API for sending security commands
Myles Watson [Tue, 20 Aug 2019 22:17:00 +0000 (15:17 -0700)]
HCI: Add an API for sending security commands

Bug: 138259341
Test: bluetooth_test_gd
Change-Id: Ia9e99c9b5013787a7ff6c5a78cd2538c2be9ccbd

5 years agoMerge "GD HCI: register request event for security interface" am: 23d5a6717b
Chienyuan [Wed, 21 Aug 2019 16:52:36 +0000 (09:52 -0700)]
Merge "GD HCI: register request event for security interface" am: 23d5a6717b
am: 57f8772e2f

Change-Id: I0f19031719c4492da1b54d66fce0d464202bf561

5 years agoMerge "GD HCI: register request event for security interface"
Chienyuan [Wed, 21 Aug 2019 16:44:49 +0000 (09:44 -0700)]
Merge "GD HCI: register request event for security interface"
am: 23d5a6717b

Change-Id: If0149849102bd76c778150ae13181da50c62bcc4

5 years agoMerge "GD HCI: register request event for security interface"
Treehugger Robot [Wed, 21 Aug 2019 16:30:41 +0000 (16:30 +0000)]
Merge "GD HCI: register request event for security interface"

5 years agoMerge "RootCanal: Add ReadLocalSupportedFeatures" am: 7ccfc0191c am: f1ea145644 am...
Myles Watson [Wed, 21 Aug 2019 15:08:25 +0000 (08:08 -0700)]
Merge "RootCanal: Add ReadLocalSupportedFeatures" am: 7ccfc0191c am: f1ea145644 am: dc7135430c am: 83db4c4b13
am: 3c389e6064

Change-Id: I7209b36617c7be85c8c3457eaa2098ef884b11b1

5 years agoMerge "RootCanal: Add ReadLocalSupportedFeatures" am: 7ccfc0191c am: f1ea145644 am...
Myles Watson [Wed, 21 Aug 2019 14:55:52 +0000 (07:55 -0700)]
Merge "RootCanal: Add ReadLocalSupportedFeatures" am: 7ccfc0191c am: f1ea145644 am: dc7135430c
am: 83db4c4b13

Change-Id: I97b9ba94c4bf5bcd048427889ab93c7c0e441a2d

5 years agoMerge "RootCanal: Add ReadLocalSupportedFeatures" am: 7ccfc0191c am: f1ea145644
Myles Watson [Wed, 21 Aug 2019 14:47:46 +0000 (07:47 -0700)]
Merge "RootCanal: Add ReadLocalSupportedFeatures" am: 7ccfc0191c am: f1ea145644
am: dc7135430c

Change-Id: Iccd626ed18c850678a437e004596d990367fd1e5

5 years agoMerge "RootCanal: Add ReadLocalSupportedFeatures" am: 7ccfc0191c
Myles Watson [Wed, 21 Aug 2019 14:40:42 +0000 (07:40 -0700)]
Merge "RootCanal: Add ReadLocalSupportedFeatures" am: 7ccfc0191c
am: f1ea145644

Change-Id: I8e527bad6463053d282b67b6b3398e8b5bb002c7

5 years agoMerge "RootCanal: Add ReadLocalSupportedFeatures"
Myles Watson [Wed, 21 Aug 2019 14:33:59 +0000 (07:33 -0700)]
Merge "RootCanal: Add ReadLocalSupportedFeatures"
am: 7ccfc0191c

Change-Id: I2f28d7e5775bfa363b75858b0d80856626e9c656

5 years agoGD HCI: register request event for security interface
Chienyuan [Mon, 19 Aug 2019 06:48:53 +0000 (14:48 +0800)]
GD HCI: register request event for security interface

* register request event for security interface
* waiting for command status for REFRESH_ENCRYPTION_KEY command

Bug: 137138879
Test: run run_device_cert.sh
Change-Id: Ie22181a3259caafc5f28eaaccba3facfa15fa6b0

5 years agoMerge "RootCanal: Add ReadLocalSupportedFeatures"
Treehugger Robot [Wed, 21 Aug 2019 13:20:20 +0000 (13:20 +0000)]
Merge "RootCanal: Add ReadLocalSupportedFeatures"

5 years agoAddress: Add static assert to make sure kLength is <= sizeof(uint64_t) am: b3e44e2140...
Jack He [Wed, 21 Aug 2019 09:47:55 +0000 (02:47 -0700)]
Address: Add static assert to make sure kLength is <= sizeof(uint64_t) am: b3e44e2140 am: 7ccf2466c8 am: 10925f0a0a am: d9c97a040d
am: 7476b7232e

Change-Id: If202d188685ebf8bf4d1665acf8efe9d4000c954

5 years agoAddress: Add static assert to make sure kLength is <= sizeof(uint64_t) am: b3e44e2140...
Jack He [Wed, 21 Aug 2019 09:41:24 +0000 (02:41 -0700)]
Address: Add static assert to make sure kLength is <= sizeof(uint64_t) am: b3e44e2140 am: 7ccf2466c8 am: 10925f0a0a
am: d9c97a040d

Change-Id: I08e7707e8ae9b57db05930556c856a3887d7e724

5 years agoAddress: Add static assert to make sure kLength is <= sizeof(uint64_t) am: b3e44e2140...
Jack He [Wed, 21 Aug 2019 09:35:19 +0000 (02:35 -0700)]
Address: Add static assert to make sure kLength is <= sizeof(uint64_t) am: b3e44e2140 am: 7ccf2466c8
am: 10925f0a0a

Change-Id: I07310e3c09bc16a28269690532209ab41c4ae8ba

5 years agoAddress: Add static assert to make sure kLength is <= sizeof(uint64_t) am: b3e44e2140
Jack He [Wed, 21 Aug 2019 09:29:08 +0000 (02:29 -0700)]
Address: Add static assert to make sure kLength is <= sizeof(uint64_t) am: b3e44e2140
am: 7ccf2466c8

Change-Id: I4eaf53d7a4b8b9b34cedcd381670f21efdce3633

5 years agoAddress: Add static assert to make sure kLength is <= sizeof(uint64_t)
Jack He [Wed, 21 Aug 2019 09:23:07 +0000 (02:23 -0700)]
Address: Add static assert to make sure kLength is <= sizeof(uint64_t)
am: b3e44e2140

Change-Id: I23373e653f2a26d2be9182aeeff7036d1f7abeb8

5 years agoMerge "HCI: Support registration for LE events" am: b93e57cda2 am: e45ad34b1e am...
Myles Watson [Wed, 21 Aug 2019 05:26:50 +0000 (22:26 -0700)]
Merge "HCI: Support registration for LE events" am: b93e57cda2 am: e45ad34b1e am: 93deb838aa am: e89c957056
am: fca05aa158

Change-Id: Ib74588f2c01d5fa398815d96d2b2c2186742c2ea

5 years agoMerge "HCI: Support registration for LE events" am: b93e57cda2 am: e45ad34b1e am...
Myles Watson [Wed, 21 Aug 2019 05:13:56 +0000 (22:13 -0700)]
Merge "HCI: Support registration for LE events" am: b93e57cda2 am: e45ad34b1e am: 93deb838aa
am: e89c957056

Change-Id: I52be75be61542c9b66eed3416ada40267d7d44bd

5 years agoAddress: Add static assert to make sure kLength is <= sizeof(uint64_t)
Jack He [Tue, 20 Aug 2019 17:59:18 +0000 (10:59 -0700)]
Address: Add static assert to make sure kLength is <= sizeof(uint64_t)

Test: make
Change-Id: I16432253233a504c47c302433b743f421ded02b9

5 years agoMerge "HCI: Support registration for LE events" am: b93e57cda2 am: e45ad34b1e
Myles Watson [Wed, 21 Aug 2019 05:05:22 +0000 (22:05 -0700)]
Merge "HCI: Support registration for LE events" am: b93e57cda2 am: e45ad34b1e
am: 93deb838aa

Change-Id: I14cb59079f9d25edd1f069611635af88411a0707

5 years agoMerge "HCI: Support registration for LE events" am: b93e57cda2
Myles Watson [Wed, 21 Aug 2019 04:55:49 +0000 (21:55 -0700)]
Merge "HCI: Support registration for LE events" am: b93e57cda2
am: e45ad34b1e

Change-Id: I026c5d229411f739dbbb1fb8936581fc297622ab

5 years agoMerge "HCI: Support registration for LE events"
Myles Watson [Wed, 21 Aug 2019 04:47:13 +0000 (21:47 -0700)]
Merge "HCI: Support registration for LE events"
am: b93e57cda2

Change-Id: I635b6966df3e609150448658c8764d8bf9b2cf84

5 years agoMerge "HCI: Support registration for LE events"
Treehugger Robot [Wed, 21 Aug 2019 04:20:44 +0000 (04:20 +0000)]
Merge "HCI: Support registration for LE events"

5 years agoMerge "L2CAP: Add Classic Link Manager Implementation" am: c417a536fe am: 42be634f3e...
Jack He [Wed, 21 Aug 2019 04:12:57 +0000 (21:12 -0700)]
Merge "L2CAP: Add Classic Link Manager Implementation" am: c417a536fe am: 42be634f3e am: 95e0607888 am: c15fb29b53
am: a9b7bff389

Change-Id: I4ba836891781014dc1df3e2c05f5e6875ec7bba4

5 years agoMerge "L2CAP: Add Classic Link Manager Implementation" am: c417a536fe am: 42be634f3e...
Jack He [Wed, 21 Aug 2019 03:46:08 +0000 (20:46 -0700)]
Merge "L2CAP: Add Classic Link Manager Implementation" am: c417a536fe am: 42be634f3e am: 95e0607888
am: c15fb29b53

Change-Id: I0c81c2cabc898a1a88503267dcdd48aaff7d7f4f

5 years agoMerge "L2CAP: Add Classic Link Manager Implementation" am: c417a536fe am: 42be634f3e
Jack He [Wed, 21 Aug 2019 03:36:22 +0000 (20:36 -0700)]
Merge "L2CAP: Add Classic Link Manager Implementation" am: c417a536fe am: 42be634f3e
am: 95e0607888

Change-Id: Idf2002cb44d3db61e3c8016b8f22f98b7ec5ff80

5 years agoMerge "L2CAP: Add Classic Link Manager Implementation" am: c417a536fe
Jack He [Wed, 21 Aug 2019 03:26:49 +0000 (20:26 -0700)]
Merge "L2CAP: Add Classic Link Manager Implementation" am: c417a536fe
am: 42be634f3e

Change-Id: I1cf68ffa67cfc0e0bfb54635b71ae8d641be2f11

5 years agoMerge "L2CAP: Add Classic Link Manager Implementation"
Jack He [Wed, 21 Aug 2019 03:16:53 +0000 (20:16 -0700)]
Merge "L2CAP: Add Classic Link Manager Implementation"
am: c417a536fe

Change-Id: I4c6f837384c06a16175203df6c685c37d9b7fa80

5 years agoMerge "ClassicSecurityManagerTest: Fix handler sync" am: d651316473 am: 22cdcadfa3...
Hansong Zhang [Wed, 21 Aug 2019 02:45:24 +0000 (19:45 -0700)]
Merge "ClassicSecurityManagerTest: Fix handler sync" am: d651316473 am: 22cdcadfa3 am: fca95855fc am: 2b3a326a87
am: ce7fad18e7

Change-Id: Ie80bc6f9c42a09bed44d2f8ee900bc27a1016136

5 years agoMerge "L2CAP: Add Classic Link Manager Implementation"
Treehugger Robot [Wed, 21 Aug 2019 02:45:01 +0000 (02:45 +0000)]
Merge "L2CAP: Add Classic Link Manager Implementation"

5 years agoMerge "ClassicSecurityManagerTest: Fix handler sync" am: d651316473 am: 22cdcadfa3...
Hansong Zhang [Wed, 21 Aug 2019 02:33:47 +0000 (19:33 -0700)]
Merge "ClassicSecurityManagerTest: Fix handler sync" am: d651316473 am: 22cdcadfa3 am: fca95855fc
am: 2b3a326a87

Change-Id: Ic5a842d8a11a418f785688e8d82d36087810a7c3

5 years agoMerge "ClassicSecurityManagerTest: Fix handler sync" am: d651316473 am: 22cdcadfa3
Hansong Zhang [Wed, 21 Aug 2019 02:23:11 +0000 (19:23 -0700)]
Merge "ClassicSecurityManagerTest: Fix handler sync" am: d651316473 am: 22cdcadfa3
am: fca95855fc

Change-Id: Ie988517cf658fd038cdf70d4f5d57450e5b56c9c

5 years agoMerge "ClassicSecurityManagerTest: Fix handler sync" am: d651316473
Hansong Zhang [Wed, 21 Aug 2019 02:10:23 +0000 (19:10 -0700)]
Merge "ClassicSecurityManagerTest: Fix handler sync" am: d651316473
am: 22cdcadfa3

Change-Id: Iaa71609d81d3e13e5f34facad97ce8b5da1df5f7

5 years agoMerge "RootCanal: Add HciRefreshEncryptionKey" am: 4962a93001 am: b3deeb3e83 am:...
Myles Watson [Wed, 21 Aug 2019 02:08:24 +0000 (19:08 -0700)]
Merge "RootCanal: Add HciRefreshEncryptionKey" am: 4962a93001 am: b3deeb3e83 am: 43bb4d7997 am: 3f5d1dbeb2
am: a49028e8a7

Change-Id: Iade48ac621861d8ac85a7e4c68783ac5ee5b7624

5 years agoMerge "ClassicSecurityManagerTest: Fix handler sync"
Hansong Zhang [Wed, 21 Aug 2019 01:58:08 +0000 (18:58 -0700)]
Merge "ClassicSecurityManagerTest: Fix handler sync"
am: d651316473

Change-Id: Ic54cd9acf82119d39450bbe08e4fde86ed52dd40

5 years agoMerge "ClassicSecurityManagerTest: Fix handler sync"
Treehugger Robot [Wed, 21 Aug 2019 01:34:40 +0000 (01:34 +0000)]
Merge "ClassicSecurityManagerTest: Fix handler sync"

5 years agoMerge "RootCanal: Add HciRefreshEncryptionKey" am: 4962a93001 am: b3deeb3e83 am:...
Myles Watson [Wed, 21 Aug 2019 01:15:06 +0000 (18:15 -0700)]
Merge "RootCanal: Add HciRefreshEncryptionKey" am: 4962a93001 am: b3deeb3e83 am: 43bb4d7997
am: 3f5d1dbeb2

Change-Id: I253e98fb99fd6fa685a7b41ef02b1d2d65f25ae7

5 years agoMerge "RootCanal: Add HciRefreshEncryptionKey" am: 4962a93001 am: b3deeb3e83
Myles Watson [Wed, 21 Aug 2019 00:47:39 +0000 (17:47 -0700)]
Merge "RootCanal: Add HciRefreshEncryptionKey" am: 4962a93001 am: b3deeb3e83
am: 43bb4d7997

Change-Id: I6e4347270759839f54aefe8f9863c4233a38832e

5 years agoMerge "RootCanal: Add HciRefreshEncryptionKey" am: 4962a93001
Myles Watson [Wed, 21 Aug 2019 00:32:23 +0000 (17:32 -0700)]
Merge "RootCanal: Add HciRefreshEncryptionKey" am: 4962a93001
am: b3deeb3e83

Change-Id: I8e6fdf8709805d4b23d4805721dea5f9e9ac69cc

5 years agoMerge "RootCanal: Add HciRefreshEncryptionKey"
Myles Watson [Wed, 21 Aug 2019 00:18:12 +0000 (17:18 -0700)]
Merge "RootCanal: Add HciRefreshEncryptionKey"
am: 4962a93001

Change-Id: I81ae7adba7369c08292cb75851a2978c95a144de

5 years agoHCI: Support registration for LE events
Myles Watson [Tue, 20 Aug 2019 22:14:31 +0000 (15:14 -0700)]
HCI: Support registration for LE events

Bug: 138259341
Test: bluetooth_test_gd
Change-Id: I89e4cc2fa16b1abccbeda1250a6486eff7364d16

5 years agoMerge "RootCanal: Add HciRefreshEncryptionKey"
Treehugger Robot [Tue, 20 Aug 2019 23:38:28 +0000 (23:38 +0000)]
Merge "RootCanal: Add HciRefreshEncryptionKey"

5 years agoMerge "HCI: Add SetEventFilter packets" am: 48070af40b am: b40a9bafe9 am: 75a83e5101...
Myles Watson [Tue, 20 Aug 2019 23:26:29 +0000 (16:26 -0700)]
Merge "HCI: Add SetEventFilter packets" am: 48070af40b am: b40a9bafe9 am: 75a83e5101 am: 15f4ea3e64
am: 167855bf67

Change-Id: I48f86e8461328fd8c2d04945f7aea7d5846643b8

5 years agoMerge "HCI: Add SetEventFilter packets" am: 48070af40b am: b40a9bafe9 am: 75a83e5101
Myles Watson [Tue, 20 Aug 2019 23:16:44 +0000 (16:16 -0700)]
Merge "HCI: Add SetEventFilter packets" am: 48070af40b am: b40a9bafe9 am: 75a83e5101
am: 15f4ea3e64

Change-Id: I4ab877ecdcd3c44992e115fed5254b514f0fdfd6

5 years agoMerge "HCI: Add SetEventFilter packets" am: 48070af40b am: b40a9bafe9
Myles Watson [Tue, 20 Aug 2019 23:06:02 +0000 (16:06 -0700)]
Merge "HCI: Add SetEventFilter packets" am: 48070af40b am: b40a9bafe9
am: 75a83e5101

Change-Id: Ie4977627e20b812525b97c96dd0abafba0ba91dd

5 years agoMerge "HCI: Add SetEventFilter packets" am: 48070af40b
Myles Watson [Tue, 20 Aug 2019 22:54:59 +0000 (15:54 -0700)]
Merge "HCI: Add SetEventFilter packets" am: 48070af40b
am: b40a9bafe9

Change-Id: Iab1d6b632cb048238b40860bb288cd159f904ccc

5 years agoMerge "HCI: Add SetEventFilter packets"
Myles Watson [Tue, 20 Aug 2019 22:44:56 +0000 (15:44 -0700)]
Merge "HCI: Add SetEventFilter packets"
am: 48070af40b

Change-Id: I99199f8ee000137bbcda3c87047d3ac875fcf279

5 years agoClassicSecurityManagerTest: Fix handler sync
Hansong Zhang [Tue, 20 Aug 2019 22:36:44 +0000 (15:36 -0700)]
ClassicSecurityManagerTest: Fix handler sync

We should sync handler in ClassicSecurityManager, because outgoing
commands are sent to this handler, and we don't post to handler in
HciModule.

Bug: 139750178
Test: run bluetooth_test_gd for 100 times
Change-Id: I4c2d817391c94602cc9f6e386bda53ee9194501d

5 years agoMerge "HCI: Add SetEventFilter packets"
Treehugger Robot [Tue, 20 Aug 2019 22:30:37 +0000 (22:30 +0000)]
Merge "HCI: Add SetEventFilter packets"

5 years agoL2CAP: Add Classic Link Manager Implementation
Jack He [Tue, 20 Aug 2019 01:16:33 +0000 (18:16 -0700)]
L2CAP: Add Classic Link Manager Implementation

* Implement ClassicLinkManager and APIs for classic fixed channel
* Implement mechanism to create new ACL connections using ACL manager
* Updated dependencies among internal L2CAP components
* Remove SetOnChannelFail() and other unused methods from
  ClassicFixedChannelServiceImpl
* Add mocks and unit tests to verify the functionality of
  ClassicLinkManager
* Add common/testing/bind_test_util.h so that we can bind lambdas with
  capture in unit tests, although this is not allowed in production code
* Add error and result code for classic fixed channel service
  registration failure and connection failures

Bug: 138261142
Test: bluetooth_test_gd, cert/run_cert.sh
Change-Id: Ib2794a0073dbc73f46b8c6fd5f5cf0ae1c8c559a

5 years agoMerge "PDL: Tighten checks for nonexistent fields" am: e19c3a15ae am: c1abea2711...
Myles Watson [Tue, 20 Aug 2019 20:58:55 +0000 (13:58 -0700)]
Merge "PDL: Tighten checks for nonexistent fields" am: e19c3a15ae am: c1abea2711 am: 78cc46db67 am: e367d31857
am: 18ab3d1d25

Change-Id: I0f5ee513c0ab9725ad4d259753eed2722d672983

5 years agoMerge "PDL: Suppress debug logs" am: c22fb66cdc am: ac6d9436d0 am: b6362cda34 am...
Myles Watson [Tue, 20 Aug 2019 20:58:15 +0000 (13:58 -0700)]
Merge "PDL: Suppress debug logs" am: c22fb66cdc am: ac6d9436d0 am: b6362cda34 am: 870c41727d
am: 1df79c7325

Change-Id: I4b796da2c2856218e51a41e07454b15704173a4b

5 years agoAdd IOT device list for RNR, avoid the bond fail. am: 3ceffd2602 am: f5e2643e65 am...
Jigong Yin [Tue, 20 Aug 2019 20:54:40 +0000 (13:54 -0700)]
Add IOT device list for RNR, avoid the bond fail. am: 3ceffd2602 am: f5e2643e65 am: 622d5f3957 am: 992d07318c
am: 95334eddb5

Change-Id: Ic9dfcb16f90b7434d6fd11e7de564820a6fe3838

5 years agoMerge "PDL: Tighten checks for nonexistent fields" am: e19c3a15ae am: c1abea2711...
Myles Watson [Tue, 20 Aug 2019 20:45:00 +0000 (13:45 -0700)]
Merge "PDL: Tighten checks for nonexistent fields" am: e19c3a15ae am: c1abea2711 am: 78cc46db67
am: e367d31857

Change-Id: Ia9b528568e9202a8d330072a92905f6e572c434d

5 years agoMerge "PDL: Suppress debug logs" am: c22fb66cdc am: ac6d9436d0 am: b6362cda34
Myles Watson [Tue, 20 Aug 2019 20:43:30 +0000 (13:43 -0700)]
Merge "PDL: Suppress debug logs" am: c22fb66cdc am: ac6d9436d0 am: b6362cda34
am: 870c41727d

Change-Id: I6d30d29a93f10b761669fc06640b78d619b1bc8f

5 years agoAdd IOT device list for RNR, avoid the bond fail. am: 3ceffd2602 am: f5e2643e65 am...
Jigong Yin [Tue, 20 Aug 2019 20:40:47 +0000 (13:40 -0700)]
Add IOT device list for RNR, avoid the bond fail. am: 3ceffd2602 am: f5e2643e65 am: 622d5f3957
am: 992d07318c

Change-Id: I7a7f8a47fc2a106432f5aa087a959cf74d16b842

5 years agoMerge "PDL: Tighten checks for nonexistent fields" am: e19c3a15ae am: c1abea2711
Myles Watson [Tue, 20 Aug 2019 20:22:47 +0000 (13:22 -0700)]
Merge "PDL: Tighten checks for nonexistent fields" am: e19c3a15ae am: c1abea2711
am: 78cc46db67

Change-Id: I22352fdbca3ef1f2ac48398da3016c31d4ffa747

5 years agoMerge "PDL: Suppress debug logs" am: c22fb66cdc am: ac6d9436d0
Myles Watson [Tue, 20 Aug 2019 20:21:50 +0000 (13:21 -0700)]
Merge "PDL: Suppress debug logs" am: c22fb66cdc am: ac6d9436d0
am: b6362cda34

Change-Id: I97347bbb816f76abe44398e7c63e2bae23455399

5 years agoAdd IOT device list for RNR, avoid the bond fail. am: 3ceffd2602 am: f5e2643e65
Jigong Yin [Tue, 20 Aug 2019 20:19:22 +0000 (13:19 -0700)]
Add IOT device list for RNR, avoid the bond fail. am: 3ceffd2602 am: f5e2643e65
am: 622d5f3957

Change-Id: I223f2841e6fccb5b469715d51c020bdbec61978f

5 years agoMerge "PDL: Tighten checks for nonexistent fields" am: e19c3a15ae
Myles Watson [Tue, 20 Aug 2019 19:50:52 +0000 (12:50 -0700)]
Merge "PDL: Tighten checks for nonexistent fields" am: e19c3a15ae
am: c1abea2711

Change-Id: Id13ea4ebe705d9302fd2629c961d526060e9e088

5 years agoMerge "PDL: Suppress debug logs" am: c22fb66cdc
Myles Watson [Tue, 20 Aug 2019 19:49:38 +0000 (12:49 -0700)]
Merge "PDL: Suppress debug logs" am: c22fb66cdc
am: ac6d9436d0

Change-Id: Id65f888dbf217bcacf123002d80d2e17285db364

5 years agoAdd IOT device list for RNR, avoid the bond fail. am: 3ceffd2602
Jigong Yin [Tue, 20 Aug 2019 19:48:03 +0000 (12:48 -0700)]
Add IOT device list for RNR, avoid the bond fail. am: 3ceffd2602
am: f5e2643e65

Change-Id: I0968c476f259cffa29609df3af8b4ab6c02d7aa1

5 years agoMerge "PDL: Tighten checks for nonexistent fields"
Myles Watson [Tue, 20 Aug 2019 19:17:33 +0000 (12:17 -0700)]
Merge "PDL: Tighten checks for nonexistent fields"
am: e19c3a15ae

Change-Id: I343a2d759cc3c53865437946bee15095bd9056a5

5 years agoMerge "PDL: Suppress debug logs"
Myles Watson [Tue, 20 Aug 2019 19:16:39 +0000 (12:16 -0700)]
Merge "PDL: Suppress debug logs"
am: c22fb66cdc

Change-Id: Iabeaf0efdcb9e6a261cf5771e854bb9b317f55fe