Home
last modified time | relevance | path

Searched refs:uuid_len (Results 1 – 6 of 6) sorted by relevance

/system/bt/stack/sdp/
Dsdp_utils.cc571 uint32_t seq_len, uuid_len; in sdpu_extract_uid_seq() local
629 uuid_len = 2; in sdpu_extract_uid_seq()
632 uuid_len = 4; in sdpu_extract_uid_seq()
635 uuid_len = 16; in sdpu_extract_uid_seq()
639 BE_STREAM_TO_UINT8(uuid_len, p); in sdpu_extract_uid_seq()
643 BE_STREAM_TO_UINT16(uuid_len, p); in sdpu_extract_uid_seq()
647 BE_STREAM_TO_UINT32(uuid_len, p); in sdpu_extract_uid_seq()
654 if (((uuid_len == 2) || (uuid_len == 4) || (uuid_len == 16)) && in sdpu_extract_uid_seq()
655 (p + uuid_len <= p_seq_end)) { in sdpu_extract_uid_seq()
656 p_seq->uuid_entry[p_seq->num_uids].len = (uint16_t)uuid_len; in sdpu_extract_uid_seq()
[all …]
Dsdp_db.cc110 uint16_t uuid_len, int nest_level) { in find_uuid_in_seq() argument
127 if (sdpu_compare_uuid_arrays(p, len, p_uuid, uuid_len)) return (true); in find_uuid_in_seq()
129 if (find_uuid_in_seq(p, len, p_uuid, uuid_len, nest_level + 1)) in find_uuid_in_seq()
/system/bt/stack/btm/
Dbtm_ble_adv_filter.cc557 uint8_t uuid_len = uuid.GetShortestRepresentationSize(); in BTM_LE_PF_uuid_filter() local
559 if (uuid_len == Uuid::kNumBytes16) { in BTM_LE_PF_uuid_filter()
562 } else if (uuid_len == Uuid::kNumBytes32) { in BTM_LE_PF_uuid_filter()
565 } else if (uuid_len == Uuid::kNumBytes128) { in BTM_LE_PF_uuid_filter()
570 BTM_TRACE_ERROR("illegal UUID length: %d", uuid_len); in BTM_LE_PF_uuid_filter()
576 if (uuid_len == Uuid::kNumBytes16) { in BTM_LE_PF_uuid_filter()
579 } else if (uuid_len == Uuid::kNumBytes32) { in BTM_LE_PF_uuid_filter()
582 } else if (uuid_len == Uuid::kNumBytes128) { in BTM_LE_PF_uuid_filter()
588 memset(p, 0xff, uuid_len); in BTM_LE_PF_uuid_filter()
589 len += uuid_len; in BTM_LE_PF_uuid_filter()
Dbtm_inq.cc2419 uint8_t uuid_len; in btm_eir_get_uuid_list() local
2441 complete_type, &uuid_len); in btm_eir_get_uuid_list()
2444 &uuid_len); in btm_eir_get_uuid_list()
2450 *p_num_uuid = uuid_len / uuid_size; in btm_eir_get_uuid_list()
/system/bt/stack/gatt/
Dgatt_sr.cc536 uint8_t uuid_len = attr.uuid.GetShortestRepresentationSize(); in gatt_build_find_info_rsp() local
538 p_msg->offset = (uuid_len == Uuid::kNumBytes16) ? GATT_INFO_TYPE_PAIR_16 in gatt_build_find_info_rsp()
544 uuid_len == Uuid::kNumBytes16) { in gatt_build_find_info_rsp()
548 uuid_len == Uuid::kNumBytes128) { in gatt_build_find_info_rsp()
552 uuid_len == Uuid::kNumBytes32) { in gatt_build_find_info_rsp()
596 uint16_t uuid_len = (op_code == GATT_REQ_FIND_TYPE_VALUE) ? 2 : len; in gatts_validate_packet_format() local
597 if (!gatt_parse_uuid_from_cmd(p_uuid, uuid_len, &p)) { in gatts_validate_packet_format()
602 len -= uuid_len; in gatts_validate_packet_format()
Dgatt_cl.cc421 uint8_t *p = p_data, uuid_len = 0, type; in gatt_process_read_info_rsp() local
437 uuid_len = Uuid::kNumBytes16; in gatt_process_read_info_rsp()
439 uuid_len = Uuid::kNumBytes128; in gatt_process_read_info_rsp()
441 while (len >= uuid_len + 2) { in gatt_process_read_info_rsp()
444 if (uuid_len > 0) { in gatt_process_read_info_rsp()
445 if (!gatt_parse_uuid_from_cmd(&result.type, uuid_len, &p)) break; in gatt_process_read_info_rsp()
449 len -= (uuid_len + 2); in gatt_process_read_info_rsp()