Home
last modified time | relevance | path

Searched refs:Any (Results 1 – 25 of 75) sorted by relevance

123

/system/connectivity/shill/test-rpc-proxy/
Dproxy_dbus_shill_wifi_client.cc40 brillo::Any property_value; in RemoveAllWifiEntries()
68 shill::kPassphraseProperty, brillo::Any(passphrase))); in ConfigureServiceByGuid()
85 shill::kTypeProperty, brillo::Any(std::string(shill::kTypeWifi)))); in ConfigureWifiService()
87 shill::kWifiHiddenSsid, brillo::Any(hidden_network))); in ConfigureWifiService()
89 shill::kSSIDProperty, brillo::Any(ssid))); in ConfigureWifiService()
91 shill::kSecurityClassProperty, brillo::Any(security))); in ConfigureWifiService()
93 shill::kModeProperty, brillo::Any(GetModeFromStationType(station_type)))); in ConfigureWifiService()
98 shill::kGuidProperty, brillo::Any(guid))); in ConfigureWifiService()
141 shill::kTypeProperty, brillo::Any(std::string(shill::kTypeWifi)))); in ConnectToWifiNetwork()
143 shill::kNameProperty, brillo::Any(ssid))); in ConnectToWifiNetwork()
[all …]
Dproxy_dbus_client.h41 const brillo::Any&)> DbusPropertyChangeCallback;
69 brillo::Any* property_value);
72 brillo::Any* property_value);
75 brillo::Any* property_value);
81 const std::vector<brillo::Any>& expected_values,
83 brillo::Any* final_value,
88 const std::vector<brillo::Any>& expected_values,
90 brillo::Any* final_value,
95 const std::vector<brillo::Any>& expected_values,
97 brillo::Any* final_value,
[all …]
Dproxy_dbus_client.cc32 brillo::Any* property_value) { in GetPropertyValueFromProxy()
47 const std::vector<brillo::Any>& expected_values, in IsProxyPropertyValueIn()
50 brillo::Any* final_value, in IsProxyPropertyValueIn()
52 brillo::Any property_value; in IsProxyPropertyValueIn()
73 const std::vector<brillo::Any>& expected_values, in PropertyChangedSignalCallback()
75 const brillo::Any& new_property_value) { in PropertyChangedSignalCallback()
211 brillo::Any* property_value) { in GetPropertyValueFromDeviceProxy()
219 brillo::Any* property_value) { in GetPropertyValueFromServiceProxy()
227 brillo::Any* property_value) { in GetPropertyValueFromProfileProxy()
235 const std::vector<brillo::Any>& expected_values, in WaitForDeviceProxyPropertyValueIn()
[all …]
Dproxy_util.h31 const brillo::Any& any_value_in,
37 brillo::Any* any_value_out);
Dproxy_shill_wifi_client.h106 brillo::Any* property_value) = 0;
109 const brillo::Any& property_value) = 0;
Dproxy_dbus_shill_wifi_client.h87 brillo::Any* property_value) override;
90 const brillo::Any& property_value) override;
/system/connectivity/shill/
Dproperty_store_unittest.h40 class PropertyStoreTest : public testing::TestWithParam<brillo::Any> {
51 static const brillo::Any kBoolV;
52 static const brillo::Any kByteV;
53 static const brillo::Any kInt16V;
54 static const brillo::Any kInt32V;
55 static const brillo::Any kKeyValueStoreV;
56 static const brillo::Any kStringV;
57 static const brillo::Any kStringmapV;
58 static const brillo::Any kStringmapsV;
59 static const brillo::Any kStringsV;
[all …]
Dproperty_store_unittest.cc53 const brillo::Any PropertyStoreTest::kBoolV = brillo::Any(false);
55 const brillo::Any PropertyStoreTest::kByteV =
56 brillo::Any(uint8_t(0));
58 const brillo::Any PropertyStoreTest::kInt16V = brillo::Any(int16_t(0));
60 const brillo::Any PropertyStoreTest::kInt32V = brillo::Any(int32_t(0));
62 const brillo::Any PropertyStoreTest::kKeyValueStoreV =
63 brillo::Any(brillo::VariantDictionary());
65 const brillo::Any PropertyStoreTest::kStringV = brillo::Any(string());
67 const brillo::Any PropertyStoreTest::kStringmapV = brillo::Any(Stringmap());
69 const brillo::Any PropertyStoreTest::kStringmapsV =
[all …]
Dkey_value_store.cc247 const brillo::Any& KeyValueStore::Get(const string& name) const { in Get()
254 properties_[name] = brillo::Any(value); in SetBool()
259 properties_[name] = brillo::Any(value); in SetByteArrays()
263 properties_[name] = brillo::Any(value); in SetInt()
267 properties_[name] = brillo::Any(value); in SetInt16()
272 properties_[name] = brillo::Any(value); in SetKeyValueStore()
276 properties_[name] = brillo::Any(dbus::ObjectPath(value)); in SetRpcIdentifier()
285 properties_[name] = brillo::Any(paths); in SetRpcIdentifiers()
289 properties_[name] = brillo::Any(value); in SetString()
294 properties_[name] = brillo::Any(value); in SetStringmap()
[all …]
Dkey_value_store_unittest.cc36 TEST_F(KeyValueStoreTest, Any) { in TEST_F() argument
40 store_.Set(kKey, brillo::Any(kValue)); in TEST_F()
680 dict[kStringKey] = brillo::Any(string(kStringValue)); in TEST_F()
681 dict[kStringmapKey] = brillo::Any(kStringmapValue); in TEST_F()
682 dict[kStringsKey] = brillo::Any(kStringsValue); in TEST_F()
683 dict[kBoolKey] = brillo::Any(kBoolValue); in TEST_F()
684 dict[kInt32Key] = brillo::Any(kInt32Value); in TEST_F()
685 dict[kUint32Key] = brillo::Any(kUint32Value); in TEST_F()
686 dict[kByteArraysKey] = brillo::Any(kByteArraysValue); in TEST_F()
687 dict[kInt16Key] = brillo::Any(kInt16Value); in TEST_F()
[all …]
Dproperty_store.cc68 const brillo::Any& value, in SetAnyProperty()
128 out->insert(std::make_pair(it.Key(), brillo::Any(it.value()))); in GetProperties()
134 out->insert(std::make_pair(it.Key(), brillo::Any(it.value()))); in GetProperties()
140 out->insert(std::make_pair(it.Key(), brillo::Any(it.value()))); in GetProperties()
149 brillo::Any(dbus::ObjectPath(it.value())))); in GetProperties()
161 std::make_pair(it.Key(), brillo::Any(rpc_identifiers_as_paths))); in GetProperties()
167 out->insert(std::make_pair(it.Key(), brillo::Any(it.value()))); in GetProperties()
173 out->insert(std::make_pair(it.Key(), brillo::Any(it.value()))); in GetProperties()
180 out->insert(std::make_pair(it.Key(), brillo::Any(it.value()))); in GetProperties()
186 out->insert(std::make_pair(it.Key(), brillo::Any(it.value()))); in GetProperties()
[all …]
Djson_store.cc94 unique_ptr<brillo::Any> DecodeCoercedValue( in DecodeCoercedValue()
115 return unique_ptr<brillo::Any>( in DecodeCoercedValue()
116 new brillo::Any(string(native_value.begin(), native_value.end()))); in DecodeCoercedValue()
124 return unique_ptr<brillo::Any>(new brillo::Any(native_value)); in DecodeCoercedValue()
145 unique_ptr<brillo::Any> decoded_value( in MakeStringFromValue()
242 unique_ptr<brillo::Any> decoded_coerced_value( in ConvertDictionaryValueToVariantDictionary()
Dmock_dbus_properties_proxy.h35 MOCK_METHOD2(Get, brillo::Any(const std::string& interface_name,
Ddbus_properties_proxy_interface.h52 virtual brillo::Any Get(const std::string& interface_name,
/system/connectivity/shill/dbus/
Dchromeos_service_dbus_adaptor.cc63 SendPropertyChangedSignal(name, brillo::Any(value)); in EmitBoolChanged()
69 SendPropertyChangedSignal(name, brillo::Any(value)); in EmitUint8Changed()
75 SendPropertyChangedSignal(name, brillo::Any(value)); in EmitUint16Changed()
81 SendPropertyChangedSignal(name, brillo::Any(value)); in EmitUint16sChanged()
87 SendPropertyChangedSignal(name, brillo::Any(value)); in EmitUintChanged()
92 SendPropertyChangedSignal(name, brillo::Any(value)); in EmitIntChanged()
98 SendPropertyChangedSignal(name, brillo::Any(dbus::ObjectPath(value))); in EmitRpcIdentifierChanged()
104 SendPropertyChangedSignal(name, brillo::Any(value)); in EmitStringChanged()
110 SendPropertyChangedSignal(name, brillo::Any(value)); in EmitStringmapChanged()
122 brillo::ErrorPtr* error, const string& name, const brillo::Any& value) { in SetProperty()
Dchromeos_ipconfig_dbus_adaptor.cc71 SendPropertyChangedSignal(name, brillo::Any(value)); in EmitBoolChanged()
77 SendPropertyChangedSignal(name, brillo::Any(value)); in EmitUintChanged()
83 SendPropertyChangedSignal(name, brillo::Any(value)); in EmitIntChanged()
89 SendPropertyChangedSignal(name, brillo::Any(value)); in EmitStringChanged()
95 SendPropertyChangedSignal(name, brillo::Any(value)); in EmitStringsChanged()
107 brillo::ErrorPtr* error, const string& name, const brillo::Any& value) { in SetProperty()
Dchromeos_profile_dbus_adaptor.cc64 SendPropertyChangedSignal(name, brillo::Any(value)); in EmitBoolChanged()
70 SendPropertyChangedSignal(name, brillo::Any(value)); in EmitUintChanged()
75 SendPropertyChangedSignal(name, brillo::Any(value)); in EmitIntChanged()
81 SendPropertyChangedSignal(name, brillo::Any(value)); in EmitStringChanged()
93 brillo::ErrorPtr* error, const string& name, const brillo::Any& value) { in SetProperty()
Dchromeos_device_dbus_adaptor.cc65 SendPropertyChangedSignal(name, brillo::Any(value)); in EmitBoolChanged()
71 SendPropertyChangedSignal(name, brillo::Any(value)); in EmitUintChanged()
77 SendPropertyChangedSignal(name, brillo::Any(value)); in EmitUint16Changed()
82 SendPropertyChangedSignal(name, brillo::Any(value)); in EmitIntChanged()
88 SendPropertyChangedSignal(name, brillo::Any(value)); in EmitStringChanged()
94 SendPropertyChangedSignal(name, brillo::Any(value)); in EmitStringmapChanged()
100 SendPropertyChangedSignal(name, brillo::Any(value)); in EmitStringmapsChanged()
106 SendPropertyChangedSignal(name, brillo::Any(value)); in EmitStringsChanged()
114 SendPropertyChangedSignal(name, brillo::Any(dict)); in EmitKeyValueStoreChanged()
120 SendPropertyChangedSignal(name, brillo::Any(dbus::ObjectPath(value))); in EmitRpcIdentifierChanged()
[all …]
Dchromeos_manager_dbus_adaptor.cc73 SendPropertyChangedSignal(name, brillo::Any(value)); in EmitBoolChanged()
79 SendPropertyChangedSignal(name, brillo::Any(value)); in EmitUintChanged()
84 SendPropertyChangedSignal(name, brillo::Any(value)); in EmitIntChanged()
90 SendPropertyChangedSignal(name, brillo::Any(value)); in EmitStringChanged()
96 SendPropertyChangedSignal(name, brillo::Any(value)); in EmitStringsChanged()
103 SendPropertyChangedSignal(name, brillo::Any(dbus::ObjectPath(value))); in EmitRpcIdentifierChanged()
115 SendPropertyChangedSignal(name, brillo::Any(paths)); in EmitRpcIdentifierArrayChanged()
128 const brillo::Any& value) { in SetProperty()
412 networks->insert(std::make_pair(network.first, brillo::Any(value))); in GetNetworksForGeolocation()
Dchromeos_dbus_properties_proxy.cc69 brillo::Any ChromeosDBusPropertiesProxy::Get(const string& interface_name, in Get()
73 brillo::Any value; in Get()
Dchromeos_dbus_properties_proxy.h41 brillo::Any Get(const std::string& interface_name,
/system/weaved/buffet/
Dshill_client.cc31 using brillo::Any;
152 service_properties[shill::kTypeProperty] = Any{string{shill::kTypeWifi}}; in Connect()
153 service_properties[shill::kSSIDProperty] = Any{ssid}; in Connect()
155 service_properties[shill::kSecurityProperty] = Any{shill::kSecurityNone}; in Connect()
157 service_properties[shill::kPassphraseProperty] = Any{passphrase}; in Connect()
158 service_properties[shill::kSecurityProperty] = Any{shill::kSecurityPsk}; in Connect()
160 service_properties[shill::kSaveCredentialsProperty] = Any{true}; in Connect()
161 service_properties[shill::kAutoConnectProperty] = Any{true}; in Connect()
265 const Any& property_value) { in OnManagerPropertyChange()
339 const Any& property_value) { in OnDevicePropertyChange()
[all …]
Dshill_client.h84 const brillo::Any& property_value);
91 const brillo::Any& property_value);
98 const brillo::Any& property_value);
/system/connectivity/shill/setup_wifi/
Dmain.cc96 std::map<std::string, brillo::Any> GetServiceConfig() { in GetServiceConfig()
97 std::map<std::string, brillo::Any> configure_dict; in GetServiceConfig()
/system/update_engine/include/shill/
Ddbus-proxy-mocks.h38 const brillo::Any&,
43 const brillo::Any&,
421 const brillo::Any&)>& /*signal_callback*/,
454 const brillo::Any&,
459 const brillo::Any&,
538 const brillo::Any&)>& /*signal_callback*/,

123