Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/test/mock/
Dmock_stack_sdp_api.h82 std::function<bool(const tSDP_DISC_REC* p_rec, bluetooth::Uuid* p_uuid)> body{
86 bool operator()(const tSDP_DISC_REC* p_rec, bluetooth::Uuid* p_uuid) { in operator()
87 return body(p_rec, p_uuid); in operator()
95 std::function<bool(const tSDP_DISC_REC* p_rec, bluetooth::Uuid* p_uuid)> body{
99 bool operator()(const tSDP_DISC_REC* p_rec, bluetooth::Uuid* p_uuid) { in operator()
100 return body(p_rec, p_uuid); in operator()
Dmock_stack_sdp_api.cc81 bluetooth::Uuid* p_uuid) { in SDP_FindServiceUUIDInRec() argument
83 return test::mock::stack_sdp_api::SDP_FindServiceUUIDInRec(p_rec, p_uuid); in SDP_FindServiceUUIDInRec()
86 bluetooth::Uuid* p_uuid) { in SDP_FindServiceUUIDInRec_128bit() argument
89 p_uuid); in SDP_FindServiceUUIDInRec_128bit()
Dmock_btif_storage.h103 std::function<size_t(const char* str, bluetooth::Uuid* p_uuid,
107 size_t operator()(const char* str, bluetooth::Uuid* p_uuid, in operator()
109 return body(str, p_uuid, max_uuids); in operator()
Dmock_btif_storage.cc142 size_t btif_split_uuids_string(const char* str, bluetooth::Uuid* p_uuid, in btif_split_uuids_string() argument
145 return test::mock::btif_storage::btif_split_uuids_string(str, p_uuid, in btif_split_uuids_string()
/packages/modules/Bluetooth/system/btif/src/
Dbtif_storage.cc301 Uuid* p_uuid = reinterpret_cast<Uuid*>(prop->val); in cfg2prop() local
303 btif_split_uuids_string(value, p_uuid, BT_MAX_NUM_UUIDS); in cfg2prop()
552 size_t btif_split_uuids_string(const char* str, bluetooth::Uuid* p_uuid, in btif_split_uuids_string() argument
555 log::assert_that(p_uuid != nullptr, "assert failed: p_uuid != nullptr"); in btif_split_uuids_string()
564 *p_uuid = tmp; in btif_split_uuids_string()
565 p_uuid++; in btif_split_uuids_string()
629 Uuid* p_uuid = reinterpret_cast<Uuid*>(property->val); in btif_storage_get_adapter_property() local
641 *(p_uuid + num_uuids) = in btif_storage_get_adapter_property()
649 *(p_uuid + num_uuids) = in btif_storage_get_adapter_property()
654 *(p_uuid + num_uuids) = in btif_storage_get_adapter_property()
[all …]
Dbtif_profile_storage.cc365 Uuid p_uuid[BT_MAX_NUM_UUIDS]; in btif_device_supports_profile() local
367 btif_split_uuids_string(uuid_str, p_uuid, BT_MAX_NUM_UUIDS); in btif_device_supports_profile()
369 if (p_uuid[i] == profile) { in btif_device_supports_profile()
497 Uuid p_uuid[BT_MAX_NUM_UUIDS]; in btif_storage_load_bonded_hearing_aids() local
499 btif_split_uuids_string(uuid_str, p_uuid, BT_MAX_NUM_UUIDS); in btif_storage_load_bonded_hearing_aids()
501 if (p_uuid[i] == Uuid::FromString("FDF0")) { in btif_storage_load_bonded_hearing_aids()
785 Uuid p_uuid[BT_MAX_NUM_UUIDS]; in btif_storage_load_bonded_leaudio() local
787 btif_split_uuids_string(uuid_str, p_uuid, BT_MAX_NUM_UUIDS); in btif_storage_load_bonded_leaudio()
789 if (p_uuid[i] == Uuid::FromString("184E")) { in btif_storage_load_bonded_leaudio()
Dbtif_dm.cc374 const uint8_t* p_uuid = p_service_data; in get_asha_service_data() local
375 STREAM_TO_UINT16(uuid, p_uuid); in get_asha_service_data()
/packages/modules/Bluetooth/system/stack/sdp/
Dsdp_api.cc254 bool SDP_FindServiceUUIDInRec(const tSDP_DISC_REC* p_rec, Uuid* p_uuid) { in SDP_FindServiceUUIDInRec() argument
266 *p_uuid = Uuid::From16Bit(p_sattr->attr_value.v.u16); in SDP_FindServiceUUIDInRec()
269 *p_uuid = Uuid::From128BitBE(p_sattr->attr_value.v.array); in SDP_FindServiceUUIDInRec()
272 *p_uuid = Uuid::From32Bit(p_sattr->attr_value.v.u32); in SDP_FindServiceUUIDInRec()
293 *p_uuid = Uuid::From16Bit(p_extra_sattr->attr_value.v.u16); in SDP_FindServiceUUIDInRec()
305 *p_uuid = Uuid::From16Bit(p_attr->attr_value.v.u16); in SDP_FindServiceUUIDInRec()
327 bool SDP_FindServiceUUIDInRec_128bit(const tSDP_DISC_REC* p_rec, Uuid* p_uuid) { in SDP_FindServiceUUIDInRec_128bit() argument
337 *p_uuid = Uuid::From128BitBE(p_sattr->attr_value.v.array); in SDP_FindServiceUUIDInRec_128bit()
349 *p_uuid = Uuid::From128BitBE(p_attr->attr_value.v.array); in SDP_FindServiceUUIDInRec_128bit()
Dsdp_utils.cc1050 bool sdpu_is_base_uuid(uint8_t* p_uuid) { in sdpu_is_base_uuid() argument
1054 if (p_uuid[xx] != sdp_base_uuid[xx]) return (false); in sdpu_is_base_uuid()
1394 uint8_t* p_uuid = p_attr->value_ptr + 3; in sdpu_is_avrcp_profile_description_list() local
1396 if (p_uuid[0] != 0x11 || p_uuid[1] != 0xe) { in sdpu_is_avrcp_profile_description_list()
1399 uint8_t p_version = *(p_uuid + 4); in sdpu_is_avrcp_profile_description_list()
1433 uint8_t* p_uuid = p_attr->value_ptr + 1; in sdpu_is_service_id_avrc_target() local
1435 if (p_uuid[0] != 0x11 || p_uuid[1] != 0xc) { in sdpu_is_service_id_avrc_target()
Dsdp_db.cc54 const uint8_t* p_uuid, uint16_t uuid_len, in find_uuid_in_seq() argument
72 if (sdpu_compare_uuid_arrays(p, len, p_uuid, uuid_len)) return (true); in find_uuid_in_seq()
74 if (find_uuid_in_seq(p, len, p_uuid, uuid_len, nest_level + 1)) in find_uuid_in_seq()
Dsdpint.h274 bool sdpu_is_base_uuid(uint8_t* p_uuid);
/packages/modules/Bluetooth/system/test/headless/
Dproperty.h115 bluetooth::Uuid* p_uuid = reinterpret_cast<bluetooth::Uuid*>(data.get()); in get_uuids() local
116 for (size_t i = 0; i < num_uuid(); i++, p_uuid++) { in get_uuids()
118 reinterpret_cast<const uint8_t*>(p_uuid)); in get_uuids()
/packages/modules/Bluetooth/system/stack/sdp/internal/
Dsdp_api.h168 bluetooth::Uuid* p_uuid);
184 bluetooth::Uuid* p_uuid);
/packages/modules/Bluetooth/system/stack/gatt/
Dgatt_sr.cc561 Uuid* p_uuid = gatts_get_service_uuid(el.p_db); in gatt_build_primary_service_rsp() local
562 if (!p_uuid) continue; in gatt_build_primary_service_rsp()
565 handle_len = 4 + gatt_build_uuid_to_stream_len(*p_uuid); in gatt_build_primary_service_rsp()
584 if (op_code == GATT_REQ_FIND_TYPE_VALUE && value != *p_uuid) continue; in gatt_build_primary_service_rsp()
598 gatt_build_uuid_to_stream(&p, *p_uuid); in gatt_build_primary_service_rsp()
680 uint8_t*& p, Uuid* p_uuid, in gatts_validate_packet_format() argument
689 log::assert_that(p_uuid != nullptr, "assert failed: p_uuid != nullptr"); in gatts_validate_packet_format()
691 if (!gatt_parse_uuid_from_cmd(p_uuid, uuid_len, &p)) { in gatts_validate_packet_format()
Dgatt_api.cc315 Uuid* p_uuid = gatts_get_service_uuid(elem.p_db); in GATTS_AddService() local
316 if (*p_uuid != Uuid::From16Bit(UUID_SERVCLASS_GMCS_SERVER) && in GATTS_AddService()
317 *p_uuid != Uuid::From16Bit(UUID_SERVCLASS_GTBS_SERVER)) { in GATTS_AddService()
318 elem.sdp_handle = gatt_add_sdp_record(*p_uuid, elem.s_hdl, elem.e_hdl); in GATTS_AddService()
Dgatt_utils.cc578 uint8_t* p_uuid = *p_data; in gatt_parse_uuid_from_cmd() local
583 STREAM_TO_UINT16(val, p_uuid); in gatt_parse_uuid_from_cmd()
590 *p_uuid_rec = Uuid::From128BitLE(p_uuid); in gatt_parse_uuid_from_cmd()
Dgatt_int.h526 bool gatt_parse_uuid_from_cmd(bluetooth::Uuid* p_uuid, uint16_t len,
/packages/modules/Bluetooth/system/stack/btm/
Dbtm_inq.cc2328 static uint16_t btm_convert_uuid_to_uuid16(const uint8_t* p_uuid, in btm_convert_uuid_to_uuid16() argument
2340 STREAM_TO_UINT16(uuid16, p_uuid); in btm_convert_uuid_to_uuid16()
2343 STREAM_TO_UINT32(uuid32, p_uuid); in btm_convert_uuid_to_uuid16()
2350 if (p_uuid[xx] != base_uuid[xx]) { in btm_convert_uuid_to_uuid16()
2356 if ((p_uuid[Uuid::kNumBytes128 - 1] == 0) && in btm_convert_uuid_to_uuid16()
2357 (p_uuid[Uuid::kNumBytes128 - 2] == 0)) { in btm_convert_uuid_to_uuid16()
2358 p_uuid += (Uuid::kNumBytes128 - 4); in btm_convert_uuid_to_uuid16()
2359 STREAM_TO_UINT16(uuid16, p_uuid); in btm_convert_uuid_to_uuid16()
Dbtm_ble_gap.cc2053 const uint8_t* p_uuid = p_service_data; in btm_ble_update_inq_result() local
2057 STREAM_TO_UINT16(uuid, p_uuid); in btm_ble_update_inq_result()
/packages/modules/Bluetooth/system/stack/include/
Dsdp_api.h296 bluetooth::Uuid* p_uuid);
/packages/modules/Bluetooth/system/btif/include/
Dbtif_storage.h443 size_t btif_split_uuids_string(const char* str, bluetooth::Uuid* p_uuid,
/packages/modules/Bluetooth/system/bta/gatt/
Dbta_gattc_cache.cc595 void bta_gattc_search_service(tBTA_GATTC_CLCB* p_clcb, Uuid* p_uuid) { in bta_gattc_search_service() argument
597 if (p_uuid && *p_uuid != service.uuid) continue; in bta_gattc_search_service()
Dbta_gattc_int.h483 void bta_gattc_search_service(tBTA_GATTC_CLCB* p_clcb, bluetooth::Uuid* p_uuid);