Searched defs:p_result (Results 1 - 8 of 8) sorted by relevance

/system/bt/stack/avrc/
H A Davrc_pars_ct.c43 static tAVRC_STS avrc_pars_vendor_rsp(tAVRC_MSG_VENDOR *p_msg, tAVRC_RESPONSE *p_result) argument
57 BE_STREAM_TO_UINT8 (p_result->pdu, p);
60 AVRC_TRACE_DEBUG("avrc_pars_vendor_rsp() ctype:0x%x pdu:0x%x, len:%d/0x%x", p_msg->hdr.ctype, p_result->pdu, len, len);
63 p_result->rsp.status = *p;
64 return p_result->rsp.status;
67 switch (p_result->pdu)
78 BE_STREAM_TO_UINT8 (p_result->volume.volume, p);
90 p_result->reg_notif.status=p_msg->hdr.ctype;
91 p_result->reg_notif.event_id=eventid;
92 BE_STREAM_TO_UINT8 (p_result
116 AVRC_ParsResponse(tAVRC_MSG *p_msg, tAVRC_RESPONSE *p_result, UINT8 *p_buf, UINT16 buf_len) argument
[all...]
H A Davrc_pars_tg.c41 static tAVRC_STS avrc_pars_vendor_cmd(tAVRC_MSG_VENDOR *p_msg, tAVRC_COMMAND *p_result, argument
61 p_result->pdu = *p++;
62 AVRC_TRACE_DEBUG("avrc_pars_vendor_cmd() pdu:0x%x", p_result->pdu);
63 if (!AVRC_IsValidAvcType (p_result->pdu, p_msg->hdr.ctype))
79 switch (p_result->pdu)
82 p_result->get_caps.capability_id = *p++;
83 if (!AVRC_IS_VALID_CAP_ID(p_result->get_caps.capability_id))
96 p_result->list_app_values.attr_id = *p++;
97 if (!AVRC_IS_VALID_ATTRIBUTE(p_result->list_app_values.attr_id))
105 BE_STREAM_TO_UINT8 (p_result
289 AVRC_ParsCommand(tAVRC_MSG *p_msg, tAVRC_COMMAND *p_result, UINT8 *p_buf, UINT16 buf_len) argument
[all...]
/system/bt/stack/a2dp/
H A Da2d_sbc.c218 ** p_result: the resulting codec info byte sequence.
223 tA2D_STATUS A2D_BldSbcInfo(UINT8 media_type, tA2D_SBC_CIE *p_ie, UINT8 *p_result) argument
227 if( p_ie == NULL || p_result == NULL ||
245 *p_result++ = A2D_SBC_INFO_LEN;
246 *p_result++ = media_type;
247 *p_result++ = A2D_MEDIA_CT_SBC;
250 *p_result++ = p_ie->samp_freq | p_ie->ch_mode;
252 *p_result++ = p_ie->block_len | p_ie->num_subbands | p_ie->alloc_mthd;
254 *p_result++ = p_ie->min_bitpool;
255 *p_result
[all...]
/system/bt/bta/gatt/
H A Dbta_gattc_api.c478 ** p_result: output parameter which will store the GATT ID
485 tBT_UUID *p_uuid_cond, tBTA_GATTC_INCL_SVC_ID *p_result)
489 if (!p_srvc_id || !p_result)
497 &p_result->incl_svc_id.id,
498 (void *)&p_result->incl_svc_id.is_primary))
501 memcpy(&p_result->srvc_id, p_srvc_id, sizeof(tBTA_GATT_SRVC_ID));
518 ** p_result: output parameter which will store the GATT ID
527 tBTA_GATTC_INCL_SVC_ID *p_result)
531 if (!p_start_id || !p_result)
539 &p_result
484 BTA_GATTC_GetFirstIncludedService(UINT16 conn_id, tBTA_GATT_SRVC_ID *p_srvc_id, tBT_UUID *p_uuid_cond, tBTA_GATTC_INCL_SVC_ID *p_result) argument
524 BTA_GATTC_GetNextIncludedService(UINT16 conn_id, tBTA_GATTC_INCL_SVC_ID *p_start_id, tBT_UUID *p_uuid_cond, tBTA_GATTC_INCL_SVC_ID *p_result) argument
[all...]
H A Dbta_gattc_cache.c1284 ** Parameter p_result: output parameter to store the characteristic/
1295 tBTA_GATT_ID *p_result,
1325 bta_gattc_pack_attr_uuid(p_attr, &p_result->uuid);
1330 if (bta_gattc_uuid_compare(&p_start_rec->uuid, &p_result->uuid, FALSE) &&
1355 if (bta_gattc_uuid_compare(&p_descr_id->uuid, &p_result->uuid, TRUE)
1364 if (bta_gattc_uuid_compare(p_uuid_cond, &p_result->uuid, FALSE))
1366 p_result->inst_id = p_attr->inst_id;
1375 if (bta_gattc_uuid_compare(p_uuid_cond, &p_result->uuid, FALSE) &&
1382 p_result->inst_id = p_attr->inst_id;
1290 bta_gattc_find_record(tBTA_GATTC_SERV *p_srcb, tBTA_GATTC_ATTR_TYPE attr_type, tBTA_GATT_SRVC_ID *p_service_id, tBTA_GATT_ID *p_start_rec, tBT_UUID * p_uuid_cond, tBTA_GATT_ID *p_result, void *p_param) argument
/system/bt/bta/ag/
H A Dbta_ag_cmd.c1345 void bta_ag_hsp_result(tBTA_AG_SCB *p_scb, tBTA_AG_API_RESULT *p_result) argument
1347 UINT8 code = bta_ag_trans_result[p_result->result];
1349 APPL_TRACE_DEBUG("bta_ag_hsp_result : res = %d", p_result->result);
1351 switch(p_result->result)
1355 bta_ag_send_result(p_scb, code, NULL, p_result->data.num);
1366 bta_ag_send_ring(p_scb, (tBTA_AG_DATA *) p_result);
1377 bta_ag_sco_open(p_scb, (tBTA_AG_DATA *) p_result);
1384 if (p_result->result == BTA_AG_IN_CALL_CONN_RES)
1392 if (p_result->data.audio_handle == bta_ag_scb_to_idx(p_scb))
1394 bta_ag_sco_open(p_scb, (tBTA_AG_DATA *) p_result);
1458 bta_ag_hfp_result(tBTA_AG_SCB *p_scb, tBTA_AG_API_RESULT *p_result) argument
[all...]
/system/bt/bta/dm/
H A 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) argument
2520 p_msg->inq_cmpl.num = ((tBTM_INQUIRY_CMPL *)p_result)->num_resp;
2711 tBTM_REMOTE_DEV_NAME *p_result = (tBTM_REMOTE_DEV_NAME *)p_data; local
2722 if (p_result && p_result->status == BTM_SUCCESS)
2724 bytes_to_copy = (p_result->length < (BD_NAME_LEN-1))
2725 ? p_result
4076 bta_dm_eir_search_services( tBTM_INQ_RESULTS *p_result, tBTA_SERVICE_MASK *p_services_to_search, tBTA_SERVICE_MASK *p_services_found) argument
4386 bta_dm_observe_cmpl_cb(void * p_result) argument
[all...]
/system/bt/btif/src/
H A Dbtif_gatt_client.c1065 static void btm_read_rssi_cb (tBTM_RSSI_RESULTS *p_result) argument
1069 bdcpy(btif_cb.bd_addr.address, p_result->rem_bda);
1070 btif_cb.rssi = p_result->rssi;
1071 btif_cb.status = p_result->status;

Completed in 179 milliseconds