Lines Matching refs:api

250   btm_cb.api = *p_cb_info;  in BTM_SecRegister()
252 btm_cb.api.p_le_callback); in BTM_SecRegister()
774 if (btm_cb.api.p_auth_complete_callback) in BTM_PINCodeReply()
775 (*btm_cb.api.p_auth_complete_callback)( in BTM_PINCodeReply()
1637 if (btm_cb.api.p_sp_callback) in btm_sec_check_upgrade()
1638 (*btm_cb.api.p_sp_callback)(BTM_SP_UPGRADE_EVT, in btm_sec_check_upgrade()
2339 if (btm_cb.api.p_bond_cancel_cmpl_callback) in btm_sec_bond_cancel_complete()
2340 btm_cb.api.p_bond_cancel_cmpl_callback(BTM_SUCCESS); in btm_sec_bond_cancel_complete()
2381 if (btm_cb.api.p_bond_cancel_cmpl_callback) in btm_create_conn_cancel_complete()
2382 btm_cb.api.p_bond_cancel_cmpl_callback(BTM_ERR_PROCESSING); in btm_create_conn_cancel_complete()
2673 __func__, btm_cb.pairing_flags, btm_cb.api.p_pin_callback); in btm_sec_rmt_name_request_complete()
2676 btm_cb.api.p_pin_callback) { in btm_sec_rmt_name_request_complete()
2679 (*btm_cb.api.p_pin_callback)( in btm_sec_rmt_name_request_complete()
2705 if (btm_cb.api.p_auth_complete_callback) in btm_sec_rmt_name_request_complete()
2706 (*btm_cb.api.p_auth_complete_callback)( in btm_sec_rmt_name_request_complete()
2751 if (btm_cb.api.p_auth_complete_callback) { in btm_sec_rmt_name_request_complete()
2752 (*btm_cb.api.p_auth_complete_callback)( in btm_sec_rmt_name_request_complete()
2764 if (btm_cb.api.p_auth_complete_callback) { in btm_sec_rmt_name_request_complete()
2765 (*btm_cb.api.p_auth_complete_callback)( in btm_sec_rmt_name_request_complete()
2788 if (btm_cb.api.p_auth_complete_callback) in btm_sec_rmt_name_request_complete()
2789 (*btm_cb.api.p_auth_complete_callback)( in btm_sec_rmt_name_request_complete()
3012 } else if (btm_cb.api.p_sp_callback) { in btm_io_capabilities_req()
3014 callback_rc = (*btm_cb.api.p_sp_callback)(BTM_SP_IO_REQ_EVT, in btm_io_capabilities_req()
3106 if (btm_cb.api.p_sp_callback) in btm_io_capabilities_rsp()
3107 (*btm_cb.api.p_sp_callback)(BTM_SP_IO_RSP_EVT, in btm_io_capabilities_rsp()
3207 if (btm_cb.api.p_sp_callback) { in btm_proc_sp_req_evt()
3208 status = (*btm_cb.api.p_sp_callback)(event, &evt_data); in btm_proc_sp_req_evt()
3265 if (btm_cb.api.p_sp_callback) { in btm_keypress_notif_evt()
3271 (*btm_cb.api.p_sp_callback)(BTM_SP_KEYPRESS_EVT, in btm_keypress_notif_evt()
3335 if (btm_cb.api.p_sp_callback) in btm_simple_pair_complete()
3336 (*btm_cb.api.p_sp_callback)(BTM_SP_COMPLT_EVT, in btm_simple_pair_complete()
3372 if ((p_dev_rec != NULL) && btm_cb.api.p_sp_callback) { in btm_rem_oob_req()
3379 if ((*btm_cb.api.p_sp_callback)(BTM_SP_RMT_OOB_EVT, in btm_rem_oob_req()
3414 if (btm_cb.api.p_sp_callback) { in btm_read_local_oob_complete()
3417 (*btm_cb.api.p_sp_callback)(BTM_SP_LOC_OOB_EVT, &btm_sp_evt_data); in btm_read_local_oob_complete()
3590 if ((btm_cb.api.p_auth_complete_callback && status != HCI_SUCCESS) && in btm_sec_auth_complete()
3592 (*btm_cb.api.p_auth_complete_callback)(p_dev_rec->bd_addr, in btm_sec_auth_complete()
3601 if (btm_cb.api.p_auth_complete_callback) { in btm_sec_auth_complete()
3604 (*btm_cb.api.p_auth_complete_callback)(p_dev_rec->bd_addr, in btm_sec_auth_complete()
3846 if (btm_cb.api.p_auth_complete_callback) in btm_sec_connect_after_reject_timeout()
3847 (*btm_cb.api.p_auth_complete_callback)( in btm_sec_connect_after_reject_timeout()
4017 if (btm_cb.api.p_auth_complete_callback) { in btm_sec_connected()
4018 (*btm_cb.api.p_auth_complete_callback)(p_dev_rec->bd_addr, in btm_sec_connected()
4049 if (btm_cb.api.p_auth_complete_callback) { in btm_sec_connected()
4050 (*btm_cb.api.p_auth_complete_callback)(p_dev_rec->bd_addr, in btm_sec_connected()
4095 if (btm_cb.api.p_auth_complete_callback) in btm_sec_connected()
4096 (*btm_cb.api.p_auth_complete_callback)( in btm_sec_connected()
4252 if (btm_cb.api.p_auth_complete_callback) { in btm_sec_disconnected()
4262 (*btm_cb.api.p_auth_complete_callback)(p_dev_rec->bd_addr, in btm_sec_disconnected()
4384 if (btm_cb.api.p_link_key_callback) { in btm_sec_link_key_notification()
4387 (*btm_cb.api.p_link_key_callback)(p_bda, p_dev_rec->dev_class, in btm_sec_link_key_notification()
4431 if (btm_cb.api.p_auth_complete_callback) in btm_sec_link_key_notification()
4432 (*btm_cb.api.p_auth_complete_callback)( in btm_sec_link_key_notification()
4443 if (btm_cb.api.p_link_key_callback) { in btm_sec_link_key_notification()
4450 (*btm_cb.api.p_link_key_callback)(p_bda, p_dev_rec->dev_class, in btm_sec_link_key_notification()
4528 if (btm_cb.api.p_auth_complete_callback) { in btm_sec_pairing_timeout()
4531 (*btm_cb.api.p_auth_complete_callback)(p_cb->pairing_bda, NULL, name, in btm_sec_pairing_timeout()
4534 (*btm_cb.api.p_auth_complete_callback)( in btm_sec_pairing_timeout()
4587 if (btm_cb.api.p_auth_complete_callback) { in btm_sec_pairing_timeout()
4590 (*btm_cb.api.p_auth_complete_callback)(p_cb->pairing_bda, NULL, name, in btm_sec_pairing_timeout()
4593 (*btm_cb.api.p_auth_complete_callback)( in btm_sec_pairing_timeout()
4683 (p_cb->api.p_pin_callback == NULL) in btm_sec_pin_code_request()
4697 p_cb->pairing_disabled, p_cb->api.p_pin_callback, p_dev_rec); in btm_sec_pin_code_request()
4718 if (p_cb->api.p_pin_callback) { in btm_sec_pin_code_request()
4719 (*p_cb->api.p_pin_callback)( in btm_sec_pin_code_request()
4961 if (!btm_cb.api.p_authorize_callback) return (BTM_MODE_UNSUPPORTED); in btm_sec_start_authorization()
4979 result = (*btm_cb.api.p_authorize_callback)( in btm_sec_start_authorization()
5156 if (btm_cb.api.p_link_key_callback) in btm_send_link_key_notif()
5157 (*btm_cb.api.p_link_key_callback)( in btm_send_link_key_notif()
5404 if (btm_cb.api.p_pin_callback && in btm_sec_check_prefetch_pin()
5409 (btm_cb.api.p_pin_callback)( in btm_sec_check_prefetch_pin()