Home
last modified time | relevance | path

Searched refs:VariantDictionary (Results 1 – 11 of 11) sorted by relevance

/external/libbrillo/brillo/
Dvariant_dictionary_test.cc11 using brillo::VariantDictionary;
14 TEST(VariantDictionary, GetVariantValueOrDefault) { in TEST() argument
15 VariantDictionary dictionary; in TEST()
Dvariant_dictionary.h16 using VariantDictionary = std::map<std::string, brillo::Any>; variable
22 const T GetVariantValueOrDefault(const VariantDictionary& dictionary, in GetVariantValueOrDefault()
24 VariantDictionary::const_iterator it = dictionary.find(key); in GetVariantValueOrDefault()
Dtype_name_undecorate_test.cc26 GetTypeTag<VariantDictionary>()); in TEST()
/external/libbrillo/brillo/dbus/
Ddbus_param_reader_test.cc50 VariantDictionary{{"key", std::string{"value"}}}); in TEST()
53 auto callback = [&called](bool p1, int p2, const VariantDictionary& p3) { in TEST()
60 EXPECT_TRUE((DBusParamReader<false, bool, int, VariantDictionary>::Invoke( in TEST()
71 VariantDictionary{{"key", std::string{"value"}}}); in TEST()
180 VariantDictionary{{"key", std::string{"value"}}}); in TEST()
187 const VariantDictionary& p5, in TEST()
203 VariantDictionary, in TEST()
214 VariantDictionary{{"key", std::string{"value"}}}); in TEST()
Dexported_property_set.h99 using PropertyWriter = base::Callback<void(VariantDictionary* dict)>;
123 VariantDictionary HandleGetAll(const std::string& interface_name);
138 VariantDictionary GetInterfaceProperties(
146 VariantDictionary* dict);
161 DBusSignal<std::string, VariantDictionary, std::vector<std::string>>;
Dexported_property_set.cc67 VariantDictionary ExportedPropertySet::HandleGetAll( in HandleGetAll()
73 VariantDictionary ExportedPropertySet::GetInterfaceProperties( in GetInterfaceProperties()
75 VariantDictionary properties; in GetInterfaceProperties()
86 VariantDictionary* dict) { in WritePropertiesToDict()
149 VariantDictionary changed_properties{ in HandlePropertyUpdated()
Dexported_object_manager.cc49 VariantDictionary property_dict; in ClaimInterface()
51 std::map<std::string, VariantDictionary> interfaces_and_properties{ in ClaimInterface()
93 std::map<std::string, VariantDictionary>& interfaces = in HandleGetManagedObjects()
Dexported_object_manager.h84 std::map<::dbus::ObjectPath, std::map<std::string, VariantDictionary>>;
121 DBusSignal<::dbus::ObjectPath, std::map<std::string, VariantDictionary>>;
Ddata_serialization_test.cc476 VariantDictionary dict_sv{{"k1", 1}, {"k2", "v2"}}; in TEST()
514 dict_sv_out.Get<VariantDictionary>().at("k1").Get<int>()); in TEST()
516 dict_sv_out.Get<VariantDictionary>().at("k2").Get<std::string>()); in TEST()
524 VariantDictionary dict_sv{{"k1", 1}, {"k2", "v2"}}; in TEST()
525 std::tuple<uint32_t, VariantDictionary> u32_dict_sv_struct = in TEST()
538 u32_dict_sv_struct_out_any.Get<std::tuple<uint32_t, VariantDictionary>>(); in TEST()
541 VariantDictionary dict_sv_out = std::get<1>(u32_dict_sv_struct_out); in TEST()
548 TEST(DBusUtils, VariantDictionary) { in TEST() argument
551 VariantDictionary values{ in TEST()
569 VariantDictionary values_out; in TEST()
[all …]
Ddata_serialization.cc210 return PopTypedValueFromReader<brillo::VariantDictionary>(reader, value); in PopArrayValueFromReader()
215 return PopTypedArrayFromReader<brillo::VariantDictionary>(reader, value); in PopArrayValueFromReader()
221 std::string, brillo::VariantDictionary>(reader, value); in PopArrayValueFromReader()
264 std::tuple<uint32_t, brillo::VariantDictionary>>(reader, value); in PopStructValueFromReader()
Dexported_object_manager_test.cc36 void WriteTestPropertyDict(VariantDictionary* dict) { in WriteTestPropertyDict()