Home
last modified time | relevance | path

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

/system/bt/bta/gatt/
Ddatabase.cc226 if (UuidSize(d.uuid) != Uuid::kNumBytes16) { in Hash()
253 if (UuidSize(service.uuid) == Uuid::kNumBytes16) { in Hash()
265 if (UuidSize(is.uuid) == Uuid::kNumBytes16) { in Hash()
278 if (UuidSize(c.uuid) == Uuid::kNumBytes16) { in Hash()
285 if (UuidSize(d.uuid) != Uuid::kNumBytes16) continue; in Hash()
/system/bt/types/bluetooth/
Duuid.cc46 if (uu[0] == 0 && uu[1] == 0) return kNumBytes16; in GetShortestRepresentationSize()
52 return GetShortestRepresentationSize() == kNumBytes16; in Is16Bit()
Duuid.h39 static constexpr size_t kNumBytes16 = 2; variable
/system/bt/vendor_libs/test_vendor_lib/types/bluetooth/
Duuid.cc43 if (uu[0] == 0 && uu[1] == 0) return kNumBytes16; in GetShortestRepresentationSize()
49 return GetShortestRepresentationSize() == kNumBytes16; in Is16Bit()
Duuid.h39 static constexpr size_t kNumBytes16 = 2; variable
/system/bt/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.cc41 ASSERT_TRUE(Uuid::kNumBytes16 == kBase.GetShortestRepresentationSize()); in TEST()
Dle_scanning_manager.cc745 if (uuid_len == Uuid::kNumBytes16) { in update_uuid_filter()
764 if (uuid_len == Uuid::kNumBytes16) { in update_uuid_filter()
/system/bt/bta/dm/
Dbta_dm_api.cc283 uint8_t uuid_list[32 * Uuid::kNumBytes16]; in BTA_GetEirService()
287 BTM_GetEirUuidList(p_eir, eir_len, Uuid::kNumBytes16, &num_uuid, uuid_list, in BTA_GetEirService()
Dbta_dm_act.cc2899 num_uuid = p_bta_dm_eir_cfg->bta_dm_eir_uuid16_len / Uuid::kNumBytes16; in bta_dm_set_eir()
2901 max_num_uuid = (free_eir_length - 2) / Uuid::kNumBytes16; in bta_dm_set_eir()
2908 if (local_name_len > (free_eir_length - 4 - num_uuid * Uuid::kNumBytes16)) { in bta_dm_set_eir()
2932 if (free_eir_length > Uuid::kNumBytes16 + 2) { in bta_dm_set_eir()
2936 num_uuid = p_bta_dm_eir_cfg->bta_dm_eir_uuid16_len / Uuid::kNumBytes16; in bta_dm_set_eir()
2941 num_uuid = free_eir_length / Uuid::kNumBytes16; in bta_dm_set_eir()
2944 UINT8_TO_STREAM(p, num_uuid * Uuid::kNumBytes16 + 1); in bta_dm_set_eir()
2947 num_uuid * Uuid::kNumBytes16); in bta_dm_set_eir()
2948 p += num_uuid * Uuid::kNumBytes16; in bta_dm_set_eir()
2949 free_eir_length -= num_uuid * Uuid::kNumBytes16; in bta_dm_set_eir()
[all …]
/system/bt/stack/btm/
Dbtm_ble_adv_filter.cc535 if (uuid_len == Uuid::kNumBytes16) { in BTM_LE_PF_uuid_filter()
537 len += Uuid::kNumBytes16; in BTM_LE_PF_uuid_filter()
552 if (uuid_len == Uuid::kNumBytes16) { in BTM_LE_PF_uuid_filter()
554 len += Uuid::kNumBytes16; in BTM_LE_PF_uuid_filter()
Dbtm_inq.cc1715 if (uuid_size == Uuid::kNumBytes16) { in BTM_GetEirUuidList()
1763 case Uuid::kNumBytes16: in btm_eir_get_uuid_list()
1819 case Uuid::kNumBytes16: in btm_convert_uuid_to_uuid16()
1872 Uuid::kNumBytes16, &num_uuid, &type); in btm_set_eir_uuid()
/system/bt/types/test/bluetooth/
Duuid_unittest.cc42 EXPECT_TRUE(Uuid::kNumBytes16 == kBase.GetShortestRepresentationSize()); in TEST()
/system/bt/vendor_libs/test_vendor_lib/types/test/bluetooth/
Duuid_unittest.cc39 EXPECT_TRUE(Uuid::kNumBytes16 == kBase.GetShortestRepresentationSize()); in TEST()
/system/bt/stack/gatt/
Dgatt_utils.cc474 if (len == Uuid::kNumBytes16) { in gatt_build_uuid_to_stream()
494 case Uuid::kNumBytes16: { in gatt_parse_uuid_from_cmd()
498 *p_data += Uuid::kNumBytes16; in gatt_parse_uuid_from_cmd()
846 case Uuid::kNumBytes16: { in gatt_add_sdp_record()
Dgatt_db.cc198 *p_len = (val_len == Uuid::kNumBytes16) ? 5 : 19; in read_attr_value()
205 if (val_len == Uuid::kNumBytes16) { in read_attr_value()
Dgatt_cl.cc116 if (size == Uuid::kNumBytes16) { in gatt_act_discovery()
447 uuid_len = Uuid::kNumBytes16; in gatt_process_read_info_rsp()
Dgatt_sr.cc593 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()
/system/bt/main/shim/
Dle_scanning_manager.cc351 case bluetooth::Uuid::kNumBytes16: { in parse_filter_command()
373 case bluetooth::Uuid::kNumBytes16: { in parse_filter_command()
/system/bt/stack/bnep/
Dbnep_utils.cc187 if (len == Uuid::kNumBytes16) { in bnep_send_conn_req()
566 if (len == Uuid::kNumBytes16) { in bnep_process_setup_conn_req()
/system/bt/stack/sdp/
Dsdp_api.cc258 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()
/system/bt/service/client/
Dmain.cc706 else if (uuid_size == bluetooth::Uuid::kNumBytes16) in HandleStartAdv()
/system/bt/bta/hh/
Dbta_hh_le.cc1249 if (len != Uuid::kNumBytes16) { in read_ext_rpt_ref_desc_cb()