Searched refs:uuid_len (Results 1 – 8 of 8) sorted by relevance
/system/bt/stack/sdp/ |
D | sdp_utils.cc | 572 uint32_t seq_len, uuid_len; in sdpu_extract_uid_seq() local 630 uuid_len = 2; in sdpu_extract_uid_seq() 633 uuid_len = 4; in sdpu_extract_uid_seq() 636 uuid_len = 16; in sdpu_extract_uid_seq() 640 BE_STREAM_TO_UINT8(uuid_len, p); in sdpu_extract_uid_seq() 644 BE_STREAM_TO_UINT16(uuid_len, p); in sdpu_extract_uid_seq() 648 BE_STREAM_TO_UINT32(uuid_len, p); in sdpu_extract_uid_seq() 655 if (((uuid_len == 2) || (uuid_len == 4) || (uuid_len == 16)) && in sdpu_extract_uid_seq() 656 (p + uuid_len <= p_seq_end)) { in sdpu_extract_uid_seq() 657 p_seq->uuid_entry[p_seq->num_uids].len = (uint16_t)uuid_len; in sdpu_extract_uid_seq() [all …]
|
D | sdp_db.cc | 104 uint16_t uuid_len, int nest_level) { 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()
|
/system/bt/stack/btm/ |
D | btm_ble_adv_filter.cc | 533 uint8_t uuid_len = uuid.GetShortestRepresentationSize(); in BTM_LE_PF_uuid_filter() local 535 if (uuid_len == Uuid::kNumBytes16) { in BTM_LE_PF_uuid_filter() 538 } else if (uuid_len == Uuid::kNumBytes32) { in BTM_LE_PF_uuid_filter() 541 } else if (uuid_len == Uuid::kNumBytes128) { in BTM_LE_PF_uuid_filter() 546 BTM_TRACE_ERROR("illegal UUID length: %d", uuid_len); in BTM_LE_PF_uuid_filter() 552 if (uuid_len == Uuid::kNumBytes16) { in BTM_LE_PF_uuid_filter() 555 } else if (uuid_len == Uuid::kNumBytes32) { in BTM_LE_PF_uuid_filter() 558 } else if (uuid_len == Uuid::kNumBytes128) { in BTM_LE_PF_uuid_filter() 564 memset(p, 0xff, uuid_len); in BTM_LE_PF_uuid_filter() 565 len += uuid_len; in BTM_LE_PF_uuid_filter()
|
D | btm_inq.cc | 1760 uint8_t uuid_len; in btm_eir_get_uuid_list() local 1782 complete_type, &uuid_len); in btm_eir_get_uuid_list() 1785 &uuid_len); in btm_eir_get_uuid_list() 1791 *p_num_uuid = uuid_len / uuid_size; in btm_eir_get_uuid_list()
|
/system/bt/main/shim/ |
D | le_scanning_manager.cc | 349 uint8_t uuid_len = apcf_command.uuid.GetShortestRepresentationSize(); in parse_filter_command() local 350 switch (uuid_len) { in parse_filter_command() 365 LOG_WARN("illegal UUID length %d", (uint16_t)uuid_len); in parse_filter_command() 371 uint8_t uuid_len = apcf_command.uuid.GetShortestRepresentationSize(); in parse_filter_command() local 372 switch (uuid_len) { in parse_filter_command() 387 LOG_WARN("illegal UUID length %d", (uint16_t)uuid_len); in parse_filter_command()
|
/system/bt/stack/gatt/ |
D | gatt_sr.cc | 591 uint8_t uuid_len = attr.uuid.GetShortestRepresentationSize(); in gatt_build_find_info_rsp() local 593 p_msg->offset = (uuid_len == Uuid::kNumBytes16) ? GATT_INFO_TYPE_PAIR_16 in gatt_build_find_info_rsp() 599 uuid_len == Uuid::kNumBytes16) { in gatt_build_find_info_rsp() 603 uuid_len == Uuid::kNumBytes128) { in gatt_build_find_info_rsp() 607 uuid_len == Uuid::kNumBytes32) { in gatt_build_find_info_rsp() 651 uint16_t uuid_len = (op_code == GATT_REQ_FIND_TYPE_VALUE) ? 2 : len; in gatts_validate_packet_format() local 652 if (!gatt_parse_uuid_from_cmd(p_uuid, uuid_len, &p)) { in gatts_validate_packet_format() 657 len -= uuid_len; in gatts_validate_packet_format()
|
D | gatt_cl.cc | 431 uint8_t *p = p_data, uuid_len = 0, type; in gatt_process_read_info_rsp() local 447 uuid_len = Uuid::kNumBytes16; in gatt_process_read_info_rsp() 449 uuid_len = Uuid::kNumBytes128; in gatt_process_read_info_rsp() 451 while (len >= uuid_len + 2) { in gatt_process_read_info_rsp() 454 if (uuid_len > 0) { in gatt_process_read_info_rsp() 455 if (!gatt_parse_uuid_from_cmd(&result.type, uuid_len, &p)) break; in gatt_process_read_info_rsp() 459 len -= (uuid_len + 2); in gatt_process_read_info_rsp()
|
/system/bt/gd/hci/ |
D | le_scanning_manager.cc | 744 uint8_t uuid_len = uuid.GetShortestRepresentationSize(); in update_uuid_filter() local 745 if (uuid_len == Uuid::kNumBytes16) { in update_uuid_filter() 749 } else if (uuid_len == Uuid::kNumBytes32) { in update_uuid_filter() 755 } else if (uuid_len == Uuid::kNumBytes128) { in update_uuid_filter() 759 LOG_ERROR("illegal UUID length: %d", (uint16_t)uuid_len); in update_uuid_filter() 764 if (uuid_len == Uuid::kNumBytes16) { in update_uuid_filter() 768 } else if (uuid_len == Uuid::kNumBytes32) { in update_uuid_filter() 774 } else if (uuid_len == Uuid::kNumBytes128) { in update_uuid_filter() 779 std::vector<uint8_t> data(uuid_len, 0xFF); in update_uuid_filter()
|