Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/gd/hci/acl_manager/
Dround_robin_scheduler.cc49 acl_queue_handler acl_queue_handler = {connection_type, std::move(queue), false, 0}; in Register() local
50 …lers_.insert(std::pair<uint16_t, RoundRobinScheduler::acl_queue_handler>(handle, acl_queue_handler in Register()
60 auto acl_queue_handler = acl_queue_handlers_.find(handle)->second; in Unregister() local
62 if (acl_queue_handler.connection_type_ == ConnectionType::CLASSIC) { in Unregister()
63 acl_packet_credits_ += acl_queue_handler.number_of_sent_packets_; in Unregister()
65 le_acl_packet_credits_ += acl_queue_handler.number_of_sent_packets_; in Unregister()
67 acl_queue_handler.number_of_sent_packets_ = 0; in Unregister()
69 if (acl_queue_handler.dequeue_is_registered_) { in Unregister()
70 acl_queue_handler.dequeue_is_registered_ = false; in Unregister()
71 acl_queue_handler.queue_->GetDownEnd()->UnregisterDequeue(); in Unregister()
[all …]
Dround_robin_scheduler.h41 struct acl_queue_handler { struct
66 std::map<uint16_t, acl_queue_handler> acl_queue_handlers_; argument
77 std::map<uint16_t, acl_queue_handler>::iterator starting_point_;