Searched defs:uuid16 (Results 1 - 11 of 11) 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.c108 bool uuid_128_to_16(const bt_uuid_t *uuid, uint16_t *uuid16) { argument
110 assert(uuid16 != NULL);
115 *uuid16 = (uuid->uu[2] << 8) + uuid->uu[3];
/system/bt/bta/sdp/
H A Dbta_sdp_act.c85 su.uu.uuid16 = ntohs(u16);
396 UINT16 uuid16 = 0; local
/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.c104 void uuid16_to_uuid128(uint16_t uuid16, bt_uuid_t* uuid128) argument
110 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);
352 attr_uuid.uu.uuid16 = p_attr->uuid;
415 (type.uu.uuid16 == GATT_UUID_GAP_DEVICE_NAME))
453 s_handle, e_handle, service.uu.uuid16);
[all...]
/system/bt/stack/sdp/
H A Dsdp_utils.c756 return (p_uuid1->uu.uuid16 == p_uuid2->uu.uuid16);
792 return (BOOLEAN)(p_btuuid->uu.uuid16 == p_attr->attr_value.v.u16);
1045 ** uuid16: 2-byte UUID
1051 void sdpu_uuid16_to_uuid128(UINT16 uuid16, UINT8* p_uuid128) argument
1057 uuid16_bo = ntohs(uuid16);
/system/bt/stack/btm/
H A Dbtm_inq.c134 static UINT8 btm_convert_uuid_to_eir_service( UINT16 uuid16 );
2530 ** Parameters uuid16 - UUID 16-bit
2536 static UINT8 btm_convert_uuid_to_eir_service( UINT16 uuid16 )
2542 if( uuid16 == BTM_EIR_UUID_LKUP_TBL[xx])
2557 ** uuid16 - UUID 16-bit
2563 BOOLEAN BTM_HasEirService( UINT32 *p_eir_uuid, UINT16 uuid16 )
2567 service_id = btm_convert_uuid_to_eir_service(uuid16);
2581 ** uuid16 - UUID 16-bit
2588 tBTM_EIR_SEARCH_RESULT BTM_HasInquiryEirService( tBTM_INQ_RESULTS *p_results, UINT16 uuid16 )
2590 if( BTM_HasEirService( p_results->eir_uuid, uuid16 ))
2836 UINT16 uuid16 = 0; local
2895 UINT16 uuid16; local
[all...]
/system/bt/bta/gatt/
H A Dbta_gattc_int.h250 UINT16 uuid16; member in union:__anon165
/system/bt/bta/dm/
H A Dbta_dm_act.c127 extern void sdpu_uuid16_to_uuid128(UINT16 uuid16, UINT8* p_uuid128);
1612 service = p_uuid->uu.uuid16;
1630 result.disc_ble_res.service.uu.uuid16 = service_uuid.uu.uuid16;
2122 uuid.uu.uuid16 = bta_service_id_to_uuid_lkup_tbl[0];
2127 uuid.uu.uuid16 = UUID_PROTOCOL_L2CAP;
2147 uuid.uu.uuid16 = bta_service_id_to_uuid_lkup_tbl[bta_dm_search_cb.service_index];
2161 uuid.uu.uuid16 = bta_service_id_to_uuid_lkup_tbl[bta_dm_search_cb.service_index];
2173 LOG_INFO("%s search UUID = %04x", __func__, uuid.uu.uuid16);
3925 UINT16_TO_STREAM(p, bta_dm_cb.custom_uuid[custom_uuid_idx].uu.uuid16);
4147 bta_dm_eir_update_uuid(UINT16 uuid16, BOOLEAN adding) argument
[all...]
/system/bt/stack/include/
H A Dbt_types.h433 UINT16 uuid16; member in union:__anon974::__anon975

Completed in 501 milliseconds