Home
last modified time | relevance | path

Searched refs:uuid128 (Results 1 – 25 of 29) sorted by relevance

12

/system/bt/btif/src/
Dbtif_gatt_test.c84 bt_uuid.uu.uuid128[15], bt_uuid.uu.uuid128[14], in format_uuid()
85 bt_uuid.uu.uuid128[13], bt_uuid.uu.uuid128[12], in format_uuid()
86 bt_uuid.uu.uuid128[11], bt_uuid.uu.uuid128[10], in format_uuid()
87 bt_uuid.uu.uuid128[9], bt_uuid.uu.uuid128[8]); in format_uuid()
89 bt_uuid.uu.uuid128[7], bt_uuid.uu.uuid128[6], in format_uuid()
90 bt_uuid.uu.uuid128[5], bt_uuid.uu.uuid128[4], in format_uuid()
91 bt_uuid.uu.uuid128[3], bt_uuid.uu.uuid128[2], in format_uuid()
92 bt_uuid.uu.uuid128[1], bt_uuid.uu.uuid128[0]); in format_uuid()
Dbtif_gatt_multi_adv_util.c411 .data.services_128b.uuid128, in btif_gattc_copy_datacb()
412 bt_uuid.uu.uuid128, LEN_UUID_128); in btif_gattc_copy_datacb()
415 bt_uuid.uu.uuid128[0], bt_uuid.uu.uuid128[1], in btif_gattc_copy_datacb()
416 bt_uuid.uu.uuid128[2], bt_uuid.uu.uuid128[3], in btif_gattc_copy_datacb()
417 bt_uuid.uu.uuid128[4], bt_uuid.uu.uuid128[5], in btif_gattc_copy_datacb()
418 bt_uuid.uu.uuid128[6], bt_uuid.uu.uuid128[7], in btif_gattc_copy_datacb()
419 bt_uuid.uu.uuid128[8], bt_uuid.uu.uuid128[9], in btif_gattc_copy_datacb()
420 bt_uuid.uu.uuid128[10], bt_uuid.uu.uuid128[11], in btif_gattc_copy_datacb()
421 bt_uuid.uu.uuid128[12], bt_uuid.uu.uuid128[13], in btif_gattc_copy_datacb()
422 bt_uuid.uu.uuid128[14], bt_uuid.uu.uuid128[15]); in btif_gattc_copy_datacb()
Dbtif_sdp.c75 &addr, (uint8_t*)(evt_data->uuid.uu.uuid128), in btif_sdp_search_comp_evt()
152 memcpy(sdp_uuid.uu.uuid128, uuid, sizeof(sdp_uuid.uu.uuid128)); in search()
Dbtif_gatt_util.c103 p_dest->uu.uuid128[i] = p_byte[i]; in btif_to_bta_uuid()
180 p_dest->uu[i] = p_src->uu.uuid128[i]; in bta_to_btif_uuid()
202 UINT8 *p = &p_uuid->uu.uuid128[LEN_UUID_128 - 4]; in get_uuid16()
Dbtif_util.c105 void uuid16_to_uuid128(uint16_t uuid16, bt_uuid_t* uuid128) in uuid16_to_uuid128() argument
108 memset(uuid128, 0, sizeof(bt_uuid_t)); in uuid16_to_uuid128()
110 memcpy(uuid128->uu, sdp_base_uuid, MAX_UUID_SIZE); in uuid16_to_uuid128()
112 memcpy(uuid128->uu + 2, &uuid16_bo, sizeof(uint16_t)); in uuid16_to_uuid128()
Dbtif_sock_rfc.c355 memcpy(sdp_uuid.uu.uuid128, service_uuid, sizeof(sdp_uuid.uu.uuid128)); in btsock_rfc_connect()
713 memcpy(sdp_uuid.uu.uuid128, slot->service_uuid, sizeof(sdp_uuid.uu.uuid128)); in jv_dm_cback()
/system/bt/bta/sdp/
Dbta_sdp_act.c73 if(memcmp(&u->uu.uuid128[4], &bt_base_uuid[4], 12) != 0) in shorten_sdp_uuid()
78 if(u->uu.uuid128[0] == 0 && u->uu.uuid128[1] == 0) in shorten_sdp_uuid()
82 memcpy(&u16, &u->uu.uuid128[2], sizeof(u16)); in shorten_sdp_uuid()
87 memcpy(&u32, &u->uu.uuid128[0], sizeof(u32)); in shorten_sdp_uuid()
407 if (IS_UUID(UUID_MAP_MAS,uuid->uu.uuid128)) { in bta_sdp_search_cback()
410 } else if (IS_UUID(UUID_MAP_MNS,uuid->uu.uuid128)) { in bta_sdp_search_cback()
413 } else if (IS_UUID(UUID_PBAP_PSE,uuid->uu.uuid128)){ in bta_sdp_search_cback()
416 } else if (IS_UUID(UUID_OBEX_OBJECT_PUSH,uuid->uu.uuid128)){ in bta_sdp_search_cback()
419 } else if (IS_UUID(UUID_SAP,uuid->uu.uuid128)) { in bta_sdp_search_cback()
444 bta_sdp_cb.p_dm_cback(BTA_SDP_SEARCH_COMP_EVT, (tBTA_SDP*) &evt_data, (void*)&uuid->uu.uuid128); in bta_sdp_search_cback()
[all …]
/system/bt/stack/pan/
Dpan_main.c121 if (memcmp (constant_pan_uuid, remote_uuid->uu.uuid128 + 4, UUID_CONSTANT_PART)) in pan_conn_ind_cb()
124 if (remote_uuid->uu.uuid128[0] || remote_uuid->uu.uuid128[1]) in pan_conn_ind_cb()
128 … remote_uuid->uu.uuid16 = (UINT16)((remote_uuid->uu.uuid128[2] << 8) | remote_uuid->uu.uuid128[3]); in pan_conn_ind_cb()
155 if (memcmp (constant_pan_uuid, local_uuid->uu.uuid128 + 4, UUID_CONSTANT_PART)) in pan_conn_ind_cb()
158 if (local_uuid->uu.uuid128[0] || local_uuid->uu.uuid128[1]) in pan_conn_ind_cb()
162 … local_uuid->uu.uuid16 = (UINT16)((local_uuid->uu.uuid128[2] << 8) | local_uuid->uu.uuid128[3]); in pan_conn_ind_cb()
/system/bt/stack/gatt/
Dgatt_utils.c1064 ps = src.uu.uuid128; in gatt_uuid_compare()
1079 pt = tar.uu.uuid128; in gatt_uuid_compare()
1111 ARRAY_TO_STREAM (p, uuid.uu.uuid128, LEN_UUID_128); in gatt_build_uuid_to_stream()
1173 memcpy(p_uuid_rec->uu.uuid128, p_uuid, LEN_UUID_128); in gatt_parse_uuid_from_cmd()
1554 ARRAY_TO_BE_STREAM_REVERSE (p, p_uuid->uu.uuid128, LEN_UUID_128); in gatt_add_sdp_record()
2359 bt_uuid.uu.uuid128[15], bt_uuid.uu.uuid128[14], in gatt_dbg_display_uuid()
2360 bt_uuid.uu.uuid128[13], bt_uuid.uu.uuid128[12], in gatt_dbg_display_uuid()
2361 bt_uuid.uu.uuid128[11], bt_uuid.uu.uuid128[10], in gatt_dbg_display_uuid()
2362 bt_uuid.uu.uuid128[9], bt_uuid.uu.uuid128[8]); in gatt_dbg_display_uuid()
2364 bt_uuid.uu.uuid128[7], bt_uuid.uu.uuid128[6], in gatt_dbg_display_uuid()
[all …]
Dgatt_db.c359 memcpy(attr_uuid.uu.uuid128, ((tGATT_ATTR128 *)p_attr)->uuid, LEN_UUID_128); in gatts_db_read_attr_value_by_type()
963 memcpy(p_attr128->uuid, p_uuid->uu.uuid128, LEN_UUID_128); in allocate_attr_in_db()
1193 … gatt_convert_uuid32_to_uuid128(p_attr->p_value->uuid.uu.uuid128, p_service->uu.uuid32); in gatts_db_add_service_declaration()
1198 memcpy(p_attr->p_value->uuid.uu.uuid128, p_service->uu.uuid128, LEN_UUID_128); in gatts_db_add_service_declaration()
Dgatt_attr.c276 memset (&app_uuid.uu.uuid128, 0x81, LEN_UUID_128); in gatt_profile_db_init()
Dgatt_api.c1199 …if (p_reg->in_use && !memcmp(p_app_uuid128->uu.uuid128, p_reg->app_uuid128.uu.uuid128, LEN_UUID_1… in GATT_Register()
Dgatt_cl.c1014 … memcpy(p_clcb->read_uuid128.result.value.incl_service.service_type.uu.uuid128, p, len); in gatt_process_read_rsp()
/system/bt/bta/gatt/
Dbta_gatts_utils.c217 ps = src.uu.uuid128; in bta_gatts_uuid_compare()
226 pt = tar.uu.uuid128; in bta_gatts_uuid_compare()
Dbta_gattc_utils.c103 ps = p_src->uu.uuid128; in bta_gattc_uuid_compare()
112 pt = p_tar->uu.uuid128; in bta_gattc_uuid_compare()
/system/bt/btif/include/
Dbtif_util.h66 void uuid16_to_uuid128(uint16_t uuid16, bt_uuid_t* uuid128);
/system/bt/stack/bnep/
Dbnep_utils.c209 memcpy (p, p_bcb->dst_uuid.uu.uuid128, p_bcb->dst_uuid.len); in bnep_send_conn_req()
211 memcpy (p, p_bcb->src_uuid.uu.uuid128, p_bcb->dst_uuid.len); in bnep_send_conn_req()
625 memcpy (p_bcb->src_uuid.uu.uuid128, p_setup, p_bcb->src_uuid.len); in bnep_process_setup_conn_req()
627 memcpy (p_bcb->dst_uuid.uu.uuid128, p_setup, p_bcb->dst_uuid.len); in bnep_process_setup_conn_req()
1368 result = src_uuid->uu.uuid128[2]; in bnep_get_uuid32()
1369 result = (result << 8) | (src_uuid->uu.uuid128[3]); in bnep_get_uuid32()
/system/bt/stack/sdp/
Dsdp_utils.c748 else if (!memcmp (p_uuid1->uu.uuid128, p_uuid2->uu.uuid128, 16)) in sdpu_compare_bt_uuids()
792 else if (!memcmp (p_btuuid->uu.uuid128,(void*) p_attr->attr_value.v.array, MAX_UUID_SIZE)) in sdpu_compare_uuid_with_attr()
Dsdp_api.c361 p_uuid->uu.uuid128[i] = p_sattr->attr_value.v.array[LEN_UUID_128-i-1]; in SDP_FindServiceUUIDInRec()
447 p_uuid->uu.uuid128[i] = p_sattr->attr_value.v.array[LEN_UUID_128-i-1]; in SDP_FindServiceUUIDInRec_128bit()
464 p_uuid->uu.uuid128[i] = p_attr->attr_value.v.array[LEN_UUID_128-i-1]; in SDP_FindServiceUUIDInRec_128bit()
Dsdp_discovery.c100 ARRAY_TO_BE_STREAM (p_out, p_uuid_list->uu.uuid128, p_uuid_list->len); in sdpu_build_uuid_seq()
/system/bt/bta/jv/
Dbta_jv_act.c817 logu("in, uuid:", u->uu.uuid128); in shorten_sdp_uuid()
821 if(memcmp(&u->uu.uuid128[4], &bt_base_uuid[4], 12) == 0) in shorten_sdp_uuid()
825 if(u->uu.uuid128[0] == 0 && u->uu.uuid128[1] == 0) in shorten_sdp_uuid()
829 memcpy(&u16, &u->uu.uuid128[2], sizeof(u16)); in shorten_sdp_uuid()
837 memcpy(&u32, &u->uu.uuid128[0], sizeof(u32)); in shorten_sdp_uuid()
873 logu("bta_jv_cb.uuid", bta_jv_cb.uuid.uu.uuid128); in bta_jv_start_discovery_cback()
875 logu("shorten uuid:", su.uu.uuid128); in bta_jv_start_discovery_cback()
/system/bt/stack/gap/
Dgap_ble.c389 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/include/
Dbt_types.h424 UINT8 uuid128[MAX_UUID_SIZE]; member
Dbtm_ble_api.h418 UINT8 uuid128[MAX_UUID_SIZE]; member
/system/bt/stack/btm/
Dbtm_ble_gap.c1504 ARRAY_TO_STREAM(p, p_data->services_128b.uuid128, MAX_UUID_SIZE); in btm_ble_build_adv_data()
1539 ARRAY_TO_STREAM(p, p_data->sol_service_128b.uuid128, MAX_UUID_SIZE); in btm_ble_build_adv_data()
1568 ARRAY_TO_STREAM(p, p_data->service_data.service_uuid.uu.uuid128, in btm_ble_build_adv_data()

12