Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/gd/discovery/device/
Deir_data.cc62 while (std::distance(it, gap_data.data_.end()) >= (signed)Uuid::kNumBytes16) { in GetUuids16()
64 it += Uuid::kNumBytes16; in GetUuids16()
75 while (std::distance(it, gap_data.data_.end()) >= (signed)Uuid::kNumBytes16) { in GetUuidsIncomplete16()
77 it += Uuid::kNumBytes16; in GetUuidsIncomplete16()
168 if (gap_data.data_.size() < Uuid::kNumBytes16) continue; in GetServiceUuuids16()
172 .data = std::vector<uint8_t>(it + Uuid::kNumBytes16, gap_data.data_.end()), in GetServiceUuuids16()
/packages/modules/Bluetooth/system/bta/gatt/
Ddatabase.cc238 if (UuidSize(d.uuid) != Uuid::kNumBytes16) { in Hash()
265 if (UuidSize(service.uuid) == Uuid::kNumBytes16) { in Hash()
277 if (UuidSize(is.uuid) == Uuid::kNumBytes16) { in Hash()
290 if (UuidSize(c.uuid) == Uuid::kNumBytes16) { in Hash()
297 if (UuidSize(d.uuid) != Uuid::kNumBytes16) continue; in Hash()
/packages/modules/Bluetooth/system/gd/hci/
Duuid.cc44 return kNumBytes16; in GetShortestRepresentationSize()
51 return GetShortestRepresentationSize() == kNumBytes16; in Is16Bit()
Duuid.h42 static constexpr size_t kNumBytes16 = 2; variable
Duuid_unittest.cc59 ASSERT_TRUE(Uuid::kNumBytes16 == kBase.GetShortestRepresentationSize()); in TEST()
Dle_scanning_manager.cc931 if (uuid_len == Uuid::kNumBytes16) { in update_uuid_filter()
950 if (uuid_len == Uuid::kNumBytes16) { in update_uuid_filter()
/packages/modules/Bluetooth/system/types/bluetooth/
Duuid.cc49 if (uu[0] == 0 && uu[1] == 0) return kNumBytes16; in GetShortestRepresentationSize()
55 return GetShortestRepresentationSize() == kNumBytes16; in Is16Bit()
Duuid.h40 static constexpr size_t kNumBytes16 = 2; variable
/packages/modules/Bluetooth/system/bta/dm/
Dbta_dm_act.cc1144 max_num_uuid = (free_eir_length - 2) / Uuid::kNumBytes16; in bta_dm_set_eir()
1150 if (local_name_len > (free_eir_length - 4 - num_uuid * Uuid::kNumBytes16)) { in bta_dm_set_eir()
1175 max_num_uuid = (free_eir_length - 2) / Uuid::kNumBytes16; in bta_dm_set_eir()
1188 if (curr.GetShortestRepresentationSize() == Uuid::kNumBytes16) { in bta_dm_set_eir()
1202 UINT8_TO_STREAM(p_length, num_uuid * Uuid::kNumBytes16 + 1); in bta_dm_set_eir()
1204 free_eir_length -= num_uuid * Uuid::kNumBytes16 + 2; in bta_dm_set_eir()
/packages/modules/Bluetooth/system/types/test/bluetooth/
Duuid_unittest.cc42 EXPECT_TRUE(Uuid::kNumBytes16 == kBase.GetShortestRepresentationSize()); in TEST()
/packages/modules/Bluetooth/system/stack/gatt/
Dgatt_db.cc202 *p_len = (val_len == Uuid::kNumBytes16) ? 5 : 19; in read_attr_value()
209 if (val_len == Uuid::kNumBytes16) { in read_attr_value()
Dgatt_utils.cc561 if (len == Uuid::kNumBytes16) { in gatt_build_uuid_to_stream()
581 case Uuid::kNumBytes16: { in gatt_parse_uuid_from_cmd()
585 *p_data += Uuid::kNumBytes16; in gatt_parse_uuid_from_cmd()
943 case Uuid::kNumBytes16: { in gatt_add_sdp_record()
Dgatt_cl.cc122 if (size == Uuid::kNumBytes16) { in gatt_act_discovery()
457 uuid_len = Uuid::kNumBytes16; in gatt_process_read_info_rsp()
Dgatt_sr.cc632 p_msg->offset = (uuid_len == Uuid::kNumBytes16) ? GATT_INFO_TYPE_PAIR_16 in gatt_build_find_info_rsp()
638 uuid_len == Uuid::kNumBytes16) { in gatt_build_find_info_rsp()
/packages/modules/Bluetooth/system/stack/btm/
Dbtm_inq.cc2235 if (uuid_size == Uuid::kNumBytes16) { in BTM_GetEirUuidList()
2283 case Uuid::kNumBytes16: in btm_eir_get_uuid_list()
2339 case Uuid::kNumBytes16: in btm_convert_uuid_to_uuid16()
2392 Uuid::kNumBytes16, &num_uuid, &type); in btm_set_eir_uuid()
/packages/modules/Bluetooth/system/stack/bnep/
Dbnep_utils.cc191 if (len == Uuid::kNumBytes16) { in bnep_send_conn_req()
576 if (len == Uuid::kNumBytes16) { in bnep_process_setup_conn_req()
/packages/modules/Bluetooth/system/main/shim/
Dle_scanning_manager.cc678 case bluetooth::Uuid::kNumBytes16: { in parse_filter_command()
699 case bluetooth::Uuid::kNumBytes16: { in parse_filter_command()
/packages/modules/Bluetooth/system/stack/sdp/
Dsdp_api.cc265 if (SDP_DISC_ATTR_LEN(p_sattr->attr_len_type) == Uuid::kNumBytes16) { in SDP_FindServiceUUIDInRec()
Dsdp_discovery.cc89 if (len == Uuid::kNumBytes16) { in sdpu_build_uuid_seq()
Dsdp_utils.cc1149 if (SDP_DISC_ATTR_LEN(p_attr->attr_len_type) == Uuid::kNumBytes16) { in sdpu_compare_uuid_with_attr()
/packages/modules/Bluetooth/system/stack/test/sdp/
Dstack_sdp_utils_test.cc699 .attr_len_type = bluetooth::Uuid::kNumBytes16, in TEST_F()
/packages/modules/Bluetooth/system/btif/src/
Dbtif_dm.cc1417 uint8_t uuid_list[32 * Uuid::kNumBytes16]; in btif_dm_search_devices_evt()
1437 Uuid::kNumBytes16, &num_uuids, uuid_list, max_num_uuid)) { in btif_dm_search_devices_evt()
/packages/modules/Bluetooth/system/bta/hh/
Dbta_hh_le.cc1317 if (len != Uuid::kNumBytes16) { in read_ext_rpt_ref_desc_cb()