Searched refs:serialized_size (Results 1 – 6 of 6) sorted by relevance
/system/chre/apps/wifi_offload/test/ |
D | flatbuffersserialization_test.cc | 51 size_t serialized_size = Serialize(test_obj, this->buffer, this->kBufferLen); in TYPED_TEST() local 52 ASSERT_NE(0, serialized_size); in TYPED_TEST() 54 EXPECT_EQ(serialized_size, required_buff_size); in TYPED_TEST() 62 size_t serialized_size = Serialize(test_obj, this->buffer, this->kBufferLen); in TYPED_TEST() local 63 ASSERT_NE(0, serialized_size); in TYPED_TEST() 66 ASSERT_TRUE(Deserialize(this->buffer, serialized_size, &deserialized_obj)); in TYPED_TEST() 85 size_t serialized_size = Serialize(test_obj, this->buffer, this->kBufferLen); in TYPED_TEST() local 86 ASSERT_GE(serialized_size, kRootTableOffsetSize); in TYPED_TEST() 89 EXPECT_FALSE(Deserialize(nullptr, serialized_size, &new_obj)); in TYPED_TEST() 94 EXPECT_FALSE(Deserialize(this->buffer, serialized_size, &new_obj)); in TYPED_TEST()
|
D | offloadtypes_test.cc | 54 const size_t serialized_size = builder.GetSize(); in SerializationThenDeserializationCreatesEqualValue() local 56 ASSERT_NE(0, serialized_size); in SerializationThenDeserializationCreatesEqualValue() 58 flatbuffers::Verifier verifier(serialized_buff, serialized_size); in SerializationThenDeserializationCreatesEqualValue()
|
/system/gatekeeper/ |
D | gatekeeper_messages.cpp | 111 uint32_t serialized_size = nonErrorSerializedSize(); in Serialize() local 112 if (!fitsBuffer(buffer, end, serialized_size)) return 0; in Serialize() 114 bytes_written += serialized_size; in Serialize()
|
/system/iorap/include/binder/ |
D | app_launch_event.h | 220 const int serialized_size = proto->ByteSize(); in WriteProto() local 221 byte_vector.resize(serialized_size); in WriteProto() 222 if (!proto->SerializeToArray(byte_vector.data(), serialized_size)) { in WriteProto()
|
/system/keymaster/android_keymaster/ |
D | authorization_set.cpp | 308 static size_t serialized_size(const keymaster_key_param_t& param) { in serialized_size() function 420 size += serialized_size(elems_[i]); in SerializedSizeOfElements()
|
/system/keymaster/include/keymaster/ |
D | authorization_set.h | 71 explicit AuthorizationSet(const uint8_t* serialized_set, size_t serialized_size) in AuthorizationSet() argument 75 Deserialize(&serialized_set, serialized_set + serialized_size); in AuthorizationSet()
|