Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit cbfa2222 authored by Hansong Zhang's avatar Hansong Zhang
Browse files

L2CAP: Simplify parameters for segmenter and reassembler

Currently remote_cid and queue_down_end can be fetched from ChannelImpl.
Remove unnecessary parameters for better cohesion.

To make it work, we cannot mock AllocateFixedChannel() in Link.
Since Link needs to allocate a fixed channel for signalling manager
during ctor, it doesn't make sense to make AllocateFixedChannel()
virtual.
Since the coupling between Link and Signalling Manager is too tight, we
are unable to test signalling manager by itself. Instead use cert test.

Bug: 144503952
Bug: 141557006
Test: run_cert.sh and bluetooth_test_gd
Change-Id: I4be323bc7a9810f5f6b500b4f0f0fc4fcad12b6c
parent 304726c3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment