Searched refs:VariantDictionary (Results 1 – 11 of 11) sorted by relevance
/external/libbrillo/brillo/ |
D | variant_dictionary_test.cc | 11 using brillo::VariantDictionary; 14 TEST(VariantDictionary, GetVariantValueOrDefault) { in TEST() argument 15 VariantDictionary dictionary; in TEST()
|
D | variant_dictionary.h | 16 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()
|
D | type_name_undecorate_test.cc | 26 GetTypeTag<VariantDictionary>()); in TEST()
|
/external/libbrillo/brillo/dbus/ |
D | dbus_param_reader_test.cc | 50 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()
|
D | exported_property_set.h | 99 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>>;
|
D | exported_property_set.cc | 67 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()
|
D | exported_object_manager.cc | 49 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()
|
D | exported_object_manager.h | 84 std::map<::dbus::ObjectPath, std::map<std::string, VariantDictionary>>; 121 DBusSignal<::dbus::ObjectPath, std::map<std::string, VariantDictionary>>;
|
D | data_serialization_test.cc | 476 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 …]
|
D | data_serialization.cc | 210 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()
|
D | exported_object_manager_test.cc | 36 void WriteTestPropertyDict(VariantDictionary* dict) { in WriteTestPropertyDict()
|