Lines Matching full:p_callback
81 tBTM_SEC_CALLBACK *p_callback, void *p_ref_data);
105 tBTM_SEC_CALLBACK *p_callback, void *p_ref_data);
277 BOOLEAN BTM_SecRegisterLinkKeyNotificationCallback (tBTM_LINK_KEY_CALLBACK *p_callback)
279 btm_cb.api.p_link_key_callback = p_callback;
293 BOOLEAN BTM_SecAddRmtNameNotifyCallback (tBTM_RMT_NAME_CALLBACK *p_callback)
301 btm_cb.p_rmt_name_callback[i] = p_callback;
320 BOOLEAN BTM_SecDeleteRmtNameNotifyCallback (tBTM_RMT_NAME_CALLBACK *p_callback)
326 if (btm_cb.p_rmt_name_callback[i] == p_callback)
1358 ** p_callback - Pointer to callback function called if
1375 tBTM_STATUS BTM_SetEncryption (BD_ADDR bd_addr, tBT_TRANSPORT transport, tBTM_SEC_CBACK *p_callback,
1391 if (p_callback)
1392 (*p_callback) (bd_addr, transport, p_ref_data, BTM_WRONG_MODE);
1407 if (p_callback)
1408 (*p_callback) (bd_addr, transport, p_ref_data, BTM_SUCCESS);
1414 if (p_dev_rec->p_callback || (p_dev_rec->sec_state != BTM_SEC_STATE_IDLE))
1418 if (btm_sec_queue_encrypt_request(bd_addr, transport, p_callback, p_ref_data))
1424 if (p_callback)
1425 (*p_callback) (bd_addr, transport, p_ref_data, BTM_NO_RESOURCES);
1430 p_dev_rec->p_callback = p_callback;
1459 if (p_callback)
1461 p_dev_rec->p_callback = NULL;
1462 (*p_callback) (bd_addr, transport, p_dev_rec->p_ref_data, rc);
2111 ** p_callback - Pointer to callback function called if
2129 tBTM_SEC_CALLBACK *p_callback,
2167 (*p_callback) (bd_addr, transport, p_ref_data, BTM_MODE_UNSUPPORTED);
2174 (*p_callback) (bd_addr,transport, p_ref_data, BTM_SUCCESS_NO_SECURITY);
2225 if (p_callback)
2226 (*p_callback) (bd_addr, transport, (void *)p_ref_data, BTM_SUCCESS);
2258 if (p_callback)
2259 (*p_callback) (bd_addr, transport, (void *)p_ref_data,
2268 if ( (p_dev_rec->p_callback) || (btm_cb.pairing_state != BTM_PAIR_STATE_IDLE) )
2319 if (p_callback)
2320 (*p_callback) (bd_addr, transport, (void *)p_ref_data, BTM_SUCCESS);
2396 (*p_callback) (bd_addr, transport, p_ref_data, BTM_SUCCESS);
2417 (*p_callback) (bd_addr, transport, p_ref_data, BTM_SUCCESS);
2437 p_dev_rec->p_callback = p_callback;
2439 (*p_callback) (bd_addr, transport, p_ref_data, rc);
2445 p_dev_rec->p_callback = p_callback;
2485 p_dev_rec->p_callback = NULL;
2486 (*p_callback) (bd_addr, transport, p_dev_rec->p_ref_data, (UINT8)rc);
2506 ** p_callback - Pointer to callback function called if
2517 tBTM_SEC_CALLBACK *p_callback, void *p_ref_data)
2535 if (p_callback)
2536 (*p_callback) (bd_addr, transport, p_ref_data, BTM_MODE_UNSUPPORTED);
2555 if ( (p_dev_rec->p_callback) || (btm_cb.pairing_state != BTM_PAIR_STATE_IDLE) )
2629 mx_chan_id, p_callback, p_ref_data);
2634 if (p_callback)
2636 (*p_callback) (bd_addr, transport, p_ref_data, (UINT8)rc);
2657 if (p_callback)
2658 (*p_callback) (bd_addr, transport, (void *)p_ref_data,
2696 p_dev_rec->p_callback = p_callback;
2711 if (p_callback)
2713 p_dev_rec->p_callback = NULL;
2714 (*p_callback) (bd_addr,transport, p_ref_data, (UINT8)rc);
2915 p_e->p_callback, p_e->p_ref_data);
2919 BTM_SetEncryption(p_e->bd_addr, p_e->transport, p_e->p_callback,
3012 p_dev_rec->p_callback = NULL;
4358 p_dev_rec->p_callback = NULL;
4775 tBTM_SEC_CALLBACK *p_callback = NULL;
4859 p_callback = p_dev_rec->p_callback;
4862 if(p_callback)
4864 p_dev_rec->p_callback = NULL; /* when the peer device time out the authentication before
4866 (*p_callback) (p_dev_rec->bd_addr, transport, p_dev_rec->p_ref_data, BTM_ERR_PROCESSING);
6020 tBTM_SEC_CALLBACK *p_callback = p_dev_rec->p_callback;
6022 if (p_dev_rec->p_callback)
6024 p_dev_rec->p_callback = NULL;
6028 (*p_callback) (p_dev_rec->ble.pseudo_addr, BT_TRANSPORT_LE, p_dev_rec->p_ref_data, res);
6031 (*p_callback) (p_dev_rec->bd_addr, BT_TRANSPORT_BR_EDR, p_dev_rec->p_ref_data, res);
6046 tBTM_SEC_CALLBACK *p_callback, void *p_ref_data)
6054 p_e->p_callback = p_callback;
6155 tBTM_SEC_CALLBACK *p_callback, void *p_ref_data)
6163 p_e->p_callback = p_callback;
6246 (*p_e->p_callback) (remote_bda, transport, p_e->p_ref_data, BTM_ERR_PROCESSING);
6312 (*p_e->p_callback) (p_dev_rec->bd_addr, transport, p_e->p_ref_data, res);