Home
last modified time | relevance | path

Searched refs:FromHexString (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Bluetooth/system/gd/common/
Dstrings_test.cc29 using bluetooth::common::FromHexString;
145 …ASSERT_THAT(FromHexString("aabbccdd1122"), Optional(ElementsAre(0xaa, 0xbb, 0xcc, 0xdd, 0x11, 0x22… in TEST()
147 ASSERT_THAT(FromHexString(""), Optional(IsEmpty())); in TEST()
149 ASSERT_THAT(FromHexString("aa"), Optional(ElementsAre(0xaa))); in TEST()
151 ASSERT_THAT(FromHexString("0605560b"), Optional(ElementsAre(0x6, 0x5, 0x56, 0xb))); in TEST()
153 ASSERT_THAT(FromHexString("AABBCC"), Optional(ElementsAre(0xaa, 0xbb, 0xcc))); in TEST()
155 ASSERT_THAT(FromHexString("aAbbCC"), Optional(ElementsAre(0xaa, 0xbb, 0xcc))); in TEST()
157 ASSERT_FALSE(FromHexString("0605560")); in TEST()
159 ASSERT_FALSE(FromHexString("060u560b")); in TEST()
Dbyte_array.h82 auto vec = common::FromHexString(from); in FromString()
Dstrings.h98 std::optional<std::vector<uint8_t>> FromHexString(const std::string& str);
Dstrings.cc57 std::optional<std::vector<uint8_t>> FromHexString(const std::string& str) { in FromHexString() function
/packages/modules/Bluetooth/system/gd/storage/
Dconfig_cache_helper.cc118 auto value = common::FromHexString(*value_str); in GetBin()
/packages/modules/Bluetooth/system/gd/hci/
Ddistance_measurement_manager.cc505 auto channel_vector = common::FromHexString("1FFFFFFFFFFFFC7FFFFC"); // use all 72 Channel in send_le_cs_create_config()