Home
last modified time | relevance | path

Searched refs:HexString (Results 1 – 5 of 5) sorted by relevance

/system/libbase/
Dhex_test.cpp22 ASSERT_EQ("", android::base::HexString(nullptr, 0)); in TEST()
23 ASSERT_EQ("", android::base::HexString(reinterpret_cast<void*>(int32_t(0)), 0)); in TEST()
28 ASSERT_EQ("ef", android::base::HexString(&kShortData, 1)); in TEST()
29 ASSERT_EQ("efbe", android::base::HexString(&kShortData, 2)); in TEST()
30 ASSERT_EQ("efbead", android::base::HexString(&kShortData, 3)); in TEST()
31 ASSERT_EQ("efbeadde", android::base::HexString(&kShortData, 4)); in TEST()
48 android::base::HexString(&kLongData, kSize)); in TEST()
Dhex.cpp24 std::string HexString(const void* bytes, size_t len) { in HexString() function
/system/libbase/include/android-base/
Dhex.h28 std::string HexString(const void* bytes, size_t len);
/system/core/libcutils/
Dproperties_test.cpp41 static std::string HexString(T value) { in HexString() function
57 << mExpr << " and " << nExpr << " (expected: " << HexString(m) << in AssertEqualHex()
58 ", actual: " << HexString(n) << ") are not equal"; in AssertEqualHex()
/system/tools/hidl/hashing/
DHash.cpp70 return android::base::HexString(mHash.data(), mHash.size()); in hexString()