Searched refs:HCI_ROLE_MASTER (Results 1 - 16 of 16) sorted by relevance

/system/bt/stack/smp/
H A Dsmp_act.c893 if (p_cb->role == HCI_ROLE_MASTER)
909 if (p_cb->role == HCI_ROLE_MASTER && p_cb->local_r_key == 0)
930 (!p_cb->local_r_key && p_cb->role == HCI_ROLE_MASTER))
1183 if (p_cb->role == HCI_ROLE_MASTER)
1214 else if (p_cb->role == HCI_ROLE_MASTER)
1255 (!p_cb->local_r_key && p_cb->role == HCI_ROLE_MASTER))
1297 if (p_cb->role == HCI_ROLE_MASTER &&
1599 if (p_cb->role == HCI_ROLE_MASTER)
1614 if (p_cb->role == HCI_ROLE_MASTER)
1646 if (p_cb->role == HCI_ROLE_MASTER)
[all...]
H A Dsmp_api.c188 p_cb->role = HCI_ROLE_MASTER;
H A Dsmp_utils.c1243 if (p_cb->role == HCI_ROLE_MASTER)
1281 if (p_cb->role == HCI_ROLE_MASTER)
1509 if (p_cb->role == HCI_ROLE_MASTER)
H A Dsmp_keys.c536 if (p_cb->role == HCI_ROLE_MASTER)
590 if (p_cb->role == HCI_ROLE_MASTER)
951 if (p_cb->role == HCI_ROLE_MASTER)
1170 if (p_cb->role == HCI_ROLE_MASTER)
1326 if (p_cb->role == HCI_ROLE_MASTER)
/system/bt/stack/l2cap/
H A Dl2c_ble.c309 p_lcb->link_role = HCI_ROLE_MASTER;
459 if (role == HCI_ROLE_MASTER)
503 if (p_lcb->link_role == HCI_ROLE_MASTER
528 if (p_lcb->link_role == HCI_ROLE_MASTER
633 if (p_lcb->link_role == HCI_ROLE_MASTER)
H A Dl2c_link.c88 p_lcb->link_role = HCI_ROLE_MASTER;
H A Dl2c_utils.c292 ** Returns HCI_ROLE_MASTER or HCI_ROLE_SLAVE
2281 p_lcb->link_role = HCI_ROLE_MASTER;
2283 if (BTM_SwitchRole (p_lcb_cur->remote_bd_addr, HCI_ROLE_MASTER, NULL) == BTM_CMD_STARTED)
H A Dl2c_api.c902 ** If the new role is a valid role (HCI_ROLE_MASTER or HCI_ROLE_SLAVE),
926 if (new_role == HCI_ROLE_MASTER || new_role == HCI_ROLE_SLAVE)
/system/bt/stack/include/
H A Dl2c_api.h107 #define L2CAP_ROLE_MASTER HCI_ROLE_MASTER
595 ** If the new role is a valid role (HCI_ROLE_MASTER or HCI_ROLE_SLAVE),
H A Dbtm_api.h697 #define BTM_ROLE_MASTER HCI_ROLE_MASTER
H A Dhcidefs.h1007 #define HCI_ROLE_MASTER 0x00 macro
/system/bt/bta/gatt/
H A Dbta_gattc_utils.c769 role == HCI_ROLE_MASTER)
/system/bt/bta/dm/
H A Dbta_dm_act.c3233 if(BTM_CMD_STARTED == BTM_SwitchRole (p_dev->peer_bdaddr, HCI_ROLE_MASTER, (tBTM_CMPL_CB *)bta_dm_rs_cback))
3300 else if (p_bta_dm_cfg->avoid_scatter && (p_data->acl_change.new_role == HCI_ROLE_MASTER))
3665 L2CA_SetDesireRole (HCI_ROLE_MASTER);
3681 L2CA_SetDesireRole (HCI_ROLE_MASTER);
3699 HCI_ROLE_MASTER, NULL);
/system/bt/stack/btm/
H A Dbtm_acl.c318 || link_role == HCI_ROLE_MASTER)
H A Dbtm_ble.c1798 if (role == HCI_ROLE_MASTER)
H A Dbtm_ble_gap.c3314 if (btm_cb.ble_ctr_cb.link_count[HCI_ROLE_MASTER])

Completed in 223 milliseconds