Home
last modified time | relevance | path

Searched refs:GetDownEnd (Results 1 – 20 of 20) sorted by relevance

/system/bt/gd/common/testing/
Dwired_pair_of_bidi_queues.h38 auto down_thing = queue_a_.GetDownEnd()->TryDequeue(); in dequeue_callback_a()
45 auto down_thing = queue_b_.GetDownEnd()->TryDequeue(); in dequeue_callback_b()
54 os::EnqueueBuffer<B> down_buffer_a_{queue_a_.GetDownEnd()};
55 os::EnqueueBuffer<B> down_buffer_b_{queue_b_.GetDownEnd()};
59 queue_a_.GetDownEnd()->RegisterDequeue( in WiredPairOfBiDiQueues()
61 queue_b_.GetDownEnd()->RegisterDequeue( in WiredPairOfBiDiQueues()
66 queue_a_.GetDownEnd()->UnregisterDequeue(); in ~WiredPairOfBiDiQueues()
67 queue_b_.GetDownEnd()->UnregisterDequeue(); in ~WiredPairOfBiDiQueues()
/system/bt/gd/security/test/
Dfake_l2cap_test.cc93 os::EnqueueBuffer<packet::BasePacketBuilder> enqueue_buffer{bidi_queue.GetDownEnd()}; in TEST_F()
111 bidi_queue.GetDownEnd()->RegisterDequeue(handler_, common::Bind(&my_enqueue_callback)); in TEST_F()
121 auto other_end_packet = bidi_queue.GetDownEnd()->TryDequeue(); in TEST_F()
124 bidi_queue.GetDownEnd()->UnregisterDequeue(); in TEST_F()
/system/bt/gd/l2cap/classic/internal/
Dlink_test.cc58 …std::unique_ptr<BasePacketBuilder> data = raw_acl_connection_->acl_queue_.GetDownEnd()->TryDequeue… in OnDequeueCallbackForTest()
65 raw_acl_connection_->acl_queue_.GetDownEnd()->RegisterDequeue( in EnqueueCallbackForTest()
70 raw_acl_connection_->acl_queue_.GetDownEnd()->UnregisterDequeue(); in DequeueCallback()
Dfixed_channel_impl.h67 return channel_queue_.GetDownEnd(); in GetQueueDownEnd()
/system/bt/gd/l2cap/internal/
Dle_credit_based_channel_data_controller_test.cc76 …LeCreditBasedDataController controller{&link, 0x41, 0x41, channel_queue.GetDownEnd(), queue_handle… in TEST_F()
96 …LeCreditBasedDataController controller{&link, 0x41, 0x41, channel_queue.GetDownEnd(), queue_handle… in TEST_F()
128 …LeCreditBasedDataController controller{&link, 0x41, 0x41, channel_queue.GetDownEnd(), queue_handle… in TEST_F()
145 …LeCreditBasedDataController controller{&link, 0x41, 0x41, channel_queue.GetDownEnd(), queue_handle… in TEST_F()
167 …LeCreditBasedDataController controller{&link, 0x41, 0x41, channel_queue.GetDownEnd(), queue_handle… in TEST_F()
Denhanced_retransmission_mode_channel_data_controller_test.cc78 ErtmController controller{&link, 1, 1, channel_queue.GetDownEnd(), queue_handler_, &scheduler}; in TEST_F()
101 ErtmController controller{&link, 1, 1, channel_queue.GetDownEnd(), queue_handler_, &scheduler}; in TEST_F()
118 ErtmController controller{&link, 1, 1, channel_queue.GetDownEnd(), queue_handler_, &scheduler}; in TEST_F()
144 ErtmController controller{&link, 1, 1, channel_queue.GetDownEnd(), queue_handler_, &scheduler}; in TEST_F()
169 ErtmController controller{&link, 1, 1, channel_queue.GetDownEnd(), queue_handler_, &scheduler}; in TEST_F()
193 ErtmController controller{&link, 1, 1, channel_queue.GetDownEnd(), queue_handler_, &scheduler}; in TEST_F()
Dbasic_mode_channel_data_controller_test.cc75 BasicModeDataController controller{1, 1, channel_queue.GetDownEnd(), queue_handler_, &scheduler}; in TEST_F()
91 BasicModeDataController controller{1, 1, channel_queue.GetDownEnd(), queue_handler_, &scheduler}; in TEST_F()
Ddynamic_channel_impl.h54 return channel_queue_.GetDownEnd(); in GetQueueDownEnd()
Dsender_test.cc78 …EXPECT_CALL(*mock_channel_, GetQueueDownEnd()).WillRepeatedly(Return(channel_queue_.GetDownEnd())); in SetUp()
/system/bt/gd/hci/acl_manager/
Dround_robin_scheduler.cc64 acl_queue_handler.queue_->GetDownEnd()->UnregisterDequeue(); in Unregister()
120 acl_queue_handler->second.queue_->GetDownEnd()->RegisterDequeue( in start_round_robin()
136 auto packet = acl_queue_handler->second.queue_->GetDownEnd()->TryDequeue(); in buffer_packet()
174 acl_queue_handler->second.queue_->GetDownEnd()->UnregisterDequeue(); in unregister_all_connections()
Dround_robin_scheduler_test.cc84 hci_queue_.GetDownEnd()->RegisterDequeue( in SetUp()
89 hci_queue_.GetDownEnd()->UnregisterDequeue(); in TearDown()
125 auto packet = hci_queue_.GetDownEnd()->TryDequeue(); in HciDownEndDequeue()
Dle_impl.h188 std::forward_as_tuple(remote_address, queue->GetDownEnd(), handler_)); in on_le_connection_complete()
254 std::forward_as_tuple(remote_address, queue->GetDownEnd(), handler_)); in on_le_enhanced_connection_complete()
Dclassic_impl.h272 … AddressWithType{address, AddressType::PUBLIC_DEVICE_ADDRESS}, queue->GetDownEnd(), handler_)); in on_connection_complete()
/system/bt/gd/hci/
Dhci_layer.cc116 auto packet = acl_queue_.GetDownEnd()->TryDequeue(); in on_outbound_acl_ready()
124 auto packet = iso_queue_.GetDownEnd()->TryDequeue(); in on_outbound_iso_ready()
350 os::EnqueueBuffer<AclView> incoming_acl_buffer_{acl_queue_.GetDownEnd()};
354 os::EnqueueBuffer<IsoView> incoming_iso_buffer_{iso_queue_.GetDownEnd()};
541 …impl_->acl_queue_.GetDownEnd()->RegisterDequeue(handler, BindOn(impl_, &impl::on_outbound_acl_read… in Start()
542 …impl_->iso_queue_.GetDownEnd()->RegisterDequeue(handler, BindOn(impl_, &impl::on_outbound_iso_read… in Start()
566 impl_->acl_queue_.GetDownEnd()->UnregisterDequeue(); in Stop()
567 impl_->iso_queue_.GetDownEnd()->UnregisterDequeue(); in Stop()
Dacl_manager_test.cc237 auto* queue_end = acl_queue_.GetDownEnd(); in IncomingAclData()
255 auto queue_end = acl_queue_.GetDownEnd(); in AssertNoOutgoingAclData()
274 auto queue_end = acl_queue_.GetDownEnd(); in OutgoingAclData()
/system/bt/gd/hci/fuzz/
Dfuzz_hci_layer.cc70 acl_dev_null_ = new os::fuzz::DevNullQueue<AclBuilder>(acl_queue_.GetDownEnd(), GetHandler()); in Start()
72 acl_inject_ = new os::fuzz::FuzzInjectQueue<AclView>(acl_queue_.GetDownEnd(), GetHandler()); in Start()
/system/bt/gd/l2cap/le/internal/
Dfixed_channel_impl.h75 return channel_queue_.GetDownEnd(); in GetQueueDownEnd()
/system/bt/gd/common/
Dbidi_queue.h74 BidiQueueEnd<TUP, TDOWN>* GetDownEnd() { in GetDownEnd() function
Dbidi_queue_unittest.cc122 TestBidiQueueEnd<A, B> test_down(queue.GetDownEnd(), down_handler_); in TEST_F()
/system/bt/gd/security/
Dpairing_handler_le_unittest.cc79 bidi_queue_->GetDownEnd()->RegisterDequeue( in SetUp()
86 bidi_queue_->GetDownEnd()->UnregisterDequeue(); in TearDown()
96 std::unique_ptr<packet::BasePacketBuilder> builder = bidi_queue_->GetDownEnd()->TryDequeue(); in L2CAP_SendSmp()