/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 | 534 void process_command_credits(int credits) { in process_command_credits() argument 543 command_credits = credits - get_num_waiting_commands(); in process_command_credits() 561 int credits = 0; in filter_incoming_event() local 568 STREAM_TO_UINT8(credits, stream); in filter_incoming_event() 573 process_command_credits(credits); in filter_incoming_event() 595 STREAM_TO_UINT8(credits, stream); in filter_incoming_event() 602 process_command_credits(credits); in filter_incoming_event()
|
/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/stack/l2cap/ |
D | l2c_ble.cc | 625 p_ccb->peer_conn_cfg.credits = initial_credit; in l2cble_process_sig_cmd() 657 STREAM_TO_UINT16(p_ccb->peer_conn_cfg.credits, p); in l2cble_process_sig_cmd() 668 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 | 228 uint16_t credits = L2CAP_LE_CREDIT_DEFAULT - p_ccb->remote_credit_count; in l2c_rcv_acl_data() local 232 l2c_csm_execute(p_ccb, L2CEVT_L2CA_SEND_FLOW_CONTROL_CREDIT, &credits); in l2c_rcv_acl_data()
|
D | l2c_utils.cc | 2859 initial_credit = p_ccb->local_conn_cfg.credits; in l2cu_send_peer_ble_credit_based_conn_req() 2941 UINT16_TO_STREAM(p, p_ccb->local_conn_cfg.credits); /* initial credit */ in l2cu_send_peer_ble_credit_based_conn_res() 3310 if (p_ccb->peer_conn_cfg.credits == 0) { in l2cu_get_next_buffer_to_send() 3317 p_ccb->peer_conn_cfg.credits--; in l2cu_get_next_buffer_to_send()
|
D | l2c_api.cc | 556 p_ccb->remote_credit_count = p_cfg->credits; in L2CA_ConnectLECocReq() 629 p_ccb->remote_credit_count = p_cfg->credits; in L2CA_ConnectLECocRsp()
|
/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/stack/include/ |
D | l2c_api.h | 180 uint16_t credits; member
|