/system/bt/gd/hci/acl_manager/ |
D | round_robin_scheduler.cc | 189 void RoundRobinScheduler::incoming_acl_credits(uint16_t handle, uint16_t credits) { in incoming_acl_credits() argument 192 LOG_INFO("Dropping %hx received credits to unknown connection 0x%0hx", credits, handle); in incoming_acl_credits() 195 acl_queue_handler->second.number_of_sent_packets_ -= credits; in incoming_acl_credits() 197 acl_packet_credits_ += credits; in incoming_acl_credits() 199 le_acl_packet_credits_ += credits; in incoming_acl_credits() 203 if (acl_packet_credits_ == credits || le_acl_packet_credits_ == credits) { in incoming_acl_credits()
|
D | round_robin_scheduler.h | 58 void incoming_acl_credits(uint16_t handle, uint16_t credits);
|
D | round_robin_scheduler_test.cc | 60 void SendCompletedAclPacketsCallback(uint16_t handle, uint16_t credits) { in SendCompletedAclPacketsCallback() argument 61 acl_credits_callback_.Invoke(handle, credits); in SendCompletedAclPacketsCallback()
|
/system/bt/stack/test/rfcomm/ |
D | stack_rfcomm_test_utils.cc | 112 int credits, in CreateRfcommPacket() argument 129 if (credits > 0) { in CreateRfcommPacket() 130 result.push_back(static_cast<uint8_t>(credits)); in CreateRfcommPacket() 202 uint16_t acl_handle, int credits, in CreateQuickDataPacket() argument 206 GetControlField(credits > 0 ? true : false, RFCOMM_UIH); in CreateQuickDataPacket() 208 CreateRfcommPacket(address_field, control_field, credits, data); in CreateQuickDataPacket() 216 uint16_t acl_handle, int credits, in CreateQuickDataPacket() argument 219 return CreateQuickDataPacket(dlci, cr, l2cap_lcid, acl_handle, credits, data); in CreateQuickDataPacket()
|
D | stack_rfcomm_test_utils.h | 129 int credits, 212 uint16_t acl_handle, int credits, 228 uint16_t acl_handle, int credits,
|
D | stack_rfcomm_test.cc | 412 int credits, uint16_t acl_handle, in SendAndVerifyOutgoingTransmission() argument 417 credits, message)); in SendAndVerifyOutgoingTransmission() 430 int credits, uint16_t acl_handle, in ReceiveAndVerifyIncomingTransmission() argument 436 credits, message)); in ReceiveAndVerifyIncomingTransmission()
|
/system/bt/hci/src/ |
D | hci_layer.cc | 569 void process_command_credits(int credits) { in process_command_credits() argument 578 command_credits = credits - get_num_waiting_commands(); in process_command_credits() 639 int credits = 0; in filter_incoming_event() local 646 STREAM_TO_UINT8(credits, stream); in filter_incoming_event() 651 process_command_credits(credits); in filter_incoming_event() 673 STREAM_TO_UINT8(credits, stream); in filter_incoming_event() 680 process_command_credits(credits); in filter_incoming_event()
|
/system/bt/gd/l2cap/internal/ |
D | le_credit_based_channel_data_controller.cc | 119 void LeCreditBasedDataController::OnCredit(uint16_t credits) { in OnCredit() argument 120 int total_credits = credits_ + credits; in OnCredit()
|
D | le_credit_based_channel_data_controller.h | 59 void OnCredit(uint16_t credits);
|
/system/bt/gd/l2cap/le/internal/ |
D | signalling_manager.h | 112 void SendCredit(Cid local_cid, uint16_t credits); 132 void OnCredit(Cid remote_cid, uint16_t credits);
|
D | signalling_manager.cc | 107 void LeSignallingManager::SendCredit(Cid local_cid, uint16_t credits) { in SendCredit() argument 108 auto builder = LeFlowControlCreditBuilder::Create(next_signal_id_.Value(), local_cid, credits); in SendCredit() 343 void LeSignallingManager::OnCredit(Cid remote_cid, uint16_t credits) { in OnCredit() argument 351 data_controller->OnCredit(credits); in OnCredit()
|
/system/bt/stack/rfcomm/ |
D | rfc_ts_frames.cc | 154 uint8_t credits; in rfc_send_buf_uih() local 162 credits = (uint8_t)p_buf->layer_specific; in rfc_send_buf_uih() 164 credits = 0; in rfc_send_buf_uih() 167 if (credits) { in rfc_send_buf_uih() 175 *p_data++ = RFCOMM_UIH | ((credits) ? RFCOMM_PF : 0); in rfc_send_buf_uih() 185 if (credits) { in rfc_send_buf_uih() 186 *p_data++ = credits; in rfc_send_buf_uih()
|
/system/bt/gd/hci/ |
D | controller_test.cc | 440 void CheckReceivedCredits(uint16_t handle, uint16_t credits) { in CheckReceivedCredits() argument 443 ASSERT_EQ(kCredits1, credits); in CheckReceivedCredits() 447 ASSERT_EQ(kCredits2, credits); in CheckReceivedCredits() 451 ASSERT_LOG(false, "Unknown handle 0x%0hx with 0x%0hx credits", handle, credits); in CheckReceivedCredits()
|
D | acl_manager_test.cc | 838 for (uint16_t credits = 0; credits < test_controller_->total_acl_buffers_; credits++) { in TEST_F() local
|
D | controller.cc | 130 uint16_t credits = completed_packets.host_num_of_completed_packets_; in NumberOfCompletedPackets() local 131 acl_credits_callback_.Invoke(handle, credits); in NumberOfCompletedPackets()
|
/system/bt/stack/l2cap/ |
D | l2c_ble.cc | 628 p_ccb->peer_conn_cfg.credits = initial_credit; in l2cble_process_sig_cmd() 660 STREAM_TO_UINT16(p_ccb->peer_conn_cfg.credits, p); in l2cble_process_sig_cmd() 671 p_ccb->peer_conn_cfg.mps, p_ccb->peer_conn_cfg.credits, in l2cble_process_sig_cmd()
|
D | l2c_csm.cc | 1126 if ((p_ccb->peer_conn_cfg.credits + *credit) > L2CAP_LE_CREDIT_MAX) { in l2c_csm_open() 1132 p_ccb->peer_conn_cfg.credits += *credit; in l2c_csm_open() 1137 (*cr_cb)(p_ccb->local_cid, *credit, p_ccb->peer_conn_cfg.credits); in l2c_csm_open()
|
D | l2c_main.cc | 229 uint16_t credits = L2CAP_LE_CREDIT_DEFAULT - p_ccb->remote_credit_count; in l2c_rcv_acl_data() local 233 l2c_csm_execute(p_ccb, L2CEVT_L2CA_SEND_FLOW_CONTROL_CREDIT, &credits); in l2c_rcv_acl_data()
|
D | l2c_api.cc | 600 p_ccb->remote_credit_count = p_cfg->credits; in L2CA_ConnectLECocReq() 678 p_ccb->remote_credit_count = p_cfg->credits; in L2CA_ConnectLECocRsp()
|
D | l2c_utils.cc | 2845 initial_credit = p_ccb->local_conn_cfg.credits; in l2cu_send_peer_ble_credit_based_conn_req() 2927 UINT16_TO_STREAM(p, p_ccb->local_conn_cfg.credits); /* initial credit */ in l2cu_send_peer_ble_credit_based_conn_res() 3296 if (p_ccb->peer_conn_cfg.credits == 0) { in l2cu_get_next_buffer_to_send() 3303 p_ccb->peer_conn_cfg.credits--; in l2cu_get_next_buffer_to_send()
|
/system/bt/stack/include/ |
D | l2c_api.h | 156 uint16_t credits; member
|
/system/bt/gd/l2cap/le/cert/ |
D | le_l2cap_test.py | 388 credits = cert_channel.credits_left() 393 for _ in range(min(credits + 1, 3)):
|
/system/bt/stack/gap/ |
D | gap_conn.cc | 213 p_ccb->local_coc_cfg.credits = L2CAP_LE_CREDIT_DEFAULT; in GAP_ConnOpen() 223 VLOG(2) << __func__ << ": credits=" << p_ccb->local_coc_cfg.credits in GAP_ConnOpen()
|
/system/bt/gd/l2cap/ |
D | l2cap_packets.pdl | 629 credits : 16,
|