/external/bluetooth/bluedroid/btif/src/ |
btif_util.c | 135 void string_to_uuid(char *str, bt_uuid_t *p_uuid) 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) 166 memcpy(&uuid0, &(p_uuid->uu[0]), 4); 167 memcpy(&uuid1, &(p_uuid->uu[4]), 2) [all...] |
btif_gatt_util.c | 53 int uuidType(unsigned char* p_uuid) 64 if (p_uuid[i] == BASE_UUID[i]) 67 if (p_uuid[i] != 0) 195 uint16_t get_uuid16(tBT_UUID *p_uuid) 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->uu.uuid32 [all...] |
btif_storage.c | 226 static void btif_in_split_uuids_string_to_list(char *str, bt_uuid_t *p_uuid, 240 string_to_uuid(buf, p_uuid + num); 306 bt_uuid_t *p_uuid = (bt_uuid_t*)prop->val + i; local 308 uuid_to_string(p_uuid, buf); 416 bt_uuid_t *p_uuid = (bt_uuid_t*)prop->val; local 418 btif_in_split_uuids_string_to_list(value, p_uuid, &num_uuids); 622 bt_uuid_t *p_uuid = (bt_uuid_t*)property->val; local 639 p_uuid+num_uuids); 646 p_uuid+num_uuids); 652 p_uuid+num_uuids) [all...] |
btif_gatt_client.c | 880 if (p_cb->adv_data.data.services.p_uuid != NULL) 881 GKI_freebuf(p_cb->adv_data.data.services.p_uuid); [all...] |
btif_sock_rfc.c | 59 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) 63 uuid_to_string((bt_uuid_t*)p_uuid, uuids); [all...] |
/external/bluetooth/bluedroid/btif/include/ |
btif_gatt_util.h | 35 uint16_t get_uuid16(tBT_UUID *p_uuid);
|
btif_util.h | 72 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/ |
sdp_api.c | 333 ** p_uuid - output parameter to save the UUID found. 338 BOOLEAN SDP_FindServiceUUIDInRec(tSDP_DISC_REC *p_rec, tBT_UUID * p_uuid) 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->uu.uuid16 = p_extra_sattr->attr_value.v.u16 [all...] |
sdp_db.c | 119 static BOOLEAN find_uuid_in_seq (UINT8 *p , UINT32 seq_len, UINT8 *p_uuid, 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)) [all...] |
sdpint.h | 289 extern BOOLEAN sdpu_is_base_uuid (UINT8 *p_uuid);
|
sdp_utils.c | 638 BOOLEAN sdpu_is_base_uuid (UINT8 *p_uuid) 643 if (p_uuid[xx] != sdp_base_uuid[xx])
|
/external/bluetooth/bluedroid/bta/gatt/ |
bta_gattc_cache.c | 88 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) 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) 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->uu.uuid16, property, type) [all...] |
bta_gattc_int.h | 244 tBTA_GATTC_UUID *p_uuid; member in struct:gattc_attr_cache 508 extern void bta_gattc_pack_attr_uuid(tBTA_GATTC_CACHE_ATTR *p_attr, tBT_UUID *p_uuid); 525 extern void bta_gattc_search_service(tBTA_GATTC_CLCB *p_clcb, tBT_UUID *p_uuid);
|
bta_gattc_utils.c | 588 void bta_gattc_pack_attr_uuid(tBTA_GATTC_CACHE_ATTR *p_attr, tBT_UUID *p_uuid) 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); [all...] |
/external/bluetooth/bluedroid/bta/dm/ |
bta_dm_api.c | 483 p_msg->p_uuid = NULL; 925 void BTA_DmEirAddUUID (tBT_UUID *p_uuid) 934 memcpy (&(p_msg->uuid), p_uuid, sizeof(tBT_UUID)); 952 void BTA_DmEirRemoveUUID (tBT_UUID *p_uuid) 961 memcpy (&(p_msg->uuid), p_uuid, sizeof(tBT_UUID)); [all...] |
bta_dm_int.h | 200 tBT_UUID *p_uuid; member in struct:__anon162 214 tBT_UUID *p_uuid; member in struct:__anon163
|
bta_dm_act.c | 1638 tBT_UUID *p_uuid = bta_dm_search_cb.p_srvc_uuid; local 5102 tBT_UUID *p_uuid = bta_dm_search_cb.p_srvc_uuid + local [all...] |
/external/bluetooth/bluedroid/stack/include/ |
sdp_api.h | 337 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);
|
btm_ble_api.h | 252 UINT16 *p_uuid; member in struct:__anon1041 [all...] |
/external/bluetooth/bluedroid/stack/gatt/ |
gatt_utils.c | 1058 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); [all...] |
gatt_sr.c | 535 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); [all...] |
gatt_int.h | 554 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);
|
gatt_api.c | 469 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); [all...] |
/external/bluetooth/bluedroid/bta/include/ |
bta_api.h | 165 tBT_UUID *p_uuid; member in struct:__anon325 349 UINT16 *p_uuid; member in struct:__anon332 [all...] |
/external/bluetooth/bluedroid/stack/btm/ |
btm_inq.c | 156 static UINT16 btm_convert_uuid_to_uuid16( UINT8 *p_uuid, UINT8 uuid_size ); [all...] |