Home
last modified time | relevance | path

Searched refs:LEN_UUID_128 (Results 1 – 22 of 22) sorted by relevance

/external/bluetooth/bluedroid/bta/gatt/
Dbta_gatts_utils.c36 static const UINT8 base_uuid[LEN_UUID_128] = {0xFB, 0x34, 0x9B, 0x5F, 0x80, 0x00, 0x00, 0x80,
48 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
50 UINT8 *p = &uuid_128[LEN_UUID_128 - 4]; in bta_gatt_convert_uuid16_to_uuid128()
52 memcpy (uuid_128, base_uuid, LEN_UUID_128); in bta_gatt_convert_uuid16_to_uuid128()
195 UINT8 su[LEN_UUID_128], tu[LEN_UUID_128]; in bta_gatts_uuid_compare()
229 return(memcmp(ps, pt, LEN_UUID_128) == 0); in bta_gatts_uuid_compare()
Dbta_gattc_utils.c42 static const UINT8 base_uuid[LEN_UUID_128] = {0xFB, 0x34, 0x9B, 0x5F, 0x80, 0x00, 0x00, 0x80,
56 void bta_gatt_convert_uuid16_to_uuid128(UINT8 uuid_128[LEN_UUID_128], UINT16 uuid_16) in bta_gatt_convert_uuid16_to_uuid128() argument
58 UINT8 *p = &uuid_128[LEN_UUID_128 - 4]; in bta_gatt_convert_uuid16_to_uuid128()
60 memcpy (uuid_128, base_uuid, LEN_UUID_128); in bta_gatt_convert_uuid16_to_uuid128()
75 UINT8 su[LEN_UUID_128], tu[LEN_UUID_128]; in bta_gattc_uuid_compare()
112 return(memcmp(ps, pt, LEN_UUID_128) == 0); in bta_gattc_uuid_compare()
602 memcpy(p_uuid->uu.uuid128, pp, LEN_UUID_128); in bta_gattc_pack_attr_uuid()
628 else if (p_des->uuid.len == LEN_UUID_128) in bta_gattc_cpygattid()
630 memcpy(p_des->uuid.uu.uuid128, p_src->uuid.uu.uuid128, LEN_UUID_128); in bta_gattc_cpygattid()
Dbta_gattc_cache.c391 else if (p_uuid->len == LEN_UUID_128) in bta_gattc_add_attr_to_cache()
393 memcpy(pp, p_uuid->uu.uuid128, LEN_UUID_128); in bta_gattc_add_attr_to_cache()
1589 memcpy(uuid.uu.uuid128, p_attr->p_uuid->uuid128, LEN_UUID_128); in bta_gattc_cache_save()
Dbta_gattc_int.h238 UINT8 uuid128[LEN_UUID_128];
/external/bluetooth/bluedroid/btif/src/
Dbtif_gatt_util.c76 return LEN_UUID_128; in uuidType()
101 case LEN_UUID_128: in btif_to_bta_uuid()
165 case LEN_UUID_128: in bta_to_btif_uuid()
201 else if (p_uuid->len == LEN_UUID_128) in get_uuid16()
204 UINT8 *p = &p_uuid->uu.uuid128[LEN_UUID_128 - 4]; in get_uuid16()
Dbtif_gatt_client.c1033 GKI_getbuf(service_uuid_len / LEN_UUID_128 * LEN_UUID_16); in btif_gattc_set_adv_data()
1037 while (service_uuid_len >= LEN_UUID_128) in btif_gattc_set_adv_data()
1041 memcpy(&uuid.uu, service_uuid, LEN_UUID_128); in btif_gattc_set_adv_data()
1053 } else if (bt_uuid.len == LEN_UUID_128 && p_elem_service_128 == NULL) { in btif_gattc_set_adv_data()
1058 p_elem_service_128->p_val = GKI_getbuf(LEN_UUID_128); in btif_gattc_set_adv_data()
1062 p_elem_service_128->len = LEN_UUID_128; in btif_gattc_set_adv_data()
1063 memcpy(p_elem_service_128->p_val, bt_uuid.uu.uuid128, LEN_UUID_128); in btif_gattc_set_adv_data()
1072 service_uuid += LEN_UUID_128; in btif_gattc_set_adv_data()
1073 service_uuid_len -= LEN_UUID_128; in btif_gattc_set_adv_data()
Dbtif_gatt_test.c84 else if (bt_uuid.len == LEN_UUID_128) in format_uuid()
216 tBT_UUID app_uuid = {LEN_UUID_128,{0xAE}}; in btif_gattc_test_command_impl()
Dbtif_dm.c160 extern void bta_gatt_convert_uuid16_to_uuid128(UINT8 uuid_128[LEN_UUID_128], UINT16 uuid_16);
/external/bluetooth/bluedroid/stack/gatt/
Dgatt_utils.c78 static const UINT8 base_uuid[LEN_UUID_128] = {0xFB, 0x34, 0x9B, 0x5F, 0x80, 0x00, 0x00, 0x80,
959 void gatt_convert_uuid16_to_uuid128(UINT8 uuid_128[LEN_UUID_128], UINT16 uuid_16) in gatt_convert_uuid16_to_uuid128() argument
961 UINT8 *p = &uuid_128[LEN_UUID_128 - 4]; in gatt_convert_uuid16_to_uuid128()
963 memcpy (uuid_128, base_uuid, LEN_UUID_128); in gatt_convert_uuid16_to_uuid128()
979 UINT8 su[LEN_UUID_128], tu[LEN_UUID_128]; in gatt_uuid_compare()
1013 return(memcmp(ps, pt, LEN_UUID_128) == 0); in gatt_uuid_compare()
1035 else if (uuid.len == LEN_UUID_128) in gatt_build_uuid_to_stream()
1037 ARRAY_TO_STREAM (p, uuid.uu.uuid128, LEN_UUID_128); in gatt_build_uuid_to_stream()
1038 len = LEN_UUID_128; in gatt_build_uuid_to_stream()
1070 case LEN_UUID_128: in gatt_parse_uuid_from_cmd()
[all …]
Dgatt_attr.c247 tBT_UUID app_uuid = {LEN_UUID_128, {0}}; in gatt_profile_db_init()
253 memset (&app_uuid.uu.uuid128, 0x81, LEN_UUID_128); in gatt_profile_db_init()
Dgatt_db.c266 ARRAY_TO_STREAM (p, ((tGATT_ATTR128 *)(p_attr16->p_next))->uuid, LEN_UUID_128); in read_attr_value()
347 attr_uuid.len = LEN_UUID_128; in gatts_db_read_attr_value_by_type()
348 memcpy(attr_uuid.uu.uuid128, ((tGATT_ATTR128 *)p_attr)->uuid, LEN_UUID_128); in gatts_db_read_attr_value_by_type()
925 memcpy(p_attr128->uuid, uuid128, LEN_UUID_128); in allocate_attr_in_db()
Dgatt_cl.c470 uuid_len = LEN_UUID_128; in gatt_process_read_info_rsp()
986 if (len == LEN_UUID_128) in gatt_process_read_rsp()
990 p_clcb->read_uuid128.result.value.incl_service.service_type.len = LEN_UUID_128; in gatt_process_read_rsp()
Dgatt_api.c369 (p_descr_uuid->len != LEN_UUID_128 && p_descr_uuid->len != LEN_UUID_16)) in GATTS_AddCharDescriptor()
1196 …(p_reg->in_use && !memcmp(p_app_uuid128->uu.uuid128, p_reg->app_uuid128.uu.uuid128, LEN_UUID_128)) in GATT_Register()
Dgatt_int.h195 UINT8 uuid[LEN_UUID_128];
Dgatt_sr.c657 ARRAY_TO_STREAM (p, ((tGATT_ATTR128 *) p_attr)->uuid, LEN_UUID_128); in gatt_build_find_info_rsp()
/external/bluetooth/bluedroid/stack/btm/
Dbtm_inq.c3190 char buff[LEN_UUID_128 * 2 + 1]; in BTM_GetEirUuidList()
3223 else if( uuid_size == LEN_UUID_128 ) in BTM_GetEirUuidList()
3227 STREAM_TO_ARRAY16(p_uuid_list + yy * LEN_UUID_128, p_uuid_data); in BTM_GetEirUuidList()
3228 for( xx = 0; xx < LEN_UUID_128; xx++ ) in BTM_GetEirUuidList()
3229 sprintf(buff + xx*2, "%02X", *(p_uuid_list + yy * LEN_UUID_128 + xx)); in BTM_GetEirUuidList()
3275 case LEN_UUID_128: in btm_eir_get_uuid_list()
3315 static const UINT8 base_uuid[LEN_UUID_128] = {0xFB, 0x34, 0x9B, 0x5F, 0x80, 0x00, 0x00, 0x80, in btm_convert_uuid_to_uuid16()
3332 case LEN_UUID_128: in btm_convert_uuid_to_uuid16()
3335 for (xx = 0; xx < LEN_UUID_128 - 4; xx++) in btm_convert_uuid_to_uuid16()
3345 if ((p_uuid[LEN_UUID_128 - 1] == 0) && (p_uuid[LEN_UUID_128 - 2] == 0)) in btm_convert_uuid_to_uuid16()
[all …]
/external/bluetooth/bluedroid/stack/gap/
Dgap_ble.c478 tBT_UUID app_uuid = {LEN_UUID_128,{0}}; in gap_attr_db_init()
485 memset (&app_uuid.uu.uuid128, 0x82, LEN_UUID_128); in gap_attr_db_init()
514 memset (&app_uuid.uu.uuid128, 0x81, LEN_UUID_128); in gap_attr_db_init()
/external/bluetooth/bluedroid/stack/sdp/
Dsdp_api.c359 else if (SDP_DISC_ATTR_LEN(p_sattr->attr_len_type) == LEN_UUID_128) in SDP_FindServiceUUIDInRec()
361 p_uuid->len = LEN_UUID_128; in SDP_FindServiceUUIDInRec()
362 memcpy(p_uuid->uu.uuid128, p_sattr->attr_value.v.array, LEN_UUID_128); in SDP_FindServiceUUIDInRec()
/external/bluetooth/bluedroid/bta/hh/
Dbta_hh_le.c203 char app_name[LEN_UUID_128 + 1]; in bta_hh_le_enable()
204 tBT_UUID app_uuid = {LEN_UUID_128,{0}}; in bta_hh_le_enable()
212 memset (app_name, 0, LEN_UUID_128 + 1); in bta_hh_le_enable()
213 strncpy(app_name, "BTA HH OVER LE", LEN_UUID_128); in bta_hh_le_enable()
215 memcpy((void *)app_uuid.uu.uuid128, (void *)app_name, LEN_UUID_128); in bta_hh_le_enable()
/external/bluetooth/bluedroid/bta/dm/
Dbta_dm_act.c325 tBT_UUID app_uuid = {LEN_UUID_128,{0}}; in bta_dm_sys_hw_cback()
433 memset (&app_uuid.uu.uuid128, 0x87, LEN_UUID_128); in bta_dm_sys_hw_cback()
4237 max_num_uuid = (free_eir_length - 2)/LEN_UUID_128; in bta_dm_set_eir()
4241 if (bta_dm_cb.custom_uuid[custom_uuid_idx].len == LEN_UUID_128) in bta_dm_set_eir()
4257 UINT8_TO_STREAM(p_length, num_uuid * LEN_UUID_128 + 1); in bta_dm_set_eir()
4259 free_eir_length -= num_uuid * LEN_UUID_128 + 2; in bta_dm_set_eir()
5082 tBT_UUID app_uuid = {LEN_UUID_128,{0}}; in bta_dm_gattc_register()
5086 memset (&app_uuid.uu.uuid128, 0x87, LEN_UUID_128); in bta_dm_gattc_register()
/external/bluetooth/bluedroid/stack/include/
Dbt_types.h418 #define LEN_UUID_128 16 macro
/external/libnfc-nci/src/include/
Dbt_types.h402 #define LEN_UUID_128 16 macro