/system/bt/bta/gatt/ |
D | bta_gatts_utils.c | 35 static const UINT8 base_uuid[LEN_UUID_128] = {0xFB, 0x34, 0x9B, 0x5F, 0x80, 0x00, 0x00, 0x80, 47 static void bta_gatt_convert_uuid16_to_uuid128(UINT8 uuid_128[LEN_UUID_128], UINT16 uuid_16) in bta_gatt_convert_uuid16_to_uuid128() argument 49 UINT8 *p = &uuid_128[LEN_UUID_128 - 4]; in bta_gatt_convert_uuid16_to_uuid128() 51 memcpy (uuid_128, base_uuid, LEN_UUID_128); in bta_gatt_convert_uuid16_to_uuid128() 194 UINT8 su[LEN_UUID_128], tu[LEN_UUID_128]; in bta_gatts_uuid_compare() 228 return(memcmp(ps, pt, LEN_UUID_128) == 0); in bta_gatts_uuid_compare()
|
D | bta_gattc_utils.c | 45 static const UINT8 base_uuid[LEN_UUID_128] = {0xFB, 0x34, 0x9B, 0x5F, 0x80, 0x00, 0x00, 0x80, 59 void bta_gatt_convert_uuid16_to_uuid128(UINT8 uuid_128[LEN_UUID_128], UINT16 uuid_16) in bta_gatt_convert_uuid16_to_uuid128() argument 61 UINT8 *p = &uuid_128[LEN_UUID_128 - 4]; in bta_gatt_convert_uuid16_to_uuid128() 63 memcpy (uuid_128, base_uuid, LEN_UUID_128); in bta_gatt_convert_uuid16_to_uuid128() 78 UINT8 su[LEN_UUID_128], tu[LEN_UUID_128]; in bta_gattc_uuid_compare() 115 return(memcmp(ps, pt, LEN_UUID_128) == 0); in bta_gattc_uuid_compare() 475 memcpy(p_uuid->uu.uuid128, pp, LEN_UUID_128); in bta_gattc_pack_attr_uuid() 501 else if (p_des->uuid.len == LEN_UUID_128) in bta_gattc_cpygattid() 503 memcpy(p_des->uuid.uu.uuid128, p_src->uuid.uu.uuid128, LEN_UUID_128); in bta_gattc_cpygattid()
|
D | bta_gattc_cache.c | 395 else if (p_uuid->len == LEN_UUID_128) in bta_gattc_add_attr_to_cache() 397 memcpy(pp, p_uuid->uu.uuid128, LEN_UUID_128); in bta_gattc_add_attr_to_cache() 1606 memcpy(uuid.uu.uuid128, p_attr->p_uuid->uuid128, LEN_UUID_128); in bta_gattc_cache_save()
|
D | bta_gattc_int.h | 249 UINT8 uuid128[LEN_UUID_128];
|
/system/bt/btif/src/ |
D | btif_gatt_util.c | 75 return LEN_UUID_128; in uuidType() 100 case LEN_UUID_128: in btif_to_bta_uuid() 149 case LEN_UUID_128: in btif_to_bta_uuid_mask() 190 case LEN_UUID_128: in bta_to_btif_uuid() 226 else if (p_uuid->len == LEN_UUID_128) in get_uuid16() 229 UINT8 *p = &p_uuid->uu.uuid128[LEN_UUID_128 - 4]; in get_uuid16()
|
D | btif_gatt_multi_adv_util.c | 397 for (int position = 0; position < p_adv_data->service_uuid_len; position += LEN_UUID_128) in btif_gattc_copy_datacb() 401 memcpy(&uuid.uu, p_adv_data->p_service_uuid + position, LEN_UUID_128); in btif_gattc_copy_datacb() 418 GKI_getbuf(p_adv_data->service_uuid_len / LEN_UUID_128 * LEN_UUID_16); in btif_gattc_copy_datacb() 441 GKI_getbuf(p_adv_data->service_uuid_len / LEN_UUID_128 * LEN_UUID_32); in btif_gattc_copy_datacb() 455 case (LEN_UUID_128): in btif_gattc_copy_datacb() 467 bt_uuid.uu.uuid128, LEN_UUID_128); in btif_gattc_copy_datacb()
|
D | btif_gatt_test.c | 84 else if (bt_uuid.len == LEN_UUID_128) in format_uuid() 225 tBT_UUID app_uuid = {LEN_UUID_128,{0xAE}}; in btif_gattc_test_command_impl()
|
D | btif_dm.c | 222 extern void bta_gatt_convert_uuid16_to_uuid128(UINT8 uuid_128[LEN_UUID_128], UINT16 uuid_16);
|
/system/bt/stack/gatt/ |
D | gatt_utils.c | 79 static const UINT8 base_uuid[LEN_UUID_128] = {0xFB, 0x34, 0x9B, 0x5F, 0x80, 0x00, 0x00, 0x80, 965 void gatt_convert_uuid16_to_uuid128(UINT8 uuid_128[LEN_UUID_128], UINT16 uuid_16) in gatt_convert_uuid16_to_uuid128() argument 967 UINT8 *p = &uuid_128[LEN_UUID_128 - 4]; in gatt_convert_uuid16_to_uuid128() 969 memcpy (uuid_128, base_uuid, LEN_UUID_128); in gatt_convert_uuid16_to_uuid128() 983 void gatt_convert_uuid32_to_uuid128(UINT8 uuid_128[LEN_UUID_128], UINT32 uuid_32) in gatt_convert_uuid32_to_uuid128() argument 985 UINT8 *p = &uuid_128[LEN_UUID_128 - 4]; in gatt_convert_uuid32_to_uuid128() 987 memcpy (uuid_128, base_uuid, LEN_UUID_128); in gatt_convert_uuid32_to_uuid128() 1002 UINT8 su[LEN_UUID_128], tu[LEN_UUID_128]; in gatt_uuid_compare() 1053 return(memcmp(ps, pt, LEN_UUID_128) == 0); in gatt_uuid_compare() 1078 p += LEN_UUID_128; in gatt_build_uuid_to_stream() [all …]
|
D | gatt_db.c | 264 p += LEN_UUID_128; in read_attr_value() 268 ARRAY_TO_STREAM (p, ((tGATT_ATTR128 *)(p_attr16->p_next))->uuid, LEN_UUID_128); in read_attr_value() 361 attr_uuid.len = LEN_UUID_128; in gatts_db_read_attr_value_by_type() 362 memcpy(attr_uuid.uu.uuid128, ((tGATT_ATTR128 *)p_attr)->uuid, LEN_UUID_128); in gatts_db_read_attr_value_by_type() 967 else if (p_uuid->len == LEN_UUID_128) in allocate_attr_in_db() 971 memcpy(p_attr128->uuid, p_uuid->uu.uuid128, LEN_UUID_128); in allocate_attr_in_db() 1207 p_attr->p_value->uuid.len = LEN_UUID_128; in gatts_db_add_service_declaration() 1212 p_attr->p_value->uuid.len = LEN_UUID_128; in gatts_db_add_service_declaration() 1213 memcpy(p_attr->p_value->uuid.uu.uuid128, p_service->uu.uuid128, LEN_UUID_128); in gatts_db_add_service_declaration()
|
D | gatt_attr.c | 270 tBT_UUID app_uuid = {LEN_UUID_128, {0}}; in gatt_profile_db_init() 276 memset (&app_uuid.uu.uuid128, 0x81, LEN_UUID_128); in gatt_profile_db_init()
|
D | gatt_cl.c | 110 cl_req.find_type_value.value_len = LEN_UUID_128; in gatt_act_discovery() 484 uuid_len = LEN_UUID_128; in gatt_process_read_info_rsp() 1008 if (len == LEN_UUID_128) in gatt_process_read_rsp() 1012 p_clcb->read_uuid128.result.value.incl_service.service_type.len = LEN_UUID_128; in gatt_process_read_rsp()
|
D | gatt_int.h | 210 UINT8 uuid[LEN_UUID_128]; 584 extern void gatt_convert_uuid32_to_uuid128(UINT8 uuid_128[LEN_UUID_128], UINT32 uuid_32);
|
D | gatt_api.c | 369 (p_descr_uuid->len != LEN_UUID_128 && p_descr_uuid->len != LEN_UUID_16 in GATTS_AddCharDescriptor() 1210 …(p_reg->in_use && !memcmp(p_app_uuid128->uu.uuid128, p_reg->app_uuid128.uu.uuid128, LEN_UUID_128)) in GATT_Register()
|
D | gatt_sr.c | 656 ARRAY_TO_STREAM (p, ((tGATT_ATTR128 *) p_attr)->uuid, LEN_UUID_128); in gatt_build_find_info_rsp() 662 p += LEN_UUID_128; in gatt_build_find_info_rsp()
|
/system/bt/stack/btm/ |
D | btm_inq.c | 2714 char buff[LEN_UUID_128 * 2 + 1]; in BTM_GetEirUuidList() 2747 else if( uuid_size == LEN_UUID_128 ) in BTM_GetEirUuidList() 2751 STREAM_TO_ARRAY16(p_uuid_list + yy * LEN_UUID_128, p_uuid_data); in BTM_GetEirUuidList() 2752 for( xx = 0; xx < LEN_UUID_128; xx++ ) in BTM_GetEirUuidList() 2753 sprintf(buff + xx*2, "%02X", *(p_uuid_list + yy * LEN_UUID_128 + xx)); in BTM_GetEirUuidList() 2794 case LEN_UUID_128: in btm_eir_get_uuid_list() 2834 static const UINT8 base_uuid[LEN_UUID_128] = {0xFB, 0x34, 0x9B, 0x5F, 0x80, 0x00, 0x00, 0x80, in btm_convert_uuid_to_uuid16() 2851 case LEN_UUID_128: in btm_convert_uuid_to_uuid16() 2854 for (xx = 0; xx < LEN_UUID_128 - 4; xx++) in btm_convert_uuid_to_uuid16() 2864 if ((p_uuid[LEN_UUID_128 - 1] == 0) && (p_uuid[LEN_UUID_128 - 2] == 0)) in btm_convert_uuid_to_uuid16() [all …]
|
D | btm_ble_adv_filter.c | 870 else if (p_uuid_cond->uuid.len == LEN_UUID_128) in btm_ble_update_uuid_filter() 872 ARRAY_TO_STREAM (p, p_uuid_cond->uuid.uu.uuid128, LEN_UUID_128); in btm_ble_update_uuid_filter() 873 len += LEN_UUID_128; in btm_ble_update_uuid_filter() 893 else if (p_uuid_cond->uuid.len == LEN_UUID_128) in btm_ble_update_uuid_filter() 895 ARRAY_TO_STREAM (p, p_uuid_cond->p_uuid_mask->uuid128_mask, LEN_UUID_128); in btm_ble_update_uuid_filter() 896 len += LEN_UUID_128; in btm_ble_update_uuid_filter()
|
D | btm_ble_gap.c | 1554 LEN_UUID_128); in btm_ble_build_adv_data()
|
/system/bt/stack/gap/ |
D | gap_ble.c | 382 tBT_UUID app_uuid = {LEN_UUID_128,{0}}; in gap_attr_db_init() 389 memset (&app_uuid.uu.uuid128, 0x82, LEN_UUID_128); in gap_attr_db_init() 441 memset (&app_uuid.uu.uuid128, 0x81, LEN_UUID_128); in gap_attr_db_init()
|
/system/bt/stack/sdp/ |
D | sdp_api.c | 355 else if (SDP_DISC_ATTR_LEN(p_sattr->attr_len_type) == LEN_UUID_128) in SDP_FindServiceUUIDInRec() 357 p_uuid->len = LEN_UUID_128; in SDP_FindServiceUUIDInRec() 358 memcpy(p_uuid->uu.uuid128, p_sattr->attr_value.v.array, LEN_UUID_128); in SDP_FindServiceUUIDInRec()
|
/system/bt/bta/hh/ |
D | bta_hh_le.c | 212 char app_name[LEN_UUID_128 + 1]; in bta_hh_le_enable() 213 tBT_UUID app_uuid = {LEN_UUID_128,{0}}; in bta_hh_le_enable() 221 memset (app_name, 0, LEN_UUID_128 + 1); in bta_hh_le_enable() 222 strncpy(app_name, "BTA HH OVER LE", LEN_UUID_128); in bta_hh_le_enable() 224 memcpy((void *)app_uuid.uu.uuid128, (void *)app_name, LEN_UUID_128); in bta_hh_le_enable()
|
/system/bt/stack/include/ |
D | bt_types.h | 427 #define LEN_UUID_128 16 macro
|
D | btm_ble_api.h | 698 UINT8 uuid128_mask[LEN_UUID_128];
|
/system/bt/bta/dm/ |
D | bta_dm_act.c | 3987 max_num_uuid = (free_eir_length - 2)/LEN_UUID_128; in bta_dm_set_eir() 3991 if (bta_dm_cb.custom_uuid[custom_uuid_idx].len == LEN_UUID_128) in bta_dm_set_eir() 4007 UINT8_TO_STREAM(p_length, num_uuid * LEN_UUID_128 + 1); in bta_dm_set_eir() 4009 free_eir_length -= num_uuid * LEN_UUID_128 + 2; in bta_dm_set_eir() 5422 tBT_UUID app_uuid = {LEN_UUID_128,{0}}; in bta_dm_gattc_register() 5426 memset (&app_uuid.uu.uuid128, 0x87, LEN_UUID_128); in bta_dm_gattc_register()
|
/system/bt/bta/include/ |
D | bta_api.h | 555 UINT8 uuid128_mask[LEN_UUID_128];
|