/system/bt/btif/include/ |
btif_gatt_util.h | 34 uint16_t get_uuid16(tBT_UUID *p_uuid);
|
btif_util.h | 69 // result in |p_uuid|. |str| must be formatted in this format: 71 // |p_uuid| cannot be null. Returns true if parsing was successful, false 73 bool string_to_uuid(const char *str, bt_uuid_t *p_uuid); 75 void uuid_to_string_legacy(bt_uuid_t *p_uuid, char *str);
|
btif_storage.h | 320 size_t btif_split_uuids_string(const char *str, bt_uuid_t *p_uuid, size_t max_uuids);
|
/system/bt/btif/src/ |
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) 193 uint16_t get_uuid16(tBT_UUID *p_uuid) 195 if (p_uuid->len == LEN_UUID_16) 197 return p_uuid->uu.uuid16; 199 else if (p_uuid->len == LEN_UUID_128) 202 UINT8 *p = &p_uuid->uu.uuid128[LEN_UUID_128 - 4]; 206 else /* p_uuid->len == LEN_UUID_32 */ 208 return(UINT16) p_uuid->uu.uuid32 [all...] |
btif_util.c | 115 bool string_to_uuid(const char *str, bt_uuid_t *p_uuid) 117 assert(p_uuid); 136 memcpy(&(p_uuid->uu[0]), &uuid0, 4); 137 memcpy(&(p_uuid->uu[4]), &uuid1, 2); 138 memcpy(&(p_uuid->uu[6]), &uuid2, 2); 139 memcpy(&(p_uuid->uu[8]), &uuid3, 2); 140 memcpy(&(p_uuid->uu[10]), &uuid4, 4); 141 memcpy(&(p_uuid->uu[14]), &uuid5, 2); 146 void uuid_to_string_legacy(bt_uuid_t *p_uuid, char *str) 151 memcpy(&uuid0, &(p_uuid->uu[0]), 4) [all...] |
btif_storage.c | 229 bt_uuid_t *p_uuid = (bt_uuid_t*)prop->val + i; local 231 uuid_to_string_legacy(p_uuid, buf); 343 bt_uuid_t *p_uuid = (bt_uuid_t*)prop->val; local 344 size_t num_uuids = btif_split_uuids_string(value, p_uuid, BT_MAX_NUM_UUIDS); 548 size_t btif_split_uuids_string(const char *str, bt_uuid_t *p_uuid, size_t max_uuids) 551 assert(p_uuid); 556 bool rc = string_to_uuid(str, p_uuid++); 611 bt_uuid_t *p_uuid = (bt_uuid_t*)property->val; local 628 p_uuid+num_uuids); 635 p_uuid+num_uuids) [all...] |
/system/bt/stack/sdp/ |
sdp_api.c | 331 ** p_uuid - output parameter to save the UUID found. 336 BOOLEAN SDP_FindServiceUUIDInRec(tSDP_DISC_REC *p_rec, tBT_UUID * p_uuid) 354 p_uuid->len = LEN_UUID_16; 355 p_uuid->uu.uuid16 = p_sattr->attr_value.v.u16; 359 p_uuid->len = LEN_UUID_128; 361 p_uuid->uu.uuid128[i] = p_sattr->attr_value.v.array[LEN_UUID_128-i-1]; 365 p_uuid->len = LEN_UUID_32; 366 p_uuid->uu.uuid32 = p_sattr->attr_value.v.u32; 388 p_uuid->len = 2; 389 p_uuid->uu.uuid16 = p_extra_sattr->attr_value.v.u16 [all...] |
sdp_db.c | 118 static BOOLEAN find_uuid_in_seq (UINT8 *p , UINT32 seq_len, UINT8 *p_uuid, 136 if (sdpu_compare_uuid_arrays (p, len, p_uuid, uuid_len)) 141 if (find_uuid_in_seq (p, len, p_uuid, uuid_len, nest_level + 1)) [all...] |
sdpint.h | 285 extern BOOLEAN sdpu_is_base_uuid (UINT8 *p_uuid);
|
sdp_utils.c | 631 BOOLEAN sdpu_is_base_uuid (UINT8 *p_uuid) 636 if (p_uuid[xx] != sdp_base_uuid[xx])
|
/system/bt/stack/gatt/ |
gatt_db.c | 42 static void *allocate_attr_in_db(tGATT_SVC_DB *p_db, tBT_UUID *p_uuid, tGATT_PERM perm); [all...] |
gatt_utils.c | 1132 UINT8 *p_uuid = *p_data; local [all...] |
gatt_sr.c | 515 tBT_UUID *p_uuid; local 532 if ((p_uuid = gatts_get_service_uuid (p_rcb->p_db)) != NULL) 535 handle_len = 4 + p_uuid->len; 555 gatt_uuid_compare(value, *p_uuid)) 571 gatt_build_uuid_to_stream(&p, *p_uuid); [all...] |
gatt_int.h | 561 extern UINT32 gatt_add_sdp_record (tBT_UUID *p_uuid, UINT16 start_hdl, UINT16 end_hdl); 562 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...] |
/system/bt/stack/include/ |
sdp_api.h | 323 tBT_UUID *p_uuid, 334 ** p_uuid - output parameter to save the UUID found. 339 BOOLEAN SDP_FindServiceUUIDInRec_128bit(tSDP_DISC_REC *p_rec, tBT_UUID * p_uuid); 677 BOOLEAN SDP_FindServiceUUIDInRec(tSDP_DISC_REC *p_rec, tBT_UUID *p_uuid);
|
/system/bt/bta/gatt/ |
bta_gattc_cache.c | 202 tBT_UUID *p_uuid, 215 memcpy(&p_new_srvc->uuid, p_uuid, sizeof(tBT_UUID)); 231 tBT_UUID *p_uuid, 237 value_handle, p_uuid->uu.uuid16, property); 257 memcpy(&characteristic->uuid, p_uuid, sizeof(tBT_UUID)); 276 tBT_UUID *p_uuid, 284 handle, p_uuid->uu.uuid16, property, type); 298 memcpy(&isvc->uuid, p_uuid, sizeof(tBT_UUID)); 315 memcpy(&descriptor->uuid, p_uuid, sizeof(tBT_UUID)); [all...] |
bta_gattc_int.h | 481 extern void bta_gattc_search_service(tBTA_GATTC_CLCB *p_clcb, tBT_UUID *p_uuid);
|
/system/bt/bta/dm/ |
bta_dm_api.c | 290 p_msg->p_uuid = NULL; [all...] |
bta_dm_act.c | 1598 tBT_UUID *p_uuid = bta_dm_search_cb.p_srvc_uuid; local 5333 tBT_UUID *p_uuid = bta_dm_search_cb.p_srvc_uuid + local [all...] |
bta_dm_int.h | 188 tBT_UUID *p_uuid; member in struct:__anon72791 203 tBT_UUID *p_uuid; member in struct:__anon72792 [all...] |
/system/bt/stack/btm/ |
btm_inq.c | 144 static UINT16 btm_convert_uuid_to_uuid16( UINT8 *p_uuid, UINT8 uuid_size ); [all...] |
/system/bt/stack/gap/ |
gap_ble.c | 197 BOOLEAN gap_ble_dequeue_request (tGAP_CLCB *p_clcb, UINT16 * p_uuid, tGAP_BLE_CMPL_CBACK **p_cback) 204 *p_uuid = p_q->uuid;
|
/hardware/libhardware/include/hardware/ |
bt_gatt_client.h | 342 int company_id_mask, const bt_uuid_t *p_uuid,
|
/system/bt/bta/jv/ |
bta_jv_act.c | 87 extern void uuid_to_string_legacy(bt_uuid_t *p_uuid, char *str); 88 static inline void logu(const char* title, const uint8_t * p_uuid) 91 uuid_to_string_legacy((bt_uuid_t*)p_uuid, uuids); [all...] |