Searched refs:p_uuid (Results 1 - 25 of 25) sorted by relevance

/external/bluetooth/bluedroid/btif/src/
H A Dbtif_util.c135 void string_to_uuid(char *str, bt_uuid_t *p_uuid) argument
150 memcpy(&(p_uuid->uu[0]), &uuid0, 4);
151 memcpy(&(p_uuid->uu[4]), &uuid1, 2);
152 memcpy(&(p_uuid->uu[6]), &uuid2, 2);
153 memcpy(&(p_uuid->uu[8]), &uuid3, 2);
154 memcpy(&(p_uuid->uu[10]), &uuid4, 4);
155 memcpy(&(p_uuid->uu[14]), &uuid5, 2);
161 void uuid_to_string(bt_uuid_t *p_uuid, char *str) argument
166 memcpy(&uuid0, &(p_uuid->uu[0]), 4);
167 memcpy(&uuid1, &(p_uuid
[all...]
H A Dbtif_gatt_util.c61 int uuidType(unsigned char* p_uuid) argument
72 if (p_uuid[i] == BASE_UUID[i])
75 if (p_uuid[i] != 0)
203 uint16_t get_uuid16(tBT_UUID *p_uuid) argument
205 if (p_uuid->len == LEN_UUID_16)
207 return p_uuid->uu.uuid16;
209 else if (p_uuid->len == LEN_UUID_128)
212 UINT8 *p = &p_uuid->uu.uuid128[LEN_UUID_128 - 4];
216 else /* p_uuid->len == LEN_UUID_32 */
218 return(UINT16) p_uuid
[all...]
H A Dbtif_storage.c225 static void btif_in_split_uuids_string_to_list(char *str, bt_uuid_t *p_uuid, argument
239 string_to_uuid(buf, p_uuid + num);
301 bt_uuid_t *p_uuid = (bt_uuid_t*)prop->val + i; local
303 uuid_to_string(p_uuid, buf);
411 bt_uuid_t *p_uuid = (bt_uuid_t*)prop->val; local
413 btif_in_split_uuids_string_to_list(value, p_uuid, &num_uuids);
617 bt_uuid_t *p_uuid = (bt_uuid_t*)property->val; local
634 p_uuid+num_uuids);
641 p_uuid+num_uuids);
647 p_uuid
[all...]
H A Dbtif_sock_rfc.c59 extern void uuid_to_string(bt_uuid_t *p_uuid, char *str);
60 static inline void logu(const char* title, const uint8_t * p_uuid) argument
63 uuid_to_string((bt_uuid_t*)p_uuid, uuids);
/external/bluetooth/bluedroid/btif/include/
H A Dbtif_util.h72 void uuid_to_string(bt_uuid_t *p_uuid, char *str);
73 void string_to_uuid(char *str, bt_uuid_t *p_uuid);
/external/bluetooth/bluedroid/bta/gatt/
H A Dbta_gattc_cache.c88 j + 1, p_attr->attr_handle, p_attr->p_uuid->uuid16, p_attr->inst_id,
267 tBT_UUID *p_uuid,
289 memcpy(&p_new_srvc->service_uuid.id.uuid, p_uuid, sizeof(tBT_UUID));
319 tBT_UUID *p_uuid,
325 UINT16 len = sizeof(tBTA_GATTC_CACHE_ATTR) + p_uuid->len;
330 APPL_TRACE_DEBUG4("handle=%d uuid16=0x%x property=0x%x type=%d", handle, p_uuid->uu.uuid16, property, type);
351 p_attr->uuid_len = p_uuid->len;
352 p_attr->p_uuid = (tBTA_GATTC_UUID *)(p_attr + 1);
355 pp = (UINT8 *)p_attr->p_uuid;
357 if (p_uuid
265 bta_gattc_add_srvc_to_cache(tBTA_GATTC_SERV *p_srvc_cb, UINT16 s_handle, UINT16 e_handle, tBT_UUID *p_uuid, BOOLEAN is_primary, UINT8 srvc_inst) argument
317 bta_gattc_add_attr_to_cache(tBTA_GATTC_SERV *p_srvc_cb, UINT16 handle, tBT_UUID *p_uuid, UINT8 property, tBTA_GATTC_ATTR_TYPE type) argument
[all...]
H A Dbta_gattc_utils.c451 void bta_gattc_pack_attr_uuid(tBTA_GATTC_CACHE_ATTR *p_attr, tBT_UUID *p_uuid) argument
453 UINT8 *pp = (UINT8 *)p_attr->p_uuid;
455 memset(p_uuid, 0, sizeof(tBT_UUID));
457 p_uuid->len = p_attr->uuid_len;
461 STREAM_TO_UINT16(p_uuid->uu.uuid16, pp);
465 memcpy(p_uuid->uu.uuid128, pp, LEN_UUID_128);
H A Dbta_gattc_int.h213 tBTA_GATTC_UUID *p_uuid; member in struct:gattc_attr_cache
459 extern void bta_gattc_pack_attr_uuid(tBTA_GATTC_CACHE_ATTR *p_attr, tBT_UUID *p_uuid);
/external/bluetooth/bluedroid/stack/sdp/
H A Dsdp_api.c333 ** p_uuid - output parameter to save the UUID found.
338 BOOLEAN SDP_FindServiceUUIDInRec(tSDP_DISC_REC *p_rec, tBT_UUID * p_uuid) argument
357 p_uuid->len = 2;
358 p_uuid->uu.uuid16 = p_sattr->attr_value.v.u16;
379 p_uuid->len = 2;
380 p_uuid->uu.uuid16 = p_extra_sattr->attr_value.v.u16;
395 p_uuid->len = 2;
396 p_uuid->uu.uuid16 = p_attr->attr_value.v.u16;
414 ** p_uuid - output parameter to save the UUID found.
419 BOOLEAN SDP_FindServiceUUIDInRec_128bit(tSDP_DISC_REC *p_rec, tBT_UUID * p_uuid) argument
654 SDP_FindServiceUUIDInDb(tSDP_DISCOVERY_DB *p_db, tBT_UUID *p_uuid, tSDP_DISC_REC *p_start_rec) argument
[all...]
H A Dsdp_db.c119 static BOOLEAN find_uuid_in_seq (UINT8 *p , UINT32 seq_len, UINT8 *p_uuid, argument
137 if (sdpu_compare_uuid_arrays (p, len, p_uuid, uuid_len))
142 if (find_uuid_in_seq (p, len, p_uuid, uuid_len, nest_level + 1))
H A Dsdpint.h289 extern BOOLEAN sdpu_is_base_uuid (UINT8 *p_uuid);
H A Dsdp_utils.c638 BOOLEAN sdpu_is_base_uuid (UINT8 *p_uuid) argument
643 if (p_uuid[xx] != sdp_base_uuid[xx])
/external/bluetooth/bluedroid/bta/dm/
H A Dbta_dm_api.c483 p_msg->p_uuid = NULL;
925 void BTA_DmEirAddUUID (tBT_UUID *p_uuid) argument
934 memcpy (&(p_msg->uuid), p_uuid, sizeof(tBT_UUID));
952 void BTA_DmEirRemoveUUID (tBT_UUID *p_uuid) argument
961 memcpy (&(p_msg->uuid), p_uuid, sizeof(tBT_UUID));
1487 ** p_services->p_uuid.
1518 p_msg->p_uuid = (tBT_UUID *)(p_msg + 1);
1519 memcpy(p_msg->p_uuid, p_services->p_uuid, sizeof(tBT_UUID) * p_services->num_uuid);
1540 ** p_uuid i
[all...]
H A Dbta_dm_int.h196 tBT_UUID *p_uuid; member in struct:__anon472
210 tBT_UUID *p_uuid; member in struct:__anon473
H A Dbta_dm_act.c1202 p_data->search.p_uuid != NULL)
1214 memcpy(bta_dm_search_cb.p_srvc_uuid, p_data->search.p_uuid, len);
1295 p_data->discover.p_uuid != NULL)
1302 memcpy(bta_dm_search_cb.p_srvc_uuid, p_data->discover.p_uuid, len);
1627 tBT_UUID *p_uuid = bta_dm_search_cb.p_srvc_uuid; local
1664 if (bta_dm_search_cb.uuid_to_search != 0 && p_uuid != NULL)
1666 p_uuid += (bta_dm_search_cb.num_uuid - bta_dm_search_cb.uuid_to_search);
1668 service = p_uuid->uu.uuid16;
4962 tBT_UUID *p_uuid = bta_dm_search_cb.p_srvc_uuid + local
4965 p_uuid
[all...]
/external/bluetooth/bluedroid/stack/include/
H A Dsdp_api.h337 tBT_UUID *p_uuid,
348 ** p_uuid - output parameter to save the UUID found.
353 SDP_API extern BOOLEAN SDP_FindServiceUUIDInRec_128bit(tSDP_DISC_REC *p_rec, tBT_UUID * p_uuid);
750 SDP_API BOOLEAN SDP_FindServiceUUIDInRec(tSDP_DISC_REC *p_rec, tBT_UUID *p_uuid);
H A Dbtm_ble_api.h252 UINT16 *p_uuid; member in struct:__anon1336
/external/bluetooth/bluedroid/stack/gatt/
H A Dgatt_utils.c1058 UINT8 *p_uuid = *p_data; local
1066 STREAM_TO_UINT16 (p_uuid_rec->uu.uuid16, p_uuid);
1075 if (p_uuid[xx] != base_uuid[xx])
1083 if ((p_uuid[LEN_UUID_128 - 1] == 0) && (p_uuid[LEN_UUID_128 - 2] == 0))
1085 p_uuid += (LEN_UUID_128 - 4);
1087 STREAM_TO_UINT16(p_uuid_rec->uu.uuid16, p_uuid);
1095 memcpy(p_uuid_rec->uu.uuid128, p_uuid, LEN_UUID_128);
1388 UINT32 gatt_add_sdp_record (tBT_UUID *p_uuid, UINT16 start_hdl, UINT16 end_hdl) argument
1401 switch (p_uuid
[all...]
H A Dgatt_sr.c533 tBT_UUID *p_uuid; local
548 p_uuid = gatts_get_service_uuid (p_rcb->p_db);
551 handle_len = 4 + p_uuid->len;
571 gatt_uuid_compare(value, *p_uuid))
587 gatt_build_uuid_to_stream(&p, *p_uuid);
H A Dgatt_int.h554 extern UINT32 gatt_add_sdp_record (tBT_UUID *p_uuid, UINT16 start_hdl, UINT16 end_hdl);
555 extern BOOLEAN gatt_parse_uuid_from_cmd(tBT_UUID *p_uuid, UINT16 len, UINT8 **p_data);
H A Dgatt_api.c469 tBT_UUID *p_uuid; local
514 p_uuid = gatts_get_service_uuid (p_sreg->p_db);
516 p_sreg->sdp_handle = gatt_add_sdp_record(p_uuid, p_sreg->s_hdl, p_sreg->e_hdl);
/external/bluetooth/bluedroid/stack/btm/
H A Dbtm_inq.c156 static UINT16 btm_convert_uuid_to_uuid16( UINT8 *p_uuid, UINT8 uuid_size );
3163 ** Parameters p_uuid - address of UUID
3170 static UINT16 btm_convert_uuid_to_uuid16( UINT8 *p_uuid, UINT8 uuid_size ) argument
3182 STREAM_TO_UINT16 (uuid16, p_uuid);
3185 STREAM_TO_UINT32 (uuid32, p_uuid);
3194 if (p_uuid[xx] != base_uuid[xx])
3202 if ((p_uuid[LEN_UUID_128 - 1] == 0) && (p_uuid[LEN_UUID_128 - 2] == 0))
3204 p_uuid += (LEN_UUID_128 - 4);
3205 STREAM_TO_UINT16(uuid16, p_uuid);
[all...]
H A Dbtm_ble_gap.c803 p_data->services.p_uuid)
819 UINT16_TO_STREAM(p, *(p_data->services.p_uuid + i));
/external/bluetooth/bluedroid/bta/include/
H A Dbta_api.h165 tBT_UUID *p_uuid; member in struct:__anon627
345 UINT16 *p_uuid; member in struct:__anon634
1443 BTA_API extern void BTA_DmEirAddUUID (tBT_UUID *p_uuid);
1456 BTA_API extern void BTA_DmEirRemoveUUID (tBT_UUID *p_uuid);
1778 ** p_uuid is the pointer to the list of UUID values.
1797 ** services.p_uuid.
/external/bluetooth/bluedroid/bta/jv/
H A Dbta_jv_act.c54 extern void uuid_to_string(bt_uuid_t *p_uuid, char *str);
55 static inline void logu(const char* title, const uint8_t * p_uuid) argument
58 uuid_to_string((bt_uuid_t*)p_uuid, uuids);

Completed in 1121 milliseconds