Searched refs:new_role (Results 1 – 15 of 15) sorted by relevance
/system/bt/bta/sys/ |
D | bta_sys_conn.cc | 100 void bta_sys_notify_role_chg(const RawAddress& peer_addr, uint8_t new_role, in bta_sys_notify_role_chg() argument 103 peer_addr.ToString().c_str(), new_role, hci_status); in bta_sys_notify_role_chg() 105 bta_sys_cb.p_role_cb(BTA_SYS_ROLE_CHANGE, new_role, hci_status, peer_addr); in bta_sys_notify_role_chg()
|
D | bta_sys.h | 268 uint8_t new_role, uint8_t hci_status);
|
/system/bt/stack/btm/ |
D | btm_acl.cc | 537 tBTM_STATUS BTM_SwitchRole(const RawAddress& remote_bd_addr, uint8_t new_role, in BTM_SwitchRole() argument 547 __func__, remote_bd_addr.ToString().c_str(), new_role, p_cb, in BTM_SwitchRole() 564 if (p->link_role == new_role) return (BTM_SUCCESS); in BTM_SwitchRole() 612 btsnd_hcic_switch_role(remote_bd_addr, new_role); in BTM_SwitchRole() 624 btm_cb.devcb.switch_role_ref_data.role = new_role; in BTM_SwitchRole() 688 evt.new_role = btm_cb.devcb.switch_role_ref_data.role; in btm_acl_encrypt_change() 697 __func__, evt.new_role, evt.hci_status, p->switch_role_state); in btm_acl_encrypt_change() 1478 uint8_t new_role) { in btm_acl_role_changed() argument 1487 hci_status, new_role); in btm_acl_role_changed() 1499 p_data->role = new_role; in btm_acl_role_changed() [all …]
|
D | btm_int.h | 113 uint8_t new_role);
|
/system/bt/stack/l2cap/ |
D | l2c_api.cc | 1202 uint8_t L2CA_SetDesireRole(uint8_t new_role) { in L2CA_SetDesireRole() argument 1203 L2CAP_TRACE_API("L2CA_SetDesireRole() new:x%x, disallow_switch:%d", new_role, in L2CA_SetDesireRole() 1206 if (L2CAP_ROLE_CHECK_SWITCH != (L2CAP_ROLE_CHECK_SWITCH & new_role)) { in L2CA_SetDesireRole() 1208 if (new_role & L2CAP_ROLE_ALLOW_SWITCH) { in L2CA_SetDesireRole() 1211 if (new_role & L2CAP_ROLE_DISALLOW_SWITCH) { in L2CA_SetDesireRole() 1216 if (new_role == HCI_ROLE_MASTER || new_role == HCI_ROLE_SLAVE) in L2CA_SetDesireRole() 1217 l2cb.desire_role = new_role; in L2CA_SetDesireRole()
|
D | l2c_link.cc | 858 void l2c_link_role_changed(const RawAddress* bd_addr, uint8_t new_role, in l2c_link_role_changed() argument 869 p_lcb->link_role = new_role; in l2c_link_role_changed()
|
D | l2c_int.h | 721 extern void l2c_link_role_changed(const RawAddress* bd_addr, uint8_t new_role,
|
/system/bt/bta/av/ |
D | bta_av_aact.cc | 2224 uint8_t new_role = p_scb->role; in bta_av_start_ok() local 2248 if (new_role & BTA_AV_ROLE_START_INT) initiator = true; in bta_av_start_ok() 2342 if (new_role & BTA_AV_ROLE_START_INT) { in bta_av_start_ok() 2343 new_role &= ~BTA_AV_ROLE_START_INT; in bta_av_start_ok() 2344 } else if ((new_role & BTA_AV_ROLE_AD_ACP) && in bta_av_start_ok() 2345 (new_role & BTA_AV_ROLE_SUSPEND_OPT)) { in bta_av_start_ok() 2369 p_scb->role = new_role; in bta_av_start_ok()
|
D | bta_av_int.h | 365 uint8_t new_role; member
|
D | bta_av_main.cc | 925 p_buf->new_role = id; in bta_av_sys_rs_cback()
|
/system/bt/stack/include/ |
D | btm_api.h | 815 uint8_t new_role, tBTM_CMPL_CB* p_cb);
|
D | l2c_api.h | 714 extern uint8_t L2CA_SetDesireRole(uint8_t new_role);
|
D | btm_api_types.h | 876 uint8_t new_role; member
|
/system/bt/bta/dm/ |
D | bta_dm_act.cc | 2665 static void handle_role_change(const RawAddress& bd_addr, uint8_t new_role, in handle_role_change() argument 2674 __func__, bd_addr.ToString().c_str(), p_dev->info, new_role, in handle_role_change() 2680 if (new_role == HCI_ROLE_SLAVE && bta_dm_cb.device_list.count > 1 && in handle_role_change() 2687 } else if (p_bta_dm_cfg->avoid_scatter && (new_role == HCI_ROLE_MASTER)) { in handle_role_change() 2703 bta_sys_notify_role_chg(bd_addr, new_role, hci_status); in handle_role_change() 2705 conn.role_chg.new_role = (uint8_t)new_role; in handle_role_change() 2866 tmp.new_role, tmp.hci_status)); in bta_dm_bl_change_cback()
|
/system/bt/bta/include/ |
D | bta_api.h | 546 uint8_t new_role; /* the new connection role */ member
|