Home
last modified time | relevance | path

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

1234

/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()
43 DataController* DataPipelineManager::GetDataController(Cid cid) { in GetDataController()
50 void DataPipelineManager::OnPacketSent(Cid cid) { in OnPacketSent()
55 void DataPipelineManager::UpdateClassicConfiguration(Cid cid, classic::internal::ChannelConfigurati… in UpdateClassicConfiguration()
60 void DataPipelineManager::SetChannelTxPriority(Cid cid, bool high_priority) { in SetChannelTxPriority()
Dfixed_channel_allocator.h52 virtual std::shared_ptr<FixedChannelImplType> AllocateChannel(Cid cid) { in AllocateChannel()
62 virtual void FreeChannel(Cid cid) { in FreeChannel()
67 virtual bool IsChannelAllocated(Cid cid) const { in IsChannelAllocated()
71 virtual std::shared_ptr<FixedChannelImplType> FindChannel(Cid cid) { in FindChannel()
Dscheduler.h55 virtual void OnPacketsReady(Cid cid, int number_packets) {} in OnPacketsReady()
61 virtual void SetChannelTxPriority(Cid cid, bool high_priority) {} in SetChannelTxPriority()
66 virtual void RemoveChannel(Cid cid) {} in RemoveChannel()
Ddynamic_channel_allocator.cc35 Cid cid = kFirstDynamicChannel; in AllocateChannel() local
69 Cid cid = kFirstDynamicChannel; in ReserveChannel() local
81 void DynamicChannelAllocator::FreeChannel(Cid cid) { in FreeChannel()
101 std::shared_ptr<DynamicChannelImpl> DynamicChannelAllocator::FindChannelByCid(Cid cid) { in FindChannelByCid()
Dscheduler_fifo.cc42 void Fifo::OnPacketsReady(Cid cid, int number_packets) { in OnPacketsReady()
52 void Fifo::SetChannelTxPriority(Cid cid, bool high_priority) { in SetChannelTxPriority()
60 void Fifo::RemoveChannel(Cid cid) { in RemoveChannel()
Dfixed_channel_allocator_test.cc66 Cid cid = kFirstFixedChannel; in TEST_F() local
71 Cid cid = kFirstFixedChannel; in TEST_F() local
Dsender_test.cc54 void OnPacketsReady(Cid cid, int number_packets) override { in OnPacketsReady()
58 void SetOnPacketsReady(std::function<void(Cid cid, int number_packets)> callback) { in SetOnPacketsReady()
107 scheduler_.SetOnPacketsReady([&promise](Cid cid, int number_packets) { promise.set_value(); }); in TEST_F()
/system/bt/stack/hid/
Dhidd_conn.cc91 static void hidd_l2cif_connect_ind(const RawAddress& bd_addr, uint16_t cid, in hidd_l2cif_connect_ind()
186 static void hidd_l2cif_connect_cfm(uint16_t cid, uint16_t result) { in hidd_l2cif_connect_cfm()
230 static void hidd_l2cif_config_ind(uint16_t cid, tL2CAP_CFG_INFO* p_cfg) { in hidd_l2cif_config_ind()
255 static void hidd_l2cif_config_cfm(uint16_t cid, uint16_t initiator, in hidd_l2cif_config_cfm()
302 static void hidd_l2cif_disconnect_ind(uint16_t cid, bool ack_needed) { in hidd_l2cif_disconnect_ind()
338 static void hidd_l2cif_disconnect(uint16_t cid) { in hidd_l2cif_disconnect()
387 static void hidd_l2cif_cong_ind(uint16_t cid, bool congested) { in hidd_l2cif_cong_ind()
415 static void hidd_l2cif_data_ind(uint16_t cid, BT_HDR* p_msg) { in hidd_l2cif_data_ind()
698 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
/system/bt/stack/test/common/
Dmock_eatt.cc51 void EattExtension::Reconfigure(const RawAddress& bd_addr, uint16_t cid, in Reconfigure()
60 uint16_t cid) { in FindEattChannelByCid()
99 uint16_t cid) { in StartIndicationConfirmationTimer()
104 uint16_t cid) { in StopIndicationConfirmationTimer()
110 uint16_t cid) { in StartAppIndicationTimer()
115 uint16_t cid) { in StopAppIndicationTimer()
Dmock_main_shim_l2c_api.cc33 bool bluetooth::shim::L2CA_RegisterFixedChannel(uint16_t cid, in L2CA_RegisterFixedChannel()
45 bool bluetooth::shim::L2CA_ConnectFixedChnl(uint16_t cid, in L2CA_ConnectFixedChnl()
51 bool bluetooth::shim::L2CA_DisconnectLECocReq(uint16_t cid) { in L2CA_DisconnectLECocReq()
55 bool bluetooth::shim::L2CA_DisconnectReq(uint16_t cid) { in L2CA_DisconnectReq()
65 bool bluetooth::shim::L2CA_GetPeerLECocConfig(uint16_t cid, in L2CA_GetPeerLECocConfig()
104 bool bluetooth::shim::L2CA_RemoveFixedChnl(uint16_t cid, in L2CA_RemoveFixedChnl()
114 bool bluetooth::shim::L2CA_SetChnlFlushability(uint16_t cid, in L2CA_SetChnlFlushability()
130 bool bluetooth::shim::L2CA_SetTxPriority(uint16_t cid, in L2CA_SetTxPriority()
162 uint16_t bluetooth::shim::L2CA_SendFixedChnlData(uint16_t cid, in L2CA_SendFixedChnlData()
177 uint8_t bluetooth::shim::L2CA_DataWrite(uint16_t cid, BT_HDR* p_data) { in L2CA_DataWrite()
[all …]
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/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()
Dfixed_channel_service_manager_test.cc78 Cid cid = kSmpBrCid; in TEST_F() local
93 Cid cid = 0x1000; in TEST_F() local
/system/bt/stack/gatt/
Dgatt_sr.cc51 uint32_t gatt_sr_enqueue_cmd(tGATT_TCB& tcb, uint16_t cid, uint8_t op_code, in gatt_sr_enqueue_cmd()
95 bool gatt_sr_cmd_empty(tGATT_TCB& tcb, uint16_t cid) { in gatt_sr_cmd_empty()
113 void gatt_dequeue_sr_cmd(tGATT_TCB& tcb, uint16_t cid) { in gatt_dequeue_sr_cmd()
336 void gatt_process_exec_write_req(tGATT_TCB& tcb, uint16_t cid, uint8_t op_code, in gatt_process_exec_write_req()
402 void gatt_process_read_multi_req(tGATT_TCB& tcb, uint16_t cid, uint8_t op_code, in gatt_process_read_multi_req()
506 BT_HDR* p_msg, tGATT_TCB& tcb, uint16_t cid, uint8_t op_code, in gatt_build_primary_service_rsp()
672 void gatts_process_primary_service_req(tGATT_TCB& tcb, uint16_t cid, in gatts_process_primary_service_req()
735 static void gatts_process_find_info(tGATT_TCB& tcb, uint16_t cid, in gatts_process_find_info()
789 static void gatts_process_mtu_req(tGATT_TCB& tcb, uint16_t cid, uint16_t len, in gatts_process_mtu_req()
852 void gatts_process_read_by_type_req(tGATT_TCB& tcb, uint16_t cid, in gatts_process_read_by_type_req()
[all …]
Dgatt_utils.cc570 void gatt_start_conf_timer(tGATT_TCB* p_tcb, uint16_t cid) { in gatt_start_conf_timer()
588 void gatt_stop_conf_timer(tGATT_TCB& tcb, uint16_t cid) { in gatt_stop_conf_timer()
605 void gatt_start_ind_ack_timer(tGATT_TCB& tcb, uint16_t cid) { in gatt_start_ind_ack_timer()
623 void gatt_stop_ind_ack_timer(tGATT_TCB* p_tcb, uint16_t cid) { in gatt_stop_ind_ack_timer()
803 tGATT_STATUS gatt_send_error_rsp(tGATT_TCB& tcb, uint16_t cid, uint8_t err_code, in gatt_send_error_rsp()
979 bool gatt_tcb_is_cid_busy(tGATT_TCB& tcb, uint16_t cid) { in gatt_tcb_is_cid_busy()
1067 bool gatt_tcb_find_indicate_handle(tGATT_TCB& tcb, uint16_t cid, in gatt_tcb_find_indicate_handle()
1118 uint16_t gatt_tcb_get_payload_size_tx(tGATT_TCB& tcb, uint16_t cid) { in gatt_tcb_get_payload_size_tx()
1137 uint16_t gatt_tcb_get_payload_size_rx(tGATT_TCB& tcb, uint16_t cid) { in gatt_tcb_get_payload_size_rx()
1272 void gatt_sr_reset_cback_cnt(tGATT_TCB& tcb, uint16_t cid) { in gatt_sr_reset_cback_cnt()
[all …]
/system/bt/stack/eatt/
Deatt.cc132 void EattExtension::Reconfigure(const RawAddress& bd_addr, uint16_t cid, in Reconfigure()
141 uint16_t cid) { in FindEattChannelByCid()
180 uint16_t cid) { in StartIndicationConfirmationTimer()
185 uint16_t cid) { in StopIndicationConfirmationTimer()
191 uint16_t cid) { in StartAppIndicationTimer()
196 uint16_t cid) { in StopAppIndicationTimer()
/system/bt/stack/test/eatt/
Deatt_test.cc51 void gatt_data_process(tGATT_TCB& tcb, uint16_t cid, BT_HDR* p_buf) { return; } in gatt_data_process()
82 for (uint16_t cid : test_local_cids) { in ConnectDeviceEattSupported() local
108 for (uint16_t cid : connected_cids_) in DisconnectEattByPeer() local
276 uint16_t cid = connected_cids_[0]; in TEST_F() local
301 for (uint16_t cid : cids) { in TEST_F() local
329 for (uint16_t cid : cids) { in TEST_F() local
403 for (uint16_t cid : connected_cids_) { in TEST_F() local
423 for (uint16_t cid : connected_cids_) { in TEST_F() local
/system/bt/test/mock/
Dmock_main_shim_l2cap_api.cc131 bool bluetooth::shim::L2CA_DisconnectReq(uint16_t cid) { in L2CA_DisconnectReq()
135 uint8_t bluetooth::shim::L2CA_DataWrite(uint16_t cid, BT_HDR* p_data) { in L2CA_DataWrite()
185 bool bluetooth::shim::L2CA_RegisterFixedChannel(uint16_t cid, in L2CA_RegisterFixedChannel()
191 bool bluetooth::shim::L2CA_ConnectFixedChnl(uint16_t cid, in L2CA_ConnectFixedChnl()
196 uint16_t bluetooth::shim::L2CA_SendFixedChnlData(uint16_t cid, in L2CA_SendFixedChnlData()
203 bool bluetooth::shim::L2CA_RemoveFixedChnl(uint16_t cid, in L2CA_RemoveFixedChnl()
230 bool bluetooth::shim::L2CA_SetTxPriority(uint16_t cid, in L2CA_SetTxPriority()
241 bool bluetooth::shim::L2CA_SetChnlFlushability(uint16_t cid, in L2CA_SetChnlFlushability()
324 bool bluetooth::shim::L2CA_GetPeerLECocConfig(uint16_t cid, in L2CA_GetPeerLECocConfig()
330 bool bluetooth::shim::L2CA_DisconnectLECocReq(uint16_t cid) { in L2CA_DisconnectLECocReq()
[all …]
/system/bt/stack/l2cap/
Dl2c_api.cc657 for (uint16_t cid : accepted_lcids) { in L2CA_ConnectCreditBasedRsp() local
824 for (uint16_t cid : lcids) { in L2CA_ReconfigCreditBasedConnsReq() local
845 for (uint16_t cid : lcids) { in L2CA_ReconfigCreditBasedConnsReq() local
882 bool L2CA_DisconnectReq(uint16_t cid) { in L2CA_DisconnectReq()
903 bool L2CA_DisconnectLECocReq(uint16_t cid) { in L2CA_DisconnectLECocReq()
1021 bool L2CA_SetTxPriority(uint16_t cid, tL2CAP_CHNL_PRIORITY priority) { in L2CA_SetTxPriority()
1479 uint8_t L2CA_DataWrite(uint16_t cid, BT_HDR* p_data) { in L2CA_DataWrite()
1488 uint8_t L2CA_LECocDataWrite(uint16_t cid, BT_HDR* p_data) { in L2CA_LECocDataWrite()
1506 bool L2CA_SetChnlFlushability(uint16_t cid, bool is_flushable) { in L2CA_SetChnlFlushability()
/system/bt/stack/test/gatt/
Dmock_gatt_utils_ref.cc46 tGATT_STATUS attp_send_cl_confirmation_msg(tGATT_TCB& tcb, uint16_t cid) { in attp_send_cl_confirmation_msg()
53 tGATT_STATUS attp_send_sr_msg(tGATT_TCB& tcb, uint16_t cid, BT_HDR* p_msg) { in attp_send_sr_msg()
72 uint32_t gatt_sr_enqueue_cmd(tGATT_TCB& tcb, uint16_t cid, uint8_t op_code, in gatt_sr_enqueue_cmd()
74 void gatt_dequeue_sr_cmd(tGATT_TCB& tcb, uint16_t cid) {} in gatt_dequeue_sr_cmd()
/system/bt/gd/l2cap/le/
Dfixed_channel_service.h49 …FixedChannelService(Cid cid, internal::FixedChannelServiceManagerImpl* manager, os::Handler* handl… in FixedChannelService()

1234