Home
last modified time | relevance | path

Searched refs:uuid16 (Results 1 – 11 of 11) sorted by relevance

/system/bt/stack/btm/
Dbtm_inq.cc120 static uint8_t btm_convert_uuid_to_eir_service(uint16_t uuid16);
2186 static uint8_t btm_convert_uuid_to_eir_service(uint16_t uuid16) { in btm_convert_uuid_to_eir_service() argument
2190 if (uuid16 == BTM_EIR_UUID_LKUP_TBL[xx]) { in btm_convert_uuid_to_eir_service()
2210 bool BTM_HasEirService(const uint32_t* p_eir_uuid, uint16_t uuid16) { in BTM_HasEirService() argument
2213 service_id = btm_convert_uuid_to_eir_service(uuid16); in BTM_HasEirService()
2236 uint16_t uuid16) { in BTM_HasInquiryEirService() argument
2237 if (BTM_HasEirService(p_results->eir_uuid, uuid16)) { in BTM_HasInquiryEirService()
2258 void BTM_AddEirService(uint32_t* p_eir_uuid, uint16_t uuid16) { in BTM_AddEirService() argument
2261 service_id = btm_convert_uuid_to_eir_service(uuid16); in BTM_AddEirService()
2279 void BTM_RemoveEirService(uint32_t* p_eir_uuid, uint16_t uuid16) { in BTM_RemoveEirService() argument
[all …]
/system/bt/bta/sys/
Dbta_sys_conn.cc498 void bta_sys_add_uuid(uint16_t uuid16) { in bta_sys_add_uuid() argument
500 bta_sys_cb.eir_cb(uuid16, true); in bta_sys_add_uuid()
514 void bta_sys_remove_uuid(uint16_t uuid16) { in bta_sys_remove_uuid() argument
516 bta_sys_cb.eir_cb(uuid16, false); in bta_sys_remove_uuid()
Dbta_sys.h149 typedef void(tBTA_SYS_EIR_CBACK)(uint16_t uuid16, bool adding);
275 extern void bta_sys_add_uuid(uint16_t uuid16);
276 extern void bta_sys_remove_uuid(uint16_t uuid16);
/system/bt/types/bluetooth/
Duuid.cc105 Uuid Uuid::From16Bit(uint16_t uuid16) { in From16Bit() argument
108 u.uu[2] = (uint8_t)((0xFF00 & uuid16) >> 8); in From16Bit()
109 u.uu[3] = (uint8_t)(0x00FF & uuid16); in From16Bit()
/system/bt/vendor_libs/test_vendor_lib/types/bluetooth/
Duuid.cc101 Uuid Uuid::From16Bit(uint16_t uuid16) { in From16Bit() argument
104 u.uu[2] = (uint8_t)((0xFF00 & uuid16) >> 8); in From16Bit()
105 u.uu[3] = (uint8_t)(0x00FF & uuid16); in From16Bit()
/system/bt/stack/include/
Dbtm_api.h1884 extern bool BTM_HasEirService(const uint32_t* p_eir_uuid, uint16_t uuid16);
1901 tBTM_INQ_RESULTS* p_results, uint16_t uuid16);
1916 extern void BTM_AddEirService(uint32_t* p_eir_uuid, uint16_t uuid16);
1931 extern void BTM_RemoveEirService(uint32_t* p_eir_uuid, uint16_t uuid16);
/system/bt/stack/gatt/
Dgatt_db.cc182 uint16_t uuid16 = attr16.uuid.As16Bit(); in read_attr_value() local
184 if (uuid16 == GATT_UUID_PRI_SERVICE || uuid16 == GATT_UUID_SEC_SERVICE) { in read_attr_value()
193 if (uuid16 == GATT_UUID_CHAR_DECLARE) { in read_attr_value()
213 if (uuid16 == GATT_UUID_INCLUDE_SERVICE) { in read_attr_value()
/system/bt/bta/hh/
Dbta_hh_le.cc1406 uint16_t uuid16 = charac.uuid.As16Bit(); in bta_hh_le_search_hid_chars() local
1407 LOG_DEBUG(LOG_TAG, "%s: %s %s", __func__, bta_hh_uuid_to_str(uuid16), in bta_hh_le_search_hid_chars()
1410 switch (uuid16) { in bta_hh_le_search_hid_chars()
1449 if (bta_hh_le_find_alloc_report_entry(p_dev_cb, service->handle, uuid16, in bta_hh_le_search_hid_chars()
1457 bta_hh_uuid_to_str(uuid16), uuid16); in bta_hh_le_search_hid_chars()
/system/bt/bta/dm/
Dbta_dm_int.h552 void bta_dm_eir_update_uuid(uint16_t uuid16, bool adding);
Dbta_dm_act.cc3580 void bta_dm_eir_update_uuid(uint16_t uuid16, bool adding) { in bta_dm_eir_update_uuid() argument
3582 if (!BTM_HasEirService(p_bta_dm_eir_cfg->uuid_mask, uuid16)) return; in bta_dm_eir_update_uuid()
3585 APPL_TRACE_EVENT("Adding UUID=0x%04X into EIR", uuid16); in bta_dm_eir_update_uuid()
3587 BTM_AddEirService(bta_dm_cb.eir_uuid, uuid16); in bta_dm_eir_update_uuid()
3589 APPL_TRACE_EVENT("Removing UUID=0x%04X from EIR", uuid16); in bta_dm_eir_update_uuid()
3591 BTM_RemoveEirService(bta_dm_cb.eir_uuid, uuid16); in bta_dm_eir_update_uuid()
/system/bt/stack/sdp/
Dsdp_main.cc578 p_ccb->p_db->uuid_filters[p_ccb->cur_uuid_idx].uu.uuid16, NULL))) in sdp_disconnect()