Home
last modified time | relevance | path

Searched refs:p_result (Results 1 – 12 of 12) sorted by relevance

/external/bluetooth/bluedroid/stack/avrc/
Davrc_pars_tg.c41 static tAVRC_STS avrc_pars_vendor_cmd(tAVRC_MSG_VENDOR *p_msg, tAVRC_COMMAND *p_result, in avrc_pars_vendor_cmd() argument
54 p_result->pdu = *p++; in avrc_pars_vendor_cmd()
55 AVRC_TRACE_DEBUG("avrc_pars_vendor_cmd() pdu:0x%x", p_result->pdu); in avrc_pars_vendor_cmd()
56 if (!AVRC_IsValidAvcType (p_result->pdu, p_msg->hdr.ctype)) in avrc_pars_vendor_cmd()
72 switch (p_result->pdu) in avrc_pars_vendor_cmd()
75 p_result->get_caps.capability_id = *p++; in avrc_pars_vendor_cmd()
76 if (!AVRC_IS_VALID_CAP_ID(p_result->get_caps.capability_id)) in avrc_pars_vendor_cmd()
89 p_result->list_app_values.attr_id = *p++; in avrc_pars_vendor_cmd()
90 if (!AVRC_IS_VALID_ATTRIBUTE(p_result->list_app_values.attr_id)) in avrc_pars_vendor_cmd()
98 BE_STREAM_TO_UINT8 (p_result->get_cur_app_val.num_attr, p); in avrc_pars_vendor_cmd()
[all …]
Davrc_pars_ct.c43 static tAVRC_STS avrc_pars_vendor_rsp(tAVRC_MSG_VENDOR *p_msg, tAVRC_RESPONSE *p_result) in avrc_pars_vendor_rsp() argument
58 BE_STREAM_TO_UINT8 (p_result->pdu, p); in avrc_pars_vendor_rsp()
61 …rc_pars_vendor_rsp() ctype:0x%x pdu:0x%x, len:%d/0x%x", p_msg->hdr.ctype, p_result->pdu, len, len); in avrc_pars_vendor_rsp()
64 p_result->rsp.status = *p; in avrc_pars_vendor_rsp()
65 return p_result->rsp.status; in avrc_pars_vendor_rsp()
68 switch (p_result->pdu) in avrc_pars_vendor_rsp()
79 BE_STREAM_TO_UINT8 (p_result->volume.volume, p); in avrc_pars_vendor_rsp()
91 p_result->reg_notif.status=p_msg->hdr.ctype; in avrc_pars_vendor_rsp()
92 p_result->reg_notif.event_id=eventid; in avrc_pars_vendor_rsp()
93 BE_STREAM_TO_UINT8 (p_result->reg_notif.param.volume, p); in avrc_pars_vendor_rsp()
[all …]
/external/bluetooth/bluedroid/bta/ag/
Dbta_ag_cmd.c1318 void bta_ag_hsp_result(tBTA_AG_SCB *p_scb, tBTA_AG_API_RESULT *p_result) in bta_ag_hsp_result() argument
1320 UINT8 code = bta_ag_trans_result[p_result->result]; in bta_ag_hsp_result()
1322 APPL_TRACE_DEBUG("bta_ag_hsp_result : res = %d", p_result->result); in bta_ag_hsp_result()
1324 switch(p_result->result) in bta_ag_hsp_result()
1328 bta_ag_send_result(p_scb, code, NULL, p_result->data.num); in bta_ag_hsp_result()
1339 bta_ag_send_ring(p_scb, (tBTA_AG_DATA *) p_result); in bta_ag_hsp_result()
1350 bta_ag_sco_open(p_scb, (tBTA_AG_DATA *) p_result); in bta_ag_hsp_result()
1357 if (p_result->result == BTA_AG_IN_CALL_CONN_RES) in bta_ag_hsp_result()
1365 if (p_result->data.audio_handle == bta_ag_scb_to_idx(p_scb)) in bta_ag_hsp_result()
1367 bta_ag_sco_open(p_scb, (tBTA_AG_DATA *) p_result); in bta_ag_hsp_result()
[all …]
/external/bluetooth/bluedroid/stack/gap/
Dgap_utils.c164 tGAP_FINDADDR_RESULTS *p_result = &p_cb->results; in gap_find_addr_name_cb() local
174 …if (!strncmp ((char *)p_result->devname, (char *) p->remote_bd_name, strlen ((char *) p_result->de… in gap_find_addr_name_cb()
177 memcpy (p_result->bd_addr, p_cb->p_cur_inq->results.remote_bd_addr, BD_ADDR_LEN); in gap_find_addr_name_cb()
178 p_result->status = BT_PASS; in gap_find_addr_name_cb()
189 p_result->status = gap_convert_btm_status ((tBTM_STATUS) p->status); in gap_find_addr_name_cb()
192 p_result->status = GAP_EOINQDB; /* No inquiry results; we're done! */ in gap_find_addr_name_cb()
198 p_result->status = gap_convert_btm_status ((tBTM_STATUS) p->status); in gap_find_addr_name_cb()
203 p_cb->p_cback (GAP_EVT_FIND_ADDR_COMPLETE, (tGAP_FINDADDR_RESULTS *) p_result); in gap_find_addr_name_cb()
230 tGAP_FINDADDR_RESULTS *p_result = &p_cb->results; in gap_find_addr_inq_cb() local
241 …if ((p_result->status = gap_find_local_addr_by_name (p_result->devname, p_result->bd_addr)) == GAP… in gap_find_addr_inq_cb()
[all …]
/external/bluetooth/bluedroid/stack/a2dp/
Da2d_sbc.c224 tA2D_STATUS A2D_BldSbcInfo(UINT8 media_type, tA2D_SBC_CIE *p_ie, UINT8 *p_result) in A2D_BldSbcInfo() argument
228 if( p_ie == NULL || p_result == NULL || in A2D_BldSbcInfo()
246 *p_result++ = A2D_SBC_INFO_LEN; in A2D_BldSbcInfo()
247 *p_result++ = media_type; in A2D_BldSbcInfo()
248 *p_result++ = A2D_MEDIA_CT_SBC; in A2D_BldSbcInfo()
251 *p_result++ = p_ie->samp_freq | p_ie->ch_mode; in A2D_BldSbcInfo()
253 *p_result++ = p_ie->block_len | p_ie->num_subbands | p_ie->alloc_mthd; in A2D_BldSbcInfo()
255 *p_result++ = p_ie->min_bitpool; in A2D_BldSbcInfo()
256 *p_result = p_ie->max_bitpool; in A2D_BldSbcInfo()
416 UINT8 *p_result) in A2D_BldSbcInfo() argument
[all …]
/external/bluetooth/bluedroid/bta/gatt/
Dbta_gattc_api.c485 … tBT_UUID *p_uuid_cond, tBTA_GATTC_INCL_SVC_ID *p_result) in BTA_GATTC_GetFirstIncludedService() argument
489 if (!p_srvc_id || !p_result) in BTA_GATTC_GetFirstIncludedService()
497 &p_result->incl_svc_id.id, in BTA_GATTC_GetFirstIncludedService()
498 (void *)&p_result->incl_svc_id.is_primary)) in BTA_GATTC_GetFirstIncludedService()
501 memcpy(&p_result->srvc_id, p_srvc_id, sizeof(tBTA_GATT_SRVC_ID)); in BTA_GATTC_GetFirstIncludedService()
527 tBTA_GATTC_INCL_SVC_ID *p_result) in BTA_GATTC_GetNextIncludedService() argument
531 if (!p_start_id || !p_result) in BTA_GATTC_GetNextIncludedService()
539 &p_result->incl_svc_id.id, in BTA_GATTC_GetNextIncludedService()
540 (void *)&p_result->incl_svc_id.is_primary)) in BTA_GATTC_GetNextIncludedService()
543 memcpy(&p_result->srvc_id, &p_start_id->srvc_id, sizeof(tBTA_GATT_SRVC_ID)); in BTA_GATTC_GetNextIncludedService()
Dbta_gattc_cache.c1294 tBTA_GATT_ID *p_result, in bta_gattc_find_record() argument
1324 bta_gattc_pack_attr_uuid(p_attr, &p_result->uuid); in bta_gattc_find_record()
1329 if (bta_gattc_uuid_compare(&p_start_rec->uuid, &p_result->uuid, FALSE) && in bta_gattc_find_record()
1354 if (bta_gattc_uuid_compare(&p_descr_id->uuid, &p_result->uuid, TRUE) in bta_gattc_find_record()
1363 if (bta_gattc_uuid_compare(p_uuid_cond, &p_result->uuid, FALSE)) in bta_gattc_find_record()
1365 p_result->inst_id = p_attr->inst_id; in bta_gattc_find_record()
1374 if (bta_gattc_uuid_compare(p_uuid_cond, &p_result->uuid, FALSE) && in bta_gattc_find_record()
1381 p_result->inst_id = p_attr->inst_id; in bta_gattc_find_record()
/external/bluetooth/bluedroid/bta/dm/
Dbta_dm_act.c49 static void bta_dm_inq_cmpl_cb (void * p_result);
77 static void bta_dm_eir_search_services( tBTM_INQ_RESULTS *p_result,
82 static void bta_dm_rssi_cback (tBTM_RSSI_RESULTS *p_result);
84 static void bta_dm_link_quality_cback (tBTM_LINK_QUALITY_RESULTS *p_result);
115 static void bta_dm_observe_cmpl_cb (void * p_result);
2615 static void bta_dm_inq_cmpl_cb (void * p_result) in bta_dm_inq_cmpl_cb() argument
2624 p_msg->inq_cmpl.num = ((tBTM_INQUIRY_CMPL *)p_result)->num_resp; in bta_dm_inq_cmpl_cb()
2804 tBTM_REMOTE_DEV_NAME *p_result = (tBTM_REMOTE_DEV_NAME *)p_data; in bta_dm_pinname_cback() local
2815 if (p_result && p_result->status == BTM_SUCCESS) in bta_dm_pinname_cback()
2817 bytes_to_copy = (p_result->length < (BD_NAME_LEN-1)) in bta_dm_pinname_cback()
[all …]
/external/bluetooth/bluedroid/stack/include/
Davrc_api.h566 AVRC_API extern tAVRC_STS AVRC_ParsCommand (tAVRC_MSG *p_msg, tAVRC_COMMAND *p_result,
579 AVRC_API extern tAVRC_STS AVRC_ParsResponse (tAVRC_MSG *p_msg, tAVRC_RESPONSE *p_result,
Da2d_sbc.h135 UINT8 *p_result);
/external/bluetooth/bluedroid/bta/include/
Dbta_gatt_api.h860 … tBTA_GATTC_INCL_SVC_ID *p_result);
883 tBTA_GATTC_INCL_SVC_ID *p_result);
/external/bluetooth/bluedroid/btif/src/
Dbtif_gatt_client.c1015 static void btm_read_rssi_cb (tBTM_RSSI_RESULTS *p_result) in btm_read_rssi_cb() argument
1019 bdcpy(btif_cb.bd_addr.address, p_result->rem_bda); in btm_read_rssi_cb()
1020 btif_cb.rssi = p_result->rssi; in btm_read_rssi_cb()
1021 btif_cb.status = p_result->status; in btm_read_rssi_cb()