Searched refs:variant_writer (Results 1 – 6 of 6) sorted by relevance
/external/libchrome/dbus/ |
D | property.cc | 508 MessageWriter variant_writer(nullptr); in AppendSetValueToWriter() local 509 writer->OpenVariant("as", &variant_writer); in AppendSetValueToWriter() 510 variant_writer.AppendArrayOfStrings(set_value_); in AppendSetValueToWriter() 511 writer->CloseContainer(&variant_writer); in AppendSetValueToWriter() 532 MessageWriter variant_writer(nullptr); in AppendSetValueToWriter() local 533 writer->OpenVariant("ao", &variant_writer); in AppendSetValueToWriter() 534 variant_writer.AppendArrayOfObjectPaths(set_value_); in AppendSetValueToWriter() 535 writer->CloseContainer(&variant_writer); in AppendSetValueToWriter() 560 MessageWriter variant_writer(nullptr); in AppendSetValueToWriter() local 561 writer->OpenVariant("ay", &variant_writer); in AppendSetValueToWriter() [all …]
|
D | property_unittest.cc | 334 MessageWriter variant_writer(nullptr); in TEST() local 338 writer.OpenVariant("a{ss}", &variant_writer); in TEST() 339 variant_writer.OpenArray("{ss}", &variant_array_writer); in TEST() 347 variant_writer.CloseContainer(&variant_array_writer); in TEST() 348 writer.CloseContainer(&variant_writer); in TEST() 381 MessageWriter variant_writer(nullptr); in TEST() local 385 writer.OpenVariant("a(ayq)", &variant_writer); in TEST() 386 variant_writer.OpenArray("(ayq)", &variant_array_writer); in TEST() 395 variant_writer.CloseContainer(&variant_array_writer); in TEST() 396 writer.CloseContainer(&variant_writer); in TEST() [all …]
|
D | message_unittest.cc | 423 MessageWriter variant_writer(nullptr); in TEST() local 425 array_writer.OpenVariant("b", &variant_writer); in TEST() 426 variant_writer.AppendBool(true); in TEST() 427 array_writer.CloseContainer(&variant_writer); in TEST() 432 MessageWriter variant_writer(nullptr); in TEST() local 434 array_writer.OpenVariant("(si)", &variant_writer); in TEST() 437 variant_writer.OpenStruct(&struct_writer); in TEST() 440 variant_writer.CloseContainer(&struct_writer); in TEST() 442 array_writer.CloseContainer(&variant_writer); in TEST() 447 MessageWriter variant_writer(nullptr); in TEST() local [all …]
|
D | values_util.cc | 302 MessageWriter variant_writer(nullptr); in AppendValueDataAsVariant() local 303 writer->OpenVariant(GetTypeSignature(value), &variant_writer); in AppendValueDataAsVariant() 304 AppendValueData(&variant_writer, value); in AppendValueDataAsVariant() 305 writer->CloseContainer(&variant_writer); in AppendValueDataAsVariant()
|
D | message.cc | 709 MessageWriter variant_writer(message_); in AppendVariantOfBasic() local 710 OpenVariant(signature, &variant_writer); in AppendVariantOfBasic() 711 variant_writer.AppendBasic(dbus_type, value); in AppendVariantOfBasic() 712 CloseContainer(&variant_writer); in AppendVariantOfBasic()
|
/external/libbrillo/brillo/dbus/ |
D | data_serialization.h | 854 ::dbus::MessageWriter variant_writer(nullptr); 855 writer->OpenVariant(data_type, &variant_writer); 859 DBusType<T>::Write(&variant_writer, value); 860 writer->CloseContainer(&variant_writer);
|