Home
last modified time | relevance | path

Searched refs:ToHexString (Results 1 – 7 of 7) sorted by relevance

/system/bt/gd/common/
Dstrings_test.cc33 using bluetooth::common::ToHexString;
71 ASSERT_THAT(ToHexString({0x12, 0x34, 0x56, 0xab}), Eq("123456ab")); in TEST()
73 ASSERT_THAT(ToHexString({}), Eq("")); in TEST()
75 ASSERT_THAT(ToHexString({0x12}), Eq("12")); in TEST()
77 ASSERT_THAT(ToHexString({0x6, 0x5, 0x56, 0xb}), Eq("0605560b")); in TEST()
80 ASSERT_THAT(ToHexString(a.begin(), a.end()), Eq("1256")); in TEST()
82 ASSERT_THAT(ToHexString(b.begin(), b.end()), Eq("3478")); in TEST()
Dstrings.h37 std::string ToHexString(InputIt first, InputIt last) { in ToHexString() function
48 std::string ToHexString(const std::vector<uint8_t>& value);
Dstrings.cc46 std::string ToHexString(const std::vector<uint8_t>& value) { in ToHexString() function
47 return ToHexString(value.begin(), value.end()); in ToHexString()
Dbyte_array.h76 return common::ToHexString(bytes.begin(), bytes.end()); in ToString()
/system/core/fs_mgr/libsnapshot/
Dtest_helpers.cpp77 std::string ToHexString(const uint8_t* buf, size_t len) { in ToHexString() function
124 *hash = ToHexString(out, sizeof(out)); in WriteRandomData()
140 return ToHexString(out, sizeof(out)); in GetHash()
/system/core/fs_mgr/liblp/
Dutility.cpp290 inline std::string ToHexString(uint64_t value) { in ToHexString() function
307 LWARN << "Zeroing unexpected flags: " << ToHexString(metadata->header.flags); in SetMetadataHeaderV0()
320 << " partition attribute: " << ToHexString(partition.attributes); in SetMetadataHeaderV0()
/system/bt/gd/storage/
Dconfig_cache_helper.cc107 config_cache_.SetProperty(section, property, common::ToHexString(value)); in SetBin()