Home
last modified time | relevance | path

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

/system/bt/test/mock/
Dmock_stack_sdp.cc61 bool SDP_FindServiceUUIDInRec(tSDP_DISC_REC* p_rec, Uuid* p_uuid) { in SDP_FindServiceUUIDInRec() argument
65 bool SDP_FindServiceUUIDInRec_128bit(tSDP_DISC_REC* p_rec, Uuid* p_uuid) { in SDP_FindServiceUUIDInRec_128bit() argument
Dmock_btif_storage.cc178 size_t btif_split_uuids_string(const char* str, bluetooth::Uuid* p_uuid, in btif_split_uuids_string() argument
/system/bt/stack/sdp/
Dsdp_api.cc247 bool SDP_FindServiceUUIDInRec(tSDP_DISC_REC* p_rec, Uuid* p_uuid) { in SDP_FindServiceUUIDInRec() argument
259 *p_uuid = Uuid::From16Bit(p_sattr->attr_value.v.u16); in SDP_FindServiceUUIDInRec()
262 *p_uuid = Uuid::From128BitBE(p_sattr->attr_value.v.array); in SDP_FindServiceUUIDInRec()
265 *p_uuid = Uuid::From32Bit(p_sattr->attr_value.v.u32); in SDP_FindServiceUUIDInRec()
286 *p_uuid = Uuid::From16Bit(p_extra_sattr->attr_value.v.u16); in SDP_FindServiceUUIDInRec()
298 *p_uuid = Uuid::From16Bit(p_attr->attr_value.v.u16); in SDP_FindServiceUUIDInRec()
320 bool SDP_FindServiceUUIDInRec_128bit(tSDP_DISC_REC* p_rec, Uuid* p_uuid) { in SDP_FindServiceUUIDInRec_128bit() argument
330 *p_uuid = Uuid::From128BitBE(p_sattr->attr_value.v.array); in SDP_FindServiceUUIDInRec_128bit()
342 *p_uuid = Uuid::From128BitBE(p_attr->attr_value.v.array); in SDP_FindServiceUUIDInRec_128bit()
Dsdp_utils.cc849 bool sdpu_is_base_uuid(uint8_t* p_uuid) { in sdpu_is_base_uuid() argument
853 if (p_uuid[xx] != sdp_base_uuid[xx]) return (false); in sdpu_is_base_uuid()
1171 uint8_t* p_uuid = p_attr->value_ptr + 3; in sdpu_is_avrcp_profile_description_list() local
1173 if (p_uuid[0] != 0x11 || p_uuid[1] != 0xe) { in sdpu_is_avrcp_profile_description_list()
1176 uint8_t p_version = *(p_uuid + 4); in sdpu_is_avrcp_profile_description_list()
Dsdp_db.cc103 static bool find_uuid_in_seq(uint8_t* p, uint32_t seq_len, uint8_t* p_uuid, in find_uuid_in_seq() argument
121 if (sdpu_compare_uuid_arrays(p, len, p_uuid, uuid_len)) return (true); in find_uuid_in_seq()
123 if (find_uuid_in_seq(p, len, p_uuid, uuid_len, nest_level + 1)) in find_uuid_in_seq()
Dsdpint.h214 extern bool sdpu_is_base_uuid(uint8_t* p_uuid);
/system/bt/btif/src/
Dbtif_storage.cc366 Uuid* p_uuid = reinterpret_cast<Uuid*>(prop->val); in cfg2prop() local
368 btif_split_uuids_string(value, p_uuid, BT_MAX_NUM_UUIDS); in cfg2prop()
533 size_t btif_split_uuids_string(const char* str, bluetooth::Uuid* p_uuid, in btif_split_uuids_string() argument
536 CHECK(p_uuid); in btif_split_uuids_string()
545 *p_uuid = tmp; in btif_split_uuids_string()
546 p_uuid++; in btif_split_uuids_string()
656 Uuid* p_uuid = reinterpret_cast<Uuid*>(property->val); in btif_storage_get_adapter_property() local
668 *(p_uuid + num_uuids) = in btif_storage_get_adapter_property()
676 *(p_uuid + num_uuids) = in btif_storage_get_adapter_property()
681 *(p_uuid + num_uuids) = in btif_storage_get_adapter_property()
[all …]
/system/bt/stack/include/
Dsdp_api.h335 bluetooth::Uuid* p_uuid);
625 bool SDP_FindServiceUUIDInRec(tSDP_DISC_REC* p_rec, bluetooth::Uuid* p_uuid);
/system/bt/stack/gatt/
Dgatt_sr.cc522 Uuid* p_uuid = gatts_get_service_uuid(el.p_db); in gatt_build_primary_service_rsp() local
523 if (!p_uuid) continue; in gatt_build_primary_service_rsp()
526 handle_len = 4 + gatt_build_uuid_to_stream_len(*p_uuid); in gatt_build_primary_service_rsp()
545 if (op_code == GATT_REQ_FIND_TYPE_VALUE && value != *p_uuid) continue; in gatt_build_primary_service_rsp()
559 gatt_build_uuid_to_stream(&p, *p_uuid); in gatt_build_primary_service_rsp()
641 uint8_t*& p, Uuid* p_uuid, in gatts_validate_packet_format() argument
650 CHECK(p_uuid); in gatts_validate_packet_format()
652 if (!gatt_parse_uuid_from_cmd(p_uuid, uuid_len, &p)) { in gatts_validate_packet_format()
Dgatt_utils.cc491 uint8_t* p_uuid = *p_data; in gatt_parse_uuid_from_cmd() local
496 STREAM_TO_UINT16(val, p_uuid); in gatt_parse_uuid_from_cmd()
503 *p_uuid_rec = Uuid::From128BitLE(p_uuid); in gatt_parse_uuid_from_cmd()
Dgatt_api.cc312 Uuid* p_uuid = gatts_get_service_uuid(elem.p_db); in GATTS_AddService() local
313 elem.sdp_handle = gatt_add_sdp_record(*p_uuid, elem.s_hdl, elem.e_hdl); in GATTS_AddService()
Dgatt_int.h489 extern bool gatt_parse_uuid_from_cmd(bluetooth::Uuid* p_uuid, uint16_t len,
/system/bt/stack/btm/
Dbtm_inq.cc1808 static uint16_t btm_convert_uuid_to_uuid16(const uint8_t* p_uuid, in btm_convert_uuid_to_uuid16() argument
1820 STREAM_TO_UINT16(uuid16, p_uuid); in btm_convert_uuid_to_uuid16()
1823 STREAM_TO_UINT32(uuid32, p_uuid); in btm_convert_uuid_to_uuid16()
1830 if (p_uuid[xx] != base_uuid[xx]) { in btm_convert_uuid_to_uuid16()
1836 if ((p_uuid[Uuid::kNumBytes128 - 1] == 0) && in btm_convert_uuid_to_uuid16()
1837 (p_uuid[Uuid::kNumBytes128 - 2] == 0)) { in btm_convert_uuid_to_uuid16()
1838 p_uuid += (Uuid::kNumBytes128 - 4); in btm_convert_uuid_to_uuid16()
1839 STREAM_TO_UINT16(uuid16, p_uuid); in btm_convert_uuid_to_uuid16()
/system/bt/btif/include/
Dbtif_storage.h347 size_t btif_split_uuids_string(const char* str, bluetooth::Uuid* p_uuid,
/system/bt/bta/gatt/
Dbta_gattc_cache.cc500 void bta_gattc_search_service(tBTA_GATTC_CLCB* p_clcb, Uuid* p_uuid) { in bta_gattc_search_service() argument
502 if (p_uuid && *p_uuid != service.uuid) continue; in bta_gattc_search_service()
Dbta_gattc_int.h453 bluetooth::Uuid* p_uuid);