Searched refs:api_reg (Results 1 – 8 of 8) sorted by relevance
/system/bt/bta/hl/ |
D | bta_hl_main.c | 651 if (p_data->api_reg.p_cback) in bta_hl_api_update() 653 p_data->api_reg.p_cback(BTA_HL_REGISTER_CFM_EVT, (tBTA_HL *) &evt_data); in bta_hl_api_update() 664 if (p_data->api_reg.p_cback) in bta_hl_api_update() 666 p_data->api_reg.p_cback(BTA_HL_SDP_INFO_IND_EVT, (tBTA_HL *) &evt_data); in bta_hl_api_update() 690 if (!bta_hl_is_a_duplicate_id(p_data->api_reg.app_id)) in bta_hl_api_register() 696 p_acb->app_id = p_data->api_reg.app_id; in bta_hl_api_register() 697 p_acb->p_cback = p_data->api_reg.p_cback; in bta_hl_api_register() 698 p_acb->sec_mask = p_data->api_reg.sec_mask; in bta_hl_api_register() 699 p_acb->dev_type = p_data->api_reg.dev_type; in bta_hl_api_register() 700 strlcpy(p_acb->srv_name, p_data->api_reg.srv_name, BTA_SERVICE_NAME_LEN); in bta_hl_api_register() [all …]
|
D | bta_hl_int.h | 423 tBTA_HL_API_REGISTER api_reg; member
|
/system/bt/bta/gatt/ |
D | bta_gatts_act.c | 198 if (bta_gatts_uuid_compare(p_cb->rcb[i].app_uuid, p_msg->api_reg.app_uuid)) in bta_gatts_register() 219 memcpy(&cb_data.reg_oper.uuid, &p_msg->api_reg.app_uuid, sizeof(tBT_UUID)); in bta_gatts_register() 225 p_cb->rcb[first_unuse].p_cback = p_msg->api_reg.p_cback; in bta_gatts_register() 226 memcpy(&p_cb->rcb[first_unuse].app_uuid, &p_msg->api_reg.app_uuid, sizeof(tBT_UUID)); in bta_gatts_register() 229 GATT_Register(&p_msg->api_reg.app_uuid, &bta_gatts_cback); in bta_gatts_register() 246 if (p_msg->api_reg.p_cback) in bta_gatts_register() 247 (*p_msg->api_reg.p_cback)(BTA_GATTS_REG_EVT, &cb_data); in bta_gatts_register()
|
D | bta_gatts_int.h | 163 tBTA_GATTS_API_REG api_reg; member
|
D | bta_gattc_act.c | 189 tBT_UUID *p_app_uuid = &p_data->api_reg.app_uuid; in bta_gattc_register() 214 p_cb->cl_rcb[i].p_cback = p_data->api_reg.p_cback; in bta_gattc_register() 233 if (p_data->api_reg.p_cback) in bta_gattc_register() 239 (*p_data->api_reg.p_cback)(BTA_GATTC_REG_EVT, (tBTA_GATTC *)&cb_data); in bta_gattc_register()
|
D | bta_gattc_int.h | 213 tBTA_GATTC_API_REG api_reg; member
|
/system/bt/bta/av/ |
D | bta_av_main.c | 500 registr.app_id = p_data->api_reg.app_id; in bta_av_api_register() 503 UINT16 profile_initialized = p_data->api_reg.service_uuid; in bta_av_api_register() 591 if (p_data->api_reg.p_service_name[0] == 0) in bta_av_api_register() 597 p_service_name = p_data->api_reg.p_service_name; in bta_av_api_register() 656 p_scb->seps[index].p_app_data_cback = p_data->api_reg.p_app_data_cback; in bta_av_api_register()
|
D | bta_av_int.h | 419 tBTA_AV_API_REG api_reg; member
|