Home
last modified time | relevance | path

Searched refs:LEN_UUID_128 (Results 1 – 18 of 18) 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.c41 static const UINT8 base_uuid[LEN_UUID_128] = {0xFB, 0x34, 0x9B, 0x5F, 0x80, 0x00, 0x00, 0x80,
53 void bta_gatt_convert_uuid16_to_uuid128(UINT8 uuid_128[LEN_UUID_128], UINT16 uuid_16) in bta_gatt_convert_uuid16_to_uuid128() argument
55 UINT8 *p = &uuid_128[LEN_UUID_128 - 4]; in bta_gatt_convert_uuid16_to_uuid128()
57 memcpy (uuid_128, base_uuid, LEN_UUID_128); in bta_gatt_convert_uuid16_to_uuid128()
72 UINT8 su[LEN_UUID_128], tu[LEN_UUID_128]; in bta_gattc_uuid_compare()
109 return(memcmp(ps, pt, LEN_UUID_128) == 0); in bta_gattc_uuid_compare()
465 memcpy(p_uuid->uu.uuid128, pp, LEN_UUID_128); in bta_gattc_pack_attr_uuid()
491 else if (p_des->uuid.len == LEN_UUID_128) in bta_gattc_cpygattid()
493 memcpy(p_des->uuid.uu.uuid128, p_src->uuid.uu.uuid128, LEN_UUID_128); in bta_gattc_cpygattid()
Dbta_gattc_cache.c361 else if (p_uuid->len == LEN_UUID_128) in bta_gattc_add_attr_to_cache()
363 memcpy(pp, p_uuid->uu.uuid128, LEN_UUID_128); in bta_gattc_add_attr_to_cache()
1562 memcpy(uuid.uu.uuid128, p_attr->p_uuid->uuid128, LEN_UUID_128); in bta_gattc_cache_save()
Dbta_gattc_int.h207 UINT8 uuid128[LEN_UUID_128];
/external/bluetooth/bluedroid/btif/src/
Dbtif_gatt_util.c84 return LEN_UUID_128; in uuidType()
109 case LEN_UUID_128: in btif_to_bta_uuid()
173 case LEN_UUID_128: in bta_to_btif_uuid()
209 else if (p_uuid->len == LEN_UUID_128) in get_uuid16()
212 UINT8 *p = &p_uuid->uu.uuid128[LEN_UUID_128 - 4]; in get_uuid16()
Dbtif_gatt_test.c84 else if (bt_uuid.len == LEN_UUID_128) in format_uuid()
215 tBT_UUID app_uuid = {LEN_UUID_128,{0xAE}}; in btif_gattc_test_command_impl()
/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.c246 tBT_UUID app_uuid = {LEN_UUID_128, {0}}; in gatt_profile_db_init()
252 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.c452 uuid_len = LEN_UUID_128; in gatt_process_read_info_rsp()
948 if (len == LEN_UUID_128) in gatt_process_read_rsp()
952 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.c654 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.c3047 char buff[LEN_UUID_128 * 2 + 1]; in BTM_GetEirUuidList()
3080 else if( uuid_size == LEN_UUID_128 ) in BTM_GetEirUuidList()
3084 STREAM_TO_ARRAY16(p_uuid_list + yy * LEN_UUID_128, p_uuid_data); in BTM_GetEirUuidList()
3085 for( xx = 0; xx < LEN_UUID_128; xx++ ) in BTM_GetEirUuidList()
3086 sprintf(buff + xx*2, "%02X", *(p_uuid_list + yy * LEN_UUID_128 + xx)); in BTM_GetEirUuidList()
3132 case LEN_UUID_128: in btm_eir_get_uuid_list()
3172 static const UINT8 base_uuid[LEN_UUID_128] = {0xFB, 0x34, 0x9B, 0x5F, 0x80, 0x00, 0x00, 0x80, in btm_convert_uuid_to_uuid16()
3189 case LEN_UUID_128: in btm_convert_uuid_to_uuid16()
3192 for (xx = 0; xx < LEN_UUID_128 - 4; xx++) in btm_convert_uuid_to_uuid16()
3202 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/bta/dm/
Dbta_dm_act.c326 tBT_UUID app_uuid = {LEN_UUID_128,{0}}; in bta_dm_sys_hw_cback()
385 memset (&app_uuid.uu.uuid128, 0x87, LEN_UUID_128); in bta_dm_sys_hw_cback()
4206 max_num_uuid = (free_eir_length - 2)/LEN_UUID_128; in bta_dm_set_eir()
4210 if (bta_dm_cb.custom_uuid[custom_uuid_idx].len == LEN_UUID_128) in bta_dm_set_eir()
4226 UINT8_TO_STREAM(p_length, num_uuid * LEN_UUID_128 + 1); in bta_dm_set_eir()
4228 free_eir_length -= num_uuid * LEN_UUID_128 + 2; in bta_dm_set_eir()
/external/libnfc-nci/src/include/
Dbt_types.h402 #define LEN_UUID_128 16 macro
/external/bluetooth/bluedroid/stack/include/
Dbt_types.h418 #define LEN_UUID_128 16 macro