/system/bt/stack/pan/ |
pan_main.cc | 122 remote_uuid->uu.uuid16 = (uint16_t)((remote_uuid->uu.uuid128[2] << 8) | 130 remote_uuid->uu.uuid16 = (uint16_t)remote_uuid->uu.uuid32; 154 local_uuid->uu.uuid16 = (uint16_t)((local_uuid->uu.uuid128[2] << 8) | 162 local_uuid->uu.uuid16 = (uint16_t)local_uuid->uu.uuid32; 175 handle, pan_cb.role, local_uuid->uu.uuid16, remote_uuid->uu.uuid16, 186 if (remote_uuid->uu.uuid16 != UUID_SERVCLASS_PANU && 187 remote_uuid->uu.uuid16 != UUID_SERVCLASS_NAP && 188 remote_uuid->uu.uuid16 != UUID_SERVCLASS_GN) { 189 PAN_TRACE_ERROR("Src UUID 0x%x is not valid", remote_uuid->uu.uuid16); [all...] |
pan_api.cc | 312 src_uuid.uu.uuid16 = UUID_SERVCLASS_PANU; 314 dst_uuid.uu.uuid16 = UUID_SERVCLASS_PANU; 316 dst_uuid.uu.uuid16 = UUID_SERVCLASS_GN; 318 dst_uuid.uu.uuid16 = UUID_SERVCLASS_NAP; 320 mx_chan_id = dst_uuid.uu.uuid16; 329 dst_uuid.uu.uuid16 = UUID_SERVCLASS_PANU; 331 src_uuid.uu.uuid16 = UUID_SERVCLASS_GN; 333 src_uuid.uu.uuid16 = UUID_SERVCLASS_NAP; 335 mx_chan_id = src_uuid.uu.uuid16; 367 pcb->src_uuid = src_uuid.uu.uuid16; [all...] |
/system/bt/stack/gatt/ |
gatt_db.cc | 61 uuid.uu.uuid16 = is_pri ? GATT_UUID_PRI_SERVICE : GATT_UUID_SEC_SERVICE; 121 switch (attr.uuid.uu.uuid16) { 163 uint16_t len = 0, uuid16 = 0; local 175 if (attr16.uuid.len == LEN_UUID_16) uuid16 = attr16.uuid.uu.uuid16; 179 if (uuid16 == GATT_UUID_PRI_SERVICE || uuid16 == GATT_UUID_SEC_SERVICE) { 185 } else if (uuid16 == GATT_UUID_CHAR_DECLARE) { 194 UINT16_TO_STREAM(p, val_attr->uuid.uu.uuid16); 206 } else if (uuid16 == GATT_UUID_INCLUDE_SERVICE) [all...] |
gatt_api.cc | 145 p_dest->uu.uuid16 = (p_src->uu[13] << 8) + p_src->uu[12]; 163 void uuid_128_from_16(bt_uuid_t* uuid, uint16_t uuid16) { 166 uuid->uu[13] = (uint8_t)((0xFF00 & uuid16) >> 8); 167 uuid->uu[12] = (uint8_t)(0x00FF & uuid16); 189 if (uuid.len == LEN_UUID_16 && (uuid.uu.uuid16 == GATT_UUID_PRI_SERVICE || 190 uuid.uu.uuid16 == GATT_UUID_SEC_SERVICE || 191 uuid.uu.uuid16 == GATT_UUID_INCLUDE_SERVICE || 192 uuid.uu.uuid16 == GATT_UUID_CHAR_DECLARE)) { 244 (svc_uuid.uu.uuid16 == UUID_SERVCLASS_GATT_SERVER)) { 247 (svc_uuid.uu.uuid16 == UUID_SERVCLASS_GAP_SERVER)) [all...] |
gatt_attr.cc | 328 if (p_data->type.uu.uuid16 == GATT_UUID_CHAR_CLIENT_CONFIG) { 398 srvc_disc_param.service.uu.uuid16 = UUID_SERVCLASS_GATT_SERVER; 406 srvc_disc_param.service.uu.uuid16 = GATT_UUID_GATT_SRV_CHGD;
|
/system/bt/btcore/include/ |
uuid.h | 73 // |uuid|, |uuid16| and |uuid32| must not be NULL. 74 bool uuid_128_to_16(const bt_uuid_t* uuid, uint16_t* uuid16);
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
BluetoothUuidTest.java | 34 byte[] uuid16 = new byte[] { 37 BluetoothUuid.parseUuidFrom(uuid16));
|
/system/bt/bta/gatt/ |
bta_gatts_utils.cc | 191 return src.uu.uuid16 == tar.uu.uuid16; 197 bta_gatt_convert_uuid16_to_uuid128(su, src.uu.uuid16); 204 bta_gatt_convert_uuid16_to_uuid128(tu, tar.uu.uuid16);
|
bta_gattc_utils.cc | 89 return p_src->uu.uuid16 == p_tar->uu.uuid16; 95 bta_gatt_convert_uuid16_to_uuid128(su, p_src->uu.uuid16); 102 bta_gatt_convert_uuid16_to_uuid128(tu, p_tar->uu.uuid16);
|
bta_gattc_cache.cc | 92 p_attr->handle, p_attr->uuid.uu.uuid16, 101 ((p_cur_srvc->uuid.len == 2) ? "uuid16" : "uuid128"), 102 p_cur_srvc->uuid.uu.uuid16, p_cur_srvc->handle); 145 i + 1, pp->uuid.uu.uuid16, pp->s_handle, pp->e_handle, pp->is_primary); 237 APPL_TRACE_DEBUG("handle=%d uuid16=0x%x property=0x%x", value_handle, 238 p_uuid->uu.uuid16, property); 284 APPL_TRACE_DEBUG("handle=%d uuid16=0x%x property=0x%x type=%d", handle, 285 p_uuid->uu.uuid16, property, type); 640 uuid.uu.uuid16); 734 service_uuid.uu.uuid16, start_handle, end_handle) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
bthsdpdef.h | 16 USHORT uuid16; member in union:SdpQueryUuidUnion 86 USHORT uuid16; member in union:_SPD_ELEMENT_DATA::__anon50303
|
/system/bt/btcore/test/ |
uuid_test.cc | 107 uint16_t uuid16 = 0xffff; local 110 EXPECT_FALSE(uuid_128_to_16(uuid, &uuid16)); 112 EXPECT_EQ((uint16_t)0xffff, uuid16); 115 EXPECT_TRUE(uuid_128_to_16(uuid, &uuid16)); 117 EXPECT_NE((uint16_t)0xffff, uuid16); 118 EXPECT_EQ((uint16_t)0, uuid16);
|
/system/bt/btif/src/ |
btif_gatt_util.cc | 82 p_dest->uu.uuid16 = (p_src->uu[13] << 8) + p_src->uu[12]; 151 p_dest->uu[12] = p_src->uu.uuid16 & 0xff; 152 p_dest->uu[13] = (p_src->uu.uuid16 >> 8) & 0xff; 156 p_dest->uu[12] = p_src->uu.uuid16 & 0xff; 157 p_dest->uu[13] = (p_src->uu.uuid16 >> 8) & 0xff; 178 return p_uuid->uu.uuid16;
|
/system/bt/btcore/src/ |
uuid.cc | 102 bool uuid_128_to_16(const bt_uuid_t* uuid, uint16_t* uuid16) { 104 CHECK(uuid16 != NULL); 108 *uuid16 = (uuid->uu[2] << 8) + uuid->uu[3];
|
/system/bt/bta/sys/ |
bta_sys_conn.cc | 484 void bta_sys_add_uuid(uint16_t uuid16) { 486 bta_sys_cb.eir_cb(uuid16, true); 500 void bta_sys_remove_uuid(uint16_t uuid16) { 502 bta_sys_cb.eir_cb(uuid16, false);
|
bta_sys.h | 147 typedef void(tBTA_SYS_EIR_CBACK)(uint16_t uuid16, bool adding); 264 extern void bta_sys_add_uuid(uint16_t uuid16); 265 extern void bta_sys_remove_uuid(uint16_t uuid16);
|
/system/bt/btif/include/ |
btif_util.h | 68 void uuid16_to_uuid128(uint16_t uuid16, bt_uuid_t* uuid128);
|
/system/bt/stack/btm/ |
btm_inq.cc | 120 static uint8_t btm_convert_uuid_to_eir_service(uint16_t uuid16); 2591 uint16_t uuid16 = 0; local 2645 uint16_t uuid16; local [all...] |
/system/bt/bta/hh/ |
bta_hh_le.cc | 601 if (p_char->uuid.len == LEN_UUID_16 && p_desc->uuid.uu.uuid16 == short_uuid) 830 uint16_t char_uuid = p_desc->characteristic->uuid.uu.uuid16; [all...] |
/system/bt/bta/ag/ |
bta_ag_sdp.cc | 390 uuid_list[0].uu.uuid16 = UUID_SERVCLASS_HF_HANDSFREE; 398 uuid_list[0].uu.uuid16 = UUID_SERVCLASS_HF_HANDSFREE; 412 uuid_list[0].uu.uuid16 = UUID_SERVCLASS_HEADSET_HS; 414 uuid_list[0].uu.uuid16 = UUID_SERVCLASS_HEADSET;
|
/system/bt/stack/bnep/ |
bnep_utils.cc | 171 p_bcb->dst_uuid.uu.uuid16); 185 UINT16_TO_BE_STREAM(p, p_bcb->dst_uuid.uu.uuid16); 186 UINT16_TO_BE_STREAM(p, p_bcb->src_uuid.uu.uuid16); 197 p_bcb->dst_uuid.uu.uuid16, p_bcb->dst_uuid.len); 570 BE_STREAM_TO_UINT16(p_bcb->src_uuid.uu.uuid16, p_setup); 571 BE_STREAM_TO_UINT16(p_bcb->dst_uuid.uu.uuid16, p_setup); 575 p_bcb->src_uuid.uu.uuid16 == p_bcb->prv_src_uuid.uu.uuid16 && 576 p_bcb->dst_uuid.uu.uuid16 == p_bcb->prv_dst_uuid.uu.uuid16) { [all...] |
/system/bt/bta/mce/ |
bta_mce_act.cc | 46 .len = 2, .uu.uuid16 = UUID_SERVCLASS_MESSAGE_ACCESS};
|
/system/bt/stack/include/ |
btm_api.h | [all...] |
/system/bt/bta/hf_client/ |
bta_hf_client_sdp.cc | 305 uuid_list[0].uu.uuid16 = UUID_SERVCLASS_AG_HANDSFREE; 313 uuid_list[0].uu.uuid16 = UUID_SERVCLASS_AG_HANDSFREE;
|
/system/bt/stack/sdp/ |
sdp_utils.cc | 665 return (p_uuid1->uu.uuid16 == p_uuid2->uu.uuid16); 698 return (bool)(p_btuuid->uu.uuid16 == p_attr->attr_value.v.u16); 914 * uuid16: 2-byte UUID 920 void sdpu_uuid16_to_uuid128(uint16_t uuid16, uint8_t* p_uuid128) { 925 uuid16_bo = ntohs(uuid16);
|