/packages/modules/Bluetooth/system/stack/test/rfcomm/ |
D | stack_rfcomm_test_utils.cc | 111 int credits, in CreateRfcommPacket() argument 128 if (credits > 0) { in CreateRfcommPacket() 129 result.push_back(static_cast<uint8_t>(credits)); in CreateRfcommPacket() 201 uint16_t acl_handle, int credits, in CreateQuickDataPacket() argument 205 GetControlField(credits > 0 ? true : false, RFCOMM_UIH); in CreateQuickDataPacket() 207 CreateRfcommPacket(address_field, control_field, credits, data); in CreateQuickDataPacket() 215 uint16_t acl_handle, int credits, in CreateQuickDataPacket() argument 218 return CreateQuickDataPacket(dlci, cr, l2cap_lcid, acl_handle, credits, data); in CreateQuickDataPacket()
|
D | stack_rfcomm_test_utils.h | 127 int credits, 210 uint16_t acl_handle, int credits, 226 uint16_t acl_handle, int credits,
|
D | stack_rfcomm_test.cc | 416 int credits, uint16_t acl_handle, in SendAndVerifyOutgoingTransmission() argument 421 credits, message)); in SendAndVerifyOutgoingTransmission() 434 int credits, uint16_t acl_handle, in ReceiveAndVerifyIncomingTransmission() argument 440 credits, message)); in ReceiveAndVerifyIncomingTransmission()
|
/packages/modules/Bluetooth/system/gd/hci/acl_manager/ |
D | round_robin_scheduler.cc | 229 void RoundRobinScheduler::incoming_acl_credits(uint16_t handle, uint16_t credits) { in incoming_acl_credits() argument 235 if (acl_queue_handler->second.number_of_sent_packets_ >= credits) { in incoming_acl_credits() 236 acl_queue_handler->second.number_of_sent_packets_ -= credits; in incoming_acl_credits() 247 acl_packet_credits_ += credits; in incoming_acl_credits() 250 log::warn("acl packet credits overflow due to receive {} credits", credits); in incoming_acl_credits() 256 le_acl_packet_credits_ += credits; in incoming_acl_credits() 259 log::warn("le acl packet credits overflow due to receive {} credits", credits); in incoming_acl_credits()
|
D | round_robin_scheduler.h | 62 void incoming_acl_credits(uint16_t handle, uint16_t credits);
|
D | round_robin_scheduler_test.cc | 62 void SendCompletedAclPacketsCallback(uint16_t handle, uint16_t credits) { in SendCompletedAclPacketsCallback() argument 63 acl_credits_callback_(handle, credits); in SendCompletedAclPacketsCallback()
|
/packages/modules/Bluetooth/system/stack/rfcomm/ |
D | rfc_ts_frames.cc | 161 uint8_t credits; in rfc_send_buf_uih() local 169 credits = (uint8_t)p_buf->layer_specific; in rfc_send_buf_uih() 171 credits = 0; in rfc_send_buf_uih() 174 if (credits) { in rfc_send_buf_uih() 182 *p_data++ = RFCOMM_UIH | ((credits) ? RFCOMM_PF : 0); in rfc_send_buf_uih() 192 if (credits) { in rfc_send_buf_uih() 193 *p_data++ = credits; in rfc_send_buf_uih()
|
/packages/modules/Bluetooth/system/test/mock/ |
D | mock_stack_btm_iso.cc | 127 void IsoManager::HandleNumComplDataPkts(uint16_t handle, uint16_t credits) { in HandleNumComplDataPkts() argument 129 pimpl_->HandleNumComplDataPkts(handle, credits); in HandleNumComplDataPkts()
|
D | mock_stack_btm_iso.h | 70 (uint16_t handle, uint16_t credits));
|
D | mock_stack_acl.h | 678 std::function<void(uint16_t handle, uint16_t credits)> body{ 680 void operator()(uint16_t handle, uint16_t credits) { body(handle, credits); }; in operator()
|
/packages/modules/Bluetooth/system/gd/l2cap/internal/ |
D | le_credit_based_channel_data_controller.cc | 124 void LeCreditBasedDataController::OnCredit(uint16_t credits) { in OnCredit() argument 125 int total_credits = credits_ + credits; in OnCredit()
|
D | le_credit_based_channel_data_controller.h | 60 void OnCredit(uint16_t credits);
|
/packages/modules/Bluetooth/system/stack/btm/ |
D | btm_iso.cc | 131 void IsoManager::HandleNumComplDataPkts(uint16_t handle, uint16_t credits) { in HandleNumComplDataPkts() argument 133 pimpl_->iso_impl_->handle_gd_num_completed_pkts(handle, credits); in HandleNumComplDataPkts()
|
D | btm_iso_impl.h | 667 void handle_gd_num_completed_pkts(uint16_t handle, uint16_t credits) { in handle_gd_num_completed_pkts() 670 iter->second->used_credits -= credits; in handle_gd_num_completed_pkts() 671 iso_credits_ += credits; in handle_gd_num_completed_pkts() 677 iter->second->used_credits -= credits; in handle_gd_num_completed_pkts() 678 iso_credits_ += credits; in handle_gd_num_completed_pkts()
|
/packages/modules/Bluetooth/system/gd/l2cap/le/internal/ |
D | signalling_manager.h | 116 void SendCredit(Cid local_cid, uint16_t credits); 144 void OnCredit(Cid remote_cid, uint16_t credits);
|
D | signalling_manager.cc | 109 void LeSignallingManager::SendCredit(Cid local_cid, uint16_t credits) { in SendCredit() argument 110 auto builder = LeFlowControlCreditBuilder::Create(next_signal_id_.Value(), local_cid, credits); in SendCredit() 355 void LeSignallingManager::OnCredit(Cid remote_cid, uint16_t credits) { in OnCredit() argument 363 data_controller->OnCredit(credits); in OnCredit()
|
/packages/modules/Bluetooth/system/stack/test/ |
D | stack_l2cap_test.cc | 108 .credits = L2CA_LeCreditDefault(), 117 .credits = L2CA_LeCreditDefault(),
|
/packages/modules/Bluetooth/system/stack/l2cap/ |
D | l2c_ble.cc | 435 temp_p_ccb->peer_conn_cfg.credits = initial_credit; in l2cble_process_sig_cmd() 595 temp_p_ccb->peer_conn_cfg.credits = initial_credit; in l2cble_process_sig_cmd() 778 p_ccb->local_conn_cfg.credits = L2CA_LeCreditDefault(); in l2cble_process_sig_cmd() 783 p_ccb->peer_conn_cfg.credits = initial_credit; in l2cble_process_sig_cmd() 816 STREAM_TO_UINT16(p_ccb->peer_conn_cfg.credits, p); in l2cble_process_sig_cmd() 824 p_ccb->peer_conn_cfg.mps, p_ccb->peer_conn_cfg.credits, in l2cble_process_sig_cmd()
|
D | l2c_api.cc | 559 p_ccb->remote_credit_count = p_cfg->credits; in L2CA_ConnectLECocReq() 646 return p_ccb->peer_conn_cfg.credits; in L2CA_GetPeerLECocCredit() 697 temp_p_ccb->remote_credit_count = p_cfg->credits; in L2CA_ConnectCreditBasedRsp() 803 p_ccb->remote_credit_count = p_cfg->credits; in L2CA_ConnectCreditBasedReq()
|
D | l2c_main.cc | 195 uint16_t credits = L2CA_LeCreditDefault() - p_ccb->remote_credit_count; in l2c_rcv_acl_data() local 199 l2c_csm_execute(p_ccb, L2CEVT_L2CA_SEND_FLOW_CONTROL_CREDIT, &credits); in l2c_rcv_acl_data()
|
/packages/modules/Bluetooth/system/gd/hci/ |
D | controller_test.cc | 588 void CheckReceivedCredits(uint16_t handle, uint16_t credits) { in CheckReceivedCredits() argument 591 ASSERT_EQ(kCredits1, credits); in CheckReceivedCredits() 595 ASSERT_EQ(kCredits2, credits); in CheckReceivedCredits() 599 log::fatal("Unknown handle 0x{:0x} with 0x{:0x} credits", handle, credits); in CheckReceivedCredits()
|
/packages/modules/Bluetooth/system/stack/include/ |
D | btm_iso_api.h | 216 virtual void HandleNumComplDataPkts(uint16_t handle, uint16_t credits);
|
/packages/modules/Bluetooth/system/main/shim/ |
D | acl.h | 119 void on_incoming_acl_credits(uint16_t handle, uint16_t credits);
|
/packages/modules/Bluetooth/floss/hcidoc/packets/ |
D | l2cap_packets.pdl | 439 credits : 16, 591 credits : 16,
|
/packages/modules/Bluetooth/system/pdl/l2cap/ |
D | l2cap_packets.pdl | 542 credits : 16, 694 credits : 16,
|