Home
last modified time | relevance | path

Searched refs:cid_ (Results 1 – 22 of 22) 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()
37 ASSERT(cid_ > 0); in DynamicChannelImpl()
58 link_->SendDisconnectionRequest(cid_, remote_cid_); in Close()
63 cid_, static_cast<int>(close_reason_), static_cast<int>(status)); in OnClosed()
74 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()
Dsender_test.cc78 EXPECT_CALL(*mock_channel_, GetCid()).WillRepeatedly(Return(cid_)); in SetUp()
79 EXPECT_CALL(*mock_channel_, GetRemoteCid()).WillRepeatedly(Return(cid_)); in SetUp()
98 Cid cid_ = 0x41; member in bluetooth::l2cap::internal::__anonaf4061330111::L2capSenderTest
115 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()
Ddynamic_channel_impl.h58 return cid_; in GetCid()
74 const Cid cid_; variable
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.cc318 local_cid_to_pending_dynamic_channel_connection_map_[channel.cid_] = in OnEncryptionChange()
320 signalling_manager_.SendConnectionRequest(channel.psm_, channel.cid_); in OnEncryptionChange()
Dlink.h65 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.cc285 : facade_service_(service), l2cap_layer_(l2cap_layer), handler_(handler), cid_(cid) { in L2capFixedChannelHelper()
288 cid_, in L2capFixedChannelHelper()
306 LOG_WARN("Channel is not open for cid %d", cid_); in Connect()
354 l2cap_data.set_fixed_cid(cid_); in on_incoming_packet()
363 LOG_WARN("Channel is not open for cid %d", cid_); in SendPacket()
395 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/gd/shim/
Dl2cap.cc85 : cid_(cid), in ConnectionInterface()
110 on_data_ready_callback_(cid_, data); in OnReadReady()
130 LOG_DEBUG("Writing packet cid:%hd size:%zd", cid_, packet->size()); in Write()
152 cid_, in OnConnectionClosed()
159 on_connection_closed_callback_(cid_, static_cast<int>(error_code)); in OnConnectionClosed()
160 on_closed_(cid_); in OnConnectionClosed()
174 const ConnectionInterfaceDescriptor cid_; member in bluetooth::shim::ConnectionInterface
336 : cid_(cid), in PendingConnection()
383 const ConnectionInterfaceDescriptor cid_; member in bluetooth::shim::PendingConnection
536 connection_interface_manager_.AddConnection(connection->cid_, std::move(channel)); in PendingConnectionOpen()
[all …]
/system/bt/main/shim/
Dl2c_api.cc241 LeFixedChannelHelper(uint16_t cid) : cid_(cid) {} in LeFixedChannelHelper()
243 uint16_t cid_; member
248 LOG(ERROR) << "Channel is not registered. cid=" << +cid_; in on_registration_complete()
262 (freg_.pL2CA_FixedConn_Cb)(cid_, address, true, 0, 2); in on_channel_close()
284 (freg_.pL2CA_FixedConn_Cb)(cid_, address, true, 0, BT_TRANSPORT_LE); in on_channel_open()
302 freg_.pL2CA_FixedData_Cb(cid_, address, buffer); in on_incoming_data()
308 freg_.pL2CA_FixedConn_Cb(cid_, remote, true, 0, BT_TRANSPORT_LE); in on_outgoing_connection_fail()