Home
last modified time | relevance | path

Searched refs:acl_queue_handler (Results 1 – 2 of 2) sorted by relevance

/system/bt/gd/hci/acl_manager/
Dround_robin_scheduler.cc44 acl_queue_handler acl_queue_handler = {connection_type, std::move(queue), false, 0}; in Register() local
45 …lers_.insert(std::pair<uint16_t, RoundRobinScheduler::acl_queue_handler>(handle, acl_queue_handler in Register()
53 auto acl_queue_handler = acl_queue_handlers_.find(handle)->second; in Unregister() local
55 if (acl_queue_handler.connection_type_ == ConnectionType::CLASSIC) { in Unregister()
56 acl_packet_credits_ += acl_queue_handler.number_of_sent_packets_; in Unregister()
58 le_acl_packet_credits_ += acl_queue_handler.number_of_sent_packets_; in Unregister()
60 acl_queue_handler.number_of_sent_packets_ = 0; in Unregister()
62 if (acl_queue_handler.dequeue_is_registered_) { in Unregister()
63 acl_queue_handler.dequeue_is_registered_ = false; in Unregister()
64 acl_queue_handler.queue_->GetDownEnd()->UnregisterDequeue(); in Unregister()
[all …]
Dround_robin_scheduler.h39 struct acl_queue_handler { struct
54 void buffer_packet(std::map<uint16_t, acl_queue_handler>::iterator acl_queue_handler); argument
62 std::map<uint16_t, acl_queue_handler> acl_queue_handlers_;
73 std::map<uint16_t, acl_queue_handler>::iterator starting_point_;