Searched refs:new_role (Results 1 - 15 of 15) sorted by relevance
/system/bt/bta/sys/ |
H A D | bta_sys_conn.c | 103 void bta_sys_notify_role_chg(BD_ADDR_PTR p_bda, UINT8 new_role, UINT8 hci_status) argument 107 bta_sys_cb.p_role_cb(BTA_SYS_ROLE_CHANGE, new_role, hci_status, p_bda);
|
H A D | bta_sys.h | 263 extern void bta_sys_notify_role_chg(BD_ADDR_PTR p_bda, UINT8 new_role, UINT8 hci_status);
|
/system/bt/stack/btm/ |
H A D | btm_acl.c | 596 tBTM_STATUS BTM_SwitchRole (BD_ADDR remote_bd_addr, UINT8 new_role, tBTM_CMPL_CB *p_cb) argument 632 if (p->link_role == new_role) 686 if (!btsnd_hcic_switch_role (remote_bd_addr, new_role)) 703 btm_cb.devcb.switch_role_ref_data.role = new_role; 780 evt.new_role = btm_cb.devcb.switch_role_ref_data.role; 785 BTM_TRACE_DEBUG("Role Switch Event: new_role 0x%02x, HCI Status 0x%02x, rs_st:%d", 786 evt.new_role, evt.hci_status, p->switch_role_state); 1446 void btm_acl_role_changed (UINT8 hci_status, BD_ADDR bd_addr, UINT8 new_role) argument 1469 p_data->role = new_role; 1473 p->link_role = new_role; [all...] |
H A D | btm_int.h | 958 extern void btm_acl_role_changed (UINT8 hci_status, BD_ADDR bd_addr, UINT8 new_role);
|
/system/bt/stack/l2cap/ |
H A D | l2c_api.c | 908 UINT8 L2CA_SetDesireRole (UINT8 new_role) argument 911 new_role, l2cb.disallow_switch); 913 if (L2CAP_ROLE_CHECK_SWITCH != (L2CAP_ROLE_CHECK_SWITCH & new_role)) 916 if (new_role & L2CAP_ROLE_ALLOW_SWITCH) 920 if (new_role & L2CAP_ROLE_DISALLOW_SWITCH) 926 if (new_role == HCI_ROLE_MASTER || new_role == HCI_ROLE_SLAVE) 927 l2cb.desire_role = new_role;
|
H A D | l2c_link.c | 989 void l2c_link_role_changed (BD_ADDR bd_addr, UINT8 new_role, UINT8 hci_status) argument 994 /* Make sure not called from HCI Command Status (bd_addr and new_role are invalid) */ 1001 p_lcb->link_role = new_role;
|
H A D | l2c_int.h | 679 extern void l2c_link_role_changed (BD_ADDR bd_addr, UINT8 new_role, UINT8 hci_status);
|
/system/bt/stack/include/ |
H A D | l2c_api.h | 601 extern UINT8 L2CA_SetDesireRole (UINT8 new_role);
|
H A D | btm_api.h | 850 UINT8 new_role; member in struct:__anon1002 2760 UINT8 new_role,
|
/system/bt/bta/av/ |
H A D | bta_av_aact.c | 2323 UINT8 new_role = p_scb->role; local 2336 if (new_role & BTA_AV_ROLE_START_INT) 2421 if (new_role & BTA_AV_ROLE_START_INT) 2423 new_role &= ~BTA_AV_ROLE_START_INT; 2425 else if ((new_role & BTA_AV_ROLE_AD_ACP) && (new_role & BTA_AV_ROLE_SUSPEND_OPT)) 2452 p_scb->role = new_role;
|
H A D | bta_av_int.h | 371 UINT8 new_role; member in struct:__anon56
|
H A D | bta_av_main.c | 932 ** Returns (BTA_SYS_ROLE_CHANGE, new_role, hci_status, p_bda) 953 APPL_TRACE_DEBUG("new_role:%d, hci_status:x%x hndl: x%x", id, app_id, p_scb->hndl); 962 p_buf->new_role = id;
|
/system/bt/bta/dm/ |
H A D | bta_dm_act.c | 3114 p_msg->new_role = p_data->role_chg.new_role; 3287 APPL_TRACE_DEBUG("bta_dm_acl_change role chg info:x%x new_role:%d dev count:%d", 3288 p_dev->info, p_data->acl_change.new_role, bta_dm_cb.device_list.count); 3292 if(p_data->acl_change.new_role == HCI_ROLE_SLAVE && bta_dm_cb.device_list.count > 1 3300 else if (p_bta_dm_cfg->avoid_scatter && (p_data->acl_change.new_role == HCI_ROLE_MASTER)) 3318 bta_sys_notify_role_chg(p_data->acl_change.bd_addr, p_data->acl_change.new_role, p_data->acl_change.hci_status); 3320 conn.role_chg.new_role = (UINT8) p_data->acl_change.new_role;
|
H A D | bta_dm_int.h | 317 UINT8 new_role; member in struct:__anon92
|
/system/bt/bta/include/ |
H A D | bta_api.h | 811 UINT8 new_role; /* the new connection role */ member in struct:__anon308
|
Completed in 1065 milliseconds