/system/nvram/messages/include/nvram/messages/ |
D | proto.hpp | 135 return Codec::Encode(value, writer); in EncodeField() 153 static bool Encode(const Blob& blob, ProtoWriter* writer) { in Encode() function 189 static bool Encode(const Type& value, ProtoWriter* writer) { in Encode() function 209 static bool Encode(const Vector<ElementType>& vector, ProtoWriter* writer) { in Encode() function 230 static bool Encode(const Optional<ValueType>& value, ProtoWriter* writer) { in Encode() function 317 static bool Encode(const TaggedUnionType& object, ProtoWriter* writer) { in Encode() function 395 static bool Encode(const StructType& object, ProtoWriter* writer) { in Encode() function in nvram::proto::detail::__anond1a572440211::MessageEncoder 396 return MessageEncoderBase::Encode( in Encode() 436 static bool Encode(const StructType& object, ProtoWriter* writer) { in Encode() function 437 return MessageEncoder<StructType>::Encode(object, writer); in Encode() [all …]
|
D | message_codec.h | 72 static bool Encode(const void* object, 82 bool Encode(ProtoWriter* writer);
|
D | nvram_messages.h | 184 bool Encode(const Message& msg, Blob* blob); 189 bool Encode(const Message& msg, void* buffer, size_t* size);
|
/system/nvram/messages/ |
D | nvram_messages.cpp | 177 bool Encode(const Message& msg, Blob* blob) { in Encode() function 179 return nvram::proto::Encode(msg, &stream) && stream.Truncate(); in Encode() 183 bool Encode(const Message& msg, void* buffer, size_t* size) { in Encode() function 185 if (!nvram::proto::Encode(msg, &stream)) { in Encode() 199 template NVRAM_EXPORT bool Encode<Request>(const Request&, Blob*); 200 template NVRAM_EXPORT bool Encode<Request>(const Request&, void*, size_t*); 203 template NVRAM_EXPORT bool Encode<Response>(const Response&, Blob*); 204 template NVRAM_EXPORT bool Encode<Response>(const Response&, void*, size_t*);
|
D | message_codec.cpp | 29 bool MessageEncoderBase::Encode(const void* object, in Encode() function in nvram::proto::MessageEncoderBase 34 return encoder.Encode(writer); in Encode() 43 bool MessageEncoderBase::Encode(ProtoWriter* writer) { in Encode() function in nvram::proto::MessageEncoderBase
|
/system/core/libcrypto_utils/tests/ |
D | android_pubkey_test.cpp | 125 TEST_F(AndroidPubkeyTest, Encode) { in TEST_F() argument
|
/system/core/trusty/nvram/ |
D | trusty_nvram_implementation.cpp | 78 if (!nvram::Encode(request, &request_buffer)) { in SendRequest()
|
/system/nvram/hal/ |
D | testing_nvram_implementation.cpp | 101 if (!nvram::Encode(request, command_buffer_, &request_size)) { in SendRequest()
|
D | fake_nvram.cpp | 137 if (!nvram::Encode(response, command_buffer, &response_size)) { in ProcessCommand()
|
/system/nvram/core/ |
D | persistence.cpp | 50 if (!proto::detail::MessageEncoder<Object>::Encode(object, &writer) || in EncodeObject()
|
/system/nvram/messages/tests/ |
D | nvram_messages_test.cpp | 31 ASSERT_TRUE(Encode(in, &blob)); in EncodeAndDecode()
|