Home
last modified time | relevance | path

Searched refs:control_channel (Results 1 – 3 of 3) sorted by relevance

/system/bt/gd/l2cap/le/cert/
Dcert_le_l2cap.py34 def __init__(self, device, scid, dcid, acl_stream, acl, control_channel, initial_credits=0): argument
40 self._control_channel = control_channel
94 self.control_channel = CertLeL2capChannel(
95 self._device, 5, 5, self._get_acl_stream(), self._le_acl, control_channel=None)
100 self.control_channel = CertLeL2capChannel(
101 self._device, 5, 5, self._get_acl_stream(), self._le_acl, control_channel=None)
109 self.control_channel.send(
113 assertThat(self.control_channel).emits(response)
116 self.control_channel,
122 …self.control_channel.send(l2cap_packets.LeCreditBasedConnectionRequestBuilder(1, psm, 0x40, 1000, …
[all …]
/system/bt/gd/l2cap/classic/cert/
Dcert_l2cap.py42 def __init__(self, device, scid, dcid, acl_stream, acl, control_channel, fcs=None): argument
48 self._control_channel = control_channel
194 self.control_channel = CertL2capChannel(
195 self._device, 1, 1, self._acl.acl_stream, self._acl, control_channel=None)
203 self.control_channel.send(l2cap_packets.ConnectionRequestBuilder(signal_id, psm, scid))
206 assertThat(self.control_channel).emits(response)
209 self.control_channel, fcs)
217 assertThat(self.control_channel).emits(request)
223 …tL2capChannel(self._device, scid, dcid, self._acl.acl_stream, self._acl, self.control_channel, fcs)
229 self.control_channel.send(connection_response)
[all …]
Dl2cap_test.py447 control_channel = self.cert_l2cap.get_control_channel()
449 control_channel.send_extended_features_request()
451 assertThat(control_channel).emits(L2capMatchers.InformationResponseExtendedFeatures())
464 control_channel = self.cert_l2cap.get_control_channel()
466 control_channel.send_extended_features_request()
468 …assertThat(control_channel).emits(L2capMatchers.InformationResponseExtendedFeatures(supports_ertm=…
481 control_channel = self.cert_l2cap.get_control_channel()
483 control_channel.send_extended_features_request()
485 …assertThat(control_channel).emits(L2capMatchers.InformationResponseExtendedFeatures(supports_strea…
497 control_channel = self.cert_l2cap.get_control_channel()
[all …]