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
343 auto l2cap_packet = e.l2cap_packet.value(); in WaitUiPasskey() local
344 if (!l2cap_packet.IsValid()) { in WaitUiPasskey()
349 const auto& received_code = l2cap_packet.GetCode(); in WaitUiPasskey()
355 auto pkt = PairingConfirmView::Create(l2cap_packet); in WaitUiPasskey()
448 auto l2cap_packet = e.l2cap_packet.value();
449 if (!l2cap_packet.IsValid()) {
453 const auto& received_code = l2cap_packet.GetCode();
456 auto pkt = PairingFailedView::Create(l2cap_packet);
[all …]
/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.py376 def _handle_control_packet(self, l2cap_packet): argument
377 packet_bytes = l2cap_packet.payload