Home
last modified time | relevance | path

Searched refs:mcap_mcl (Results 1 – 2 of 2) sorted by relevance

/system/bt/tools/mcap_tool/
Dmcap_test_app.cc141 McapMcl* mcap_mcl = FindMclByPeerAddress(bd_addr); in ConnectMcl() local
142 if (!mcap_mcl) { in ConnectMcl()
145 mcap_mcl = &_mcl_list[_mcl_list.size() - 1]; in ConnectMcl()
147 if (mcap_mcl->GetHandle() != 0) { in ConnectMcl()
151 return mcap_mcl->Connect(ctrl_psm, sec_mask); in ConnectMcl()
210 McapMcl* mcap_mcl = FindMclByHandle(mcl); in ControlCallback() local
227 if (!mcap_mcl) { in ControlCallback()
231 if (!mcap_mcl->IsConnected()) { in ControlCallback()
235 mcap_mdl = mcap_mcl->FindMdlById(p_data->create_cfm.mdl_id); in ControlCallback()
251 if (!mcap_mcl) { in ControlCallback()
[all …]
Dmcap_tool.cc691 McapMcl* mcap_mcl = sMcapTestApp->FindMclByPeerAddress(bd_addr); in do_mcap_disconnect_mcl() local
692 if (!mcap_mcl) { in do_mcap_disconnect_mcl()
696 bool ret = mcap_mcl->Disconnect(); in do_mcap_disconnect_mcl()
720 McapMcl* mcap_mcl = sMcapTestApp->FindMclByPeerAddress(bd_addr); in do_mcap_create_mdl() local
721 if (!mcap_mcl) { in do_mcap_create_mdl()
725 bool ret = mcap_mcl->CreateMdl(mdep_handle, data_psm, mdl_id, peer_dep_id, in do_mcap_create_mdl()
740 McapMcl* mcap_mcl = sMcapTestApp->FindMclByPeerAddress(bd_addr); in do_mcap_data_channel_config() local
741 if (!mcap_mcl) { in do_mcap_data_channel_config()
745 bool ret = mcap_mcl->DataChannelConfig(); in do_mcap_data_channel_config()
759 McapMcl* mcap_mcl = sMcapTestApp->FindMclByPeerAddress(bd_addr); in do_mcap_abort_mdl() local
[all …]