Home
last modified time | relevance | path

Searched refs:l2cap_packet (Results 1 – 5 of 5) sorted by relevance

/system/bt/stack/test/rfcomm/
Dstack_rfcomm_test_utils_test.cc61 std::vector<uint8_t> l2cap_packet = in TEST() local
64 CreateAclPacket(0x0008, 0b10, 0b00, l2cap_packet); in TEST()
85 std::vector<uint8_t> l2cap_packet = in TEST() local
88 CreateAclPacket(0x0008, 0b10, 0b00, l2cap_packet); in TEST()
116 std::vector<uint8_t> l2cap_packet = in TEST() local
119 CreateAclPacket(0x0008, 0b10, 0b00, l2cap_packet); in TEST()
141 std::vector<uint8_t> l2cap_packet = in TEST() local
144 CreateAclPacket(0x0008, 0b10, 0b00, l2cap_packet); in TEST()
172 std::vector<uint8_t> l2cap_packet = in TEST() local
175 CreateAclPacket(0x0008, 0b10, 0b00, l2cap_packet); in TEST()
[all …]
Dstack_rfcomm_test_utils.cc148 std::vector<uint8_t> l2cap_packet = in CreateQuickUaPacket() local
150 return CreateAclPacket(acl_handle, 0b10, 0b00, l2cap_packet); in CreateQuickUaPacket()
159 std::vector<uint8_t> l2cap_packet = in CreateQuickSabmPacket() local
161 return CreateAclPacket(acl_handle, 0b10, 0b00, l2cap_packet); in CreateQuickSabmPacket()
177 std::vector<uint8_t> l2cap_packet = in CreateQuickPnPacket() local
179 return CreateAclPacket(acl_handle, 0b10, 0b00, l2cap_packet); in CreateQuickPnPacket()
195 std::vector<uint8_t> l2cap_packet = in CreateQuickMscPacket() local
197 return CreateAclPacket(acl_handle, 0b10, 0b00, l2cap_packet); in CreateQuickMscPacket()
209 std::vector<uint8_t> l2cap_packet = in CreateQuickDataPacket() local
211 return CreateAclPacket(acl_handle, 0b10, 0b00, l2cap_packet); in CreateQuickDataPacket()
/system/bt/gd/security/
Dpairing_handler_le.h69 std::optional<CommandView> l2cap_packet; variable
78 PairingEvent(CommandView l2cap_packet) : type(L2CAP), l2cap_packet(l2cap_packet) {} in PairingEvent() argument
382 auto l2cap_packet = e.l2cap_packet.value();
383 if (!l2cap_packet.IsValid()) {
387 const auto& received_code = l2cap_packet.GetCode();
390 auto pkt = PairingFailedView::Create(l2cap_packet);
403 auto pkt = CodeToPacketView<CODE>::type::Create(l2cap_packet);
/system/bt/gd/l2cap/le/cert/
Dcert_le_l2cap.py192 def _handle_control_packet(self, l2cap_packet): argument
193 packet_bytes = l2cap_packet.payload
/system/bt/gd/l2cap/classic/cert/
Dcert_l2cap.py372 def _handle_control_packet(self, l2cap_packet): argument
373 packet_bytes = l2cap_packet.payload