Home
last modified time | relevance | path

Searched refs:p_bd_addr (Results 1 – 25 of 26) sorted by relevance

12

/system/bt/test/mock/
Dmock_stack_l2cap_api.h138 std::function<uint16_t(uint16_t psm, const RawAddress& p_bd_addr,
140 body{[](uint16_t psm, const RawAddress& p_bd_addr, uint16_t sec_level) {
143 uint16_t operator()(uint16_t psm, const RawAddress& p_bd_addr, in operator()
145 return body(psm, p_bd_addr, sec_level); in operator()
153 std::function<uint16_t(uint16_t psm, const RawAddress& p_bd_addr)> body{
154 [](uint16_t psm, const RawAddress& p_bd_addr) { return 0; }};
155 uint16_t operator()(uint16_t psm, const RawAddress& p_bd_addr) { in operator()
156 return body(psm, p_bd_addr); in operator()
186 std::function<uint16_t(uint16_t psm, const RawAddress& p_bd_addr,
188 body{[](uint16_t psm, const RawAddress& p_bd_addr,
[all …]
Dmock_stack_l2cap_api.cc136 uint16_t L2CA_ConnectReq2(uint16_t psm, const RawAddress& p_bd_addr, in L2CA_ConnectReq2() argument
139 return test::mock::stack_l2cap_api::L2CA_ConnectReq2(psm, p_bd_addr, in L2CA_ConnectReq2()
142 uint16_t L2CA_ConnectReq(uint16_t psm, const RawAddress& p_bd_addr) { in L2CA_ConnectReq() argument
144 return test::mock::stack_l2cap_api::L2CA_ConnectReq(psm, p_bd_addr); in L2CA_ConnectReq()
156 uint16_t L2CA_ConnectLECocReq(uint16_t psm, const RawAddress& p_bd_addr, in L2CA_ConnectLECocReq() argument
159 return test::mock::stack_l2cap_api::L2CA_ConnectLECocReq(psm, p_bd_addr, in L2CA_ConnectLECocReq()
166 bool L2CA_ConnectCreditBasedRsp(const RawAddress& p_bd_addr, uint8_t id, in L2CA_ConnectCreditBasedRsp() argument
171 p_bd_addr, id, accepted_lcids, result, p_cfg); in L2CA_ConnectCreditBasedRsp()
174 const RawAddress& p_bd_addr, in L2CA_ConnectCreditBasedReq() argument
177 return test::mock::stack_l2cap_api::L2CA_ConnectCreditBasedReq(psm, p_bd_addr, in L2CA_ConnectCreditBasedReq()
Dmock_stack_sdp.cc39 bool SDP_ServiceSearchRequest(const RawAddress& p_bd_addr, in SDP_ServiceSearchRequest() argument
45 bool SDP_ServiceSearchAttributeRequest(const RawAddress& p_bd_addr, in SDP_ServiceSearchAttributeRequest() argument
50 bool SDP_ServiceSearchAttributeRequest2(const RawAddress& p_bd_addr, in SDP_ServiceSearchAttributeRequest2() argument
Dmock_stack_sdp_main.cc42 tCONN_CB* sdp_conn_originate(const RawAddress& p_bd_addr) { in sdp_conn_originate() argument
Dmock_main_shim_l2cap_api.h183 std::function<std::vector<uint16_t>(uint16_t psm, const RawAddress& p_bd_addr,
185 body{[this](uint16_t psm, const RawAddress& p_bd_addr,
187 std::vector<uint16_t> operator()(uint16_t psm, const RawAddress& p_bd_addr, in operator()
189 return body(psm, p_bd_addr, p_cfg); in operator()
536 std::function<uint16_t(uint16_t psm, const RawAddress& p_bd_addr,
538 body{[](uint16_t psm, const RawAddress& p_bd_addr,
540 uint16_t operator()(uint16_t psm, const RawAddress& p_bd_addr, in operator()
542 return body(psm, p_bd_addr, p_cfg); in operator()
Dmock_stack_l2cap_utils.cc86 tL2C_LCB* l2cu_allocate_lcb(const RawAddress& p_bd_addr, bool is_bonding, in l2cu_allocate_lcb() argument
91 tL2C_LCB* l2cu_find_lcb_by_bd_addr(const RawAddress& p_bd_addr, in l2cu_find_lcb_by_bd_addr() argument
281 void l2cu_update_lcb_4_bonding(const RawAddress& p_bd_addr, bool is_bonding) { in l2cu_update_lcb_4_bonding() argument
Dmock_main_shim_l2cap_api.cc147 uint16_t psm, const RawAddress& p_bd_addr, tL2CAP_LE_CFG_INFO* p_cfg) { in L2CA_ConnectCreditBasedReq() argument
150 psm, p_bd_addr, p_cfg); in L2CA_ConnectCreditBasedReq()
318 const RawAddress& p_bd_addr, in L2CA_ConnectLECocReq() argument
321 return test::mock::main_shim_l2cap_api::L2CA_ConnectLECocReq(psm, p_bd_addr, in L2CA_ConnectLECocReq()
Dmock_stack_btm_sec.cc288 void btm_sec_rmt_name_request_complete(const RawAddress* p_bd_addr, in btm_sec_rmt_name_request_complete() argument
/system/bt/main/shim/
Dl2c_api.h96 uint16_t L2CA_ConnectReq(uint16_t psm, const RawAddress& p_bd_addr);
139 uint16_t L2CA_ConnectLECocReq(uint16_t psm, const RawAddress& p_bd_addr,
182 uint16_t psm, const RawAddress& p_bd_addr, tL2CAP_LE_CFG_INFO* p_cfg);
195 extern bool L2CA_ConnectCreditBasedRsp(const RawAddress& p_bd_addr, uint8_t id,
466 void L2CA_SetBondingState(const RawAddress& p_bd_addr, bool is_bonding);
Dl2c_api.cc808 const RawAddress& p_bd_addr, in L2CA_ConnectCreditBasedReq() argument
810 LOG_INFO("UNIMPLEMENTED %s addr:%s", __func__, p_bd_addr.ToString().c_str()); in L2CA_ConnectCreditBasedReq()
1521 uint16_t L2CA_ConnectLECocReq(uint16_t psm, const RawAddress& p_bd_addr, in L2CA_ConnectLECocReq() argument
1528 auto remote = Btm::GetAddressAndType(p_bd_addr); in L2CA_ConnectLECocReq()
1530 le_link_property_listener_shim_.info_.find(ToGdAddress(p_bd_addr)); in L2CA_ConnectLECocReq()
/system/bt/stack/sdp/
Dsdp_main.cc321 tCONN_CB* sdp_conn_originate(const RawAddress& p_bd_addr) { in sdp_conn_originate() argument
329 p_bd_addr.ToString().c_str()); in sdp_conn_originate()
334 p_bd_addr.ToString().c_str()); in sdp_conn_originate()
340 p_ccb->device_address = p_bd_addr; in sdp_conn_originate()
346 cid = L2CA_ConnectReq2(BT_PSM_SDP, p_bd_addr, BTM_SEC_NONE); in sdp_conn_originate()
351 p_bd_addr.ToString().c_str()); in sdp_conn_originate()
Dsdp_api.cc126 bool SDP_ServiceSearchRequest(const RawAddress& p_bd_addr, in SDP_ServiceSearchRequest() argument
132 p_ccb = sdp_conn_originate(p_bd_addr); in SDP_ServiceSearchRequest()
157 bool SDP_ServiceSearchAttributeRequest(const RawAddress& p_bd_addr, in SDP_ServiceSearchAttributeRequest() argument
163 p_ccb = sdp_conn_originate(p_bd_addr); in SDP_ServiceSearchAttributeRequest()
189 bool SDP_ServiceSearchAttributeRequest2(const RawAddress& p_bd_addr, in SDP_ServiceSearchAttributeRequest2() argument
196 p_ccb = sdp_conn_originate(p_bd_addr); in SDP_ServiceSearchAttributeRequest2()
Dsdpint.h190 extern tCONN_CB* sdp_conn_originate(const RawAddress& p_bd_addr);
/system/bt/stack/l2cap/
Dl2c_api.cc275 uint16_t L2CA_ConnectReq2(uint16_t psm, const RawAddress& p_bd_addr, in L2CA_ConnectReq2() argument
278 return L2CA_ConnectReq(psm, p_bd_addr); in L2CA_ConnectReq2()
294 uint16_t L2CA_ConnectReq(uint16_t psm, const RawAddress& p_bd_addr) { in L2CA_ConnectReq() argument
296 return bluetooth::shim::L2CA_ConnectReq(psm, p_bd_addr); in L2CA_ConnectReq()
299 VLOG(1) << __func__ << "BDA " << p_bd_addr in L2CA_ConnectReq()
316 tL2C_LCB* p_lcb = l2cu_find_lcb_by_bd_addr(p_bd_addr, BT_TRANSPORT_BR_EDR); in L2CA_ConnectReq()
319 p_lcb = l2cu_allocate_lcb(p_bd_addr, false, BT_TRANSPORT_BR_EDR); in L2CA_ConnectReq()
501 uint16_t L2CA_ConnectLECocReq(uint16_t psm, const RawAddress& p_bd_addr, in L2CA_ConnectLECocReq() argument
504 return bluetooth::shim::L2CA_ConnectLECocReq(psm, p_bd_addr, p_cfg); in L2CA_ConnectLECocReq()
509 VLOG(1) << __func__ << " BDA: " << p_bd_addr in L2CA_ConnectLECocReq()
[all …]
Dl2c_utils.cc56 tL2C_LCB* l2cu_allocate_lcb(const RawAddress& p_bd_addr, bool is_bonding, in l2cu_allocate_lcb() argument
67 p_lcb->remote_bd_addr = p_bd_addr; in l2cu_allocate_lcb()
120 void l2cu_update_lcb_4_bonding(const RawAddress& p_bd_addr, bool is_bonding) { in l2cu_update_lcb_4_bonding() argument
122 bluetooth::shim::L2CA_SetBondingState(p_bd_addr, is_bonding); in l2cu_update_lcb_4_bonding()
126 tL2C_LCB* p_lcb = l2cu_find_lcb_by_bd_addr(p_bd_addr, BT_TRANSPORT_BR_EDR); in l2cu_update_lcb_4_bonding()
129 VLOG(1) << __func__ << " BDA: " << p_bd_addr in l2cu_update_lcb_4_bonding()
238 tL2C_LCB* l2cu_find_lcb_by_bd_addr(const RawAddress& p_bd_addr, in l2cu_find_lcb_by_bd_addr() argument
245 (p_lcb->remote_bd_addr == p_bd_addr)) { in l2cu_find_lcb_by_bd_addr()
Dl2c_int.h672 extern tL2C_LCB* l2cu_allocate_lcb(const RawAddress& p_bd_addr, bool is_bonding,
675 extern tL2C_LCB* l2cu_find_lcb_by_bd_addr(const RawAddress& p_bd_addr,
/system/bt/stack/include/
Dl2c_api.h395 extern uint16_t L2CA_ConnectReq2(uint16_t psm, const RawAddress& p_bd_addr,
410 extern uint16_t L2CA_ConnectReq(uint16_t psm, const RawAddress& p_bd_addr);
454 extern uint16_t L2CA_ConnectLECocReq(uint16_t psm, const RawAddress& p_bd_addr,
498 uint16_t psm, const RawAddress& p_bd_addr, tL2CAP_LE_CFG_INFO* p_cfg);
511 extern bool L2CA_ConnectCreditBasedRsp(const RawAddress& p_bd_addr, uint8_t id,
Dl2cap_security_interface.h24 extern void l2cu_update_lcb_4_bonding(const RawAddress& p_bd_addr,
Dsdp_api.h232 bool SDP_ServiceSearchRequest(const RawAddress& p_bd_addr,
248 bool SDP_ServiceSearchAttributeRequest(const RawAddress& p_bd_addr,
266 bool SDP_ServiceSearchAttributeRequest2(const RawAddress& p_bd_addr,
/system/bt/stack/btm/
Dbtm_ble_adv_filter.cc68 tBLE_BD_ADDR* p_bd_addr,
245 static bool btm_ble_dealloc_addr_filter_counter(tBLE_BD_ADDR* p_bd_addr, in btm_ble_dealloc_addr_filter_counter() argument
252 if (BTM_BLE_PF_TYPE_ALL == filter_type && NULL == p_bd_addr) in btm_ble_dealloc_addr_filter_counter()
258 (!p_bd_addr || p_bd_addr->bda == p_addr_filter->bd_addr)) { in btm_ble_dealloc_addr_filter_counter()
262 if (p_bd_addr) break; in btm_ble_dealloc_addr_filter_counter()
416 tBLE_BD_ADDR* p_bd_addr, in btm_ble_cs_update_pf_counter() argument
430 p_bd_addr = NULL; in btm_ble_cs_update_pf_counter()
432 if ((p_addr_filter = btm_ble_find_addr_filter_counter(p_bd_addr)) == NULL && in btm_ble_cs_update_pf_counter()
434 p_addr_filter = btm_ble_alloc_addr_filter_counter(p_bd_addr->bda); in btm_ble_cs_update_pf_counter()
445 btm_ble_dealloc_addr_filter_counter(p_bd_addr, cond_type); in btm_ble_cs_update_pf_counter()
Dbtm_sec.cc2191 void btm_sec_rmt_name_request_complete(const RawAddress* p_bd_addr, in btm_sec_rmt_name_request_complete() argument
2199 if ((!p_bd_addr && in btm_sec_rmt_name_request_complete()
2201 (p_bd_addr && !BTM_IsAclConnectionUp(*p_bd_addr, BT_TRANSPORT_BR_EDR))) { in btm_sec_rmt_name_request_complete()
2207 if (p_bd_addr) in btm_sec_rmt_name_request_complete()
2208 p_dev_rec = btm_find_dev(*p_bd_addr); in btm_sec_rmt_name_request_complete()
2214 p_bd_addr = &p_dev_rec->bd_addr; in btm_sec_rmt_name_request_complete()
2255 if (btm_cb.p_rmt_name_callback[i] && p_bd_addr) in btm_sec_rmt_name_request_complete()
2256 (*btm_cb.p_rmt_name_callback[i])(*p_bd_addr, p_dev_rec->dev_class, in btm_sec_rmt_name_request_complete()
2267 if (btm_cb.p_rmt_name_callback[i] && p_bd_addr) in btm_sec_rmt_name_request_complete()
2268 (*btm_cb.p_rmt_name_callback[i])(*p_bd_addr, dev_class, (uint8_t*)""); in btm_sec_rmt_name_request_complete()
[all …]
Dbtm_sec.h503 void btm_sec_rmt_name_request_complete(const RawAddress* p_bd_addr,
/system/bt/stack/test/common/
Dmock_l2cap_layer.h75 bool(const RawAddress& p_bd_addr, uint8_t id,
84 … bool(const RawAddress& p_bd_addr, std::vector<uint16_t> &lcids, tL2CAP_LE_CFG_INFO* peer_cfg));
Dmock_main_shim_l2c_api.cc140 const RawAddress& p_bd_addr, in L2CA_ConnectLECocReq() argument
/system/bt/stack/bnep/
Dbnep_int.h167 extern tBNEP_CONN* bnep_conn_originate(uint8_t* p_bd_addr);

12