/system/bt/stack/rfcomm/ |
D | port_rfc.cc | 161 if ((p_port->p_callback != NULL) && events) in port_start_close() 162 p_port->p_callback(events, p_port->handle); in port_start_close() 214 if (p_port->p_callback && (p_port->ev_mask & PORT_EV_CONNECT_ERR)) { in PORT_StartCnf() 215 (p_port->p_callback)(PORT_EV_CONNECT_ERR, p_port->handle); in PORT_StartCnf() 449 if (p_port->p_callback && (p_port->ev_mask & PORT_EV_CONNECTED)) in PORT_DlcEstablishInd() 450 (p_port->p_callback)(PORT_EV_CONNECTED, p_port->handle); in PORT_DlcEstablishInd() 489 if (p_port->p_callback && (p_port->ev_mask & PORT_EV_CONNECTED)) in PORT_DlcEstablishCnf() 490 (p_port->p_callback)(PORT_EV_CONNECTED, p_port->handle); in PORT_DlcEstablishCnf() 616 if (event && p_port->p_callback) (p_port->p_callback)(event, p_port->handle); in PORT_ControlInd() 656 if (event && p_port->p_callback) (p_port->p_callback)(event, p_port->handle); in PORT_ControlCnf() [all …]
|
D | port_api.cc | 331 p_port->p_callback = p_port_cb; in PORT_SetEventCallback() 655 if (p_port->p_callback && events) { in PORT_FlowControl_MaxCredit() 656 p_port->p_callback(events, p_port->handle); in PORT_FlowControl_MaxCredit() 793 if ((p_port->p_callback != NULL) && (p_port->ev_mask & PORT_EV_ERR)) in port_write() 794 p_port->p_callback(PORT_EV_ERR, p_port->handle); in port_write() 969 if (p_port->p_callback && event) (p_port->p_callback)(event, p_port->handle); in PORT_WriteDataCO() 1080 if (p_port->p_callback && event) (p_port->p_callback)(event, p_port->handle); in PORT_WriteData()
|
D | port_int.h | 50 tPORT_CALLBACK* p_callback; /* Address of the callback function */ member 172 tPORT_CALLBACK* p_callback; /* Pointer to users callback function */ member
|
D | port_utils.cc | 107 p_port->p_callback = nullptr; in port_set_defaults() 249 tPORT_CALLBACK* p_port_cb = p_port->p_callback; in port_release_port() 256 p_port->p_callback = p_port_cb; in port_release_port()
|
/system/bt/stack/test/common/ |
D | mock_btm_layer.cc | 36 tBTM_SEC_CALLBACK* p_callback, in btm_sec_mx_access_request() argument 39 bd_addr, psm, is_originator, mx_proto_id, mx_chan_id, p_callback, in btm_sec_mx_access_request()
|
D | mock_btm_layer.h | 32 uint32_t mx_proto_id, uint32_t mx_chan_id, tBTM_SEC_CALLBACK* p_callback, 43 uint32_t mx_chan_id, tBTM_SEC_CALLBACK* p_callback,
|
/system/bt/stack/btm/ |
D | btm_sec.cc | 87 tBTM_SEC_CALLBACK* p_callback, 112 tBTM_SEC_CALLBACK* p_callback, 267 bool BTM_SecAddRmtNameNotifyCallback(tBTM_RMT_NAME_CALLBACK* p_callback) { in BTM_SecAddRmtNameNotifyCallback() argument 272 btm_cb.p_rmt_name_callback[i] = p_callback; in BTM_SecAddRmtNameNotifyCallback() 290 bool BTM_SecDeleteRmtNameNotifyCallback(tBTM_RMT_NAME_CALLBACK* p_callback) { in BTM_SecDeleteRmtNameNotifyCallback() argument 294 if (btm_cb.p_rmt_name_callback[i] == p_callback) { in BTM_SecDeleteRmtNameNotifyCallback() 1139 tBTM_SEC_CBACK* p_callback, void* p_ref_data, in BTM_SetEncryption() argument 1142 return bluetooth::shim::BTM_SetEncryption(bd_addr, transport, p_callback, in BTM_SetEncryption() 1157 if (p_callback) in BTM_SetEncryption() 1158 (*p_callback)(&bd_addr, transport, p_ref_data, BTM_WRONG_MODE); in BTM_SetEncryption() [all …]
|
D | btm_int.h | 218 tBTM_SEC_CALLBACK* p_callback, 224 tBTM_SEC_CALLBACK* p_callback, 269 tBTM_SEC_CALLBACK* p_callback, void* p_ref_data);
|
D | btm_int_types.h | 451 tBTM_SEC_CALLBACK* p_callback; member 672 tBTM_SEC_CALLBACK* p_callback; member
|
D | btm_ble.cc | 1064 tBTM_SEC_CALLBACK* p_callback, in btm_ble_start_sec_check() argument 1073 (*p_callback)(&bd_addr, BT_TRANSPORT_LE, p_ref_data, BTM_MODE_UNSUPPORTED); in btm_ble_start_sec_check() 1111 p_callback(&bd_addr, BT_TRANSPORT_LE, p_ref_data, BTM_SUCCESS); in btm_ble_start_sec_check() 1139 BTM_SetEncryption(bd_addr, BT_TRANSPORT_LE, p_callback, p_ref_data, in btm_ble_start_sec_check() 1682 if (p_dev_rec->p_callback && enc_cback) { in btm_ble_link_encrypted()
|
/system/bt/stack/gap/ |
D | gap_conn.cc | 66 tGAP_CONN_CALLBACK* p_callback; /* Users callback function */ member 228 p_ccb->p_callback = p_cb; in GAP_ConnOpen() 692 p_ccb->p_callback(p_ccb->gap_handle, GAP_EVT_TX_EMPTY, nullptr); in gap_tx_complete_ind() 703 p_ccb->p_callback(p_ccb->gap_handle, GAP_EVT_LE_COC_CREDITS, &data); in gap_credits_received_cb() 791 p_ccb->p_callback(p_ccb->gap_handle, GAP_EVT_CONN_OPENED, nullptr); in gap_checks_con_flags() 872 if (p_ccb->p_callback) in gap_connect_cfm() 873 (*p_ccb->p_callback)(p_ccb->gap_handle, GAP_EVT_CONN_CLOSED, nullptr); in gap_connect_cfm() 950 p_ccb->p_callback(p_ccb->gap_handle, GAP_EVT_CONN_CLOSED, nullptr); in gap_config_cfm() 976 p_ccb->p_callback(p_ccb->gap_handle, GAP_EVT_CONN_CLOSED, nullptr); in gap_disconnect_ind() 1008 p_ccb->p_callback(p_ccb->gap_handle, GAP_EVT_CONN_DATA_AVAIL, nullptr); in gap_data_ind() [all …]
|
/system/bt/stack/l2cap/ |
D | l2c_ble.cc | 1173 (*(p_buf->p_callback))(p_bda, BT_TRANSPORT_LE, p_buf->p_ref_data, status); in l2cble_sec_comp() 1178 (*(p_buf->p_callback))(p_bda, BT_TRANSPORT_LE, p_buf->p_ref_data, in l2cble_sec_comp() 1182 (*(p_buf->p_callback))(p_bda, BT_TRANSPORT_LE, p_buf->p_ref_data, in l2cble_sec_comp() 1189 (*(p_buf->p_callback))(p_bda, BT_TRANSPORT_LE, p_buf->p_ref_data, in l2cble_sec_comp() 1204 (*(p_buf->p_callback))(p_bda, BT_TRANSPORT_LE, p_buf->p_ref_data, status); in l2cble_sec_comp() 1207 p_buf->p_callback, p_buf->p_ref_data); in l2cble_sec_comp() 1225 tL2CAP_SEC_CBACK* p_callback, in l2ble_sec_access_req() argument 1231 if (!p_callback) { in l2ble_sec_access_req() 1240 p_callback(bd_addr, BT_TRANSPORT_LE, p_ref_data, BTM_UNKNOWN_ADDR); in l2ble_sec_access_req() 1247 p_callback(bd_addr, BT_TRANSPORT_LE, p_ref_data, BTM_NO_RESOURCES); in l2ble_sec_access_req() [all …]
|
D | l2c_int.h | 262 tL2CAP_SEC_CBACK* p_callback; member 805 tL2CAP_SEC_CBACK* p_callback,
|
/system/bt/stack/include/ |
D | btm_api.h | 966 extern bool BTM_SecAddRmtNameNotifyCallback(tBTM_RMT_NAME_CALLBACK* p_callback); 979 tBTM_RMT_NAME_CALLBACK* p_callback); 1243 tBTM_SEC_CBACK* p_callback,
|
/system/bt/stack/smp/ |
D | smp_utils.cc | 858 tSMP_CALLBACK* p_callback = p_cb->p_callback; in smp_cb_cleanup() local 868 p_cb->p_callback = p_callback; in smp_cb_cleanup() 932 tSMP_CALLBACK* p_callback = p_cb->p_callback; in smp_proc_pairing_cmpl() local 953 if (p_callback) (*p_callback)(SMP_COMPLT_EVT, pairing_bda, &evt_data); in smp_proc_pairing_cmpl()
|
D | smp_api.cc | 122 if (smp_cb.p_callback != NULL) { in SMP_Register() 125 smp_cb.p_callback = p_cback; in SMP_Register()
|
D | smp_keys.cc | 127 if (p_cb->p_callback) { in smp_proc_passkey() 130 (*p_cb->p_callback)(SMP_PASSKEY_NOTIF_EVT, p_cb->pairing_bda, in smp_proc_passkey()
|
D | smp_int.h | 255 tSMP_CALLBACK* p_callback; member
|
D | smp_act.cc | 106 if (p_cb->p_callback && p_cb->cb_evt != 0) { in smp_send_app_cback() 142 (*p_cb->p_callback)(p_cb->cb_evt, p_cb->pairing_bda, &cb_data); in smp_send_app_cback()
|
/system/bt/main/shim/ |
D | btm_api.h | 1524 bool BTM_SecAddRmtNameNotifyCallback(tBTM_RMT_NAME_CALLBACK* p_callback); 1536 bool BTM_SecDeleteRmtNameNotifyCallback(tBTM_RMT_NAME_CALLBACK* p_callback); 1791 tBTM_SEC_CBACK* p_callback, void* p_ref_data, 2188 tBTM_SEC_CBACK* p_callback,
|
D | btm_api.cc | 1101 uint32_t mx_proto_id, uint32_t mx_chan_id, tBTM_SEC_CBACK* p_callback, in btm_sec_mx_access_request() argument 1107 if (p_callback) { in btm_sec_mx_access_request() 1108 (*p_callback)(&bd_addr, false, p_ref_data, BTM_SUCCESS); in btm_sec_mx_access_request() 1115 tBTM_SEC_CBACK* p_callback, in BTM_SetEncryption() argument 1119 (*p_callback)(&bd_addr, transport, p_ref_data, BTM_SUCCESS); in BTM_SetEncryption()
|
/system/bt/bta/dm/ |
D | bta_dm_api.cc | 702 tBTA_DM_ENCRYPT_CBACK* p_callback, in BTA_DmSetEncryption() argument 706 transport, p_callback, sec_act)); in BTA_DmSetEncryption()
|
D | bta_dm_act.cc | 3620 tBTA_DM_ENCRYPT_CBACK* p_callback = NULL; in bta_dm_encrypt_cback() local 3630 p_callback = bta_dm_cb.device_list.peer_device[i].p_encrypt_cback; in bta_dm_encrypt_cback() 3652 bta_status, p_callback); in bta_dm_encrypt_cback() 3654 if (p_callback) { in bta_dm_encrypt_cback() 3655 (*p_callback)(*bd_addr, transport, bta_status); in bta_dm_encrypt_cback() 3661 tBTA_DM_ENCRYPT_CBACK* p_callback, in bta_dm_set_encryption() argument 3666 if (!p_callback) { in bta_dm_set_encryption() 3678 (*p_callback)(bd_addr, transport, BTA_BUSY); in bta_dm_set_encryption() 3684 bta_dm_cb.device_list.peer_device[i].p_encrypt_cback = p_callback; in bta_dm_set_encryption()
|
/system/nfc/src/gki/common/ |
D | gki_time.cc | 568 void GKI_timer_queue_register_callback(SYSTEM_TICK_CBACK* p_callback) { in GKI_timer_queue_register_callback() argument 569 gki_cb.com.p_tick_cb = p_callback; in GKI_timer_queue_register_callback()
|
/system/bt/bta/include/ |
D | bta_api.h | 1504 tBTA_DM_ENCRYPT_CBACK* p_callback,
|