Home
last modified time | relevance | path

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

/system/bt/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
61 p_result->pdu = *p++; in avrc_pars_vendor_cmd()
62 AVRC_TRACE_DEBUG("avrc_pars_vendor_cmd() pdu:0x%x", p_result->pdu); in avrc_pars_vendor_cmd()
63 if (!AVRC_IsValidAvcType (p_result->pdu, p_msg->hdr.ctype)) in avrc_pars_vendor_cmd()
79 switch (p_result->pdu) in avrc_pars_vendor_cmd()
82 p_result->get_caps.capability_id = *p++; in avrc_pars_vendor_cmd()
83 if (!AVRC_IS_VALID_CAP_ID(p_result->get_caps.capability_id)) in avrc_pars_vendor_cmd()
96 p_result->list_app_values.attr_id = *p++; in avrc_pars_vendor_cmd()
97 if (!AVRC_IS_VALID_ATTRIBUTE(p_result->list_app_values.attr_id)) in avrc_pars_vendor_cmd()
105 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
57 BE_STREAM_TO_UINT8 (p_result->pdu, p); in avrc_pars_vendor_rsp()
60 …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()
63 p_result->rsp.status = *p; in avrc_pars_vendor_rsp()
64 return p_result->rsp.status; in avrc_pars_vendor_rsp()
67 switch (p_result->pdu) in avrc_pars_vendor_rsp()
78 BE_STREAM_TO_UINT8 (p_result->volume.volume, p); in avrc_pars_vendor_rsp()
90 p_result->reg_notif.status=p_msg->hdr.ctype; in avrc_pars_vendor_rsp()
91 p_result->reg_notif.event_id=eventid; in avrc_pars_vendor_rsp()
92 BE_STREAM_TO_UINT8 (p_result->reg_notif.param.volume, p); in avrc_pars_vendor_rsp()
[all …]
/system/bt/bta/ag/
Dbta_ag_cmd.c1345 void bta_ag_hsp_result(tBTA_AG_SCB *p_scb, tBTA_AG_API_RESULT *p_result) in bta_ag_hsp_result() argument
1347 UINT8 code = bta_ag_trans_result[p_result->result]; in bta_ag_hsp_result()
1349 APPL_TRACE_DEBUG("bta_ag_hsp_result : res = %d", p_result->result); in bta_ag_hsp_result()
1351 switch(p_result->result) in bta_ag_hsp_result()
1355 bta_ag_send_result(p_scb, code, NULL, p_result->data.num); in bta_ag_hsp_result()
1366 bta_ag_send_ring(p_scb, (tBTA_AG_DATA *) p_result); in bta_ag_hsp_result()
1377 bta_ag_sco_open(p_scb, (tBTA_AG_DATA *) p_result); in bta_ag_hsp_result()
1384 if (p_result->result == BTA_AG_IN_CALL_CONN_RES) in bta_ag_hsp_result()
1392 if (p_result->data.audio_handle == bta_ag_scb_to_idx(p_scb)) in bta_ag_hsp_result()
1394 bta_ag_sco_open(p_scb, (tBTA_AG_DATA *) p_result); in bta_ag_hsp_result()
[all …]
/system/bt/stack/a2dp/
Da2d_sbc.c223 tA2D_STATUS A2D_BldSbcInfo(UINT8 media_type, tA2D_SBC_CIE *p_ie, UINT8 *p_result) in A2D_BldSbcInfo() argument
227 if( p_ie == NULL || p_result == NULL || in A2D_BldSbcInfo()
245 *p_result++ = A2D_SBC_INFO_LEN; in A2D_BldSbcInfo()
246 *p_result++ = media_type; in A2D_BldSbcInfo()
247 *p_result++ = A2D_MEDIA_CT_SBC; in A2D_BldSbcInfo()
250 *p_result++ = p_ie->samp_freq | p_ie->ch_mode; in A2D_BldSbcInfo()
252 *p_result++ = p_ie->block_len | p_ie->num_subbands | p_ie->alloc_mthd; in A2D_BldSbcInfo()
254 *p_result++ = p_ie->min_bitpool; in A2D_BldSbcInfo()
255 *p_result = p_ie->max_bitpool; in A2D_BldSbcInfo()
/system/bt/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.c1295 tBTA_GATT_ID *p_result, in bta_gattc_find_record() argument
1325 bta_gattc_pack_attr_uuid(p_attr, &p_result->uuid); in bta_gattc_find_record()
1330 if (bta_gattc_uuid_compare(&p_start_rec->uuid, &p_result->uuid, FALSE) && in bta_gattc_find_record()
1355 if (bta_gattc_uuid_compare(&p_descr_id->uuid, &p_result->uuid, TRUE) in bta_gattc_find_record()
1364 if (bta_gattc_uuid_compare(p_uuid_cond, &p_result->uuid, FALSE)) in bta_gattc_find_record()
1366 p_result->inst_id = p_attr->inst_id; in bta_gattc_find_record()
1375 if (bta_gattc_uuid_compare(p_uuid_cond, &p_result->uuid, FALSE) && in bta_gattc_find_record()
1382 p_result->inst_id = p_attr->inst_id; in bta_gattc_find_record()
/system/bt/stack/include/
Davrc_api.h569 extern tAVRC_STS AVRC_ParsCommand (tAVRC_MSG *p_msg, tAVRC_COMMAND *p_result,
582 extern tAVRC_STS AVRC_ParsResponse (tAVRC_MSG *p_msg, tAVRC_RESPONSE *p_result,
Da2d_sbc.h135 UINT8 *p_result);
/system/bt/bta/dm/
Dbta_dm_act.c50 static void bta_dm_inq_cmpl_cb (void * p_result);
84 static void bta_dm_eir_search_services( tBTM_INQ_RESULTS *p_result,
125 static void bta_dm_observe_cmpl_cb(void * p_result);
2510 static void bta_dm_inq_cmpl_cb (void * p_result) in bta_dm_inq_cmpl_cb() argument
2520 p_msg->inq_cmpl.num = ((tBTM_INQUIRY_CMPL *)p_result)->num_resp; in bta_dm_inq_cmpl_cb()
2711 tBTM_REMOTE_DEV_NAME *p_result = (tBTM_REMOTE_DEV_NAME *)p_data; in bta_dm_pinname_cback() local
2722 if (p_result && p_result->status == BTM_SUCCESS) in bta_dm_pinname_cback()
2724 bytes_to_copy = (p_result->length < (BD_NAME_LEN-1)) in bta_dm_pinname_cback()
2725 ? p_result->length : (BD_NAME_LEN-1); in bta_dm_pinname_cback()
2726 memcpy(sec_event.cfm_req.bd_name, p_result->remote_bd_name, bytes_to_copy); in bta_dm_pinname_cback()
[all …]
/system/bt/bta/include/
Dbta_gatt_api.h860 tBTA_GATTC_INCL_SVC_ID *p_result);
883 tBTA_GATTC_INCL_SVC_ID *p_result);
/system/bt/btif/src/
Dbtif_gatt_client.c1065 static void btm_read_rssi_cb (tBTM_RSSI_RESULTS *p_result) in btm_read_rssi_cb() argument
1069 bdcpy(btif_cb.bd_addr.address, p_result->rem_bda); in btm_read_rssi_cb()
1070 btif_cb.rssi = p_result->rssi; in btm_read_rssi_cb()
1071 btif_cb.status = p_result->status; in btm_read_rssi_cb()