Home
last modified time | relevance | path

Searched refs:decodeHex (Results 1 – 3 of 3) sorted by relevance

/hardware/interfaces/identity/support/tests/
DIdentityCredentialSupportTest.cpp46 TEST(IdentityCredentialSupport, decodeHex) { in TEST() argument
47 EXPECT_EQ(vector<uint8_t>({}), support::decodeHex("")); in TEST()
48 EXPECT_EQ(vector<uint8_t>({1}), support::decodeHex("01")); in TEST()
51 support::decodeHex("000102030405060708090a0b0c0d0e0f10")); in TEST()
53 EXPECT_FALSE(support::decodeHex("0g")); in TEST()
54 EXPECT_FALSE(support::decodeHex("0")); in TEST()
55 EXPECT_FALSE(support::decodeHex("012")); in TEST()
387 support::decodeHex("f7bc83f430538424b13298e6aa6fb143ef4d59a14946175997479dbc2d1a3cd8") in TEST()
/hardware/interfaces/identity/support/include/android/hardware/identity/support/
DIdentityCredentialSupport.h60 optional<vector<uint8_t>> decodeHex(const string& hexEncoded);
/hardware/interfaces/identity/support/src/
DIdentityCredentialSupport.cpp125 optional<vector<uint8_t>> decodeHex(const string& hexEncoded) { in decodeHex() function