Home
last modified time | relevance | path

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

/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.cc43 return kNumBytes16; in GetShortestRepresentationSize()
50 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()
/system/bt/types/bluetooth/
Duuid.cc45 if (uu[0] == 0 && uu[1] == 0) return kNumBytes16; in GetShortestRepresentationSize()
51 return GetShortestRepresentationSize() == kNumBytes16; in Is16Bit()
Duuid.h39 static constexpr size_t kNumBytes16 = 2; variable
/system/bt/stack/btm/
Dbtm_ble_adv_filter.cc559 if (uuid_len == Uuid::kNumBytes16) { in BTM_LE_PF_uuid_filter()
561 len += Uuid::kNumBytes16; in BTM_LE_PF_uuid_filter()
576 if (uuid_len == Uuid::kNumBytes16) { in BTM_LE_PF_uuid_filter()
578 len += Uuid::kNumBytes16; in BTM_LE_PF_uuid_filter()
Dbtm_inq.cc2287 if (uuid_size == Uuid::kNumBytes16) { in BTM_GetEirUuidList()
2335 case Uuid::kNumBytes16: in btm_eir_get_uuid_list()
2391 case Uuid::kNumBytes16: in btm_convert_uuid_to_uuid16()
2444 Uuid::kNumBytes16, &num_uuid, &type); in btm_set_eir_uuid()
/system/bt/vendor_libs/test_vendor_lib/types/test/bluetooth/
Duuid_unittest.cc39 EXPECT_TRUE(Uuid::kNumBytes16 == kBase.GetShortestRepresentationSize()); in TEST()
/system/bt/types/test/bluetooth/
Duuid_unittest.cc42 EXPECT_TRUE(Uuid::kNumBytes16 == kBase.GetShortestRepresentationSize()); in TEST()
/system/bt/bta/dm/
Dbta_dm_api.cc347 uint8_t uuid_list[32 * Uuid::kNumBytes16]; in BTA_GetEirService()
351 BTM_GetEirUuidList(p_eir, eir_len, Uuid::kNumBytes16, &num_uuid, uuid_list, in BTA_GetEirService()
Dbta_dm_act.cc3318 num_uuid = p_bta_dm_eir_cfg->bta_dm_eir_uuid16_len / Uuid::kNumBytes16; in bta_dm_set_eir()
3320 max_num_uuid = (free_eir_length - 2) / Uuid::kNumBytes16; in bta_dm_set_eir()
3327 if (local_name_len > (free_eir_length - 4 - num_uuid * Uuid::kNumBytes16)) { in bta_dm_set_eir()
3351 if (free_eir_length > Uuid::kNumBytes16 + 2) { in bta_dm_set_eir()
3355 num_uuid = p_bta_dm_eir_cfg->bta_dm_eir_uuid16_len / Uuid::kNumBytes16; in bta_dm_set_eir()
3360 num_uuid = free_eir_length / Uuid::kNumBytes16; in bta_dm_set_eir()
3363 UINT8_TO_STREAM(p, num_uuid * Uuid::kNumBytes16 + 1); in bta_dm_set_eir()
3366 num_uuid * Uuid::kNumBytes16); in bta_dm_set_eir()
3367 p += num_uuid * Uuid::kNumBytes16; in bta_dm_set_eir()
3368 free_eir_length -= num_uuid * Uuid::kNumBytes16; in bta_dm_set_eir()
[all …]
/system/bt/stack/gatt/
Dgatt_utils.cc463 if (len == Uuid::kNumBytes16) { in gatt_build_uuid_to_stream()
483 case Uuid::kNumBytes16: { in gatt_parse_uuid_from_cmd()
487 *p_data += Uuid::kNumBytes16; in gatt_parse_uuid_from_cmd()
776 case Uuid::kNumBytes16: { in gatt_add_sdp_record()
Dgatt_db.cc196 *p_len = (val_len == Uuid::kNumBytes16) ? 5 : 19; in read_attr_value()
203 if (val_len == Uuid::kNumBytes16) { in read_attr_value()
Dgatt_cl.cc111 if (size == Uuid::kNumBytes16) { in gatt_act_discovery()
437 uuid_len = Uuid::kNumBytes16; in gatt_process_read_info_rsp()
Dgatt_sr.cc538 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()
/system/bt/stack/bnep/
Dbnep_utils.cc188 if (len == Uuid::kNumBytes16) { in bnep_send_conn_req()
567 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.cc87 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.cc1285 if (len != Uuid::kNumBytes16) { in read_ext_rpt_ref_desc_cb()