Home
last modified time | relevance | path

Searched refs:acl_packet (Results 1 – 7 of 7) sorted by relevance

/system/bt/stack/test/rfcomm/
Dstack_rfcomm_test_utils_test.cc63 std::vector<uint8_t> acl_packet = in TEST() local
65 EXPECT_THAT(acl_packet, ElementsAreArray(kIncomingSabmChannel0)); in TEST()
87 std::vector<uint8_t> acl_packet = in TEST() local
89 EXPECT_THAT(acl_packet, ElementsAreArray(kOutgoingUaChannel0)); in TEST()
118 std::vector<uint8_t> acl_packet = in TEST() local
120 EXPECT_THAT(acl_packet, ElementsAreArray(kIncomingUihPnSetChannelTo3)); in TEST()
143 std::vector<uint8_t> acl_packet = in TEST() local
145 EXPECT_THAT(acl_packet, ElementsAreArray(kIncomingSabmChannel3)); in TEST()
174 std::vector<uint8_t> acl_packet = in TEST() local
176 EXPECT_THAT(acl_packet, ElementsAreArray(kIncomingUihMscCmdFrame)); in TEST()
[all …]
/system/bt/gd/hal/
Dhci_hal_host_rootcanal_test.cc340 HciPacket acl_packet = make_sample_hci_acl_pkt(acl_payload_size); in TEST_F() local
341 hal_->sendAclData(acl_packet); in TEST_F()
346 ASSERT_EQ(size_read, 1 + acl_packet.size()); in TEST_F()
347 check_packet_equal({kH4Acl, acl_packet}, read_buf); in TEST_F()
365 HciPacket acl_packet = make_sample_hci_acl_pkt(acl_payload_size); in TEST_F() local
367 hal_->sendAclData(acl_packet); in TEST_F()
373 ASSERT_EQ(size_read, 1 + acl_packet.size()); in TEST_F()
374 check_packet_equal({kH4Acl, acl_packet}, read_buf); in TEST_F()
381 HciPacket acl_packet = make_sample_hci_acl_pkt(acl_payload_size); in TEST_F() local
384 hal_->sendAclData(acl_packet); in TEST_F()
[all …]
/system/bt/test/rootcanal/
Dbluetooth_hci.cc122 hidl_vec<uint8_t> acl_packet(packet->begin(), packet->end()); in initialize_impl() local
123 auto ret = cb->aclDataReceived(acl_packet); in initialize_impl()
/system/bt/vendor_libs/test_vendor_lib/model/controller/
Dlink_layer_controller.cc116 bluetooth::hci::AclPacketView acl_packet) { in SendAclToRemote() argument
117 uint16_t handle = acl_packet.GetHandle(); in SendAclToRemote()
137 auto acl_payload = acl_packet.GetPayload(); in SendAclToRemote()
144 static_cast<uint16_t>(acl_packet.GetHandle()) + in SendAclToRemote()
145 (static_cast<uint16_t>(acl_packet.GetPacketBoundaryFlag()) << 12) + in SendAclToRemote()
146 (static_cast<uint16_t>(acl_packet.GetBroadcastFlag()) << 14); in SendAclToRemote()
346 auto acl_packet = bluetooth::hci::AclPacketBuilder::Create( in IncomingAclPacket() local
352 send_acl_(std::move(acl_packet)); in IncomingAclPacket()
Ddual_mode_controller.h73 void HandleAcl(std::shared_ptr<std::vector<uint8_t>> acl_packet);
Dlink_layer_controller.h48 ErrorCode SendAclToRemote(bluetooth::hci::AclPacketView acl_packet);
Ddual_mode_controller.cc280 auto acl_packet = bluetooth::hci::AclPacketView::Create(raw_packet); in HandleAcl() local
281 ASSERT(acl_packet.IsValid()); in HandleAcl()
283 uint16_t handle = acl_packet.GetHandle(); in HandleAcl()
295 link_layer_controller_.SendAclToRemote(acl_packet); in HandleAcl()