/system/bt/stack/include/ |
D | acl_api_types.h | 43 RawAddress rem_bda; member 54 RawAddress rem_bda; member 65 RawAddress rem_bda; member 75 RawAddress rem_bda; member 85 RawAddress rem_bda; member
|
D | l2c_api.h | 739 const RawAddress& rem_bda, 755 extern bool L2CA_RemoveFixedChnl(uint16_t fixed_cid, const RawAddress& rem_bda); 774 extern bool L2CA_SetLeGattTimeout(const RawAddress& rem_bda, 777 extern bool L2CA_UpdateBleConnParams(const RawAddress& rem_bda, 794 extern bool L2CA_EnableUpdateBleConnParams(const RawAddress& rem_bda,
|
D | bnep_api.h | 84 typedef void(tBNEP_CONN_STATE_CB)(uint16_t handle, const RawAddress& rem_bda,
|
/system/bt/test/mock/ |
D | mock_main_shim_l2cap_api.h | 277 std::function<bool(uint16_t cid, const RawAddress& rem_bda)> body{ 278 [](uint16_t cid, const RawAddress& rem_bda) { return false; }}; 279 bool operator()(uint16_t cid, const RawAddress& rem_bda) { in operator() 280 return body(cid, rem_bda); in operator() 288 std::function<uint16_t(uint16_t cid, const RawAddress& rem_bda, 290 body{[](uint16_t cid, const RawAddress& rem_bda, BT_HDR* p_buf) { 293 uint16_t operator()(uint16_t cid, const RawAddress& rem_bda, BT_HDR* p_buf) { in operator() 294 return body(cid, rem_bda, p_buf); in operator() 302 std::function<bool(uint16_t cid, const RawAddress& rem_bda)> body{ 303 [](uint16_t cid, const RawAddress& rem_bda) { return false; }}; [all …]
|
D | mock_stack_l2cap_api.h | 354 std::function<bool(uint16_t fixed_cid, const RawAddress& rem_bda)> body{ 355 [](uint16_t fixed_cid, const RawAddress& rem_bda) { return false; }}; 356 bool operator()(uint16_t fixed_cid, const RawAddress& rem_bda) { in operator() 357 return body(fixed_cid, rem_bda); in operator() 365 std::function<uint16_t(uint16_t fixed_cid, const RawAddress& rem_bda, 367 body{[](uint16_t fixed_cid, const RawAddress& rem_bda, BT_HDR* p_buf) { 370 uint16_t operator()(uint16_t fixed_cid, const RawAddress& rem_bda, in operator() 372 return body(fixed_cid, rem_bda, p_buf); in operator() 380 std::function<bool(uint16_t fixed_cid, const RawAddress& rem_bda)> body{ 381 [](uint16_t fixed_cid, const RawAddress& rem_bda) { return false; }}; [all …]
|
D | mock_main_shim_l2cap_api.cc | 192 const RawAddress& rem_bda) { in L2CA_ConnectFixedChnl() argument 194 return test::mock::main_shim_l2cap_api::L2CA_ConnectFixedChnl(cid, rem_bda); in L2CA_ConnectFixedChnl() 197 const RawAddress& rem_bda, in L2CA_SendFixedChnlData() argument 200 return test::mock::main_shim_l2cap_api::L2CA_SendFixedChnlData(cid, rem_bda, in L2CA_SendFixedChnlData() 204 const RawAddress& rem_bda) { in L2CA_RemoveFixedChnl() argument 206 return test::mock::main_shim_l2cap_api::L2CA_RemoveFixedChnl(cid, rem_bda); in L2CA_RemoveFixedChnl() 208 uint16_t bluetooth::shim::L2CA_GetLeHandle(const RawAddress& rem_bda) { in L2CA_GetLeHandle() argument 210 return test::mock::main_shim_l2cap_api::L2CA_GetLeHandle(rem_bda); in L2CA_GetLeHandle() 213 const RawAddress& rem_bda, uint16_t min_int, uint16_t max_int, in L2CA_LeConnectionUpdate() argument 218 rem_bda, min_int, max_int, latency, timeout, min_ce_len, max_ce_len); in L2CA_LeConnectionUpdate() [all …]
|
D | mock_stack_l2cap_api.cc | 229 bool L2CA_ConnectFixedChnl(uint16_t fixed_cid, const RawAddress& rem_bda) { in L2CA_ConnectFixedChnl() argument 231 return test::mock::stack_l2cap_api::L2CA_ConnectFixedChnl(fixed_cid, rem_bda); in L2CA_ConnectFixedChnl() 233 uint16_t L2CA_SendFixedChnlData(uint16_t fixed_cid, const RawAddress& rem_bda, in L2CA_SendFixedChnlData() argument 236 return test::mock::stack_l2cap_api::L2CA_SendFixedChnlData(fixed_cid, rem_bda, in L2CA_SendFixedChnlData() 239 bool L2CA_RemoveFixedChnl(uint16_t fixed_cid, const RawAddress& rem_bda) { in L2CA_RemoveFixedChnl() argument 241 return test::mock::stack_l2cap_api::L2CA_RemoveFixedChnl(fixed_cid, rem_bda); in L2CA_RemoveFixedChnl() 243 bool L2CA_SetLeGattTimeout(const RawAddress& rem_bda, uint16_t idle_tout) { in L2CA_SetLeGattTimeout() argument 245 return test::mock::stack_l2cap_api::L2CA_SetLeGattTimeout(rem_bda, idle_tout); in L2CA_SetLeGattTimeout()
|
D | mock_stack_l2cap_ble.h | 58 std::function<bool(const RawAddress& rem_bda, uint16_t min_int, 61 body{[](const RawAddress& rem_bda, uint16_t min_int, uint16_t max_int, 64 bool operator()(const RawAddress& rem_bda, uint16_t min_int, uint16_t max_int, in operator() 67 return body(rem_bda, min_int, max_int, latency, timeout, min_ce_len, in operator() 76 std::function<bool(const RawAddress& rem_bda, bool enable)> body{ 77 [](const RawAddress& rem_bda, bool enable) { return false; }}; 78 bool operator()(const RawAddress& rem_bda, bool enable) { in operator() 79 return body(rem_bda, enable); in operator()
|
D | mock_stack_l2cap_ble.cc | 81 bool L2CA_UpdateBleConnParams(const RawAddress& rem_bda, uint16_t min_int, in L2CA_UpdateBleConnParams() argument 87 rem_bda, min_int, max_int, latency, timeout, min_ce_len, max_ce_len); in L2CA_UpdateBleConnParams() 89 bool L2CA_EnableUpdateBleConnParams(const RawAddress& rem_bda, bool enable) { in L2CA_EnableUpdateBleConnParams() argument 91 return test::mock::stack_l2cap_ble::L2CA_EnableUpdateBleConnParams(rem_bda, in L2CA_EnableUpdateBleConnParams()
|
D | mock_stack_pan_api.cc | 52 tPAN_RESULT PAN_Connect(const RawAddress& rem_bda, uint8_t src_role, in PAN_Connect() argument
|
D | mock_stack_gatt_main.cc | 48 bool gatt_connect(const RawAddress& rem_bda, tGATT_TCB* p_tcb, in gatt_connect() argument
|
/system/bt/main/shim/ |
D | l2c_api.h | 379 uint16_t L2CA_SendFixedChnlData(uint16_t fixed_cid, const RawAddress& rem_bda, 395 bool L2CA_RemoveFixedChnl(uint16_t fixed_cid, const RawAddress& rem_bda); 397 uint16_t L2CA_GetLeHandle(const RawAddress& rem_bda); 400 void L2CA_LeConnectionUpdate(const RawAddress& rem_bda, uint16_t min_int, 407 bool L2CA_EnableUpdateBleConnParams(const RawAddress& rem_bda, bool enable); 426 bool L2CA_SetLeGattTimeout(const RawAddress& rem_bda, uint16_t idle_tout); 428 bool L2CA_UpdateBleConnParams(const RawAddress& rem_bda, uint16_t min_int, 445 bool L2CA_EnableUpdateBleConnParams(const RawAddress& rem_bda, bool enable);
|
D | l2c_api.cc | 996 bool L2CA_ConnectFixedChnl(uint16_t cid, const RawAddress& rem_bda) { in L2CA_ConnectFixedChnl() argument 1003 auto remote = Btm::GetAddressAndType(rem_bda); in L2CA_ConnectFixedChnl() 1005 le_link_property_listener_shim_.info_.find(ToGdAddress(rem_bda)); in L2CA_ConnectFixedChnl() 1014 common::Unretained(helper), rem_bda), in L2CA_ConnectFixedChnl() 1019 uint16_t L2CA_SendFixedChnlData(uint16_t cid, const RawAddress& rem_bda, in L2CA_SendFixedChnlData() argument 1030 helper->send(ToGdAddress(rem_bda), in L2CA_SendFixedChnlData() 1036 bool L2CA_RemoveFixedChnl(uint16_t cid, const RawAddress& rem_bda) { in L2CA_RemoveFixedChnl() argument 1042 auto channel = helper->channels_.find(ToGdAddress(rem_bda)); in L2CA_RemoveFixedChnl() 1051 uint16_t L2CA_GetLeHandle(const RawAddress& rem_bda) { in L2CA_GetLeHandle() argument 1052 auto addr = ToGdAddress(rem_bda); in L2CA_GetLeHandle() [all …]
|
/system/bt/stack/bnep/ |
D | bnep_main.cc | 143 (*bnep_cb.p_conn_state_cb)(p_bcb->handle, p_bcb->rem_bda, BNEP_CONN_FAILED, in bnep_on_l2cap_error() 222 bnep_sec_check_complete(&p_bcb->rem_bda, BT_TRANSPORT_BR_EDR, p_bcb); in bnep_config_cfm() 251 (*bnep_cb.p_conn_state_cb)(p_bcb->handle, p_bcb->rem_bda, in bnep_disconnect_ind() 257 (*bnep_cb.p_conn_state_cb)(p_bcb->handle, p_bcb->rem_bda, in bnep_disconnect_ind() 503 if (!p_src_addr) p_src_addr = &p_bcb->rem_bda; in bnep_data_ind() 561 (*bnep_cb.p_conn_state_cb)(p_bcb->handle, p_bcb->rem_bda, in bnep_conn_timer_timeout() 575 (*bnep_cb.p_conn_state_cb)(p_bcb->handle, p_bcb->rem_bda, in bnep_conn_timer_timeout() 589 (*bnep_cb.p_conn_state_cb)(p_bcb->handle, p_bcb->rem_bda, in bnep_conn_timer_timeout() 605 (*bnep_cb.p_conn_state_cb)(p_bcb->handle, p_bcb->rem_bda, in bnep_conn_timer_timeout() 642 (*bnep_cb.p_conn_state_cb)(p_bcb->handle, p_bcb->rem_bda, BNEP_SUCCESS, in bnep_connected()
|
D | bnep_utils.cc | 91 if (p_bcb->rem_bda == p_bda) return (p_bcb); in bnepu_find_bcb_by_bd_addr() 119 p_bcb->rem_bda = p_rem_bda; in bnepu_allocate_bcb() 442 if (*p_dest_addr != p_bcb->rem_bda) in bnepu_build_bnep_hdr() 609 bnep_sec_check_complete(&p_bcb->rem_bda, BT_TRANSPORT_BR_EDR, p_bcb); in bnep_process_setup_conn_req() 680 (*bnep_cb.p_conn_state_cb)(p_bcb->handle, p_bcb->rem_bda, resp, true); in bnep_process_setup_conn_responce() 690 (*bnep_cb.p_conn_state_cb)(p_bcb->handle, p_bcb->rem_bda, resp, false); in bnep_process_setup_conn_responce() 1182 (*bnep_cb.p_conn_ind_cb)(p_bcb->handle, p_bcb->rem_bda, p_bcb->dst_uuid, in bnep_sec_check_complete()
|
D | bnep_api.cc | 165 bnep_sec_check_complete(&p_bcb->rem_bda, BT_TRANSPORT_BR_EDR, p_bcb); in BNEP_Connect() 171 cid = L2CA_ConnectReq2(BT_PSM_BNEP, p_bcb->rem_bda, in BNEP_Connect() 179 (*bnep_cb.p_conn_state_cb)(p_bcb->handle, p_bcb->rem_bda, in BNEP_Connect()
|
/system/bt/stack/pan/ |
D | pan_utils.cc | 157 pan_cb.pcb[i].rem_bda == p_bda) in pan_allocate_pcb() 164 pan_cb.pcb[i].rem_bda = p_bda; in pan_allocate_pcb() 208 if (pan_cb.pcb[i].rem_bda == p_bda) return &(pan_cb.pcb[i]); in pan_get_pcb_by_addr() 280 << ", BD:" << p_pcb->rem_bda; in pan_dump_status()
|
D | pan_main.cc | 218 (*pan_cb.pan_bridge_req_cb)(pcb->rem_bda, false); in pan_conn_ind_cb() 281 UNUSED_ATTR const RawAddress& rem_bda, in pan_connect_state_cb() argument 298 (*pan_cb.pan_conn_state_cb)(pcb->handle, pcb->rem_bda, result, in pan_connect_state_cb() 315 (*pan_cb.pan_bridge_req_cb)(pcb->rem_bda, true); in pan_connect_state_cb() 323 (*pan_cb.pan_bridge_req_cb)(pcb->rem_bda, false); in pan_connect_state_cb() 346 (*pan_cb.pan_conn_state_cb)(pcb->handle, pcb->rem_bda, PAN_SUCCESS, in pan_connect_state_cb() 352 (*pan_cb.pan_bridge_req_cb)(pcb->rem_bda, true); in pan_connect_state_cb()
|
D | pan_api.cc | 228 tPAN_RESULT PAN_Connect(const RawAddress& rem_bda, uint8_t src_role, in PAN_Connect() argument 253 tPAN_CONN* pcb = pan_get_pcb_by_addr(rem_bda); in PAN_Connect() 298 if (!pcb) pcb = pan_allocate_pcb(rem_bda, BNEP_INVALID_HANDLE); in PAN_Connect() 304 VLOG(0) << __func__ << " for BD Addr: " << rem_bda; in PAN_Connect() 321 BNEP_Connect(rem_bda, Uuid::From16Bit(src_uuid), in PAN_Connect() 363 (*pan_cb.pan_bridge_req_cb)(pcb->rem_bda, false); in PAN_Disconnect()
|
D | pan_int.h | 50 RawAddress rem_bda; member 100 extern void pan_connect_state_cb(uint16_t handle, const RawAddress& rem_bda,
|
/system/bt/stack/test/common/ |
D | mock_main_shim_l2c_api.cc | 46 const RawAddress& rem_bda) { in L2CA_ConnectFixedChnl() argument 105 const RawAddress& rem_bda) { in L2CA_RemoveFixedChnl() argument 119 bool bluetooth::shim::L2CA_SetLeGattTimeout(const RawAddress& rem_bda, in L2CA_SetLeGattTimeout() argument 163 const RawAddress& rem_bda, in L2CA_SendFixedChnlData() argument
|
D | mock_gatt_main.cc | 47 bool gatt_connect(const RawAddress& rem_bda, tGATT_TCB* p_tcb, in gatt_connect() argument
|
/system/bt/stack/l2cap/ |
D | l2c_api.cc | 1147 bool L2CA_ConnectFixedChnl(uint16_t fixed_cid, const RawAddress& rem_bda) { in L2CA_ConnectFixedChnl() argument 1149 return bluetooth::shim::L2CA_ConnectFixedChnl(fixed_cid, rem_bda); in L2CA_ConnectFixedChnl() 1178 p_lcb = l2cu_find_lcb_by_bd_addr(rem_bda, transport); in L2CA_ConnectFixedChnl() 1218 p_lcb = l2cu_allocate_lcb(rem_bda, false, transport); in L2CA_ConnectFixedChnl() 1261 uint16_t L2CA_SendFixedChnlData(uint16_t fixed_cid, const RawAddress& rem_bda, in L2CA_SendFixedChnlData() argument 1264 return bluetooth::shim::L2CA_SendFixedChnlData(fixed_cid, rem_bda, p_buf); in L2CA_SendFixedChnlData() 1288 p_lcb = l2cu_find_lcb_by_bd_addr(rem_bda, transport); in L2CA_SendFixedChnlData() 1368 bool L2CA_RemoveFixedChnl(uint16_t fixed_cid, const RawAddress& rem_bda) { in L2CA_RemoveFixedChnl() argument 1370 return bluetooth::shim::L2CA_RemoveFixedChnl(fixed_cid, rem_bda); in L2CA_RemoveFixedChnl() 1390 p_lcb = l2cu_find_lcb_by_bd_addr(rem_bda, transport); in L2CA_RemoveFixedChnl() [all …]
|
D | l2c_ble.cc | 71 bool L2CA_UpdateBleConnParams(const RawAddress& rem_bda, uint16_t min_int, in L2CA_UpdateBleConnParams() argument 76 bluetooth::shim::L2CA_LeConnectionUpdate(rem_bda, min_int, max_int, latency, in L2CA_UpdateBleConnParams() 84 p_lcb = l2cu_find_lcb_by_bd_addr(rem_bda, BT_TRANSPORT_LE); in L2CA_UpdateBleConnParams() 87 if (!p_lcb || !BTM_IsAclConnectionUp(rem_bda, BT_TRANSPORT_LE)) { in L2CA_UpdateBleConnParams() 88 LOG(WARNING) << __func__ << " - unknown BD_ADDR " << rem_bda; in L2CA_UpdateBleConnParams() 93 LOG(WARNING) << __func__ << " - BD_ADDR " << rem_bda << " not LE"; in L2CA_UpdateBleConnParams() 97 VLOG(2) << __func__ << ": BD_ADDR=" << rem_bda << ", min_int=" << min_int in L2CA_UpdateBleConnParams() 125 bool L2CA_EnableUpdateBleConnParams(const RawAddress& rem_bda, bool enable) { in L2CA_EnableUpdateBleConnParams() argument 127 return bluetooth::shim::L2CA_EnableUpdateBleConnParams(rem_bda, enable); in L2CA_EnableUpdateBleConnParams() 136 p_lcb = l2cu_find_lcb_by_bd_addr(rem_bda, BT_TRANSPORT_LE); in L2CA_EnableUpdateBleConnParams() [all …]
|
/system/bt/bta/include/ |
D | bta_jv_api.h | 188 RawAddress rem_bda; /* The peer address */ member 196 RawAddress rem_bda; /* The peer address */ member 254 RawAddress rem_bda; /* The peer address */ member 261 RawAddress rem_bda; /* The peer address */ member
|