Home
last modified time | relevance | path

Searched refs:GetShortestRepresentationSize (Results 1 – 17 of 17) sorted by relevance

/packages/modules/Bluetooth/system/types/test/bluetooth/
Duuid_unittest.cc42 TEST(UuidTest, GetShortestRepresentationSize) { in TEST() argument
43 EXPECT_TRUE(Uuid::kNumBytes16 == kBase.GetShortestRepresentationSize()); in TEST()
44 EXPECT_TRUE(Uuid::kNumBytes32 == Uuid::From32Bit(0x01234567).GetShortestRepresentationSize()); in TEST()
45 EXPECT_TRUE(Uuid::kNumBytes128 == Uuid::kEmpty.GetShortestRepresentationSize()); in TEST()
/packages/modules/Bluetooth/system/gd/hci/
Duuid_unittest.cc47 TEST(UuidTest, GetShortestRepresentationSize) { in TEST() argument
48 ASSERT_EQ(Uuid::kNumBytes16, kBase.GetShortestRepresentationSize()); in TEST()
49 ASSERT_EQ(Uuid::kNumBytes32, Uuid::From32Bit(0x01234567).GetShortestRepresentationSize()); in TEST()
50 ASSERT_EQ(Uuid::kNumBytes128, Uuid::kEmpty.GetShortestRepresentationSize()); in TEST()
Duuid.cc38 size_t Uuid::GetShortestRepresentationSize() const { in GetShortestRepresentationSize() function in bluetooth::hci::Uuid
51 bool Uuid::Is16Bit() const { return GetShortestRepresentationSize() == kNumBytes16; } in Is16Bit()
Duuid.h69 size_t GetShortestRepresentationSize() const;
Dle_scanning_manager.cc915 uint8_t uuid_len = uuid.GetShortestRepresentationSize(); in update_uuid_filter()
/packages/modules/Bluetooth/system/types/bluetooth/
Duuid.cc43 size_t Uuid::GetShortestRepresentationSize() const { in GetShortestRepresentationSize() function in bluetooth::Uuid
56 bool Uuid::Is16Bit() const { return GetShortestRepresentationSize() == kNumBytes16; } in Is16Bit()
Duuid.h52 size_t GetShortestRepresentationSize() const;
/packages/modules/Bluetooth/system/stack/bnep/
Dbnep_utils.cc194 int len = std::max(p_bcb->dst_uuid.GetShortestRepresentationSize(), in bnep_send_conn_req()
195 p_bcb->src_uuid.GetShortestRepresentationSize()); in bnep_send_conn_req()
212 p_bcb->dst_uuid.GetShortestRepresentationSize()); in bnep_send_conn_req()
/packages/modules/Bluetooth/system/bta/dm/
Dbta_dm_act.cc1146 if (curr.GetShortestRepresentationSize() == Uuid::kNumBytes16) { in bta_dm_set_eir()
1177 if (curr.GetShortestRepresentationSize() == Uuid::kNumBytes32) { in bta_dm_set_eir()
1205 if (curr.GetShortestRepresentationSize() == Uuid::kNumBytes128) { in bta_dm_set_eir()
/packages/modules/Bluetooth/system/bta/gatt/
Ddatabase.cc51 size_t len = uuid.GetShortestRepresentationSize(); in UuidSize()
/packages/modules/Bluetooth/system/stack/gatt/
Dgatt_utils.cc569 size_t len = uuid.GetShortestRepresentationSize(); in gatt_build_uuid_to_stream_len()
576 size_t len = uuid.GetShortestRepresentationSize(); in gatt_build_uuid_to_stream()
958 switch (uuid.GetShortestRepresentationSize()) { in gatt_add_sdp_record()
Dgatt_db.cc196 uint8_t val_len = val_attr->uuid.GetShortestRepresentationSize(); in read_attr_value()
Dgatt_cl.cc116 size_t size = p_clcb->uuid.GetShortestRepresentationSize(); in gatt_act_discovery()
Dgatt_sr.cc652 uint8_t uuid_len = attr.uuid.GetShortestRepresentationSize(); in gatt_build_find_info_rsp()
/packages/modules/Bluetooth/system/main/shim/
Dle_scanning_manager.cc627 uint8_t uuid_len = apcf_command.uuid.GetShortestRepresentationSize(); in parse_filter_command()
648 uint8_t uuid_len = apcf_command.uuid.GetShortestRepresentationSize(); in parse_filter_command()
/packages/modules/Bluetooth/system/stack/sdp/
Dsdp_discovery.cc81 int len = p_uuid_list->GetShortestRepresentationSize(); in sdpu_build_uuid_seq()
Dsdp_utils.cc1195 int len = uuid.GetShortestRepresentationSize(); in sdpu_compare_uuid_with_attr()