/external/bluetooth/bluedroid/stack/avrc/ |
avrc_pars_tg.c | 41 static tAVRC_STS avrc_pars_vendor_cmd(tAVRC_MSG_VENDOR *p_msg, tAVRC_COMMAND *p_result, 54 p_result->pdu = *p++; 55 AVRC_TRACE_DEBUG1("avrc_pars_vendor_cmd() pdu:0x%x", p_result->pdu); 56 if (!AVRC_IsValidAvcType (p_result->pdu, p_msg->hdr.ctype)) 72 switch (p_result->pdu) 75 p_result->get_caps.capability_id = *p++; 76 if (!AVRC_IS_VALID_CAP_ID(p_result->get_caps.capability_id)) 89 p_result->list_app_values.attr_id = *p++; 90 if (!AVRC_IS_VALID_ATTRIBUTE(p_result->list_app_values.attr_id)) 98 BE_STREAM_TO_UINT8 (p_result->get_cur_app_val.num_attr, p) [all...] |
avrc_pars_ct.c | 42 static tAVRC_STS avrc_pars_vendor_rsp(tAVRC_MSG_VENDOR *p_msg, tAVRC_RESPONSE *p_result, UINT8 *p_buf, UINT16 buf_len) 57 BE_STREAM_TO_UINT8 (p_result->pdu, p); 60 AVRC_TRACE_DEBUG4("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->reg_notif.param.volume, p) [all...] |
/external/bluetooth/bluedroid/stack/gap/ |
gap_utils.c | 162 tGAP_FINDADDR_RESULTS *p_result = &p_cb->results; local 172 if (!strncmp ((char *)p_result->devname, (char *) p->remote_bd_name, strlen ((char *) p_result->devname))) 175 memcpy (p_result->bd_addr, p_cb->p_cur_inq->results.remote_bd_addr, BD_ADDR_LEN); 176 p_result->status = BT_PASS; 187 p_result->status = gap_convert_btm_status ((tBTM_STATUS) p->status); 190 p_result->status = GAP_EOINQDB; /* No inquiry results; we're done! */ 196 p_result->status = gap_convert_btm_status ((tBTM_STATUS) p->status); 201 p_cb->p_cback (GAP_EVT_FIND_ADDR_COMPLETE, (tGAP_FINDADDR_RESULTS *) p_result); 228 tGAP_FINDADDR_RESULTS *p_result = &p_cb->results local 290 tBTM_INQ_INFO *p_result; local [all...] |
/external/bluetooth/bluedroid/bta/ag/ |
bta_ag_cmd.c | [all...] |
/external/bluetooth/bluedroid/stack/a2dp/ |
a2d_sbc.c | 218 ** p_result: the resulting codec info byte sequence. 223 tA2D_STATUS A2D_BldSbcInfo(UINT8 media_type, tA2D_SBC_CIE *p_ie, UINT8 *p_result) 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 = p_ie->max_bitpool [all...] |
/external/bluetooth/bluedroid/stack/include/ |
a2d_sbc.h | 129 ** p_result: the resulting codec info byte sequence. 135 UINT8 *p_result);
|
avrc_api.h | 566 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,
|
/external/bluetooth/bluedroid/bta/gatt/ |
bta_gattc_api.c | 450 ** p_result: output parameter which will store the GATT ID 457 tBT_UUID *p_uuid_cond, tBTA_GATTC_INCL_SVC_ID *p_result) 461 if (!p_srvc_id || !p_result) 469 &p_result->incl_svc_id.id, 470 (void *)&p_result->incl_svc_id.is_primary)) 473 memcpy(&p_result->srvc_id, p_srvc_id, sizeof(tBTA_GATT_SRVC_ID)); 490 ** p_result: output parameter which will store the GATT ID 499 tBTA_GATTC_INCL_SVC_ID *p_result) 503 if (!p_start_id || !p_result) 511 &p_result->incl_svc_id.id [all...] |
bta_gattc_cache.c | [all...] |
/external/bluetooth/bluedroid/bta/dm/ |
bta_dm_act.c | 43 static void bta_dm_inq_cmpl_cb (void * p_result); 71 static void bta_dm_eir_search_services( tBTM_INQ_RESULTS *p_result, 76 static void bta_dm_rssi_cback (tBTM_RSSI_RESULTS *p_result); 78 static void bta_dm_link_quality_cback (tBTM_LINK_QUALITY_RESULTS *p_result); 108 static void bta_dm_observe_cmpl_cb (void * p_result); 2768 tBTM_REMOTE_DEV_NAME *p_result = (tBTM_REMOTE_DEV_NAME *)p_data; local [all...] |
/external/bluetooth/bluedroid/bta/include/ |
bta_gatt_api.h | 792 ** p_result: output parameter which will store the GATT ID 801 tBTA_GATTC_INCL_SVC_ID *p_result); 815 ** p_result: output parameter which will store the GATT ID [all...] |
/external/bluetooth/bluedroid/btif/src/ |
btif_gatt_client.c | 568 static void btm_read_rssi_cb (tBTM_RSSI_RESULTS *p_result) 572 bdcpy(btif_cb.bd_addr.address, p_result->rem_bda); 573 btif_cb.rssi = p_result->rssi; 574 btif_cb.status = p_result->status; [all...] |