/system/bt/bta/gatt/ |
D | bta_gatts_act.cc | 179 tBTA_GATTS cb_data; in bta_gatts_register() local 205 cb_data.reg_oper.server_if = BTA_GATTS_INVALID_IF; in bta_gatts_register() 206 cb_data.reg_oper.uuid = p_msg->api_reg.app_uuid; in bta_gatts_register() 213 cb_data.reg_oper.server_if = p_cb->rcb[first_unuse].gatt_if = in bta_gatts_register() 229 cb_data.reg_oper.status = status; in bta_gatts_register() 231 (*p_msg->api_reg.p_cback)(BTA_GATTS_REG_EVT, &cb_data); in bta_gatts_register() 265 tBTA_GATTS cb_data; in bta_gatts_deregister() local 267 cb_data.reg_oper.server_if = p_msg->api_dereg.server_if; in bta_gatts_deregister() 268 cb_data.reg_oper.status = status; in bta_gatts_deregister() 281 cb_data.reg_oper.status = status; in bta_gatts_deregister() [all …]
|
D | bta_gattc_queue.cc | 32 void* cb_data; member 48 void* tmp_cb_data = tmp->cb_data; in gatt_read_op_finished() 63 void* cb_data; member 70 void* tmp_cb_data = tmp->cb_data; in gatt_write_op_finished() 112 data->cb_data = op.read_cb_data; in gatt_execute_next_op() 120 data->cb_data = op.read_cb_data; in gatt_execute_next_op() 128 data->cb_data = op.write_cb_data; in gatt_execute_next_op() 137 data->cb_data = op.write_cb_data; in gatt_execute_next_op() 151 GATT_READ_OP_CB cb, void* cb_data) { in ReadCharacteristic() argument 155 .read_cb_data = cb_data}); in ReadCharacteristic() [all …]
|
D | bta_gattc_act.cc | 299 tBTA_GATTC cb_data; in bta_gattc_process_api_open_cancel() local 300 cb_data.status = GATT_ERROR; in bta_gattc_process_api_open_cancel() 301 (*p_clreg->p_cback)(BTA_GATTC_CANCEL_OPEN_EVT, &cb_data); in bta_gattc_process_api_open_cancel() 311 tBTA_GATTC cb_data; in bta_gattc_process_enc_cmpl() local 312 memset(&cb_data, 0, sizeof(tBTA_GATTC)); in bta_gattc_process_enc_cmpl() 314 cb_data.enc_cmpl.client_if = client_if; in bta_gattc_process_enc_cmpl() 315 cb_data.enc_cmpl.remote_bda = bda; in bta_gattc_process_enc_cmpl() 317 (*p_clreg->p_cback)(BTA_GATTC_ENC_CMPL_CB_EVT, &cb_data); in bta_gattc_process_enc_cmpl() 322 tBTA_GATTC cb_data; in bta_gattc_cancel_open_error() local 324 cb_data.status = GATT_ERROR; in bta_gattc_cancel_open_error() [all …]
|
D | bta_gattc_cache.cc | 223 tBTA_GATTC_CB_DATA* cb_data = (tBTA_GATTC_CB_DATA*)user_data; in bta_gattc_sdp_callback() local 224 tBTA_GATTC_SERV* p_srvc_cb = bta_gattc_find_scb_by_cid(cb_data->sdp_conn_id); in bta_gattc_sdp_callback() 229 osi_free(cb_data); in bta_gattc_sdp_callback() 234 bta_gattc_explore_srvc_finished(cb_data->sdp_conn_id, p_srvc_cb); in bta_gattc_sdp_callback() 237 osi_free(cb_data); in bta_gattc_sdp_callback() 243 tSDP_DISC_REC* p_sdp_rec = SDP_FindServiceInDb(cb_data->p_sdp_db, 0, nullptr); in bta_gattc_sdp_callback() 273 p_sdp_rec = SDP_FindServiceInDb(cb_data->p_sdp_db, 0, p_sdp_rec); in bta_gattc_sdp_callback() 280 bta_gattc_explore_next_service(cb_data->sdp_conn_id, p_srvc_cb); in bta_gattc_sdp_callback() 284 osi_free(cb_data); in bta_gattc_sdp_callback() 297 tBTA_GATTC_CB_DATA* cb_data = (tBTA_GATTC_CB_DATA*)osi_malloc( in bta_gattc_sdp_service_disc() local [all …]
|
D | bta_gattc_api.cc | 358 GATT_READ_OP_CB callback, void* cb_data) { in BTA_GATTC_ReadCharacteristic() argument 367 p_buf->read_cb_data = cb_data; in BTA_GATTC_ReadCharacteristic() 379 GATT_READ_OP_CB callback, void* cb_data) { in BTA_GATTC_ReadUsingCharUuid() argument 391 p_buf->read_cb_data = cb_data; in BTA_GATTC_ReadUsingCharUuid() 410 void* cb_data) { in BTA_GATTC_ReadCharDescr() argument 419 p_buf->read_cb_data = cb_data; in BTA_GATTC_ReadCharDescr() 472 GATT_WRITE_OP_CB callback, void* cb_data) { in BTA_GATTC_WriteCharValue() argument 483 p_buf->write_cb_data = cb_data; in BTA_GATTC_WriteCharValue() 509 GATT_WRITE_OP_CB callback, void* cb_data) { in BTA_GATTC_WriteCharDescr() argument 519 p_buf->write_cb_data = cb_data; in BTA_GATTC_WriteCharDescr() [all …]
|
D | bta_gattc_utils.cc | 493 tBTA_GATTC cb_data; in bta_gattc_send_open_cback() local 496 memset(&cb_data, 0, sizeof(tBTA_GATTC)); in bta_gattc_send_open_cback() 498 cb_data.open.status = status; in bta_gattc_send_open_cback() 499 cb_data.open.client_if = p_clreg->client_if; in bta_gattc_send_open_cback() 500 cb_data.open.conn_id = conn_id; in bta_gattc_send_open_cback() 501 cb_data.open.mtu = mtu; in bta_gattc_send_open_cback() 502 cb_data.open.transport = transport; in bta_gattc_send_open_cback() 503 cb_data.open.remote_bda = remote_bda; in bta_gattc_send_open_cback() 505 (*p_clreg->p_cback)(BTA_GATTC_OPEN_EVT, &cb_data); in bta_gattc_send_open_cback()
|
/system/bt/bta/include/ |
D | bta_gatt_queue.h | 39 GATT_READ_OP_CB cb, void* cb_data); 41 GATT_READ_OP_CB cb, void* cb_data); 45 GATT_WRITE_OP_CB cb, void* cb_data); 49 void* cb_data);
|
D | bta_gatt_api.h | 574 GATT_READ_OP_CB callback, void* cb_data); 583 GATT_READ_OP_CB callback, void* cb_data); 599 void* cb_data); 619 GATT_WRITE_OP_CB callback, void* cb_data); 637 GATT_WRITE_OP_CB callback, void* cb_data); 705 GATT_WRITE_OP_CB callback, void* cb_data);
|
/system/bt/stack/smp/ |
D | smp_act.cc | 103 tSMP_EVT_DATA cb_data; in smp_send_app_cback() local 109 cb_data.io_req.auth_req = p_cb->peer_auth_req; in smp_send_app_cback() 110 cb_data.io_req.oob_data = SMP_OOB_NONE; in smp_send_app_cback() 111 cb_data.io_req.io_cap = btif_storage_get_local_io_caps_ble(); in smp_send_app_cback() 112 cb_data.io_req.max_key_size = SMP_MAX_ENC_KEY_SIZE; in smp_send_app_cback() 113 cb_data.io_req.init_keys = p_cb->local_i_key; in smp_send_app_cback() 114 cb_data.io_req.resp_keys = p_cb->local_r_key; in smp_send_app_cback() 115 SMP_TRACE_WARNING("io_cap = %d", cb_data.io_req.io_cap); in smp_send_app_cback() 119 cb_data.passkey = p_data->passkey; in smp_send_app_cback() 122 cb_data.req_oob_type = p_data->req_oob_type; in smp_send_app_cback() [all …]
|
/system/bt/stack/gatt/ |
D | gatt_utils.cc | 1182 tGATT_CL_COMPLETE cb_data; in gatt_end_operation() local 1194 memset(&cb_data.att_value, 0, sizeof(tGATT_VALUE)); in gatt_end_operation() 1198 cb_data.att_value.handle = p_clcb->s_handle; in gatt_end_operation() 1199 cb_data.att_value.len = p_clcb->counter; in gatt_end_operation() 1202 memcpy(cb_data.att_value.value, p_data, cb_data.att_value.len); in gatt_end_operation() 1206 memset(&cb_data.att_value, 0, sizeof(tGATT_VALUE)); in gatt_end_operation() 1207 cb_data.handle = cb_data.att_value.handle = p_clcb->s_handle; in gatt_end_operation() 1210 cb_data.att_value = *((tGATT_VALUE*)p_data); in gatt_end_operation() 1218 cb_data.mtu = p_clcb->p_tcb->payload_size; in gatt_end_operation() 1236 (*p_cmpl_cb)(conn_id, op, status, &cb_data); in gatt_end_operation()
|
/system/bt/stack/btm/ |
D | btm_ble.cc | 1264 tBTM_LE_EVT_DATA cb_data; in btm_sec_save_le_key() local 1372 cb_data.key.p_key_value = p_keys; in btm_sec_save_le_key() 1373 cb_data.key.key_type = key_type; in btm_sec_save_le_key() 1375 (*btm_cb.api.p_le_callback)(BTM_LE_KEY_EVT, bd_addr, &cb_data); in btm_sec_save_le_key()
|
/system/bt/bta/hh/ |
D | bta_hh_le.cc | 488 void* cb_data) { in bta_hh_le_read_char_descriptor() argument 493 BtaGattQueue::ReadDescriptor(p_cb->conn_id, p_desc->handle, cb, cb_data); in bta_hh_le_read_char_descriptor() 673 void* cb_data) { in bta_hh_le_write_ccc() argument 683 GATT_WRITE, cb, cb_data); in bta_hh_le_write_ccc()
|
/system/bt/btif/src/ |
D | btif_rc.cc | 2709 bool iterate_supported_event_list_for_interim_rsp(void* data, void* cb_data) { in iterate_supported_event_list_for_interim_rsp() argument 2713 p_event_id = (uint8_t*)cb_data; in iterate_supported_event_list_for_interim_rsp() 2734 bool iterate_supported_event_list_for_timeout(void* data, void* cb_data) { in iterate_supported_event_list_for_timeout() argument 2735 rc_context_t* cntxt = (rc_context_t*)cb_data; in iterate_supported_event_list_for_timeout()
|