Home
last modified time | relevance | path

Searched refs:HCI_ROLE_MASTER (Results 1 – 18 of 18) sorted by relevance

/system/bt/stack/smp/
Dsmp_act.cc873 if (p_cb->role == HCI_ROLE_MASTER) { in smp_br_check_authorization_request()
894 if (p_cb->role == HCI_ROLE_MASTER && p_cb->local_r_key == 0) in smp_br_check_authorization_request()
913 (!p_cb->local_r_key && p_cb->role == HCI_ROLE_MASTER)) { in smp_br_select_next_key()
1183 if (p_cb->role == HCI_ROLE_MASTER) { in smp_check_auth_req()
1212 else if (p_cb->role == HCI_ROLE_MASTER) { in smp_check_auth_req()
1248 (!p_cb->local_r_key && p_cb->role == HCI_ROLE_MASTER)) { in smp_key_distribution()
1296 if (p_cb->role == HCI_ROLE_MASTER && in smp_decide_association_model()
1575 if (p_cb->role == HCI_ROLE_MASTER) { in smp_process_local_nonce()
1587 if (p_cb->role == HCI_ROLE_MASTER) { in smp_process_local_nonce()
1636 if (p_cb->role == HCI_ROLE_MASTER) { in smp_process_peer_nonce()
Dsmp_keys.cc280 if (p_cb->role == HCI_ROLE_MASTER) { in smp_gen_p1_4_confirm()
316 if (p_cb->role == HCI_ROLE_MASTER) { in smp_gen_p2_4_confirm()
589 if (p_cb->role == HCI_ROLE_MASTER) { in smp_calculate_legacy_short_term_key()
755 if (p_cb->role == HCI_ROLE_MASTER) in smp_calculate_local_commitment()
835 if (p_cb->role == HCI_ROLE_MASTER) { in smp_calculate_numeric_comparison_display_number()
Dsmp_api.cc201 p_cb->role = HCI_ROLE_MASTER; in SMP_BR_PairWith()
Dsmp_utils.cc1260 if (p_cb->role == HCI_ROLE_MASTER) { in smp_select_legacy_association_model()
1298 if (p_cb->role == HCI_ROLE_MASTER) { in smp_select_association_model_secure_connections()
1503 if (p_cb->role == HCI_ROLE_MASTER) { in smp_calculate_f5_mackey_and_long_term_key()
/system/bt/stack/l2cap/
Dl2c_ble.cc294 } else if (role == HCI_ROLE_MASTER && p_lcb->link_state != LST_CONNECTING) { in l2cble_conn_comp()
300 if (role == HCI_ROLE_MASTER) alarm_cancel(p_lcb->l2c_lcb_timer); in l2cble_conn_comp()
382 if (p_lcb->link_role == HCI_ROLE_MASTER in l2cble_start_conn_update()
404 if (p_lcb->link_role == HCI_ROLE_MASTER in l2cble_start_conn_update()
526 if (p_lcb->link_role == HCI_ROLE_MASTER) { in l2cble_process_sig_cmd()
Dl2c_link.cc86 p_lcb->link_role = HCI_ROLE_MASTER; in l2c_link_hci_conn_req()
Dl2c_api.cc1161 if (new_role == HCI_ROLE_MASTER || new_role == HCI_ROLE_SLAVE) in L2CA_SetDesireRole()
Dl2c_utils.cc2166 p_lcb->link_role = HCI_ROLE_MASTER; in l2cu_create_conn_br_edr()
2168 if (BTM_SwitchRole(p_lcb_cur->remote_bd_addr, HCI_ROLE_MASTER, NULL) == in l2cu_create_conn_br_edr()
/system/bt/stack/test/
Dstack_smp_test.cc151 p_cb_.role = HCI_ROLE_MASTER; in SetUp()
/system/bt/stack/btm/
Dbtm_ble_connection_establishment.cc178 if (role == HCI_ROLE_MASTER) { in btm_ble_conn_complete()
Dbtm_ble.cc1888 if (role == HCI_ROLE_MASTER) p_dev_rec->role_master = true; in btm_ble_connected()
Dbtm_acl.cc287 link_role == HCI_ROLE_MASTER) { in btm_acl_created()
Dbtm_ble_gap.cc2368 if (btm_cb.ble_ctr_cb.link_count[HCI_ROLE_MASTER]) in btm_ble_update_link_topology_mask()
/system/bt/internal_include/
Dbt_target.h537 #define L2CAP_DESIRED_LINK_ROLE HCI_ROLE_MASTER
/system/bt/bta/gatt/
Dbta_gattc_utils.cc475 role == HCI_ROLE_MASTER) in bta_gattc_check_bg_conn()
/system/bt/bta/dm/
Dbta_dm_act.cc2691 } else if (p_bta_dm_cfg->avoid_scatter && (new_role == HCI_ROLE_MASTER)) { in handle_role_change()
2939 HCI_ROLE_MASTER, in bta_dm_check_av()
3138 L2CA_SetDesireRole(HCI_ROLE_MASTER); in bta_dm_adjust_roles()
3149 L2CA_SetDesireRole(HCI_ROLE_MASTER); in bta_dm_adjust_roles()
3169 HCI_ROLE_MASTER, NULL); in bta_dm_adjust_roles()
/system/bt/stack/include/
Dbtm_api_types.h567 #define BTM_ROLE_MASTER HCI_ROLE_MASTER
Dhcidefs.h885 #define HCI_ROLE_MASTER 0x00 macro