Searched defs:uuid16 (Results 1 - 9 of 9) sorted by relevance

/system/bt/btcore/test/
H A Duuid_test.cpp111 uint16_t uuid16 = 0xffff; local
114 EXPECT_FALSE(uuid_128_to_16(uuid, &uuid16));
116 EXPECT_EQ((uint16_t)0xffff, uuid16);
119 EXPECT_TRUE(uuid_128_to_16(uuid, &uuid16));
121 EXPECT_NE((uint16_t)0xffff, uuid16);
122 EXPECT_EQ((uint16_t)0, uuid16);
/system/bt/btcore/src/
H A Duuid.c106 bool uuid_128_to_16(const bt_uuid_t *uuid, uint16_t *uuid16) { argument
108 assert(uuid16 != NULL);
113 *uuid16 = (uuid->uu[2] << 8) + uuid->uu[3];
/system/bt/bta/sys/
H A Dbta_sys_conn.c555 void bta_sys_add_uuid(UINT16 uuid16) argument
559 bta_sys_cb.eir_cb(uuid16, TRUE );
573 void bta_sys_remove_uuid(UINT16 uuid16) argument
577 bta_sys_cb.eir_cb(uuid16, FALSE);
/system/bt/btif/src/
H A Dbtif_util.c105 void uuid16_to_uuid128(uint16_t uuid16, bt_uuid_t* uuid128) argument
111 uuid16_bo = ntohs(uuid16);
/system/bt/stack/gatt/
H A Dgatt_db.c216 UINT16 len = 0, uuid16 = 0; local
234 uuid16 = p_attr16->uuid;
238 if (uuid16 == GATT_UUID_PRI_SERVICE || uuid16 == GATT_UUID_SEC_SERVICE)
247 else if (uuid16 == GATT_UUID_CHAR_DECLARE)
274 else if (uuid16 == GATT_UUID_INCLUDE_SERVICE)
288 UINT16_TO_STREAM(p, p_attr16->p_value->incl_handle.service_type.uu.uuid16);
349 attr_uuid.uu.uuid16 = p_attr->uuid;
413 (type.uu.uuid16 == GATT_UUID_GAP_DEVICE_NAME))
447 s_handle, e_handle, service.uu.uuid16);
[all...]
/system/bt/stack/sdp/
H A Dsdp_utils.c745 return (p_uuid1->uu.uuid16 == p_uuid2->uu.uuid16);
781 return (BOOLEAN)(p_btuuid->uu.uuid16 == p_attr->attr_value.v.u16);
1029 ** uuid16: 2-byte UUID
1035 void sdpu_uuid16_to_uuid128(UINT16 uuid16, UINT8* p_uuid128) argument
1041 uuid16_bo = ntohs(uuid16);
/system/bt/stack/btm/
H A Dbtm_inq.c140 static UINT8 btm_convert_uuid_to_eir_service( UINT16 uuid16 );
2555 ** Parameters uuid16 - UUID 16-bit
2561 static UINT8 btm_convert_uuid_to_eir_service( UINT16 uuid16 )
2567 if( uuid16 == BTM_EIR_UUID_LKUP_TBL[xx])
2582 ** uuid16 - UUID 16-bit
2588 BOOLEAN BTM_HasEirService( UINT32 *p_eir_uuid, UINT16 uuid16 )
2592 service_id = btm_convert_uuid_to_eir_service(uuid16);
2606 ** uuid16 - UUID 16-bit
2613 tBTM_EIR_SEARCH_RESULT BTM_HasInquiryEirService( tBTM_INQ_RESULTS *p_results, UINT16 uuid16 )
2615 if( BTM_HasEirService( p_results->eir_uuid, uuid16 ))
2861 UINT16 uuid16 = 0; local
2920 UINT16 uuid16; local
[all...]
/system/bt/bta/dm/
H A Dbta_dm_act.c138 extern void sdpu_uuid16_to_uuid128(UINT16 uuid16, UINT8* p_uuid128);
1638 service = p_uuid->uu.uuid16;
1655 result.disc_ble_res.service.uu.uuid16 = service_uuid.uu.uuid16;
2097 uuid.uu.uuid16 = bta_service_id_to_uuid_lkup_tbl[0];
2100 uuid.uu.uuid16 = UUID_PROTOCOL_L2CAP;
2117 uuid.uu.uuid16 = bta_service_id_to_uuid_lkup_tbl[bta_dm_search_cb.service_index];
2131 uuid.uu.uuid16 = bta_service_id_to_uuid_lkup_tbl[bta_dm_search_cb.service_index];
2143 uuid.uu.uuid16);
3844 UINT16_TO_STREAM(p, bta_dm_cb.custom_uuid[custom_uuid_idx].uu.uuid16);
4066 bta_dm_eir_update_uuid(UINT16 uuid16, BOOLEAN adding) argument
[all...]
/system/bt/stack/include/
H A Dbt_types.h422 UINT16 uuid16; member in union:__anon1013::__anon1014

Completed in 2994 milliseconds