Searched refs:acl_packet (Results 1 – 7 of 7) sorted by relevance
/system/bt/stack/test/rfcomm/ |
D | stack_rfcomm_test_utils_test.cc | 63 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/ |
D | hci_hal_host_rootcanal_test.cc | 340 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/ |
D | bluetooth_hci.cc | 122 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/ |
D | link_layer_controller.cc | 116 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()
|
D | dual_mode_controller.h | 73 void HandleAcl(std::shared_ptr<std::vector<uint8_t>> acl_packet);
|
D | link_layer_controller.h | 48 ErrorCode SendAclToRemote(bluetooth::hci::AclPacketView acl_packet);
|
D | dual_mode_controller.cc | 280 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()
|