Lines Matching refs:shill

24 #include <dbus/shill/dbus-constants.h>
56 auto property_it = properties.find(shill::kStateProperty);
74 if ((state.compare(shill::kStateReady) == 0) ||
75 (state.compare(shill::kStatePortal) == 0) ||
76 (state.compare(shill::kStateOnline) == 0)) {
79 if ((state.compare(shill::kStateAssociation) == 0) ||
80 (state.compare(shill::kStateConfiguration) == 0)) {
83 if ((state.compare(shill::kStateFailure) == 0) ||
84 (state.compare(shill::kStateActivationFailure) == 0)) {
88 if ((state.compare(shill::kStateIdle) == 0) ||
89 (state.compare(shill::kStateOffline) == 0) ||
90 (state.compare(shill::kStateDisconnect) == 0)) {
114 bus_->GetObjectProxy(shill::kFlimflamServiceName, ObjectPath{"/"})
133 auto it = properties.find(shill::kDevicesProperty);
134 CHECK(it != properties.end()) << "shill should always publish a device list.";
135 OnManagerPropertyChange(shill::kDevicesProperty, it->second);
152 service_properties[shill::kTypeProperty] = Any{string{shill::kTypeWifi}};
153 service_properties[shill::kSSIDProperty] = Any{ssid};
155 service_properties[shill::kSecurityProperty] = Any{shill::kSecurityNone};
157 service_properties[shill::kPassphraseProperty] = Any{passphrase};
158 service_properties[shill::kSecurityProperty] = Any{shill::kSecurityPsk};
160 service_properties[shill::kSaveCredentialsProperty] = Any{true};
161 service_properties[shill::kAutoConnectProperty] = Any{true};
166 !manager_proxy_.RequestScan(shill::kTypeWifi, &brillo_error)) {
194 : shill::kErrorOutOfRange;
196 error = shill::kErrorInternal;
228 auto it = device_properties.find(shill::kInterfaceProperty);
244 Init(); // New service owner means shill reset!
259 auto it = properties.find(shill::kDevicesProperty);
261 OnManagerPropertyChange(shill::kDevicesProperty, it->second);
266 if (property_name != shill::kDevicesProperty) {
328 auto prop_it = properties.find(shill::kSelectedServiceProperty);
333 OnDevicePropertyChange(device_path, shill::kSelectedServiceProperty,
341 if (property_name != shill::kSelectedServiceProperty) {
428 for (auto name : {shill::kStateProperty, shill::kSignalStrengthProperty,
429 shill::kErrorProperty}) {
445 if (property_name == shill::kStateProperty) {
455 } else if (property_name == shill::kSignalStrengthProperty) {
459 } else if (property_name == shill::kErrorProperty) {