Searched refs:FromHexString (Results 1 – 6 of 6) sorted by relevance
/packages/modules/Bluetooth/system/gd/common/ |
D | strings_test.cc | 29 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()
|
D | byte_array.h | 82 auto vec = common::FromHexString(from); in FromString()
|
D | strings.h | 98 std::optional<std::vector<uint8_t>> FromHexString(const std::string& str);
|
D | strings.cc | 57 std::optional<std::vector<uint8_t>> FromHexString(const std::string& str) { in FromHexString() function
|
/packages/modules/Bluetooth/system/gd/storage/ |
D | config_cache_helper.cc | 118 auto value = common::FromHexString(*value_str); in GetBin()
|
/packages/modules/Bluetooth/system/gd/hci/ |
D | distance_measurement_manager.cc | 505 auto channel_vector = common::FromHexString("1FFFFFFFFFFFFC7FFFFC"); // use all 72 Channel in send_le_cs_create_config()
|