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

12

/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.c53 int uuidType(unsigned char* p_uuid) argument
64 if (p_uuid[i] == BASE_UUID[i])
67 if (p_uuid[i] != 0)
195 uint16_t get_uuid16(tBT_UUID *p_uuid) argument
197 if (p_uuid->len == LEN_UUID_16)
199 return p_uuid->uu.uuid16;
201 else if (p_uuid->len == LEN_UUID_128)
204 UINT8 *p = &p_uuid->uu.uuid128[LEN_UUID_128 - 4];
208 else /* p_uuid->len == LEN_UUID_32 */
210 return(UINT16) p_uuid
[all...]
H A Dbtif_storage.c227 static void btif_in_split_uuids_string_to_list(char *str, bt_uuid_t *p_uuid, argument
241 string_to_uuid(buf, p_uuid + num);
307 bt_uuid_t *p_uuid = (bt_uuid_t*)prop->val + i; local
309 uuid_to_string(p_uuid, buf);
417 bt_uuid_t *p_uuid = (bt_uuid_t*)prop->val; local
419 btif_in_split_uuids_string_to_list(value, p_uuid, &num_uuids);
623 bt_uuid_t *p_uuid = (bt_uuid_t*)property->val; local
640 p_uuid+num_uuids);
647 p_uuid+num_uuids);
653 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_gatt_util.h35 uint16_t get_uuid16(tBT_UUID *p_uuid);
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/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
356 p_uuid->len = LEN_UUID_16;
357 p_uuid->uu.uuid16 = p_sattr->attr_value.v.u16;
361 p_uuid->len = LEN_UUID_128;
362 memcpy(p_uuid->uu.uuid128, p_sattr->attr_value.v.array, LEN_UUID_128);
366 p_uuid->len = LEN_UUID_32;
367 p_uuid->uu.uuid32 = p_sattr->attr_value.v.u32;
389 p_uuid->len = 2;
390 p_uuid
429 SDP_FindServiceUUIDInRec_128bit(tSDP_DISC_REC *p_rec, tBT_UUID * p_uuid) argument
658 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/gatt/
H A Dbta_gattc_cache.c88 j + 1, p_attr->attr_handle, p_attr->p_uuid->uuid16, p_attr->inst_id,
236 static UINT8 bta_gattc_get_char_inst_id(tBTA_GATTC_CACHE *p_service_cache, tBT_UUID *p_uuid) argument
248 if (bta_gattc_uuid_compare(&attr_uuid, p_uuid, TRUE))
265 static UINT8 bta_gattc_get_char_descr_inst_id(tBTA_GATTC_CACHE_ATTR *p_char_attr, tBT_UUID *p_uuid) argument
277 if (bta_gattc_uuid_compare(&attr_uuid, p_uuid, TRUE))
296 tBT_UUID *p_uuid,
318 memcpy(&p_new_srvc->service_uuid.id.uuid, p_uuid, sizeof(tBT_UUID));
349 tBT_UUID *p_uuid,
355 UINT16 len = sizeof(tBTA_GATTC_CACHE_ATTR) + p_uuid->len;
360 APPL_TRACE_DEBUG4("handle=%d uuid16=0x%x property=0x%x type=%d", handle, p_uuid
294 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
347 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
1229 bta_gattc_search_service(tBTA_GATTC_CLCB *p_clcb, tBT_UUID *p_uuid) argument
[all...]
H A Dbta_gattc_int.h234 tBTA_GATTC_UUID *p_uuid; member in struct:gattc_attr_cache
496 extern void bta_gattc_pack_attr_uuid(tBTA_GATTC_CACHE_ATTR *p_attr, tBT_UUID *p_uuid);
513 extern void bta_gattc_search_service(tBTA_GATTC_CLCB *p_clcb, tBT_UUID *p_uuid);
H A Dbta_gattc_utils.c588 void bta_gattc_pack_attr_uuid(tBTA_GATTC_CACHE_ATTR *p_attr, tBT_UUID *p_uuid) argument
590 UINT8 *pp = (UINT8 *)p_attr->p_uuid;
592 memset(p_uuid, 0, sizeof(tBT_UUID));
594 p_uuid->len = p_attr->uuid_len;
598 STREAM_TO_UINT16(p_uuid->uu.uuid16, pp);
602 memcpy(p_uuid->uu.uuid128, pp, LEN_UUID_128);
/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));
1553 ** p_services->p_uuid.
1584 p_msg->p_uuid = (tBT_UUID *)(p_msg + 1);
1585 memcpy(p_msg->p_uuid, p_services->p_uuid, sizeof(tBT_UUID) * p_services->num_uuid);
1606 ** p_uuid i
[all...]
H A Dbta_dm_int.h198 tBT_UUID *p_uuid; member in struct:__anon472
212 tBT_UUID *p_uuid; member in struct:__anon473
H A Dbta_dm_act.c1203 p_data->search.p_uuid != NULL)
1215 memcpy(bta_dm_search_cb.p_srvc_uuid, p_data->search.p_uuid, len);
1296 p_data->discover.p_uuid != NULL)
1303 memcpy(bta_dm_search_cb.p_srvc_uuid, p_data->discover.p_uuid, len);
1628 tBT_UUID *p_uuid = bta_dm_search_cb.p_srvc_uuid; local
1665 if (bta_dm_search_cb.uuid_to_search != 0 && p_uuid != NULL)
1667 p_uuid += (bta_dm_search_cb.num_uuid - bta_dm_search_cb.uuid_to_search);
1669 service = p_uuid->uu.uuid16;
5053 tBT_UUID *p_uuid = bta_dm_search_cb.p_srvc_uuid + local
5056 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:__anon1348
/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.c535 tBT_UUID *p_uuid; local
550 if ((p_uuid = gatts_get_service_uuid (p_rcb->p_db)) != NULL)
553 handle_len = 4 + p_uuid->len;
573 gatt_uuid_compare(value, *p_uuid))
589 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/bta/include/
H A Dbta_api.h165 tBT_UUID *p_uuid; member in struct:__anon634
349 UINT16 *p_uuid; member in struct:__anon641
1447 BTA_API extern void BTA_DmEirAddUUID (tBT_UUID *p_uuid);
1460 BTA_API extern void BTA_DmEirRemoveUUID (tBT_UUID *p_uuid);
1799 ** p_uuid is the pointer to the list of UUID values.
1818 ** services.p_uuid.
/external/bluetooth/bluedroid/stack/btm/
H A Dbtm_inq.c156 static UINT16 btm_convert_uuid_to_uuid16( UINT8 *p_uuid, UINT8 uuid_size );
3267 ** Parameters p_uuid - address of UUID
3274 static UINT16 btm_convert_uuid_to_uuid16( UINT8 *p_uuid, UINT8 uuid_size ) argument
3286 STREAM_TO_UINT16 (uuid16, p_uuid);
3289 STREAM_TO_UINT32 (uuid32, p_uuid);
3298 if (p_uuid[xx] != base_uuid[xx])
3306 if ((p_uuid[LEN_UUID_128 - 1] == 0) && (p_uuid[LEN_UUID_128 - 2] == 0))
3308 p_uuid += (LEN_UUID_128 - 4);
3309 STREAM_TO_UINT16(uuid16, p_uuid);
[all...]
H A Dbtm_ble_gap.c802 p_data->services.p_uuid)
818 UINT16_TO_STREAM(p, *(p_data->services.p_uuid + i));

Completed in 1703 milliseconds

12