commit | 05ea37ed800ecfbf39dbd2c8bda4cbbe2b80b700 | [log] [tgz] |
---|---|---|
author | Xo Wang <xow@google.com> | Thu Aug 15 23:06:35 2019 +0000 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Thu Aug 15 23:06:35 2019 +0000 |
tree | 3607fffdac32003159563d8647bab907170d2330 | |
parent | 61caef560e6dfe0ae032c26f8ba76d0a6b8471f4 [diff] |
[bt][l2cap] Drive inbound HCI outside of ChannelManager Bind ChannelManager::OnACLDataReceived to produce a callable handler that directly receives inbound data packets, with a new method MakeInboundDataHandler. Rename ACLDataChannel::DataReceivedCallback to ACLPacketHandler and use it for both callable produced by ChannelManager and the callback invoked by ACLDataChannel. Move it to namespace ::bt::hci scope. Integrate L2CAP and HCI transport in Domain rather than in the ChannelManager ctor. Update ChannelManager unit tests to inject inbound ACL packets synchronously instead of through ACLDataChannel. BT-2283 Test: in bt-host-unittest, L2CAP_ChannelManagerTest.* DATA_DomainTest.* still tests the integration of L2CAP and HCI Change-Id: I88963717cca31344c635adedda3b2a3b03130d50
Pink + Purple == Fuchsia (a new operating system)
Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.
Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.
See Getting Started.
See fuchsia.dev.