Searched refs:sdu_size (Results 1 – 7 of 7) sorted by relevance
/system/bt/gd/l2cap/internal/ |
D | le_credit_based_channel_data_controller.cc | 35 auto sdu_size = sdu->size(); in OnSdu() local 36 if (sdu_size == 0) { in OnSdu() 40 if (sdu_size > mtu_) { in OnSdu() 41 LOG_WARN("Received sdu_size %d > mtu %d", static_cast<int>(sdu_size), mtu_); in OnSdu() 49 builder = FirstLeInformationFrameBuilder::Create(remote_cid_, sdu_size, std::move(segments[0])); in OnSdu() 84 auto sdu_size = start_frame_view.GetL2capSduLength(); in OnPdu() local 85 remaining_sdu_continuation_packet_size_ = sdu_size - payload.size(); in OnPdu()
|
D | enhanced_retransmission_mode_channel_data_controller.cc | 100 …st(SegmentationAndReassembly sar, std::unique_ptr<packet::RawBuilder> pdu, uint16_t sdu_size = 0) { in data_request() 103 send_data(sar, sdu_size, std::move(pdu)); in data_request() 105 pend_data(sar, sdu_size, std::move(pdu)); in data_request() 107 pend_data(sar, sdu_size, std::move(pdu)); in data_request() 175 …i_frame(Final f, uint8_t tx_seq, uint8_t req_seq, SegmentationAndReassembly sar, uint16_t sdu_size, in recv_i_frame() 182 data_indication(sar, sdu_size, payload); in recv_i_frame() 188 data_indication(sar, sdu_size, payload); in recv_i_frame() 223 data_indication(sar, sdu_size, payload); in recv_i_frame() 230 data_indication(sar, sdu_size, payload); in recv_i_frame() 578 uint8_t tx_seq, uint16_t sdu_size = 0, Final f = Final::NOT_SET) { in _send_i_frame() [all …]
|
D | enhanced_retransmission_mode_channel_data_controller.h | 99 void stage_for_reassembly(SegmentationAndReassembly sar, uint16_t sdu_size,
|
/system/bt/gd/l2cap/le/cert/ |
D | le_l2cap_test.py | 215 … L2capMatchers.FirstLeIFrame(b'hello' * 20, sdu_size=105), L2capMatchers.Data(b'world')).inOrder() 225 assertThat(cert_channel).emits(L2capMatchers.FirstLeIFrame(b'hello' * 40, sdu_size=200)) 233 assertThat(cert_channel).emits(L2capMatchers.FirstLeIFrame(b'hello' * 40, sdu_size=200)) 337 assertThat(cert_channel).emits(L2capMatchers.FirstLeIFrame(b'hello', sdu_size=5)) 374 assertThat(cert_channel).emits(L2capMatchers.FirstLeIFrame(b'hello', sdu_size=5)) 376 assertThat(cert_channel).emits(L2capMatchers.FirstLeIFrame(b'hello', sdu_size=5)) 379 …L2capMatchers.FirstLeIFrame(b'hello', sdu_size=5), L2capMatchers.FirstLeIFrame(b'hello', sdu_size=…
|
D | dual_l2cap_test.py | 156 assertThat(le_cert_channel).emits(L2capMatchers.FirstLeIFrame(b'hello', sdu_size=5)) 181 assertThat(le_cert_channel).emits(L2capMatchers.FirstLeIFrame(b'hello', sdu_size=5))
|
D | cert_le_l2cap.py | 52 def send_first_le_i_frame(self, sdu_size, packet): argument 53 frame = l2cap_packets.FirstLeInformationFrameBuilder(self._dcid, sdu_size, packet)
|
/system/bt/gd/cert/ |
D | matchers.py | 360 def FirstLeIFrame(payload, sdu_size): argument 361 return lambda packet: L2capMatchers._is_matching_first_le_i_frame(packet, payload, sdu_size) 517 def _is_matching_first_le_i_frame(packet, payload, sdu_size): argument 519 …_le_i_frame.GetPayload().GetBytes() == payload and first_le_i_frame.GetL2capSduLength() == sdu_size
|