Home
last modified time | relevance | path

Searched refs:SerializeAsString (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dlite_unittest.cc74 string data = message.SerializeAsString(); in SetAllTypesInEmptyMessageUnknownFields()
86 string data = message.SerializeAsString(); in SetSomeTypesInEmptyMessageUnknownFields()
106 data = message.SerializeAsString(); in main()
122 string extensions_data = message.SerializeAsString(); in main()
138 packed_data = message.SerializeAsString(); in main()
154 string packed_extensions_data = message.SerializeAsString(); in main()
224 data = message.SerializeAsString(); in main()
227 data = empty_message.SerializeAsString(); in main()
229 data = message2.SerializeAsString(); in main()
240 data = message.SerializeAsString(); in main()
[all …]
Ddrop_unknown_fields_test.cc53 ASSERT_TRUE(foo.ParseFromString(foo_with_extra_fields.SerializeAsString())); in TEST()
61 ASSERT_TRUE(foo_with_extra_fields.ParseFromString(foo.SerializeAsString())); in TEST()
77 ASSERT_TRUE(foo->ParseFromString(foo_with_extra_fields.SerializeAsString())); in TEST()
80 ASSERT_TRUE(foo_with_extra_fields.ParseFromString(foo->SerializeAsString())); in TEST()
Dany_test.cc44 string data = message.SerializeAsString(); in TEST()
61 string data = message.SerializeAsString(); in TEST()
75 ASSERT_TRUE(any.ParseFromString(any.SerializeAsString())); in TEST()
81 ASSERT_TRUE(message.ParseFromString(message.SerializeAsString())); in TEST()
Dproto3_arena_unittest.cc128 arena_message->ParseFromString(original.SerializeAsString()); in TEST()
138 arena_message->ParseFromString(original.SerializeAsString()); in TEST()
Ddescriptor_database_unittest.cc499 string data1 = file1.SerializeAsString(); in TEST()
502 string data2 = file2b.SerializeAsString() + file2a.SerializeAsString(); in TEST()
Dmessage_lite.h231 string SerializeAsString() const;
Dpreserve_unknown_enum_test.cc120 string serialized = orig_message.SerializeAsString(); in TEST()
128 serialized = message->SerializeAsString(); in TEST()
Dproto3_lite_unittest.cc127 msg.ParseFromString(original.SerializeAsString()); in TEST()
Dwire_format_unittest.cc137 string data = source.SerializeAsString(); in TEST()
153 string data = source.SerializeAsString(); in TEST()
769 EXPECT_TRUE(msg2.ParseFromString(msg1.SerializeAsString())); in TEST()
1245 string wire_buffer = input.SerializeAsString(); in TEST_F()
1259 EXPECT_EQ(wire_buffer, output.SerializeAsString()); in TEST_F()
Dproto3_arena_lite_unittest.cc128 arena_message->ParseFromString(original.SerializeAsString()); in TEST()
Darena_unittest.cc251 arena_message->ParseFromString(original.SerializeAsString()); in TEST()
268 arena_message->ParseFromString(original.SerializeAsString()); in TEST()
271 copied.ParseFromString(arena_message->SerializeAsString()); in TEST()
279 copied.ParseFromString(arena_message->SerializeAsString()); in TEST()
288 copied.ParseFromString(arena_message_2->SerializeAsString()); in TEST()
/frameworks/base/cmds/bootanimation/iot/
DBootParameters_test.cpp36 bootParameters.parseBootParameters(proto.SerializeAsString()); in TEST()
47 bootParameters.parseBootParameters(proto.SerializeAsString()); in TEST()
57 bootParameters.parseBootParameters(proto.SerializeAsString()); in TEST()
75 bootParameters.parseBootParameters(proto.SerializeAsString()); in TEST()
DBootParameters.cpp104 if (!WriteStringToFile(mProto.SerializeAsString(), kLastBootFile)) { in storeParameters()
/frameworks/base/cmds/incident_helper/tests/
DKernelWakesParser_test.cpp72 EXPECT_EQ(GetCapturedStdout(), expected.SerializeAsString()); in TEST_F()
110 EXPECT_EQ(GetCapturedStdout(), expected.SerializeAsString()); in TEST_F()
DProcrankParser_test.cpp100 EXPECT_EQ(GetCapturedStdout(), expected.SerializeAsString()); in TEST_F()
138 EXPECT_EQ(GetCapturedStdout(), expected.SerializeAsString()); in TEST_F()
DBatteryTypeParser_test.cpp64 EXPECT_EQ(GetCapturedStdout(), expected.SerializeAsString()); in TEST_F()
DSystemPropertiesParser_test.cpp90 EXPECT_EQ(GetCapturedStdout(), expected.SerializeAsString()); in TEST_F()
DPageTypeInfoParser_test.cpp104 EXPECT_EQ(GetCapturedStdout(), expected.SerializeAsString()); in TEST_F()
DCpuFreqParser_test.cpp121 EXPECT_EQ(GetCapturedStdout(), expected.SerializeAsString()); in TEST_F()
DEventLogTagsParser_test.cpp123 EXPECT_EQ(GetCapturedStdout(), expected.SerializeAsString()); in TEST_F()
DCpuInfoParser_test.cpp149 EXPECT_EQ(GetCapturedStdout(), expected.SerializeAsString()); in TEST_F()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/internal/
Dprotostream_objectsource_test.cc716 nested_any.set_value(m.SerializeAsString()); in TEST_P()
718 any->set_value(nested_any.SerializeAsString()); in TEST_P()
748 second_nested_any.set_value(m.SerializeAsString()); in TEST_P()
749 nested_any.set_value(second_nested_any.SerializeAsString()); in TEST_P()
750 any->set_value(nested_any.SerializeAsString()); in TEST_P()
797 any->set_value(m.SerializeAsString()); in TEST_P()
813 any->set_value(m.SerializeAsString()); in TEST_P()
829 any->set_value(m.SerializeAsString()); in TEST_P()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/python/
Dpython_generator.cc739 OptionsValue("OneofOptions", desc->options().SerializeAsString()); in PrintDescriptor()
1252 "FileOptions", file_->options().SerializeAsString()); in FixAllDescriptorOptions()
1275 "OneofOptions", oneof.options().SerializeAsString()); in FixOptionsForOneof()
1290 "EnumOptions", enum_descriptor.options().SerializeAsString()); in FixOptionsForEnum()
1297 "EnumValueOptions", value_descriptor.options().SerializeAsString()); in FixOptionsForEnum()
1312 "FieldOptions", field.options().SerializeAsString()); in FixOptionsForField()
1358 "MessageOptions", descriptor.options().SerializeAsString()); in FixOptionsForMessage()
/frameworks/base/cmds/statsd/tests/
DStatsService_test.cpp39 string serialized = config.SerializeAsString(); in TEST()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/
Dsubprocess.cc157 string input_data = input.SerializeAsString(); in Communicate()
360 string input_data = input.SerializeAsString();

12