Home
last modified time | relevance | path

Searched refs:decoded (Results 1 – 4 of 4) sorted by relevance

/system/nvram/messages/tests/
Dnvram_messages_test.cpp41 Request decoded; in TEST() local
42 EncodeAndDecode(request, &decoded); in TEST()
44 EXPECT_EQ(COMMAND_GET_INFO, decoded.payload.which()); in TEST()
45 EXPECT_TRUE(decoded.payload.get<COMMAND_GET_INFO>()); in TEST()
65 Response decoded; in TEST() local
66 EncodeAndDecode(response, &decoded); in TEST()
69 EXPECT_EQ(COMMAND_GET_INFO, decoded.payload.which()); in TEST()
71 decoded.payload.get<COMMAND_GET_INFO>(); in TEST()
98 Request decoded; in TEST() local
99 EncodeAndDecode(request, &decoded); in TEST()
[all …]
/system/security/keystore/tests/
Dblob_test.cpp36 std::string decoded(decodeKeyName(encodeKeyName(toEncode))); in TEST() local
38 ASSERT_EQ(toEncode, decoded); in TEST()
/system/media/audio_utils/tests/
Dmetadata_tests.cpp324 Data decoded = dataFromByteString(bs); in TEST() local
329 ASSERT_EQ(1, std::any_cast<int32_t>(decoded["i32"])); in TEST()
330 ASSERT_EQ(2, std::any_cast<int64_t>(decoded["i64"])); in TEST()
331 ASSERT_EQ(3.1f, std::any_cast<float>(decoded["float"])); in TEST()
332 ASSERT_EQ(4.11, std::any_cast<double>(decoded["double"])); in TEST()
333 Data decoded_s = std::any_cast<Data>(decoded["data"]); in TEST()
/system/security/keystore2/src/
Dlegacy_blob.rs1194 let decoded = match LegacyBlobLoader::decode_alias(&encoded) { in decode_encode_alias_test() localVariable
1198 assert_eq!(random_alias.to_vec(), decoded.bytes().collect::<Vec<u8>>()); in decode_encode_alias_test()