/system/bt/btcore/test/ |
D | uuid_test.cpp | 127 uint32_t uuid32 = 0xffffffff; in TEST_F() local 130 EXPECT_FALSE(uuid_128_to_32(uuid, &uuid32)); in TEST_F() 132 EXPECT_EQ((uint32_t)0xffffffff, uuid32); in TEST_F() 135 EXPECT_TRUE(uuid_128_to_32(uuid, &uuid32)); in TEST_F() 137 EXPECT_NE((uint32_t)0xffffffff, uuid32); in TEST_F() 138 EXPECT_EQ((uint32_t)0, uuid32); in TEST_F()
|
/system/bt/btcore/src/ |
D | uuid.c | 119 bool uuid_128_to_32(const bt_uuid_t *uuid, uint32_t *uuid32) { in uuid_128_to_32() argument 121 assert(uuid32 != NULL); in uuid_128_to_32() 126 *uuid32 = (uuid->uu[0] << 24) + (uuid->uu[1] << 16) + (uuid->uu[2] << 8) + uuid->uu[3]; in uuid_128_to_32()
|
/system/bt/btif/src/ |
D | btif_gatt_util.c | 96 p_dest->uu.uuid32 = (p_src->uu[13] << 8) + p_src->uu[12]; in btif_to_bta_uuid() 97 p_dest->uu.uuid32 += (p_src->uu[15] << 24) + (p_src->uu[14] << 16); in btif_to_bta_uuid() 186 p_dest->uu[14] = (p_src->uu.uuid32 >> 16) & 0xff; in bta_to_btif_uuid() 187 p_dest->uu[15] = (p_src->uu.uuid32 >> 24) & 0xff; in bta_to_btif_uuid() 235 return(UINT16) p_uuid->uu.uuid32; in get_uuid16()
|
D | btif_gatt_multi_adv_util.c | 450 *p_uuid_out32++ = bt_uuid.uu.uuid32; in btif_gattc_copy_datacb()
|
/system/bt/btcore/include/ |
D | uuid.h | 75 bool uuid_128_to_32(const bt_uuid_t *uuid, uint32_t *uuid32);
|
/system/bt/stack/pan/ |
D | pan_main.c | 134 if (remote_uuid->uu.uuid32 & 0xFFFF0000) in pan_conn_ind_cb() 137 remote_uuid->uu.uuid16 = (UINT16)remote_uuid->uu.uuid32; in pan_conn_ind_cb() 168 if (local_uuid->uu.uuid32 & 0xFFFF0000) in pan_conn_ind_cb() 171 local_uuid->uu.uuid16 = (UINT16)local_uuid->uu.uuid32; in pan_conn_ind_cb()
|
/system/bt/stack/bnep/ |
D | bnep_utils.c | 203 UINT32_TO_BE_STREAM (p, p_bcb->dst_uuid.uu.uuid32); in bnep_send_conn_req() 204 UINT32_TO_BE_STREAM (p, p_bcb->src_uuid.uu.uuid32); in bnep_send_conn_req() 642 BE_STREAM_TO_UINT32 (p_bcb->src_uuid.uu.uuid32, p_setup); in bnep_process_setup_conn_req() 643 BE_STREAM_TO_UINT32 (p_bcb->dst_uuid.uu.uuid32, p_setup); in bnep_process_setup_conn_req() 1390 return (src_uuid->uu.uuid32 & 0x0000FFFF); in bnep_get_uuid32()
|
/system/bt/stack/sdp/ |
D | sdp_utils.c | 758 return (p_uuid1->uu.uuid32 == p_uuid2->uu.uuid32); in sdpu_compare_bt_uuids() 794 return (BOOLEAN)(p_btuuid->uu.uuid32 == p_attr->attr_value.v.u32); in sdpu_compare_uuid_with_attr()
|
D | sdp_discovery.c | 94 UINT32_TO_BE_STREAM (p_out, p_uuid_list->uu.uuid32); in sdpu_build_uuid_seq()
|
D | sdp_api.c | 364 p_uuid->uu.uuid32 = p_sattr->attr_value.v.u32; in SDP_FindServiceUUIDInRec()
|
/system/bt/stack/gatt/ |
D | gatt_utils.c | 1020 return src.uu.uuid32 == tar.uu.uuid32; in gatt_uuid_compare() 1032 gatt_convert_uuid32_to_uuid128(su, src.uu.uuid32); in gatt_uuid_compare() 1047 gatt_convert_uuid32_to_uuid128(tu, tar.uu.uuid32); in gatt_uuid_compare() 1077 gatt_convert_uuid32_to_uuid128(p, uuid.uu.uuid32); in gatt_build_uuid_to_stream() 1139 STREAM_TO_UINT32(p_uuid_rec->uu.uuid32, p_uuid); in gatt_parse_uuid_from_cmd() 1493 UINT32_TO_BE_STREAM (p, p_uuid->uu.uuid32); in gatt_add_sdp_record() 2298 sprintf(str_buf, "0x%08x", (unsigned int)bt_uuid.uu.uuid32); in gatt_dbg_display_uuid()
|
D | gatt_db.c | 357 attr_uuid.uu.uuid32 = ((tGATT_ATTR32 *)p_attr)->uuid; in gatts_db_read_attr_value_by_type() 965 p_attr32->uuid = p_uuid->uu.uuid32; in allocate_attr_in_db() 1208 … gatt_convert_uuid32_to_uuid128(p_attr->p_value->uuid.uu.uuid128, p_service->uu.uuid32); in gatts_db_add_service_declaration()
|
D | gatt_cl.c | 111 … gatt_convert_uuid32_to_uuid128(cl_req.find_type_value.value, p_clcb->uuid.uu.uuid32); in gatt_act_discovery()
|
/system/bt/stack/btm/ |
D | btm_inq.c | 2837 UINT32 uuid32; in btm_convert_uuid_to_uuid16() local 2847 STREAM_TO_UINT32 (uuid32, p_uuid); in btm_convert_uuid_to_uuid16() 2848 if (uuid32 < 0x10000) in btm_convert_uuid_to_uuid16() 2849 uuid16 = (UINT16) uuid32; in btm_convert_uuid_to_uuid16()
|
D | btm_ble_adv_filter.c | 867 UINT32_TO_STREAM(p, p_uuid_cond->uuid.uu.uuid32); in btm_ble_update_uuid_filter()
|
D | btm_ble_gap.c | 1548 UINT32_TO_STREAM(p, p_data->p_service_data->service_uuid.uu.uuid32); in btm_ble_build_adv_data()
|
/system/bt/bta/sdp/ |
D | bta_sdp_act.c | 90 su.uu.uuid32 = ntohl(u32); in shorten_sdp_uuid()
|
/system/bt/stack/include/ |
D | bt_types.h | 435 UINT32 uuid32; member
|
/system/bt/bta/jv/ |
D | bta_jv_act.c | 853 su.uu.uuid32 = ntohl(u32); in shorten_sdp_uuid() 854 APPL_TRACE_DEBUG("shorten to 32 bits uuid: %x", su.uu.uuid32); in shorten_sdp_uuid()
|
/system/bt/bta/dm/ |
D | bta_dm_act.c | 3966 UINT32_TO_STREAM(p, bta_dm_cb.custom_uuid[custom_uuid_idx].uu.uuid32); in bta_dm_set_eir()
|