Home
last modified time | relevance | path

Searched refs:uuid32 (Results 1 – 20 of 20) sorted by relevance

/system/bt/btcore/test/
Duuid_test.cc123 uint32_t uuid32 = 0xffffffff; in TEST_F() local
126 EXPECT_FALSE(uuid_128_to_32(uuid, &uuid32)); in TEST_F()
128 EXPECT_EQ((uint32_t)0xffffffff, uuid32); in TEST_F()
131 EXPECT_TRUE(uuid_128_to_32(uuid, &uuid32)); in TEST_F()
133 EXPECT_NE((uint32_t)0xffffffff, uuid32); in TEST_F()
134 EXPECT_EQ((uint32_t)0, uuid32); in TEST_F()
/system/bt/btif/src/
Dbtif_gatt_util.cc85 p_dest->uu.uuid32 = (p_src->uu[13] << 8) + p_src->uu[12]; in btif_to_bta_uuid()
86 p_dest->uu.uuid32 += (p_src->uu[15] << 24) + (p_src->uu[14] << 16); in btif_to_bta_uuid()
157 p_dest->uu[14] = (p_src->uu.uuid32 >> 16) & 0xff; in bta_to_btif_uuid()
158 p_dest->uu[15] = (p_src->uu.uuid32 >> 24) & 0xff; in bta_to_btif_uuid()
185 return (uint16_t)p_uuid->uu.uuid32; in get_uuid16()
/system/bt/btcore/src/
Duuid.cc112 bool uuid_128_to_32(const bt_uuid_t* uuid, uint32_t* uuid32) { in uuid_128_to_32() argument
114 CHECK(uuid32 != NULL); in uuid_128_to_32()
118 *uuid32 = (uuid->uu[0] << 24) + (uuid->uu[1] << 16) + (uuid->uu[2] << 8) + in uuid_128_to_32()
/system/bt/btcore/include/
Duuid.h75 bool uuid_128_to_32(const bt_uuid_t* uuid, uint32_t* uuid32);
/system/bt/stack/pan/
Dpan_main.cc129 if (remote_uuid->uu.uuid32 & 0xFFFF0000) wrong_uuid = true; in pan_conn_ind_cb()
131 remote_uuid->uu.uuid16 = (uint16_t)remote_uuid->uu.uuid32; in pan_conn_ind_cb()
161 if (local_uuid->uu.uuid32 & 0xFFFF0000) wrong_uuid = true; in pan_conn_ind_cb()
163 local_uuid->uu.uuid16 = (uint16_t)local_uuid->uu.uuid32; in pan_conn_ind_cb()
/system/bt/stack/gatt/
Dgatt_utils.cc524 return src.uu.uuid32 == tar.uu.uuid32; in gatt_uuid_compare()
533 gatt_convert_uuid32_to_uuid128(su, src.uu.uuid32); in gatt_uuid_compare()
544 gatt_convert_uuid32_to_uuid128(tu, tar.uu.uuid32); in gatt_uuid_compare()
571 gatt_convert_uuid32_to_uuid128(p, uuid.uu.uuid32); in gatt_build_uuid_to_stream()
625 STREAM_TO_UINT32(p_uuid_rec->uu.uuid32, p_uuid); in gatt_parse_uuid_from_cmd()
901 UINT32_TO_BE_STREAM(p, p_uuid->uu.uuid32); in gatt_add_sdp_record()
1459 (unsigned int)bt_uuid.uu.uuid32); in gatt_dbg_display_uuid()
Dgatt_db.cc203 gatt_convert_uuid32_to_uuid128(p, val_attr->uuid.uu.uuid32); in read_attr_value()
689 snprintf(str_buf, buf_len, "0x%08x", bt_uuid.uu.uuid32); in uuid_to_str()
Dgatt_api.cc124 p_dest->uu.uuid32 = (p_src->uu[15] << 24) + (p_src->uu[14] << 16) + in btif_to_bta_uuid()
Dgatt_cl.cc108 p_clcb->uuid.uu.uuid32); in gatt_act_discovery()
Dgatt_sr.cc548 gatt_convert_uuid32_to_uuid128(p, attr.uuid.uu.uuid32); in gatt_build_find_info_rsp()
/system/bt/stack/bnep/
Dbnep_utils.cc187 UINT32_TO_BE_STREAM(p, p_bcb->dst_uuid.uu.uuid32); in bnep_send_conn_req()
188 UINT32_TO_BE_STREAM(p, p_bcb->src_uuid.uu.uuid32); in bnep_send_conn_req()
579 BE_STREAM_TO_UINT32(p_bcb->src_uuid.uu.uuid32, p_setup); in bnep_process_setup_conn_req()
580 BE_STREAM_TO_UINT32(p_bcb->dst_uuid.uu.uuid32, p_setup); in bnep_process_setup_conn_req()
1336 return (src_uuid->uu.uuid32 & 0x0000FFFF); in bnep_get_uuid32()
/system/bt/stack/sdp/
Dsdp_utils.cc704 return (p_uuid1->uu.uuid32 == p_uuid2->uu.uuid32); in sdpu_compare_bt_uuids()
737 return (bool)(p_btuuid->uu.uuid32 == p_attr->attr_value.v.u32); in sdpu_compare_uuid_with_attr()
Dsdp_api.cc314 p_uuid->uu.uuid32 = p_sattr->attr_value.v.u32; in SDP_FindServiceUUIDInRec()
Dsdp_discovery.cc93 UINT32_TO_BE_STREAM(p_out, p_uuid_list->uu.uuid32); in sdpu_build_uuid_seq()
/system/bt/stack/btm/
Dbtm_inq.cc2574 uint32_t uuid32; in btm_convert_uuid_to_uuid16() local
2583 STREAM_TO_UINT32(uuid32, p_uuid); in btm_convert_uuid_to_uuid16()
2584 if (uuid32 < 0x10000) uuid16 = (uint16_t)uuid32; in btm_convert_uuid_to_uuid16()
Dbtm_ble_adv_filter.cc567 UINT32_TO_STREAM(p, uuid.uu.uuid32); in BTM_LE_PF_uuid_filter()
/system/bt/stack/include/
Dbt_types.h654 uint32_t uuid32; member
/system/bt/bta/sdp/
Dbta_sdp_act.cc90 su.uu.uuid32 = ntohl(u32); in shorten_sdp_uuid()
/system/bt/bta/jv/
Dbta_jv_act.cc804 su.uu.uuid32 = ntohl(u32); in shorten_sdp_uuid()
805 APPL_TRACE_DEBUG("shorten to 32 bits uuid: %x", su.uu.uuid32); in shorten_sdp_uuid()
/system/bt/bta/dm/
Dbta_dm_act.cc3586 UINT32_TO_STREAM(p, bta_dm_cb.custom_uuid[custom_uuid_idx].uu.uuid32); in bta_dm_set_eir()