Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/gd/common/testing/
Dwired_pair_of_bidi_queues.h41 auto down_thing = queue_a_.GetDownEnd()->TryDequeue(); in dequeue_callback_a()
48 auto down_thing = queue_b_.GetDownEnd()->TryDequeue(); in dequeue_callback_b()
57 os::EnqueueBuffer<B> down_buffer_a_{queue_a_.GetDownEnd()};
58 os::EnqueueBuffer<B> down_buffer_b_{queue_b_.GetDownEnd()};
62 queue_a_.GetDownEnd()->RegisterDequeue( in WiredPairOfBiDiQueues()
64 queue_b_.GetDownEnd()->RegisterDequeue( in WiredPairOfBiDiQueues()
69 queue_a_.GetDownEnd()->UnregisterDequeue(); in ~WiredPairOfBiDiQueues()
70 queue_b_.GetDownEnd()->UnregisterDequeue(); in ~WiredPairOfBiDiQueues()
/packages/modules/Bluetooth/system/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()
/packages/modules/Bluetooth/system/gd/l2cap/internal/
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()
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()
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.h56 return channel_queue_.GetDownEnd(); in GetQueueDownEnd()
Dsender_test.cc78 …EXPECT_CALL(*mock_channel_, GetQueueDownEnd()).WillRepeatedly(Return(channel_queue_.GetDownEnd())); in SetUp()
/packages/modules/Bluetooth/system/gd/hci/
Dhci_layer.cc135 auto packet = acl_queue_.GetDownEnd()->TryDequeue(); in on_outbound_acl_ready()
143 auto packet = sco_queue_.GetDownEnd()->TryDequeue(); in on_outbound_sco_ready()
151 auto packet = iso_queue_.GetDownEnd()->TryDequeue(); in on_outbound_iso_ready()
521 os::EnqueueBuffer<AclView> incoming_acl_buffer_{acl_queue_.GetDownEnd()};
525 os::EnqueueBuffer<ScoView> incoming_sco_buffer_{sco_queue_.GetDownEnd()};
529 os::EnqueueBuffer<IsoView> incoming_iso_buffer_{iso_queue_.GetDownEnd()};
818 …impl_->acl_queue_.GetDownEnd()->RegisterDequeue(handler, BindOn(impl_, &impl::on_outbound_acl_read… in Start()
819 …impl_->sco_queue_.GetDownEnd()->RegisterDequeue(handler, BindOn(impl_, &impl::on_outbound_sco_read… in Start()
820 impl_->iso_queue_.GetDownEnd()->RegisterDequeue( in Start()
845 impl_->acl_queue_.GetDownEnd()->UnregisterDequeue(); in Stop()
[all …]
Dhci_layer_fake.cc198 auto* queue_end = acl_queue_.GetDownEnd(); in IncomingAclData()
227 auto queue_end = acl_queue_.GetDownEnd(); in AssertNoOutgoingAclData()
232 auto queue_end = acl_queue_.GetDownEnd(); in OutgoingAclData()
/packages/modules/Bluetooth/system/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.h78 return channel_queue_.GetDownEnd(); in GetQueueDownEnd()
/packages/modules/Bluetooth/system/gd/hci/acl_manager/
Dround_robin_scheduler.cc71 acl_queue_handler.queue_->GetDownEnd()->UnregisterDequeue(); in Unregister()
128 acl_queue_handler->second.queue_->GetDownEnd()->RegisterDequeue( in start_round_robin()
150 auto packet = acl_queue_handler->second.queue_->GetDownEnd()->TryDequeue(); in buffer_packet()
188 acl_queue_handler->second.queue_->GetDownEnd()->UnregisterDequeue(); in unregister_all_connections()
Dclassic_impl_test.cc169 hci_queue_.GetDownEnd()->RegisterDequeue( in SetUp()
191 hci_queue_.GetDownEnd()->UnregisterDequeue(); in TearDown()
212 auto packet = hci_queue_.GetDownEnd()->TryDequeue(); in HciDownEndDequeue()
Dround_robin_scheduler_test.cc86 hci_queue_.GetDownEnd()->RegisterDequeue( in SetUp()
91 hci_queue_.GetDownEnd()->UnregisterDequeue(); in TearDown()
126 auto packet = hci_queue_.GetDownEnd()->TryDequeue(); in HciDownEndDequeue()
Dle_impl_test.cc288 hci_queue_.GetDownEnd()->RegisterDequeue( in SetUp()
334 hci_queue_.GetDownEnd()->UnregisterDequeue(); in TearDown()
353 auto packet = hci_queue_.GetDownEnd()->TryDequeue(); in HciDownEndDequeue()
Dclassic_impl.h350 auto queue_down_end = queue->GetDownEnd(); in create_and_announce_connection()
Dle_impl.h460 auto queue_down_end = queue->GetDownEnd(); in on_le_connection_complete()
/packages/modules/Bluetooth/system/gd/hci/fuzz/
Dfuzz_hci_layer.cc88 acl_dev_null_ = new os::fuzz::DevNullQueue<AclBuilder>(acl_queue_.GetDownEnd(), GetHandler()); in Start()
90 acl_inject_ = new os::fuzz::FuzzInjectQueue<AclView>(acl_queue_.GetDownEnd(), GetHandler()); in Start()
/packages/modules/Bluetooth/system/gd/security/
Dpairing_handler_le_unittest.cc82 bidi_queue_->GetDownEnd()->RegisterDequeue( in SetUp()
89 bidi_queue_->GetDownEnd()->UnregisterDequeue(); in TearDown()
99 std::unique_ptr<packet::BasePacketBuilder> builder = bidi_queue_->GetDownEnd()->TryDequeue(); in L2CAP_SendSmp()
/packages/modules/Bluetooth/system/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()
/packages/modules/Bluetooth/system/gd/l2cap/le/internal/
Dfixed_channel_impl.h91 return channel_queue_.GetDownEnd(); in GetQueueDownEnd()