Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/bta/test/
Dbta_pan_test.cc36 uint16_t uuid16; member
51 void BTA_SYS_EIR_CBACK(uint16_t uuid16, bool adding) { in BTA_SYS_EIR_CBACK() argument
52 bta_sys_eir_closure(uuid16, adding); in BTA_SYS_EIR_CBACK()
76 bta_sys_eir_closure = [this](uint16_t uuid16, bool adding) { in SetUp() argument
78 .uuid16 = uuid16, in SetUp()
136 ASSERT_EQ(0x1116, uuids[0].uuid16); in TEST_F()
138 ASSERT_EQ(0x1115, uuids[1].uuid16); in TEST_F()
/packages/modules/Bluetooth/system/test/mock/
Dmock_stack_btm_inq.h54 std::function<void(uint32_t* p_eir_uuid, uint16_t uuid16)> body{
56 void operator()(uint32_t* p_eir_uuid, uint16_t uuid16) { in operator()
57 body(p_eir_uuid, uuid16); in operator()
153 std::function<bool(const uint32_t* p_eir_uuid, uint16_t uuid16)> body{
157 bool operator()(const uint32_t* p_eir_uuid, uint16_t uuid16) { in operator()
158 return body(p_eir_uuid, uuid16); in operator()
225 std::function<void(uint32_t* p_eir_uuid, uint16_t uuid16)> body{
227 void operator()(uint32_t* p_eir_uuid, uint16_t uuid16) { in operator()
228 body(p_eir_uuid, uuid16); in operator()
Dmock_stack_btm_inq.cc105 void BTM_AddEirService(uint32_t* p_eir_uuid, uint16_t uuid16) { in BTM_AddEirService() argument
107 test::mock::stack_btm_inq::BTM_AddEirService(p_eir_uuid, uuid16); in BTM_AddEirService()
143 bool BTM_HasEirService(const uint32_t* p_eir_uuid, uint16_t uuid16) { in BTM_HasEirService() argument
145 return test::mock::stack_btm_inq::BTM_HasEirService(p_eir_uuid, uuid16); in BTM_HasEirService()
171 void BTM_RemoveEirService(uint32_t* p_eir_uuid, uint16_t uuid16) { in BTM_RemoveEirService() argument
173 test::mock::stack_btm_inq::BTM_RemoveEirService(p_eir_uuid, uuid16); in BTM_RemoveEirService()
Dmock_bta_dm_act.h394 std::function<void(uint16_t uuid16, bool adding)> body{
396 void operator()(uint16_t uuid16, bool adding) { body(uuid16, adding); }; in operator()
Dmock_bta_dm_act.cc207 void bta_dm_eir_update_uuid(uint16_t uuid16, bool adding) { in bta_dm_eir_update_uuid() argument
209 test::mock::bta_dm_act::bta_dm_eir_update_uuid(uuid16, adding); in bta_dm_eir_update_uuid()
/packages/modules/Bluetooth/floss/pandora/floss/
Dutils.py444 def uuid16_to_uuid128(uuid16: str):
494 for uuid16 in request_data.complete_service_class_uuids16:
495 advertise_data['service_uuids'].append(uuid16_to_uuid128(uuid16))
504 for uuid16 in request_data.service_solicitation_uuids16:
505 advertise_data['solicit_uuids'].append(uuid16_to_uuid128(uuid16))
514 for (uuid16, data) in request_data.service_data_uuid16:
515 advertise_data['service_data'][uuid16_to_uuid128(uuid16)] = data
/packages/modules/Bluetooth/system/stack/btm/
Dbtm_inq.cc244 static uint8_t btm_convert_uuid_to_eir_service(uint16_t uuid16);
2073 static uint8_t btm_convert_uuid_to_eir_service(uint16_t uuid16) { in btm_convert_uuid_to_eir_service() argument
2077 if (uuid16 == BTM_EIR_UUID_LKUP_TBL[xx]) { in btm_convert_uuid_to_eir_service()
2097 bool BTM_HasEirService(const uint32_t* p_eir_uuid, uint16_t uuid16) { in BTM_HasEirService() argument
2100 service_id = btm_convert_uuid_to_eir_service(uuid16); in BTM_HasEirService()
2120 void BTM_AddEirService(uint32_t* p_eir_uuid, uint16_t uuid16) { in BTM_AddEirService() argument
2123 service_id = btm_convert_uuid_to_eir_service(uuid16); in BTM_AddEirService()
2141 void BTM_RemoveEirService(uint32_t* p_eir_uuid, uint16_t uuid16) { in BTM_RemoveEirService() argument
2144 service_id = btm_convert_uuid_to_eir_service(uuid16); in BTM_RemoveEirService()
2333 uint16_t uuid16 = 0; in btm_convert_uuid_to_uuid16() local
[all …]
/packages/modules/Bluetooth/system/bta/sys/
Dbta_sys_conn.cc442 void bta_sys_add_uuid(uint16_t uuid16) { in bta_sys_add_uuid() argument
444 bta_sys_cb.eir_cb(uuid16, true); in bta_sys_add_uuid()
458 void bta_sys_remove_uuid(uint16_t uuid16) { in bta_sys_remove_uuid() argument
460 bta_sys_cb.eir_cb(uuid16, false); in bta_sys_remove_uuid()
Dbta_sys.h211 typedef void(tBTA_SYS_EIR_CBACK)(uint16_t uuid16, bool adding);
275 void bta_sys_add_uuid(uint16_t uuid16);
276 void bta_sys_remove_uuid(uint16_t uuid16);
/packages/modules/Bluetooth/system/stack/include/
Dbtm_api.h650 uint16_t uuid16);
665 void BTM_AddEirService(uint32_t* p_eir_uuid, uint16_t uuid16);
680 void BTM_RemoveEirService(uint32_t* p_eir_uuid, uint16_t uuid16);
Dbtm_client_interface.h169 void (*BTM_AddEirService)(uint32_t* p_eir_uuid, uint16_t uuid16);
170 void (*BTM_RemoveEirService)(uint32_t* p_eir_uuid, uint16_t uuid16);
/packages/modules/Bluetooth/system/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()
/packages/modules/Bluetooth/system/types/bluetooth/
Duuid.cc109 Uuid Uuid::From16Bit(uint16_t uuid16) { in From16Bit() argument
112 u.uu[2] = (uint8_t)((0xFF00 & uuid16) >> 8); in From16Bit()
113 u.uu[3] = (uint8_t)(0x00FF & uuid16); in From16Bit()
/packages/modules/Bluetooth/framework/tests/unit/src/android/bluetooth/
DBluetoothUuidTest.java38 byte[] uuid16 = new byte[] {0x0B, 0x11}; in testUuid16Parser()
39 assertThat(BluetoothUuid.parseUuidFrom(uuid16)) in testUuid16Parser()
/packages/modules/Bluetooth/system/stack/gatt/
Dgatt_db.cc188 uint16_t uuid16 = attr16.uuid.As16Bit(); in read_attr_value() local
190 if (uuid16 == GATT_UUID_PRI_SERVICE || uuid16 == GATT_UUID_SEC_SERVICE) { in read_attr_value()
199 if (uuid16 == GATT_UUID_CHAR_DECLARE) { in read_attr_value()
219 if (uuid16 == GATT_UUID_INCLUDE_SERVICE) { in read_attr_value()
238 if (uuid16 == GATT_UUID_CHAR_EXT_PROP) { in read_attr_value()
/packages/modules/Bluetooth/android/pandora/server/src/
DHost.kt484 for (uuid16 in dataTypesRequest.getCompleteServiceClassUuids16List()) { in advertise() constant
499 for (uuid16 in dataTypesRequest.getServiceSolicitationUuids16List()) { in advertise() constant
516 for ((uuid16, data) in dataTypesRequest.getServiceDataUuid16()) { in advertise() constant
663 val uuid16 = in scan() constant
666 uuid16, in scan()
689 val uuid16 = in scan() constant
691 dataTypesBuilder.addServiceSolicitationUuids16(uuid16) in scan()
705 val uuid16 = in scan() constant
707 dataTypesBuilder.addIncompleteServiceClassUuids16(uuid16) in scan()
/packages/modules/Bluetooth/system/bta/hh/
Dbta_hh_le.cc1453 uint16_t uuid16 = charac.uuid.As16Bit(); in bta_hh_le_parse_hogp_service() local
1454 log::info("{} {}", bta_hh_uuid_to_str(uuid16), charac.uuid.ToString()); in bta_hh_le_parse_hogp_service()
1456 switch (uuid16) { in bta_hh_le_parse_hogp_service()
1495 if (bta_hh_le_find_alloc_report_entry(p_dev_cb, service->handle, uuid16, in bta_hh_le_parse_hogp_service()
1502 log::verbose("not processing {} 0x{:04d}", bta_hh_uuid_to_str(uuid16), in bta_hh_le_parse_hogp_service()
1503 uuid16); in bta_hh_le_parse_hogp_service()
1940 uint16_t uuid16 = bta_hh_get_uuid16(p_dev_cb, p_char->uuid); in write_report_cb() local
1941 if (uuid16 != GATT_UUID_HID_REPORT && uuid16 != GATT_UUID_HID_BT_KB_INPUT && in write_report_cb()
1942 uuid16 != GATT_UUID_HID_BT_MOUSE_INPUT && in write_report_cb()
1943 uuid16 != GATT_UUID_HID_BT_KB_OUTPUT) { in write_report_cb()
/packages/modules/Bluetooth/system/bta/dm/
Dbta_dm_act.cc1397 void bta_dm_eir_update_uuid(uint16_t uuid16, bool adding) { in bta_dm_eir_update_uuid() argument
1399 if (!BTM_HasEirService(p_bta_dm_eir_cfg->uuid_mask, uuid16)) return; in bta_dm_eir_update_uuid()
1403 uuid16); in bta_dm_eir_update_uuid()
1406 uuid16); in bta_dm_eir_update_uuid()
1409 uuid16); in bta_dm_eir_update_uuid()
1412 uuid16); in bta_dm_eir_update_uuid()
Dbta_dm_int.h345 void bta_dm_eir_update_uuid(uint16_t uuid16, bool adding);
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/tbs/
DTbsGatt.java977 private static UUID makeUuid(String uuid16) { in makeUuid() argument
978 return UUID.fromString(UUID_PREFIX + uuid16 + UUID_SUFFIX); in makeUuid()
/packages/modules/Bluetooth/tools/rootcanal/packets/
Dhci_packets.pdl6203 uuid16: 8[16],
/packages/modules/Bluetooth/system/pdl/hci/
Dhci_packets.pdl7263 uuid16: 8[16],