Home
last modified time | relevance | path

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

/system/bt/stack/btm/
Dbtm_inq.cc146 static uint8_t btm_convert_uuid_to_eir_service(uint16_t uuid16);
1527 static uint8_t btm_convert_uuid_to_eir_service(uint16_t uuid16) { in btm_convert_uuid_to_eir_service() argument
1531 if (uuid16 == BTM_EIR_UUID_LKUP_TBL[xx]) { in btm_convert_uuid_to_eir_service()
1551 bool BTM_HasEirService(const uint32_t* p_eir_uuid, uint16_t uuid16) { in BTM_HasEirService() argument
1554 service_id = btm_convert_uuid_to_eir_service(uuid16); in BTM_HasEirService()
1577 uint16_t uuid16) { in BTM_HasInquiryEirService() argument
1578 if (BTM_HasEirService(p_results->eir_uuid, uuid16)) { in BTM_HasInquiryEirService()
1599 void BTM_AddEirService(uint32_t* p_eir_uuid, uint16_t uuid16) { in BTM_AddEirService() argument
1602 service_id = btm_convert_uuid_to_eir_service(uuid16); in BTM_AddEirService()
1620 void BTM_RemoveEirService(uint32_t* p_eir_uuid, uint16_t uuid16) { in BTM_RemoveEirService() argument
[all …]
/system/bt/test/mock/
Dmock_stack_btm_inq.cc58 bool BTM_HasEirService(const uint32_t* p_eir_uuid, uint16_t uuid16) { in BTM_HasEirService() argument
67 uint16_t uuid16) { in BTM_HasInquiryEirService() argument
147 void BTM_AddEirService(uint32_t* p_eir_uuid, uint16_t uuid16) { in BTM_AddEirService() argument
153 void BTM_RemoveEirService(uint32_t* p_eir_uuid, uint16_t uuid16) { in BTM_RemoveEirService() argument
Dmock_bta_sys_conn.cc113 void bta_sys_add_uuid(uint16_t uuid16) { mock_function_count_map[__func__]++; } in bta_sys_add_uuid() argument
114 void bta_sys_remove_uuid(uint16_t uuid16) { in bta_sys_remove_uuid() argument
Dmock_bta_dm_api.cc56 void BTA_AddEirUuid(uint16_t uuid16) { mock_function_count_map[__func__]++; } in BTA_AddEirUuid() argument
140 void BTA_RemoveEirUuid(uint16_t uuid16) { mock_function_count_map[__func__]++; } in BTA_RemoveEirUuid() argument
Dmock_main_shim_btm_api.cc70 uint16_t uuid16) { in BTM_HasEirService() argument
131 tBTM_INQ_RESULTS* p_results, uint16_t uuid16) { in BTM_HasInquiryEirService() argument
254 void bluetooth::shim::BTM_AddEirService(uint32_t* p_eir_uuid, uint16_t uuid16) { in BTM_AddEirService() argument
396 uint16_t uuid16) { in BTM_RemoveEirService() argument
/system/bt/btif/include/
Dbtif_dm.h73 void btif_dm_add_uuid_to_eir(uint16_t uuid16);
74 void btif_dm_remove_uuid_from_eir(uint16_t uuid16);
/system/bt/bta/dm/
Dbta_dm_api.cc323 void BTA_AddEirUuid(uint16_t uuid16) { in BTA_AddEirUuid() argument
324 APPL_TRACE_API("%s: %d", __func__, uuid16); in BTA_AddEirUuid()
325 bta_sys_add_uuid(uuid16); in BTA_AddEirUuid()
340 void BTA_RemoveEirUuid(uint16_t uuid16) { in BTA_RemoveEirUuid() argument
341 APPL_TRACE_API("%s: %d", __func__, uuid16); in BTA_RemoveEirUuid()
342 bta_sys_remove_uuid(uuid16); in BTA_RemoveEirUuid()
Dbta_dm_int.h553 void bta_dm_eir_update_uuid(uint16_t uuid16, bool adding);
Dbta_dm_act.cc3182 void bta_dm_eir_update_uuid(uint16_t uuid16, bool adding) { in bta_dm_eir_update_uuid() argument
3184 if (!BTM_HasEirService(p_bta_dm_eir_cfg->uuid_mask, uuid16)) return; in bta_dm_eir_update_uuid()
3187 LOG_INFO("EIR Adding UUID=0x%04X into extended inquiry response", uuid16); in bta_dm_eir_update_uuid()
3189 BTM_AddEirService(bta_dm_cb.eir_uuid, uuid16); in bta_dm_eir_update_uuid()
3191 LOG_INFO("EIR Removing UUID=0x%04X from extended inquiry response", uuid16); in bta_dm_eir_update_uuid()
3193 BTM_RemoveEirService(bta_dm_cb.eir_uuid, uuid16); in bta_dm_eir_update_uuid()
/system/bt/bta/sys/
Dbta_sys_conn.cc428 void bta_sys_add_uuid(uint16_t uuid16) { in bta_sys_add_uuid() argument
430 bta_sys_cb.eir_cb(uuid16, true); in bta_sys_add_uuid()
444 void bta_sys_remove_uuid(uint16_t uuid16) { in bta_sys_remove_uuid() argument
446 bta_sys_cb.eir_cb(uuid16, false); in bta_sys_remove_uuid()
Dbta_sys.h176 typedef void(tBTA_SYS_EIR_CBACK)(uint16_t uuid16, bool adding);
254 extern void bta_sys_add_uuid(uint16_t uuid16);
255 extern void bta_sys_remove_uuid(uint16_t uuid16);
/system/bt/stack/include/
Dbtm_api.h850 bool BTM_HasEirService(const uint32_t* p_eir_uuid, uint16_t uuid16);
867 uint16_t uuid16);
882 void BTM_AddEirService(uint32_t* p_eir_uuid, uint16_t uuid16);
897 void BTM_RemoveEirService(uint32_t* p_eir_uuid, uint16_t uuid16);
Dbtm_client_interface.h217 void (*BTM_RemoveEirService)(uint32_t* p_eir_uuid, uint16_t uuid16);
/system/bt/types/bluetooth/
Duuid.cc106 Uuid Uuid::From16Bit(uint16_t uuid16) { in From16Bit() argument
109 u.uu[2] = (uint8_t)((0xFF00 & uuid16) >> 8); in From16Bit()
110 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/gd/hci/
Duuid.cc133 Uuid Uuid::From16Bit(uint16_t uuid16) { in From16Bit() argument
136 u.uu[2] = (uint8_t)((0xFF00 & uuid16) >> 8); in From16Bit()
137 u.uu[3] = (uint8_t)(0x00FF & uuid16); in From16Bit()
/system/bt/stack/gatt/
Dgatt_db.cc184 uint16_t uuid16 = attr16.uuid.As16Bit(); in read_attr_value() local
186 if (uuid16 == GATT_UUID_PRI_SERVICE || uuid16 == GATT_UUID_SEC_SERVICE) { in read_attr_value()
195 if (uuid16 == GATT_UUID_CHAR_DECLARE) { in read_attr_value()
215 if (uuid16 == GATT_UUID_INCLUDE_SERVICE) { in read_attr_value()
234 if (uuid16 == GATT_UUID_CHAR_EXT_PROP) { in read_attr_value()
/system/bt/main/shim/
Dbtm_api.h293 bool BTM_HasEirService(const uint32_t* p_eir_uuid, uint16_t uuid16);
310 uint16_t uuid16);
325 void BTM_AddEirService(uint32_t* p_eir_uuid, uint16_t uuid16);
340 void BTM_RemoveEirService(uint32_t* p_eir_uuid, uint16_t uuid16);
Dbtm_api.cc885 uint16_t uuid16) { in BTM_HasEirService() argument
892 tBTM_INQ_RESULTS* p_results, uint16_t uuid16) { in BTM_HasInquiryEirService() argument
898 void bluetooth::shim::BTM_AddEirService(uint32_t* p_eir_uuid, uint16_t uuid16) { in BTM_AddEirService() argument
904 uint16_t uuid16) { in BTM_RemoveEirService() argument
/system/bt/stack/test/common/
Dmock_main_shim_btm_api.cc74 uint16_t uuid16) { in BTM_HasEirService() argument
135 tBTM_INQ_RESULTS* p_results, uint16_t uuid16) { in BTM_HasInquiryEirService() argument
258 void bluetooth::shim::BTM_AddEirService(uint32_t* p_eir_uuid, uint16_t uuid16) { in BTM_AddEirService() argument
400 uint16_t uuid16) { in BTM_RemoveEirService() argument
/system/bt/bta/include/
Dbta_api.h881 extern void BTA_AddEirUuid(uint16_t uuid16);
895 extern void BTA_RemoveEirUuid(uint16_t uuid16);
/system/bt/bta/hh/
Dbta_hh_le.cc1365 uint16_t uuid16 = charac.uuid.As16Bit(); in bta_hh_le_search_hid_chars() local
1366 LOG_INFO("%s: %s %s", __func__, bta_hh_uuid_to_str(uuid16), in bta_hh_le_search_hid_chars()
1369 switch (uuid16) { in bta_hh_le_search_hid_chars()
1408 if (bta_hh_le_find_alloc_report_entry(p_dev_cb, service->handle, uuid16, in bta_hh_le_search_hid_chars()
1416 bta_hh_uuid_to_str(uuid16), uuid16); in bta_hh_le_search_hid_chars()
/system/bt/btif/src/
Dbtif_dm.cc3058 void btif_dm_add_uuid_to_eir(uint16_t uuid16) { in btif_dm_add_uuid_to_eir() argument
3059 BTIF_TRACE_DEBUG("%s: %d", __func__, uuid16); in btif_dm_add_uuid_to_eir()
3060 BTA_AddEirUuid(uuid16); in btif_dm_add_uuid_to_eir()
3072 void btif_dm_remove_uuid_from_eir(uint16_t uuid16) { in btif_dm_remove_uuid_from_eir() argument
3073 BTIF_TRACE_DEBUG("%s: %d", __func__, uuid16); in btif_dm_remove_uuid_from_eir()
3074 BTA_RemoveEirUuid(uuid16); in btif_dm_remove_uuid_from_eir()