Home
last modified time | relevance | path

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

/system/bt/stack/btm/
Dbtm_inq.cc123 static uint8_t btm_convert_uuid_to_eir_service(uint16_t uuid16);
2099 static uint8_t btm_convert_uuid_to_eir_service(uint16_t uuid16) { in btm_convert_uuid_to_eir_service() argument
2103 if (uuid16 == BTM_EIR_UUID_LKUP_TBL[xx]) { in btm_convert_uuid_to_eir_service()
2123 bool BTM_HasEirService(const uint32_t* p_eir_uuid, uint16_t uuid16) { in BTM_HasEirService() argument
2126 service_id = btm_convert_uuid_to_eir_service(uuid16); in BTM_HasEirService()
2149 uint16_t uuid16) { in BTM_HasInquiryEirService() argument
2150 if (BTM_HasEirService(p_results->eir_uuid, uuid16)) { in BTM_HasInquiryEirService()
2171 void BTM_AddEirService(uint32_t* p_eir_uuid, uint16_t uuid16) { in BTM_AddEirService() argument
2174 service_id = btm_convert_uuid_to_eir_service(uuid16); in BTM_AddEirService()
2192 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);
276 extern void bta_sys_add_uuid(uint16_t uuid16);
277 extern void bta_sys_remove_uuid(uint16_t uuid16);
/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/gd/hci/
Duuid.cc132 Uuid Uuid::From16Bit(uint16_t uuid16) { in From16Bit() argument
135 u.uu[2] = (uint8_t)((0xFF00 & uuid16) >> 8); in From16Bit()
136 u.uu[3] = (uint8_t)(0x00FF & uuid16); in From16Bit()
/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/stack/include/
Dbtm_api.h1498 extern bool BTM_HasEirService(const uint32_t* p_eir_uuid, uint16_t uuid16);
1515 tBTM_INQ_RESULTS* p_results, uint16_t uuid16);
1530 extern void BTM_AddEirService(uint32_t* p_eir_uuid, uint16_t uuid16);
1545 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/main/shim/
Dbtm_api.h370 bool BTM_HasEirService(const uint32_t* p_eir_uuid, uint16_t uuid16);
387 uint16_t uuid16);
402 void BTM_AddEirService(uint32_t* p_eir_uuid, uint16_t uuid16);
417 void BTM_RemoveEirService(uint32_t* p_eir_uuid, uint16_t uuid16);
Dbtm_api.cc718 uint16_t uuid16) { in BTM_HasEirService() argument
725 tBTM_INQ_RESULTS* p_results, uint16_t uuid16) { in BTM_HasInquiryEirService() argument
731 void bluetooth::shim::BTM_AddEirService(uint32_t* p_eir_uuid, uint16_t uuid16) { in BTM_AddEirService() argument
737 uint16_t uuid16) { in BTM_RemoveEirService() argument
/system/bt/bta/hh/
Dbta_hh_le.cc1403 uint16_t uuid16 = charac.uuid.As16Bit(); in bta_hh_le_search_hid_chars() local
1404 LOG_DEBUG("%s: %s %s", __func__, bta_hh_uuid_to_str(uuid16), in bta_hh_le_search_hid_chars()
1407 switch (uuid16) { in bta_hh_le_search_hid_chars()
1446 if (bta_hh_le_find_alloc_report_entry(p_dev_cb, service->handle, uuid16, in bta_hh_le_search_hid_chars()
1454 bta_hh_uuid_to_str(uuid16), uuid16); in bta_hh_le_search_hid_chars()
/system/bt/bta/dm/
Dbta_dm_int.h551 void bta_dm_eir_update_uuid(uint16_t uuid16, bool adding);
Dbta_dm_act.cc3587 void bta_dm_eir_update_uuid(uint16_t uuid16, bool adding) { in bta_dm_eir_update_uuid() argument
3589 if (!BTM_HasEirService(p_bta_dm_eir_cfg->uuid_mask, uuid16)) return; in bta_dm_eir_update_uuid()
3592 APPL_TRACE_EVENT("Adding UUID=0x%04X into EIR", uuid16); in bta_dm_eir_update_uuid()
3594 BTM_AddEirService(bta_dm_cb.eir_uuid, uuid16); in bta_dm_eir_update_uuid()
3596 APPL_TRACE_EVENT("Removing UUID=0x%04X from EIR", uuid16); in bta_dm_eir_update_uuid()
3598 BTM_RemoveEirService(bta_dm_cb.eir_uuid, uuid16); in bta_dm_eir_update_uuid()
/system/bt/stack/sdp/
Dsdp_main.cc554 p_ccb->p_db->uuid_filters[p_ccb->cur_uuid_idx].uu.uuid16, NULL))) in sdp_disconnect()