Home
last modified time | relevance | path

Searched refs:mdep_handle (Results 1 – 7 of 7) sorted by relevance

/system/bt/tools/mcap_tool/
Dmcap_test_mcl.cc52 McapMdl* McapMcl::AllocateMdl(tMCA_DEP mdep_handle, uint16_t mdl_id, in AllocateMdl() argument
66 _mdl_list.push_back(McapMdl(_mcap_test_interface, _mcl_handle, mdep_handle, in AllocateMdl()
71 bool McapMcl::CreateMdl(tMCA_DEP mdep_handle, uint16_t data_psm, in CreateMdl() argument
81 mcap_mdl = AllocateMdl(mdep_handle, mdl_id, peer_dep_id, cfg); in CreateMdl()
101 bool McapMcl::CreateMdlResponse(tMCA_DEP mdep_handle, uint16_t mdl_id, in CreateMdlResponse() argument
110 mcap_mdl = AllocateMdl(mdep_handle, mdl_id, my_dep_id, cfg); in CreateMdlResponse()
119 mcap_mdl->UpdateContext(mdep_handle, my_dep_id, cfg); in CreateMdlResponse()
Dmcap_test_mcl.h60 McapMdl* AllocateMdl(tMCA_DEP mdep_handle, uint16_t mdl_id, uint8_t dep_id,
73 bool CreateMdl(tMCA_DEP mdep_handle, uint16_t data_psm, uint16_t mdl_id,
89 bool CreateMdlResponse(tMCA_DEP mdep_handle, uint16_t mdl_id,
Dmcap_test_mdl.cc48 tMCA_CL mcl_handle, tMCA_DEP mdep_handle, uint16_t mdl_id, in McapMdl() argument
52 _mdep_handle = mdep_handle; in McapMdl()
58 bool McapMdl::UpdateContext(tMCA_DEP mdep_handle, uint8_t dep_id, uint8_t cfg) { in UpdateContext() argument
62 _mdep_handle = mdep_handle; in UpdateContext()
Dmcap_test_mdl.h36 tMCA_DEP mdep_handle, uint16_t mdl_id, uint8_t dep_id, uint8_t cfg);
45 bool UpdateContext(tMCA_DEP mdep_handle, uint8_t dep_id, uint8_t cfg);
Dmcap_tool.cc648 uint8_t mdep_handle = get_int(&p, 0); in do_mcap_delete_mdep() local
650 sMcapTestApp->GetHandle(), mdep_handle); in do_mcap_delete_mdep()
651 if (!mdep_handle) { in do_mcap_delete_mdep()
655 McapMdep* mcap_mdep = sMcapTestApp->FindMdepByHandle(mdep_handle); in do_mcap_delete_mdep()
657 LOG(ERROR) << "No MDEP for handle " << (int)mdep_handle; in do_mcap_delete_mdep()
705 uint16_t mdep_handle = get_int(&p, 0); // arg2 in do_mcap_create_mdl() local
714 __func__, buf, mdep_handle, data_psm, mdl_id, peer_dep_id, cfg, in do_mcap_create_mdl()
716 if (!data_psm || !peer_dep_id || !valid_bd_addr || !mdep_handle) { 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()
Dmcap_test_app.cc185 McapMdep* McapTestApp::FindMdepByHandle(tMCA_DEP mdep_handle) { in FindMdepByHandle() argument
187 if (mdep.GetHandle() == mdep_handle) { in FindMdepByHandle()
303 tMCA_DEP mdep_handle = 0; in ControlCallback() local
305 mdep_handle = _mdep_list[0].GetHandle(); in ControlCallback()
310 mcl, mdep_handle, p_data->reconnect_ind.mdl_id, MCA_RSP_BAD_MDL, in ControlCallback()
Dmcap_test_app.h88 McapMdep* FindMdepByHandle(tMCA_DEP mdep_handle);