/packages/modules/Bluetooth/system/stack/btm/ |
D | btm_sec.cc | 108 tBTM_SEC_CALLBACK* p_callback, 127 tBTM_SEC_CALLBACK* p_callback, 270 bool BTM_SecAddRmtNameNotifyCallback(tBTM_RMT_NAME_CALLBACK* p_callback) { in BTM_SecAddRmtNameNotifyCallback() argument 275 btm_cb.p_rmt_name_callback[i] = p_callback; in BTM_SecAddRmtNameNotifyCallback() 293 bool BTM_SecDeleteRmtNameNotifyCallback(tBTM_RMT_NAME_CALLBACK* p_callback) { in BTM_SecDeleteRmtNameNotifyCallback() argument 297 if (btm_cb.p_rmt_name_callback[i] == p_callback) { in BTM_SecDeleteRmtNameNotifyCallback() 1051 tBTM_SEC_CALLBACK* p_callback, void* p_ref_data, in BTM_SetEncryption() argument 1054 return bluetooth::shim::BTM_SetEncryption(bd_addr, transport, p_callback, in BTM_SetEncryption() 1071 if (p_callback) in BTM_SetEncryption() 1072 (*p_callback)(&bd_addr, transport, p_ref_data, BTM_WRONG_MODE); in BTM_SetEncryption() [all …]
|
D | btm_sec.h | 69 bool BTM_SecAddRmtNameNotifyCallback(tBTM_RMT_NAME_CALLBACK* p_callback); 81 bool BTM_SecDeleteRmtNameNotifyCallback(tBTM_RMT_NAME_CALLBACK* p_callback); 286 tBTM_SEC_CALLBACK* p_callback, void* p_ref_data, 398 tBTM_SEC_CALLBACK* p_callback, 404 tBTM_SEC_CALLBACK* p_callback, void* p_ref_data); 431 tBTM_SEC_CALLBACK* p_callback,
|
D | security_device_record.h | 217 tBTM_SEC_CALLBACK* p_callback; member 358 tBTM_SEC_CALLBACK* p_callback, 363 tBTM_SEC_CALLBACK* p_callback, void* p_ref_data); 367 tBTM_SEC_CALLBACK* p_callback,
|
/packages/modules/Bluetooth/system/stack/rfcomm/ |
D | port_rfc.cc | 163 if ((p_port->p_callback != NULL) && events) in port_start_close() 164 p_port->p_callback(events, p_port->handle); in port_start_close() 220 if (p_port->p_callback && (p_port->ev_mask & PORT_EV_CONNECT_ERR)) { in PORT_StartCnf() 221 (p_port->p_callback)(PORT_EV_CONNECT_ERR, p_port->handle); in PORT_StartCnf() 457 if (p_port->p_callback && (p_port->ev_mask & PORT_EV_CONNECTED)) in PORT_DlcEstablishInd() 458 (p_port->p_callback)(PORT_EV_CONNECTED, p_port->handle); in PORT_DlcEstablishInd() 504 if (p_port->p_callback && (p_port->ev_mask & PORT_EV_CONNECTED)) in PORT_DlcEstablishCnf() 505 (p_port->p_callback)(PORT_EV_CONNECTED, p_port->handle); in PORT_DlcEstablishCnf() 636 if (event && p_port->p_callback) (p_port->p_callback)(event, p_port->handle); in PORT_ControlInd() 676 if (event && p_port->p_callback) (p_port->p_callback)(event, p_port->handle); in PORT_ControlCnf() [all …]
|
D | port_api.cc | 335 p_port->p_callback = p_port_cb; in PORT_SetEventCallback() 666 if (p_port->p_callback && events) { in PORT_FlowControl_MaxCredit() 667 p_port->p_callback(events, p_port->handle); in PORT_FlowControl_MaxCredit() 811 if ((p_port->p_callback != NULL) && (p_port->ev_mask & PORT_EV_ERR)) in port_write() 812 p_port->p_callback(PORT_EV_ERR, p_port->handle); in port_write() 987 if (p_port->p_callback && event) (p_port->p_callback)(event, p_port->handle); in PORT_WriteDataCO() 1102 if (p_port->p_callback && event) (p_port->p_callback)(event, p_port->handle); in PORT_WriteData()
|
D | port_int.h | 52 tPORT_CALLBACK* p_callback; /* Address of the callback function */ member 175 tPORT_CALLBACK* p_callback; /* Pointer to users callback function */ member
|
D | port_utils.cc | 107 p_port->p_callback = nullptr; in port_set_defaults() 250 tPORT_CALLBACK* p_port_cb = p_port->p_callback; in port_release_port() 257 p_port->p_callback = p_port_cb; in port_release_port()
|
/packages/modules/Bluetooth/system/test/mock/ |
D | mock_stack_btm_sec.cc | 90 bool BTM_SecAddRmtNameNotifyCallback(tBTM_RMT_NAME_CALLBACK* p_callback) { in BTM_SecAddRmtNameNotifyCallback() argument 94 bool BTM_SecDeleteRmtNameNotifyCallback(tBTM_RMT_NAME_CALLBACK* p_callback) { in BTM_SecDeleteRmtNameNotifyCallback() argument 162 tBTM_SEC_CALLBACK* p_callback, void* p_ref_data, in BTM_SetEncryption() argument 167 bd_addr, transport, p_callback, p_ref_data, sec_act); in BTM_SetEncryption() 189 tBTM_SEC_CALLBACK* p_callback, in btm_sec_l2cap_access_req() argument 196 tBTM_SEC_CALLBACK* p_callback, void* p_ref_data) { in btm_sec_l2cap_access_req_by_requirement() argument 203 tBTM_SEC_CALLBACK* p_callback, in btm_sec_mx_access_request() argument
|
D | mock_stack_btm_sec.h | 29 tBTM_SEC_CALLBACK* p_callback, void* p_ref_data, 33 tBTM_SEC_CALLBACK* p_callback, void* p_ref_data, in operator() 35 return body(bd_addr, transport, p_callback, p_ref_data, sec_act); in operator()
|
D | mock_stack_l2cap_ble.h | 282 tL2CAP_SEC_CBACK* p_callback, void* p_ref_data)> 284 tL2CAP_SEC_CBACK* p_callback, 288 tL2CAP_SEC_CBACK* p_callback, in operator() 290 return body(bd_addr, psm, is_originator, p_callback, p_ref_data); in operator()
|
D | mock_bta_dm_api.h | 395 tBTA_DM_ENCRYPT_CBACK* p_callback, 398 tBTA_DM_ENCRYPT_CBACK* p_callback, tBTM_BLE_SEC_ACT sec_act) {}}; 400 tBTA_DM_ENCRYPT_CBACK* p_callback, tBTM_BLE_SEC_ACT sec_act) { in operator() 401 body(bd_addr, transport, p_callback, sec_act); in operator()
|
D | mock_main_shim_btm_api.cc | 98 tBTM_RMT_NAME_CALLBACK* p_callback) { in BTM_SecAddRmtNameNotifyCallback() argument 107 tBTM_RMT_NAME_CALLBACK* p_callback) { in BTM_SecDeleteRmtNameNotifyCallback() argument 209 tBTM_SEC_CALLBACK* p_callback, in BTM_SetEncryption() argument 226 uint16_t security_requirement, tBTM_SEC_CALLBACK* p_callback, in btm_sec_mx_access_request() argument
|
D | mock_bta_dm_act.h | 743 tBTA_DM_ENCRYPT_CBACK* p_callback, 746 tBTA_DM_ENCRYPT_CBACK* p_callback, tBTM_BLE_SEC_ACT sec_act) {}}; 748 tBTA_DM_ENCRYPT_CBACK* p_callback, tBTM_BLE_SEC_ACT sec_act) { in operator() 749 body(bd_addr, transport, p_callback, sec_act); in operator()
|
D | mock_stack_l2cap_ble.cc | 184 tL2CAP_SEC_CBACK* p_callback, in l2ble_sec_access_req() argument 188 bd_addr, psm, is_originator, p_callback, p_ref_data); in l2ble_sec_access_req()
|
/packages/modules/Bluetooth/system/stack/gap/ |
D | gap_conn.cc | 68 tGAP_CONN_CALLBACK* p_callback; /* Users callback function */ member 225 p_ccb->p_callback = p_cb; in GAP_ConnOpen() 588 p_ccb->p_callback(p_ccb->gap_handle, GAP_EVT_TX_EMPTY, nullptr); in gap_tx_complete_ind() 669 p_ccb->p_callback(p_ccb->gap_handle, GAP_EVT_CONN_OPENED, nullptr); in gap_checks_con_flags() 694 if (p_ccb->p_callback) in gap_on_l2cap_error() 695 (*p_ccb->p_callback)(p_ccb->gap_handle, GAP_EVT_CONN_CLOSED, nullptr); in gap_on_l2cap_error() 827 p_ccb->p_callback(p_ccb->gap_handle, GAP_EVT_CONN_CLOSED, nullptr); in gap_disconnect_ind() 859 p_ccb->p_callback(p_ccb->gap_handle, GAP_EVT_CONN_DATA_AVAIL, nullptr); in gap_data_ind() 882 p_ccb->p_callback( in gap_congestion_ind()
|
/packages/modules/Bluetooth/system/stack/l2cap/ |
D | l2c_ble.cc | 56 tBTM_SEC_CALLBACK* p_callback, 1527 (*(p_buf->p_callback))(p_bda, BT_TRANSPORT_LE, p_buf->p_ref_data, status); in l2cble_sec_comp() 1532 (*(p_buf->p_callback))(p_bda, BT_TRANSPORT_LE, p_buf->p_ref_data, in l2cble_sec_comp() 1536 (*(p_buf->p_callback))(p_bda, BT_TRANSPORT_LE, p_buf->p_ref_data, in l2cble_sec_comp() 1543 (*(p_buf->p_callback))(p_bda, BT_TRANSPORT_LE, p_buf->p_ref_data, in l2cble_sec_comp() 1558 (*(p_buf->p_callback))(p_bda, BT_TRANSPORT_LE, p_buf->p_ref_data, status); in l2cble_sec_comp() 1563 p_buf->p_callback, p_buf->p_ref_data); in l2cble_sec_comp() 1583 tL2CAP_SEC_CBACK* p_callback, in l2ble_sec_access_req() argument 1588 if (!p_callback) { in l2ble_sec_access_req() 1597 p_callback(bd_addr, BT_TRANSPORT_LE, p_ref_data, BTM_UNKNOWN_ADDR); in l2ble_sec_access_req() [all …]
|
/packages/modules/Bluetooth/system/stack/include/ |
D | btm_client_interface.h | 126 bool (*BTM_SecAddRmtNameNotifyCallback)(tBTM_RMT_NAME_CALLBACK* p_callback); 129 tBTM_RMT_NAME_CALLBACK* p_callback); 153 tBTM_RMT_NAME_CALLBACK* p_callback); 156 tBTM_SEC_CALLBACK* p_callback,
|
/packages/modules/Bluetooth/system/stack/test/common/ |
D | mock_btm_layer.h | 34 uint32_t mx_proto_id, uint32_t mx_chan_id, tBTM_SEC_CALLBACK* p_callback, 45 uint32_t mx_chan_id, tBTM_SEC_CALLBACK* p_callback,
|
D | mock_btm_layer.cc | 39 tBTM_SEC_CALLBACK* p_callback, in btm_sec_mx_access_request() argument 43 p_callback, p_ref_data); in btm_sec_mx_access_request()
|
/packages/modules/Bluetooth/system/main/shim/ |
D | btm_api.h | 1305 bool BTM_SecAddRmtNameNotifyCallback(tBTM_RMT_NAME_CALLBACK* p_callback); 1317 bool BTM_SecDeleteRmtNameNotifyCallback(tBTM_RMT_NAME_CALLBACK* p_callback); 1515 tBTM_SEC_CALLBACK* p_callback, void* p_ref_data, 1858 tBTM_SEC_CALLBACK* p_callback,
|
D | btm_api.cc | 1276 uint16_t security_requirement, tBTM_SEC_CALLBACK* p_callback, in btm_sec_mx_access_request() argument 1282 if (p_callback) { in btm_sec_mx_access_request() 1283 (*p_callback)(&bd_addr, false, p_ref_data, BTM_SUCCESS); in btm_sec_mx_access_request() 1290 tBTM_SEC_CALLBACK* p_callback, in BTM_SetEncryption() argument 1294 (*p_callback)(&bd_addr, transport, p_ref_data, BTM_SUCCESS); in BTM_SetEncryption() 1311 tBTM_RMT_NAME_CALLBACK* p_callback) { in BTM_SecAddRmtNameNotifyCallback() argument 1318 tBTM_RMT_NAME_CALLBACK* p_callback) { in BTM_SecDeleteRmtNameNotifyCallback() argument
|
/packages/modules/Bluetooth/system/stack/smp/ |
D | smp_utils.cc | 884 tSMP_CALLBACK* p_callback = p_cb->p_callback; in smp_cb_cleanup() local 894 p_cb->p_callback = p_callback; in smp_cb_cleanup() 957 tSMP_CALLBACK* p_callback = p_cb->p_callback; in smp_proc_pairing_cmpl() local 1011 if (p_callback) (*p_callback)(SMP_COMPLT_EVT, pairing_bda, &evt_data); in smp_proc_pairing_cmpl()
|
/packages/modules/Bluetooth/system/bta/test/common/ |
D | btm_api_mock.cc | 48 tBTM_SEC_CALLBACK* p_callback, void* p_ref_data, in BTM_SetEncryption() argument 50 return btm_interface->SetEncryption(bd_addr, transport, p_callback, in BTM_SetEncryption()
|
D | btm_api_mock.h | 39 tBTM_SEC_CALLBACK* p_callback, 74 tBTM_SEC_CALLBACK* p_callback, void* p_ref_data,
|
/packages/modules/Bluetooth/system/stack/test/btm/ |
D | stack_btm_test.cc | 381 tBTM_SEC_CALLBACK* p_callback{nullptr}; in TEST_F() local 385 ASSERT_EQ(BTM_WRONG_MODE, BTM_SetEncryption(bd_addr, transport, p_callback, in TEST_F() 394 ASSERT_EQ(BTM_WRONG_MODE, BTM_SetEncryption(bd_addr, transport, p_callback, in TEST_F()
|