HomeSort by relevance Sort by last modified time
    Searched refs:p_rec (Results 1 - 25 of 27) sorted by null

1 2

  /external/libnfc-nci/src/nfc/ndef/
ndef_utils.c 81 UINT8 *p_rec = p_msg; local
99 for (count = 0; p_rec < p_end; count++)
102 if (p_rec + 3 > p_end)
105 rec_hdr = *p_rec++;
112 type_len = *p_rec++;
116 payload_len = *p_rec++;
120 if (p_rec + 4 > p_end)
123 BE_STREAM_TO_UINT32 (payload_len, p_rec);
130 if (p_rec + 1 > p_end)
133 id_len = *p_rec++
222 UINT8 *p_rec = p_msg; local
366 UINT8 *p_rec = p_msg; local
417 UINT8 *p_rec = p_msg; local
465 UINT8 *p_rec = p_msg; local
522 UINT8 *p_rec; local
584 UINT8 *p_rec = p_msg; local
641 UINT8 *p_rec; local
841 UINT8 *p_rec = p_msg + *p_cur_size; local
937 UINT8 *p_rec; local
1030 UINT8 *p_rec; local
1453 UINT8 *p_rec = NDEF_MsgGetRecByIndex (p_msg, index); local
1521 UINT8 *p_rec; local
    [all...]
ndef_cho_utils.c 171 UINT8 *p_rec, *p; local
191 p_rec = NDEF_MsgGetLastRecInMsg (p_msg);
194 p = NDEF_RecGetPayload (p_rec, &payload_len);
333 UINT8 *p_rec; local
340 p_rec = ndef_get_bt_oob_record (p_msg, max_size, p_cur_size, p_id_str);
342 if (!p_rec)
354 p_rec, eir_data, eir_data_len);
360 p = NDEF_RecGetPayload (p_rec, &oob_data_len);
382 UINT8 *p_rec; local
389 p_rec = ndef_get_bt_oob_record (p_msg, max_size, p_cur_size, p_id_str)
438 UINT8 *p_rec; local
492 UINT8 *p_rec; local
567 UINT8 *p_rec, *p_type; local
    [all...]
  /external/bluetooth/bluedroid/stack/sdp/
sdp_db.c 60 tSDP_RECORD *sdp_db_service_search (tSDP_RECORD *p_rec, tSDP_UUID_SEQ *p_seq)
67 if (!p_rec)
68 p_rec = &sdp_cb.server_db.record[0];
70 p_rec++;
74 for ( ; p_rec < p_end; p_rec++)
78 p_attr = &p_rec->attribute[0];
79 for (xx = 0; xx < p_rec->num_attributes; xx++, p_attr++)
97 if (xx == p_rec->num_attributes)
103 return (p_rec);
164 tSDP_RECORD *p_rec; local
334 tSDP_RECORD *p_rec = &sdp_cb.server_db.record[0]; local
403 tSDP_RECORD *p_rec = &sdp_cb.server_db.record[0]; local
900 tSDP_RECORD *p_rec = &sdp_cb.server_db.record[0]; local
975 tSDP_RECORD *p_rec; local
    [all...]
sdp_api.c 269 tSDP_DISC_REC *p_rec; local
277 p_rec = p_db->p_first_rec;
279 p_rec = p_start_rec->p_next_rec;
281 while (p_rec)
283 p_attr = p_rec->p_first_attr;
287 return(p_rec);
292 p_rec = p_rec->p_next_rec;
310 tSDP_DISC_ATTR *SDP_FindAttributeInRec (tSDP_DISC_REC *p_rec, UINT16 attr_id)
315 p_attr = p_rec->p_first_attr
491 tSDP_DISC_REC *p_rec; local
599 tSDP_DISC_REC *p_rec; local
665 tSDP_DISC_REC *p_rec; local
1291 tSDP_RECORD *p_rec; local
    [all...]
sdp_server.c 182 tSDP_RECORD *p_rec = NULL; local
212 p_rec = sdp_db_service_search (p_rec, &uid_seq);
214 if (p_rec)
215 rsp_handles[num_rsp_handles++] = p_rec->record_handle;
326 tSDP_RECORD *p_rec; local
358 p_rec = sdp_db_find_record (rec_handle);
359 if (!p_rec)
423 p_attr = sdp_db_find_attr_in_rec (p_rec, attr_seq.attr_entry[xx].start, attr_seq.attr_entry[xx].end);
491 p_ccb->list_len = sdpu_get_attrib_seq_len(p_rec, &attr_seq_sav) + 3
581 tSDP_RECORD *p_rec; local
    [all...]
sdp_discovery.c 53 static UINT8 *add_attr (UINT8 *p, tSDP_DISCOVERY_DB *p_db, tSDP_DISC_REC *p_rec,
789 tSDP_DISC_REC *p_rec; local
807 p_rec = add_record (p_ccb->p_db, p_ccb->device_address);
808 if (!p_rec)
829 p = add_attr (p, p_ccb->p_db, p_rec, attr_id, NULL, 0);
853 tSDP_DISC_REC *p_rec; local
859 p_rec = (tSDP_DISC_REC *) p_db->p_free_mem;
863 p_rec->p_first_attr = NULL;
864 p_rec->p_next_rec = NULL;
866 memcpy (p_rec->remote_bd_addr, p_bda, BD_ADDR_LEN)
    [all...]
sdp_utils.c 853 tSDP_RECORD *p_rec; local
857 for (p_rec = sdp_db_service_search (NULL, uid_seq); p_rec; p_rec = sdp_db_service_search (p_rec, uid_seq))
861 len1 = sdpu_get_attrib_seq_len(p_rec, attr_seq );
881 UINT16 sdpu_get_attrib_seq_len(tSDP_RECORD *p_rec, tSDP_ATTR_SEQ *attr_seq)
896 p_attr = sdp_db_find_attr_in_rec (p_rec,
sdpint.h 296 extern UINT16 sdpu_get_attrib_seq_len(tSDP_RECORD *p_rec, tSDP_ATTR_SEQ *attr_seq);
303 extern tSDP_RECORD *sdp_db_service_search (tSDP_RECORD *p_rec, tSDP_UUID_SEQ *p_seq);
305 extern tSDP_ATTRIBUTE *sdp_db_find_attr_in_rec (tSDP_RECORD *p_rec, UINT16 start_attr, UINT16 end_attr);
  /external/bluetooth/bluedroid/bta/mce/
bta_mce_act.c 63 tSDP_DISC_REC *p_rec = NULL; local
84 p_rec = SDP_FindServiceUUIDInDb(p_bta_mce_cfg->p_sdp_db, (tBT_UUID*) &bta_mce_mas_uuid, p_rec);
86 APPL_TRACE_DEBUG("p_rec:%p", p_rec);
88 if (p_rec == NULL)
91 if (!SDP_FindProtocolListElemInRec(p_rec, UUID_PROTOCOL_RFCOMM, &pe))
96 if ((p_attr = SDP_FindAttributeInRec(p_rec, ATTR_ID_SERVICE_NAME)) == NULL)
102 if ((p_attr = SDP_FindAttributeInRec(p_rec, ATTR_ID_MAS_INSTANCE_ID)) == NULL)
107 if ((p_attr = SDP_FindAttributeInRec(p_rec, ATTR_ID_SUPPORTED_MSG_TYPE)) == NULL
    [all...]
  /external/bluetooth/bluedroid/stack/btm/
btm_ble.c 879 tBTM_SEC_DEV_REC *p_rec; local
891 if ((p_rec = btm_find_dev (bd_addr)) != NULL && p_keys)
896 memcpy(p_rec->ble.keys.ltk, p_keys->penc_key.ltk, BT_OCTET16_LEN);
897 memcpy(p_rec->ble.keys.rand, p_keys->penc_key.rand, BT_OCTET8_LEN);
898 p_rec->ble.keys.sec_level = p_keys->penc_key.sec_level;
899 p_rec->ble.keys.ediv = p_keys->penc_key.ediv;
900 p_rec->ble.keys.key_size = p_keys->penc_key.key_size;
901 p_rec->ble.key_type |= BTM_LE_KEY_PENC;
902 p_rec->sec_flags |= BTM_SEC_LE_LINK_KEY_KNOWN;
904 p_rec->sec_flags |= BTM_SEC_LE_LINK_KEY_AUTHED
1010 tBTM_SEC_DEV_REC *p_rec; local
1031 tBTM_SEC_DEV_REC *p_rec; local
1144 tBTM_SEC_DEV_REC *p_rec = btm_find_dev (bd_addr); local
1241 tBTM_SEC_DEV_REC *p_rec = btm_find_dev (bda); local
1396 tBTM_SEC_DEV_REC *p_rec = btm_find_dev (bda); local
1849 tBTM_SEC_DEV_REC *p_rec = btm_find_dev (bd_addr); local
1971 tBTM_SEC_DEV_REC *p_rec = btm_find_dev (bd_addr); local
    [all...]
btm_int.h     [all...]
  /external/bluetooth/bluedroid/stack/hid/
hidh_api.c 77 void hidh_get_str_attr( tSDP_DISC_REC *p_rec, UINT16 attr_id, UINT16 max_len, char *str )
82 if ((p_attr = SDP_FindAttributeInRec(p_rec, attr_id)) != NULL)
103 tSDP_DISC_REC *p_rec; local
120 if ((p_rec = SDP_FindServiceUUIDInDb (p_db, &hid_uuid, NULL)) == NULL)
129 if (((p_attr = SDP_FindAttributeInRec (p_rec, ATTR_ID_HID_DESCRIPTOR_LIST)) == NULL)
144 if (((p_attr = SDP_FindAttributeInRec (p_rec, ATTR_ID_HID_VIRTUAL_CABLE)) != NULL) &&
150 if (((p_attr = SDP_FindAttributeInRec (p_rec, ATTR_ID_HID_RECONNECT_INITIATE)) != NULL) &&
156 if (((p_attr = SDP_FindAttributeInRec (p_rec, ATTR_ID_HID_NORMALLY_CONNECTABLE)) != NULL) &&
162 if (((p_attr = SDP_FindAttributeInRec (p_rec, ATTR_ID_HID_SDP_DISABLE)) != NULL)&&
168 if (((p_attr = SDP_FindAttributeInRec (p_rec, ATTR_ID_HID_BATTERY_POWER)) != NULL)&
    [all...]
  /external/bluetooth/bluedroid/bta/gatt/
bta_gattc_cache.c 110 static void bta_gattc_display_explore_record(tBTA_GATTC_ATTR_REC *p_rec, UINT8 num_rec)
113 tBTA_GATTC_ATTR_REC *pp = p_rec;
435 tBTA_GATTC_ATTR_REC *p_rec = NULL; local
439 p_rec = p_srvc_cb->p_srvc_list + p_srvc_cb->cur_srvc_idx;
440 *p_s_hdl = p_rec->s_handle;
444 p_rec = p_srvc_cb->p_srvc_list + p_srvc_cb->cur_char_idx;
445 *p_s_hdl = p_rec->s_handle + 1;
448 *p_e_hdl = p_rec->e_handle;
450 APPL_TRACE_DEBUG("discover range [%d ~ %d]",p_rec->s_handle, p_rec->e_handle)
572 tBTA_GATTC_ATTR_REC *p_rec = p_srvc_cb->p_srvc_list + p_srvc_cb->cur_srvc_idx; local
638 tBTA_GATTC_ATTR_REC *p_rec = p_srvc_cb->p_srvc_list + p_srvc_cb->cur_char_idx; local
671 tBTA_GATTC_ATTR_REC *p_rec = NULL; local
700 tBTA_GATTC_ATTR_REC *p_rec = NULL; local
739 tBTA_GATTC_ATTR_REC *p_rec = NULL; local
781 tBTA_GATTC_ATTR_REC *p_rec = NULL; local
    [all...]
  /external/libnfc-nci/src/nfa/dm/
nfa_dm_ndef.c 369 UINT8 *p_rec, *p_ndef_start, *p_type, *p_payload, *p_rec_end; local
425 p_rec = p_ndef_start = p_msg_buf;
428 while (p_rec != NULL)
431 p_type = NDEF_RecGetType (p_rec, &tnf, &type_len);
437 p_payload = NDEF_RecGetPayload (p_rec, &payload_len);
463 ndef_data.p_data = p_rec; /* Start of record */
467 ndef_data.len = payload_len + (UINT32) (p_payload - p_rec);
471 p_rec_end = p_rec;
496 ndef_data.len = (UINT32) (p_rec_end - p_rec);
531 p_rec = NDEF_MsgGetNextRec (p_rec)
    [all...]
  /external/bluetooth/bluedroid/bta/hf_client/
bta_hf_client_sdp.c 225 tSDP_DISC_REC *p_rec = NULL; local
236 if ((p_rec = SDP_FindServiceInDb(bta_hf_client_cb.scb.p_disc_db, UUID_SERVCLASS_AG_HANDSFREE, p_rec)) == NULL)
244 if (SDP_FindProtocolListElemInRec(p_rec, UUID_PROTOCOL_RFCOMM, &pe))
255 SDP_FindProfileVersionInRec(p_rec, UUID_SERVCLASS_HF_HANDSFREE, &bta_hf_client_cb.scb.peer_version);
258 if ((p_attr = SDP_FindAttributeInRec(p_rec, ATTR_ID_SUPPORTED_FEATURES)) != NULL)
275 if ((p_attr = SDP_FindAttributeInRec(p_rec, ATTR_ID_NETWORK)) != NULL)
  /external/bluetooth/bluedroid/stack/a2dp/
a2d_api.c 56 tSDP_DISC_REC *p_rec = NULL; local
70 if ((p_rec = SDP_FindServiceInDb(a2d_cb.find.p_db,
71 a2d_cb.find.service_uuid, p_rec)) == NULL)
78 if ((p_attr = SDP_FindAttributeInRec(p_rec,
86 if ((p_attr = SDP_FindAttributeInRec(p_rec,
94 if ((p_attr = SDP_FindAttributeInRec(p_rec,
101 if (SDP_FindProtocolListElemInRec(p_rec, UUID_PROTOCOL_AVDTP, &elem))
  /external/libnfc-nci/src/nfc/include/
ndef_utils.h 220 EXPORT_NDEF_API extern UINT8 *NDEF_RecGetType (UINT8 *p_rec, UINT8 *p_tnf, UINT8 *p_type_len);
231 EXPORT_NDEF_API extern UINT8 *NDEF_RecGetId (UINT8 *p_rec, UINT8 *p_id_len);
242 EXPORT_NDEF_API extern UINT8 *NDEF_RecGetPayload (UINT8 *p_rec, UINT32 *p_payload_len);
315 UINT8 *p_rec, UINT8 *p_add_pl, UINT32 add_pl_len);
329 UINT8 *p_rec, UINT8 *p_new_pl, UINT32 new_pl_len);
343 UINT8 *p_rec, UINT8 *p_new_type, UINT8 new_type_len);
357 UINT8 *p_rec, UINT8 *p_new_id, UINT8 new_id_len);
  /external/bluetooth/bluedroid/bta/ag/
bta_ag_sdp.c 309 tSDP_DISC_REC *p_rec = NULL; local
334 if ((p_rec = SDP_FindServiceInDb(p_scb->p_disc_db, uuid, p_rec)) == NULL)
340 if ((p_rec = SDP_FindServiceInDb(p_scb->p_disc_db, uuid, p_rec)) == NULL)
352 if (SDP_FindProtocolListElemInRec(p_rec, UUID_PROTOCOL_RFCOMM, &pe))
363 SDP_FindProfileVersionInRec(p_rec, uuid, &p_scb->peer_version);
368 if ((p_attr = SDP_FindAttributeInRec(p_rec, ATTR_ID_SUPPORTED_FEATURES)) != NULL)
379 if ((p_attr = SDP_FindAttributeInRec(p_rec, ATTR_ID_REMOTE_AUDIO_VOLUME_CONTROL)) != NULL)
  /external/bluetooth/bluedroid/stack/include/
sdp_api.h 299 SDP_API extern tSDP_DISC_ATTR *SDP_FindAttributeInRec (tSDP_DISC_REC *p_rec,
347 ** Parameters: p_rec - pointer to a SDP record.
353 SDP_API extern BOOLEAN SDP_FindServiceUUIDInRec_128bit(tSDP_DISC_REC *p_rec, tBT_UUID * p_uuid);
381 SDP_API extern BOOLEAN SDP_FindProtocolListElemInRec (tSDP_DISC_REC *p_rec,
397 SDP_API extern BOOLEAN SDP_FindAddProtoListsElemInRec (tSDP_DISC_REC *p_rec,
416 SDP_API extern BOOLEAN SDP_FindProfileVersionInRec (tSDP_DISC_REC *p_rec,
745 ** Parameters: p_rec - pointer to a SDP record.
750 SDP_API BOOLEAN SDP_FindServiceUUIDInRec(tSDP_DISC_REC *p_rec, tBT_UUID *p_uuid);
  /external/bluetooth/bluedroid/bta/hl/
bta_hl_sdp.c 583 tSDP_DISC_REC *p_rec; local
594 p_rec = p_db->p_first_rec;
598 p_rec = p_start_rec->p_next_rec;
601 while (p_rec)
603 p_attr = p_rec->p_first_attr;
616 return(p_rec);
625 p_rec = p_rec->p_next_rec;
bta_hl_utils.c 104 tBTA_HL_SDP_REC *p_rec; local
111 p_rec = &p_sdp->sdp_rec[i];
112 if (p_rec->ctrl_psm == ctrl_psm)
1881 tBTA_HL_SDP_REC *p_rec; local
    [all...]
bta_hl_act.c 1689 tSDP_DISC_REC *p_rec = NULL; local
    [all...]
  /external/bluetooth/bluedroid/bta/av/
bta_av_act.c 1626 tSDP_DISC_REC *p_rec = NULL; local
    [all...]
  /external/bluetooth/bluedroid/btif/src/
btif_hl.c 1181 tBTA_HL_SDP_REC *p_rec; local
    [all...]
  /external/bluetooth/bluedroid/bta/jv/
bta_jv_act.c     [all...]

Completed in 2146 milliseconds

1 2