Home
last modified time | relevance | path

Searched defs:cid (Results 1 – 25 of 63) sorted by relevance

123

/system/bt/gd/l2cap/internal/
Ddata_pipeline_manager.cc30 void DataPipelineManager::AttachChannel(Cid cid, std::shared_ptr<ChannelImpl> channel, ChannelMode … in AttachChannel()
36 void DataPipelineManager::DetachChannel(Cid cid) { in DetachChannel()
41 DataController* DataPipelineManager::GetDataController(Cid cid) { in GetDataController()
48 void DataPipelineManager::OnPacketSent(Cid cid) { in OnPacketSent()
53 void DataPipelineManager::UpdateClassicConfiguration(Cid cid, classic::internal::ChannelConfigurati… in UpdateClassicConfiguration()
Dfixed_channel_allocator.h45 virtual std::shared_ptr<FixedChannelImplType> AllocateChannel(Cid cid) { in AllocateChannel()
55 virtual void FreeChannel(Cid cid) { in FreeChannel()
60 virtual bool IsChannelAllocated(Cid cid) const { in IsChannelAllocated()
64 virtual std::shared_ptr<FixedChannelImplType> FindChannel(Cid cid) { in FindChannel()
Ddynamic_channel_allocator.cc37 Cid cid = kFirstDynamicChannel; in AllocateChannel() local
73 Cid cid = kFirstDynamicChannel; in ReserveChannel() local
85 void DynamicChannelAllocator::FreeChannel(Cid cid) { in FreeChannel()
105 std::shared_ptr<DynamicChannelImpl> DynamicChannelAllocator::FindChannelByCid(Cid cid) { in FindChannelByCid()
Dfixed_channel_allocator_test.cc66 Cid cid = kFirstFixedChannel; in TEST_F() local
71 Cid cid = kFirstFixedChannel; in TEST_F() local
Dsender_test.cc53 void OnPacketsReady(Cid cid, int number_packets) override { in OnPacketsReady()
57 void SetOnPacketsReady(std::function<void(Cid cid, int number_packets)> callback) { in SetOnPacketsReady()
105 scheduler_.SetOnPacketsReady([&promise](Cid cid, int number_packets) { promise.set_value(); }); in TEST_F()
Dscheduler.h55 virtual void OnPacketsReady(Cid cid, int number_packets) {} in OnPacketsReady()
Dreceiver.cc49 Cid cid = static_cast<Cid>(basic_frame_view.GetChannelId()); in link_queue_dequeue_callback() local
/system/bt/stack/test/common/
Dmock_l2cap_layer.cc44 bool L2CA_DisconnectReq(uint16_t cid) { in L2CA_DisconnectReq()
48 bool L2CA_DisconnectRsp(uint16_t cid) { in L2CA_DisconnectRsp()
52 bool L2CA_ConfigReq(uint16_t cid, tL2CAP_CFG_INFO* p_cfg) { in L2CA_ConfigReq()
56 bool L2CA_ConfigRsp(uint16_t cid, tL2CAP_CFG_INFO* p_cfg) { in L2CA_ConfigRsp()
60 uint8_t L2CA_DataWrite(uint16_t cid, BT_HDR* p_data) { in L2CA_DataWrite()
/system/bt/main/shim/
Dl2cap.cc244 uint16_t cid = created.get(); in CreateConnection() local
260 std::string string_address, uint16_t psm, uint16_t cid, uint16_t remote_cid, in OnLocalInitiatedConnectionCreated()
284 std::string string_address, uint16_t psm, uint16_t cid, in OnRemoteInitiatedConnectionCreated()
302 bool bluetooth::shim::legacy::L2cap::Write(uint16_t cid, BT_HDR* bt_hdr) { in Write()
314 void bluetooth::shim::legacy::L2cap::SetDownstreamCallbacks(uint16_t cid) { in SetDownstreamCallbacks()
316 cid, [this](uint16_t cid, std::vector<const uint8_t> data) { in SetDownstreamCallbacks()
329 cid, [this](uint16_t cid, int error_code) { in SetDownstreamCallbacks()
349 const RawAddress& raw_address, uint8_t signal_id, uint16_t cid, in ConnectResponse()
360 uint16_t cid, const tL2CAP_CFG_INFO* config_info) { in ConfigRequest()
383 uint16_t cid, const tL2CAP_CFG_INFO* config_info) { in ConfigResponse()
[all …]
Dl2c_api.cc128 bool bluetooth::shim::L2CA_ConfigReq(uint16_t cid, tL2CAP_CFG_INFO* cfg_info) { in L2CA_ConfigReq()
132 bool bluetooth::shim::L2CA_ConfigRsp(uint16_t cid, tL2CAP_CFG_INFO* cfg_info) { in L2CA_ConfigRsp()
136 bool bluetooth::shim::L2CA_DisconnectReq(uint16_t cid) { in L2CA_DisconnectReq()
140 bool bluetooth::shim::L2CA_DisconnectRsp(uint16_t cid) { in L2CA_DisconnectRsp()
186 uint16_t cid, const tL2CAP_APPL_INFO* callbacks) { in L2CA_SetConnectionCallbacks()
191 uint8_t bluetooth::shim::L2CA_DataWrite(uint16_t cid, BT_HDR* p_data) { in L2CA_DataWrite()
341 bool bluetooth::shim::L2CA_RegisterFixedChannel(uint16_t cid, in L2CA_RegisterFixedChannel()
365 bool bluetooth::shim::L2CA_ConnectFixedChnl(uint16_t cid, in L2CA_ConnectFixedChnl()
383 bool bluetooth::shim::L2CA_ConnectFixedChnl(uint16_t cid, in L2CA_ConnectFixedChnl()
398 uint16_t bluetooth::shim::L2CA_SendFixedChnlData(uint16_t cid, in L2CA_SendFixedChnlData()
[all …]
/system/bt/stack/hid/
Dhidd_conn.cc178 static void hidd_l2cif_connect_ind(const RawAddress& bd_addr, uint16_t cid, in hidd_l2cif_connect_ind()
274 static void hidd_l2cif_connect_cfm(uint16_t cid, uint16_t result) { in hidd_l2cif_connect_cfm()
335 static void hidd_l2cif_config_ind(uint16_t cid, tL2CAP_CFG_INFO* p_cfg) { in hidd_l2cif_config_ind()
401 static void hidd_l2cif_config_cfm(uint16_t cid, tL2CAP_CFG_INFO* p_cfg) { in hidd_l2cif_config_cfm()
484 static void hidd_l2cif_disconnect_ind(uint16_t cid, bool ack_needed) { in hidd_l2cif_disconnect_ind()
532 static void hidd_l2cif_disconnect_cfm(uint16_t cid, uint16_t result) { in hidd_l2cif_disconnect_cfm()
580 static void hidd_l2cif_cong_ind(uint16_t cid, bool congested) { in hidd_l2cif_cong_ind()
609 static void hidd_l2cif_data_ind(uint16_t cid, BT_HDR* p_msg) { in hidd_l2cif_data_ind()
900 uint16_t cid; in hidd_conn_send_data() local
/system/bt/gd/l2cap/classic/internal/
Dfixed_channel_service_manager_impl.cc29 void FixedChannelServiceManagerImpl::Register(Cid cid, in Register()
52 void FixedChannelServiceManagerImpl::Unregister(Cid cid, FixedChannelService::OnUnregisteredCallbac… in Unregister()
66 FixedChannelServiceImpl* FixedChannelServiceManagerImpl::GetService(Cid cid) { in GetService()
89 Cid cid = elem.first; in GetSupportedFixedChannelMask() local
Dfixed_channel_impl_mock.h31 …MockFixedChannelImpl(Cid cid, Link* link, os::Handler* l2cap_handler) : FixedChannelImpl(cid, link… in MockFixedChannelImpl()
Dfixed_channel_service_manager_test.cc78 Cid cid = kSmpBrCid; in TEST_F() local
93 Cid cid = 0x1000; in TEST_F() local
Ddynamic_channel_service_manager_test.cc84 Cid cid = kSmpBrCid; in TEST_F() local
99 Cid cid = 0x1000; in TEST_F() local
Dlink.cc116 std::shared_ptr<FixedChannelImpl> Link::AllocateFixedChannel(Cid cid) { in AllocateFixedChannel()
122 bool Link::IsFixedChannelAllocated(Cid cid) { in IsFixedChannelAllocated()
227 classic::DynamicChannelConfigurationOption Link::GetConfigurationForInitialConfiguration(Cid cid) { in GetConfigurationForInitialConfiguration()
233 void Link::FreeDynamicChannel(Cid cid) { in FreeDynamicChannel()
257 void Link::NotifyChannelCreation(Cid cid, std::unique_ptr<DynamicChannel> user_channel) { in NotifyChannelCreation()
265 void Link::NotifyChannelFail(Cid cid, ConnectionResult result) { in NotifyChannelFail()
/system/bt/gd/shim/
Dl2cap.cc81 ConnectionInterfaceDescriptor cid, in ConnectionInterface()
210 ConnectionInterfaceDescriptor cid, in ConnectionOpened()
223 …eteCallback on_complete, hci::Address address, l2cap::Psm psm, ConnectionInterfaceDescriptor cid) { in ConnectionFailed()
270 … ConnectionInterfaceManager::FreeConnectionInterfaceDescriptor(ConnectionInterfaceDescriptor cid) { in FreeConnectionInterfaceDescriptor()
276 ConnectionInterfaceDescriptor cid, std::unique_ptr<ConnectionInterface> connection) { in ConnectionClosed()
282 ConnectionInterfaceDescriptor cid, std::unique_ptr<l2cap::classic::DynamicChannel> channel) { in AddConnection()
287 cid, std::move(channel), handler_, [this](ConnectionInterfaceDescriptor cid) { in AddConnection()
295 void ConnectionInterfaceManager::RemoveConnection(ConnectionInterfaceDescriptor cid) { in RemoveConnection()
308 ConnectionInterfaceDescriptor cid, ReadDataReadyCallback on_data_ready) { in SetReadDataReadyCallback()
314 ConnectionInterfaceDescriptor cid, ConnectionClosedCallback on_closed) { in SetConnectionClosedCallback()
[all …]
Dl2cap_test.cc65 void SendDisconnectionRequest(l2cap::Cid cid, l2cap::Cid remote_cid) { in SendDisconnectionRequest()
192 …void OnConnectionComplete(std::string string_address, uint16_t psm, uint16_t cid, bool connected) { in OnConnectionComplete()
282 uint16_t cid = CreateConnection(kPsm, device_address); in TEST_F() local
294 uint16_t cid = CreateConnection(kPsm, device_address); in TEST_F() local
300 uint16_t cid = CreateConnection(kPsm, device_address); in TEST_F() local
309 uint16_t cid = CreateConnection(kPsm, device_address); in TEST_F() local
318 uint16_t cid = CreateConnection(kPsm2, device_address2); in TEST_F() local
328 uint16_t cid = CreateConnection(kPsm, device_address); in TEST_F() local
356 uint16_t cid = CreateConnection(kPsm, device_address); in TEST_F() local
/system/bt/gd/l2cap/le/internal/
Dfixed_channel_service_manager_impl.cc29 void FixedChannelServiceManagerImpl::Register(Cid cid, in Register()
52 void FixedChannelServiceManagerImpl::Unregister(Cid cid, FixedChannelService::OnUnregisteredCallbac… in Unregister()
66 FixedChannelServiceImpl* FixedChannelServiceManagerImpl::GetService(Cid cid) { in GetService()
Dlink.cc137 std::shared_ptr<FixedChannelImpl> Link::AllocateFixedChannel(Cid cid, SecurityPolicy security_polic… in AllocateFixedChannel()
143 bool Link::IsFixedChannelAllocated(Cid cid) { in IsFixedChannelAllocated()
208 void Link::FreeDynamicChannel(Cid cid) { in FreeDynamicChannel()
230 void Link::NotifyChannelCreation(Cid cid, std::unique_ptr<DynamicChannel> user_channel) { in NotifyChannelCreation()
239 void Link::NotifyChannelFail(Cid cid, DynamicChannelManager::ConnectionResult result) { in NotifyChannelFail()
Dfixed_channel_service_manager_test.cc78 Cid cid = kSmpBrCid; in TEST_F() local
93 Cid cid = 0x1000; in TEST_F() local
Ddynamic_channel_service_manager_test.cc82 Cid cid = kSmpBrCid; in TEST_F() local
98 Cid cid = 0x1000; in TEST_F() local
/system/bt/stack/l2cap/
Dl2c_api.cc844 bool L2CA_ConfigReq(uint16_t cid, tL2CAP_CFG_INFO* p_cfg) { in L2CA_ConfigReq()
897 bool L2CA_ConfigRsp(uint16_t cid, tL2CAP_CFG_INFO* p_cfg) { in L2CA_ConfigRsp()
944 bool L2CA_DisconnectReq(uint16_t cid) { in L2CA_DisconnectReq()
975 bool L2CA_DisconnectRsp(uint16_t cid) { in L2CA_DisconnectRsp()
1028 bool L2CA_SetIdleTimeout(uint16_t cid, uint16_t timeout, bool is_global) { in L2CA_SetIdleTimeout()
1197 bool L2CA_SetTxPriority(uint16_t cid, tL2CAP_CHNL_PRIORITY priority) { in L2CA_SetTxPriority()
1756 uint8_t L2CA_DataWrite(uint16_t cid, BT_HDR* p_data) { in L2CA_DataWrite()
1775 bool L2CA_SetChnlFlushability(uint16_t cid, bool is_flushable) { in L2CA_SetChnlFlushability()
/system/bt/gd/l2cap/le/
Dfixed_channel_service.h49 …FixedChannelService(Cid cid, internal::FixedChannelServiceManagerImpl* manager, os::Handler* handl… in FixedChannelService()
/system/bt/gd/l2cap/classic/
Dfixed_channel_service.h49 …FixedChannelService(Cid cid, internal::FixedChannelServiceManagerImpl* manager, os::Handler* handl… in FixedChannelService()

123