Home
last modified time | relevance | path

Searched refs:p_cb_info (Results 1 – 11 of 11) sorted by relevance

/system/bt/stack/test/common/
Dmock_l2cap_layer.cc27 uint16_t L2CA_Register(uint16_t psm, tL2CAP_APPL_INFO* p_cb_info, in L2CA_Register() argument
30 VLOG(1) << __func__ << ": psm=" << psm << ", p_cb_info=" << p_cb_info in L2CA_Register()
32 return l2cap_interface->Register(psm, p_cb_info, enable_snoop, p_ertm_info); in L2CA_Register()
Dmock_l2cap_layer.h29 virtual uint16_t Register(uint16_t psm, tL2CAP_APPL_INFO* p_cb_info,
47 uint16_t(uint16_t psm, tL2CAP_APPL_INFO* p_cb_info,
/system/bt/stack/l2cap/
Dl2c_api.cc63 uint16_t L2CA_Register(uint16_t psm, tL2CAP_APPL_INFO* p_cb_info, in L2CA_Register() argument
67 return bluetooth::shim::L2CA_Register(psm, p_cb_info, enable_snoop, in L2CA_Register()
81 if ((!p_cb_info->pL2CA_ConfigCfm_Cb) || (!p_cb_info->pL2CA_ConfigInd_Cb) || in L2CA_Register()
82 (!p_cb_info->pL2CA_DataInd_Cb) || (!p_cb_info->pL2CA_DisconnectInd_Cb)) { in L2CA_Register()
95 if ((psm >= 0x1001) && (p_cb_info->pL2CA_ConnectInd_Cb == NULL)) { in L2CA_Register()
117 p_rcb->api = *p_cb_info; in L2CA_Register()
434 uint16_t L2CA_RegisterLECoc(uint16_t psm, tL2CAP_APPL_INFO* p_cb_info) { in L2CA_RegisterLECoc() argument
436 return bluetooth::shim::L2CA_RegisterLECoc(psm, p_cb_info); in L2CA_RegisterLECoc()
446 if ((!p_cb_info->pL2CA_DataInd_Cb) || (!p_cb_info->pL2CA_DisconnectInd_Cb)) { in L2CA_RegisterLECoc()
463 (p_cb_info->pL2CA_ConnectInd_Cb == NULL)) { in L2CA_RegisterLECoc()
[all …]
/system/bt/main/shim/
Dl2c_api.h42 uint16_t L2CA_Register(uint16_t psm, tL2CAP_APPL_INFO* p_cb_info,
152 uint16_t L2CA_RegisterLECoc(uint16_t psm, tL2CAP_APPL_INFO* p_cb_info);
Dbtm_api.cc1038 bool bluetooth::shim::BTM_SecRegister(const tBTM_APPL_INFO* p_cb_info) { in BTM_SecRegister() argument
1039 CHECK(p_cb_info != nullptr); in BTM_SecRegister()
1042 if (p_cb_info->p_authorize_callback == nullptr) { in BTM_SecRegister()
1046 if (p_cb_info->p_pin_callback == nullptr) { in BTM_SecRegister()
1050 if (p_cb_info->p_link_key_callback == nullptr) { in BTM_SecRegister()
1054 if (p_cb_info->p_auth_complete_callback == nullptr) { in BTM_SecRegister()
1058 if (p_cb_info->p_bond_cancel_cmpl_callback == nullptr) { in BTM_SecRegister()
1062 if (p_cb_info->p_le_callback == nullptr) { in BTM_SecRegister()
1066 if (p_cb_info->p_le_key_callback == nullptr) { in BTM_SecRegister()
Dbtm_api.h1511 bool BTM_SecRegister(const tBTM_APPL_INFO* p_cb_info);
/system/bt/stack/include/
Dl2c_api.h325 extern uint16_t L2CA_Register(uint16_t psm, tL2CAP_APPL_INFO* p_cb_info,
435 extern uint16_t L2CA_RegisterLECoc(uint16_t psm, tL2CAP_APPL_INFO* p_cb_info);
Dgatt_api.h682 extern bool GATTS_NVRegister(tGATT_APPL_INFO* p_cb_info);
931 tGATT_CBACK* p_cb_info);
Dbtm_api.h953 extern bool BTM_SecRegister(const tBTM_APPL_INFO* p_cb_info);
/system/bt/stack/gatt/
Dgatt_api.cc89 bool GATTS_NVRegister(tGATT_APPL_INFO* p_cb_info) { in GATTS_NVRegister() argument
91 if (p_cb_info) { in GATTS_NVRegister()
92 gatt_cb.cb_info = *p_cb_info; in GATTS_NVRegister()
942 tGATT_IF GATT_Register(const Uuid& app_uuid128, tGATT_CBACK* p_cb_info) { in GATT_Register() argument
964 p_reg->app_cb = *p_cb_info; in GATT_Register()
/system/bt/stack/btm/
Dbtm_sec.cc229 bool BTM_SecRegister(const tBTM_APPL_INFO* p_cb_info) { in BTM_SecRegister() argument
231 return bluetooth::shim::BTM_SecRegister(p_cb_info); in BTM_SecRegister()
237 p_cb_info->p_le_callback); in BTM_SecRegister()
238 if (p_cb_info->p_le_callback) { in BTM_SecRegister()
250 btm_cb.api = *p_cb_info; in BTM_SecRegister()