Searched defs:uuid16 (Results 1 - 10 of 10) sorted by relevance
/system/bt/btcore/test/ |
H A D | 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/btcore/src/ |
H A D | uuid.cc | 102 bool uuid_128_to_16(const bt_uuid_t* uuid, uint16_t* uuid16) { argument 104 CHECK(uuid16 != NULL); 108 *uuid16 = (uuid->uu[2] << 8) + uuid->uu[3];
|
/system/bt/bta/sys/ |
H A D | bta_sys_conn.cc | 484 void bta_sys_add_uuid(uint16_t uuid16) { argument 486 bta_sys_cb.eir_cb(uuid16, true); 500 void bta_sys_remove_uuid(uint16_t uuid16) { argument 502 bta_sys_cb.eir_cb(uuid16, false);
|
/system/bt/btif/src/ |
H A D | btif_util.cc | 107 void uuid16_to_uuid128(uint16_t uuid16, bt_uuid_t* uuid128) { argument 112 uuid16_bo = ntohs(uuid16);
|
/system/bt/stack/gatt/ |
H A D | 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 [all...] |
H A D | 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) { argument 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 [all...] |
/system/bt/stack/sdp/ |
H A D | 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) { argument 925 uuid16_bo = ntohs(uuid16);
|
/system/bt/stack/btm/ |
H A D | btm_inq.cc | 120 static uint8_t btm_convert_uuid_to_eir_service(uint16_t uuid16); 2300 * Parameters uuid16 - UUID 16-bit 2306 static uint8_t btm_convert_uuid_to_eir_service(uint16_t uuid16) { argument 2310 if (uuid16 == BTM_EIR_UUID_LKUP_TBL[xx]) { 2324 * uuid16 - UUID 16-bit 2330 bool BTM_HasEirService(uint32_t* p_eir_uuid, uint16_t uuid16) { argument 2333 service_id = btm_convert_uuid_to_eir_service(uuid16); 2348 * uuid16 - UUID 16-bit 2356 uint16_t uuid16) { 2357 if (BTM_HasEirService(p_results->eir_uuid, uuid16)) { 2355 BTM_HasInquiryEirService(tBTM_INQ_RESULTS* p_results, uint16_t uuid16) argument 2378 BTM_AddEirService(uint32_t* p_eir_uuid, uint16_t uuid16) argument 2399 BTM_RemoveEirService(uint32_t* p_eir_uuid, uint16_t uuid16) argument 2591 uint16_t uuid16 = 0; local 2645 uint16_t uuid16; local [all...] |
/system/bt/bta/dm/ |
H A D | bta_dm_act.cc | 1531 service = p_uuid->uu.uuid16; 1545 result.disc_ble_res.service.uu.uuid16 = service_uuid.uu.uuid16; 1944 uuid.uu.uuid16 = bta_service_id_to_uuid_lkup_tbl[0]; 1947 uuid.uu.uuid16 = UUID_PROTOCOL_L2CAP; 1962 uuid.uu.uuid16 = 1977 uuid.uu.uuid16 = 1988 LOG_INFO(LOG_TAG, "%s search UUID = %04x", __func__, uuid.uu.uuid16); 3564 bta_dm_cb.custom_uuid[custom_uuid_idx].uu.uuid16); 3760 void bta_dm_eir_update_uuid(uint16_t uuid16, boo argument [all...] |
/system/bt/stack/include/ |
H A D | bt_types.h | 654 uint16_t uuid16; member in union:__anon1026::__anon1027
|
Completed in 1844 milliseconds