Home
last modified time | relevance | path

Searched refs:cid_ (Results 1 – 23 of 23) sorted by relevance

/system/bt/gd/l2cap/le/internal/
Dfixed_channel_impl.cc40 : cid_(cid), device_(link->GetDevice()), link_(link), l2cap_handler_(l2cap_handler) { in FixedChannelImpl()
41 ASSERT_LOG(cid_ >= kFirstFixedChannel && cid_ <= kLastFixedChannel, "Invalid cid: %d", cid_); in FixedChannelImpl()
60 cid_, static_cast<int>(close_reason_), static_cast<int>(status)); in OnClosed()
106 return cid_; in GetCid()
110 return cid_; in GetRemoteCid()
Dfixed_channel_impl.h66 ss << "Device " << device_ << " Cid 0x" << std::hex << cid_; in ToString()
83 const Cid cid_;
/system/bt/gd/l2cap/internal/
Ddynamic_channel_impl.cc34 : psm_(psm), cid_(cid), remote_cid_(remote_cid), link_(link), l2cap_handler_(l2cap_handler), in DynamicChannelImpl()
36 ASSERT(cid_ > 0); in DynamicChannelImpl()
61 link_->SendDisconnectionRequest(cid_, remote_cid_); in Close()
66 cid_, static_cast<int>(close_reason_), static_cast<int>(status)); in OnClosed()
77 ss << "Device " << device_ << "Psm 0x" << std::hex << psm_ << " Cid 0x" << std::hex << cid_; in ToString()
Dle_credit_based_channel_data_controller.cc31 …: cid_(cid), remote_cid_(remote_cid), enqueue_buffer_(channel_queue_end), handler_(handler), sched… in LeCreditBasedDataController()
56 scheduler_->OnPacketsReady(cid_, segments.size()); in OnSdu()
59 scheduler_->OnPacketsReady(cid_, credits_); in OnSdu()
98 link_->SendDisconnectionRequest(cid_, remote_cid_); in OnPdu()
101 link_->SendLeCredit(cid_, 1); in OnPdu()
122 link_->SendDisconnectionRequest(cid_, remote_cid_); in OnCredit()
126 scheduler_->OnPacketsReady(cid_, pending_frames_count_); in OnCredit()
130 scheduler_->OnPacketsReady(cid_, credits_); in OnCredit()
Ddynamic_channel_impl.h58 return cid_; in GetCid()
70 link_->SetChannelTxPriority(cid_, high_priority); in SetChannelTxPriority()
78 const Cid cid_; variable
Dsender_test.cc79 EXPECT_CALL(*mock_channel_, GetCid()).WillRepeatedly(Return(cid_)); in SetUp()
80 EXPECT_CALL(*mock_channel_, GetRemoteCid()).WillRepeatedly(Return(cid_)); in SetUp()
99 Cid cid_ = 0x41; member in bluetooth::l2cap::internal::__anonaf4061330111::L2capSenderTest
117 EXPECT_EQ(basic_frame_view.GetChannelId(), cid_); in TEST_F()
Dbasic_mode_channel_data_controller.cc27 …: cid_(cid), remote_cid_(remote_cid), enqueue_buffer_(channel_queue_end), handler_(handler), sched… in BasicModeDataController()
37 scheduler_->OnPacketsReady(cid_, 1); in OnSdu()
Dbasic_mode_channel_data_controller.h59 Cid cid_;
Dle_credit_based_channel_data_controller.h62 Cid cid_;
Denhanced_retransmission_mode_channel_data_controller.h58 Cid cid_; variable
Denhanced_retransmission_mode_channel_data_controller.cc34 …: link_(link), cid_(cid), remote_cid_(remote_cid), enqueue_buffer_(channel_queue_end), handler_(ha… in ErtmController()
1036 scheduler_->OnPacketsReady(cid_, 1); in send_pdu()
1049 link_->SendDisconnectionRequest(cid_, remote_cid_); in close_channel()
/system/bt/gd/l2cap/classic/internal/
Dfixed_channel_impl.cc31 : cid_(cid), device_(link->GetDevice()), link_(link), l2cap_handler_(l2cap_handler) { in FixedChannelImpl()
32 ASSERT_LOG(cid_ >= kFirstFixedChannel && cid_ <= kLastFixedChannel, "Invalid cid: %d", cid_); in FixedChannelImpl()
51 cid_, static_cast<int>(close_reason_), static_cast<int>(status)); in OnClosed()
Dfixed_channel_impl.h58 ss << "Device " << device_ << " Cid 0x" << std::hex << cid_; in ToString()
71 return cid_; in GetCid()
75 return cid_; in GetRemoteCid()
81 const Cid cid_;
Dlink.h67 Cid cid_; member
/system/bt/gd/l2cap/le/
Dfixed_channel_service.h50 : cid_(cid), manager_(manager), l2cap_layer_handler_(handler) {} in FixedChannelService()
51 Cid cid_ = kInvalidCid; variable
Dfixed_channel_service.cc27 … common::Unretained(manager_), cid_, std::move(on_unregistered), in Unregister()
Dfacade.cc287 : facade_service_(service), l2cap_layer_(l2cap_layer), handler_(handler), cid_(cid) { in L2capFixedChannelHelper()
290 cid_, in L2capFixedChannelHelper()
308 LOG_WARN("Channel is not open for cid %d", cid_); in Connect()
356 l2cap_data.set_fixed_cid(cid_); in on_incoming_packet()
365 LOG_WARN("Channel is not open for cid %d", cid_); in SendPacket()
397 Cid cid_; member in bluetooth::l2cap::le::L2capLeModuleFacadeService::L2capFixedChannelHelper
/system/bt/gd/l2cap/classic/
Dfixed_channel_service.h50 : cid_(cid), manager_(manager), l2cap_layer_handler_(handler) {} in FixedChannelService()
51 Cid cid_ = kInvalidCid; variable
Dfixed_channel_service.cc28 … common::Unretained(manager_), cid_, std::move(on_unregistered), in Unregister()
/system/bt/stack/eatt/
Deatt.h41 uint16_t cid_; variable
59 cid_(cid), in EattChannel()
84 bda_.ToString().c_str(), cid_); in EattChannelSetState()
88 bda_.ToString().c_str(), cid_); in EattChannelSetState()
Deatt_impl.h273 gatt_data_process(*eatt_dev->eatt_tcb_, channel->cid_, data_p); in eatt_l2cap_data_ind()
454 attp_send_cl_confirmation_msg(*p_tcb, channel->cid_); in eatt_ind_ack_timeout()
/system/bt/main/shim/
Dl2c_api.cc859 LeFixedChannelHelper(uint16_t cid) : cid_(cid) {} in LeFixedChannelHelper()
861 uint16_t cid_; member
867 LOG(ERROR) << "Channel is not registered. cid=" << +cid_; in on_registration_complete()
883 (freg_.pL2CA_FixedConn_Cb)(cid_, address, false, error, BT_TRANSPORT_LE); in on_channel_close()
893 if (cid_ == kAttCid) { in on_channel_open()
908 (freg_.pL2CA_FixedConn_Cb)(cid_, address, true, 0, BT_TRANSPORT_LE); in on_channel_open()
924 freg_.pL2CA_FixedData_Cb(cid_, address, buffer); in on_incoming_data()
930 freg_.pL2CA_FixedConn_Cb(cid_, remote, true, 0, BT_TRANSPORT_LE); in on_outgoing_connection_fail()
937 LOG(ERROR) << "Channel is not open for cid " << cid_; in send()
/system/bt/stack/gatt/
Dgatt_utils.cc1044 *cid_p = channel->cid_; in gatt_tcb_get_cid_available_for_indication()
1103 return channel->cid_; in gatt_tcb_get_att_cid()