Lines Matching refs:remote_bda
339 tBTM_STATUS BTM_CreateSco(const RawAddress* remote_bda, bool is_orig, in BTM_CreateSco() argument
355 if (!remote_bda) { in BTM_CreateSco()
359 acl_handle = BTM_GetHCIConnHandle(*remote_bda, BT_TRANSPORT_BR_EDR); in BTM_CreateSco()
362 << remote_bda; in BTM_CreateSco()
367 if (remote_bda) { in BTM_CreateSco()
372 (p->esco.data.bd_addr == *remote_bda)) { in BTM_CreateSco()
374 << *remote_bda << ", at state " << unsigned(p->state); in BTM_CreateSco()
394 if (remote_bda) { in BTM_CreateSco()
398 if (BTM_ReadPowerMode(*remote_bda, &state)) { in BTM_CreateSco()
401 LOG(INFO) << __func__ << ": " << *remote_bda in BTM_CreateSco()
404 if (!BTM_SetLinkPolicyActiveMode(*remote_bda)) { in BTM_CreateSco()
411 << *remote_bda; in BTM_CreateSco()
414 p->esco.data.bd_addr = *remote_bda; in BTM_CreateSco()
442 if (!acl_is_switch_role_idle(*remote_bda, BT_TRANSPORT_BR_EDR)) { in BTM_CreateSco()
458 << *remote_bda; in BTM_CreateSco()
473 kBtmLogTag, *remote_bda, "Connecting", in BTM_CreateSco()
1284 bool BTM_IsScoActiveByBdaddr(const RawAddress& remote_bda) { in BTM_IsScoActiveByBdaddr() argument
1290 if (p->esco.data.bd_addr == remote_bda && p->state == SCO_ST_CONNECTED) { in BTM_IsScoActiveByBdaddr()