Home
last modified time | relevance | path

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

/external/libchrome/dbus/
Dvalues_util_unittest.cc270 MessageWriter entry_writer(nullptr); in TEST() local
272 sub_writer.OpenDictEntry(&entry_writer); in TEST()
274 entry_writer.AppendString(kKey1); in TEST()
276 entry_writer.AppendVariantOfBool(kBoolValue); in TEST()
277 sub_writer.CloseContainer(&entry_writer); in TEST()
278 sub_writer.OpenDictEntry(&entry_writer); in TEST()
280 entry_writer.AppendString(kKey2); in TEST()
282 entry_writer.AppendVariantOfInt32(kInt32Value); in TEST()
283 sub_writer.CloseContainer(&entry_writer); in TEST()
284 sub_writer.OpenDictEntry(&entry_writer); in TEST()
[all …]
Dproperty.cc601 dbus::MessageWriter entry_writer(nullptr); in AppendSetValueToWriter() local
602 dict_writer.OpenDictEntry(&entry_writer); in AppendSetValueToWriter()
603 entry_writer.AppendString(pair.first); in AppendSetValueToWriter()
604 entry_writer.AppendString(pair.second); in AppendSetValueToWriter()
605 dict_writer.CloseContainer(&entry_writer); in AppendSetValueToWriter()
709 MessageWriter entry_writer(nullptr); in AppendSetValueToWriter() local
710 dict_writer.OpenDictEntry(&entry_writer); in AppendSetValueToWriter()
712 entry_writer.AppendString(pair.first); in AppendSetValueToWriter()
715 entry_writer.OpenVariant("ay", &value_varient_writer); in AppendSetValueToWriter()
718 entry_writer.CloseContainer(&value_varient_writer); in AppendSetValueToWriter()
[all …]
Dproperty_unittest.cc447 MessageWriter entry_writer(nullptr); in TEST() local
448 dict_writer.OpenDictEntry(&entry_writer); in TEST()
450 entry_writer.AppendString(keys[i]); in TEST()
453 entry_writer.OpenVariant("ay", &value_varient_writer); in TEST()
455 entry_writer.CloseContainer(&value_varient_writer); in TEST()
457 dict_writer.CloseContainer(&entry_writer); in TEST()
502 MessageWriter entry_writer(nullptr); in TEST() local
503 dict_writer.OpenDictEntry(&entry_writer); in TEST()
505 entry_writer.AppendUint16(keys[i]); in TEST()
508 entry_writer.OpenVariant("ay", &value_varient_writer); in TEST()
[all …]
/external/libbrillo/brillo/dbus/
Ddata_serialization.h730 ::dbus::MessageWriter entry_writer(nullptr);
731 dict_writer.OpenDictEntry(&entry_writer);
735 DBusType<KEY>::Write(&entry_writer, pair.first);
736 DBusType<VALUE>::Write(&entry_writer, pair.second);
737 dict_writer.CloseContainer(&entry_writer);