• Home
  • Raw
  • Download

Lines Matching refs:pairing_cb

93 static btif_dm_pairing_cb_t pairing_cb;  variable
244 if ( (pairing_cb.state == state) && (state == BT_BOND_STATE_BONDING) ) in bond_state_changed()
247 if (pairing_cb.is_temp) in bond_state_changed()
251 BTIF_TRACE_DEBUG3("%s: state=%d prev_state=%d", __FUNCTION__, state, pairing_cb.state); in bond_state_changed()
257 pairing_cb.state = state; in bond_state_changed()
258 bdcpy(pairing_cb.bd_addr, bd_addr->address); in bond_state_changed()
262 memset(&pairing_cb, 0, sizeof(pairing_cb)); in bond_state_changed()
345 …DEBUG3("%s: status=%d pairing_cb.state=%d", __FUNCTION__, p_remote_name->status, pairing_cb.state); in btif_dm_cb_hid_remote_name()
346 if (pairing_cb.state == BT_BOND_STATE_BONDING) in btif_dm_cb_hid_remote_name()
350 bdcpy(remote_bd.address, pairing_cb.bd_addr); in btif_dm_cb_hid_remote_name()
393 pairing_cb.is_local_initiated = TRUE; in btif_dm_cb_create_bond()
538 if (pairing_cb.is_local_initiated) in btif_dm_pin_req_evt()
550 (pairing_cb.autopair_attempts == 0)) in btif_dm_pin_req_evt()
558 pairing_cb.autopair_attempts++; in btif_dm_pin_req_evt()
567 (pairing_cb.autopair_attempts == 0)) in btif_dm_pin_req_evt()
575 pairing_cb.autopair_attempts++; in btif_dm_pin_req_evt()
599 BOOLEAN is_incoming = !(pairing_cb.state == BT_BOND_STATE_BONDING); in btif_dm_ssp_cfm_req_evt()
616 pairing_cb.is_temp = TRUE; in btif_dm_ssp_cfm_req_evt()
618 pairing_cb.is_temp = FALSE; in btif_dm_ssp_cfm_req_evt()
620 pairing_cb.is_ssp = TRUE; in btif_dm_ssp_cfm_req_evt()
651 pairing_cb.bonded_pending_sdp = FALSE; in btif_dm_ssp_cfm_req_evt()
673 pairing_cb.is_ssp = TRUE; in btif_dm_ssp_key_notif_evt()
705 (p_auth_cmpl->key_type == HCI_LKEY_TYPE_CHANGED_COMB) || (!pairing_cb.is_temp)) in btif_dm_auth_cmpl_evt()
709 __FUNCTION__, p_auth_cmpl->key_type, pairing_cb.is_temp); in btif_dm_auth_cmpl_evt()
712 pairing_cb.pin_code_len); in btif_dm_auth_cmpl_evt()
718 __FUNCTION__, p_auth_cmpl->key_type, pairing_cb.is_temp); in btif_dm_auth_cmpl_evt()
727 pairing_cb.bonded_pending_sdp = TRUE; in btif_dm_auth_cmpl_evt()
749 if (pairing_cb.autopair_attempts == 1) in btif_dm_auth_cmpl_evt()
763 pairing_cb.autopair_attempts++; in btif_dm_auth_cmpl_evt()
989 if ((pairing_cb.state == BT_BOND_STATE_BONDING) && in btif_dm_search_services_evt()
990 (bdcmp(p_data->disc_res.bd_addr, pairing_cb.bd_addr) == 0)&& in btif_dm_search_services_evt()
991 pairing_cb.bonded_pending_sdp == TRUE) in btif_dm_search_services_evt()
995 pairing_cb.bonded_pending_sdp = FALSE; in btif_dm_search_services_evt()
1129 memset(&pairing_cb, 0, sizeof(btif_dm_pairing_cb_t)); in btif_dm_upstreams_evt()
1166 if (pairing_cb.state == BT_BOND_STATE_BONDING) in btif_dm_upstreams_evt()
1168 bdcpy(bd_addr.address, pairing_cb.bd_addr); in btif_dm_upstreams_evt()
1496 if (pairing_cb.state != BT_BOND_STATE_NONE) in btif_dm_create_bond()
1525 if (pairing_cb.state == BT_BOND_STATE_BONDING) in btif_dm_cancel_bond()
1527 if (pairing_cb.is_ssp) in btif_dm_cancel_bond()
1582 pairing_cb.pin_code_len = pin_len; in btif_dm_pin_reply()
1868 if (pairing_cb.state == BT_BOND_STATE_BONDING) in btif_dm_on_disable()
1873 bdcpy(bd_addr.address, pairing_cb.bd_addr); in btif_dm_on_disable()