/system/connectivity/shill/test-scripts/ |
H A D | test-manager | 21 properties = obj.GetProperties(utf8_strings = True) 23 for key in properties.keys(): 29 if properties[key] == dbus.Boolean(1): 34 val = int(properties[key]) 36 val = str(properties[key]) 40 if "Services" in properties.keys(): 43 map(remove_prefix, map(str, properties["Services"])))] 46 def print_properties(properties): 47 for key in properties.keys(): 49 print_sub_properties(key, properties[ke [all...] |
H A D | test-flimflam | 37 def print_properties(object_path, properties): 39 for key in properties.keys(): 45 if properties[key] == dbus.Boolean(1): 50 val = int(properties[key]) 52 val = str(properties[key]) 62 properties = network.GetProperties(utf8_strings = True) 64 if properties["Connected"] == dbus.Boolean(1): 69 if "Name" in properties.keys(): 70 name = properties["Name"] 74 strength = int(properties["Strengt [all...] |
H A D | list-services | 8 properties = service.GetProperties(utf8_strings = True) variable 12 for key in properties.keys(): 14 (key, flimflam.convert_dbus_value(properties[key], 4))
|
H A D | list-active-service | 24 # for specific service types and properties 37 properties = service.GetProperties(utf8_strings = True) 38 if not bool(properties['IsActive']): 41 if len(sys.argv) > 1 and str(properties['Type']) != sys.argv[1]: 48 requested_keys = properties.keys() 52 key, flimflam.convert_dbus_value(properties[key], 4)))
|
H A D | get-profile-entry | 37 properties = profile.GetEntry(entry_name) variable 38 for key in properties.keys(): 40 (key, flimflam.convert_dbus_value(properties[key], 4))
|
H A D | check-rssi | 38 properties = service.GetProperties(utf8_strings = True) variable 39 if "Name" not in properties: 42 name = properties["Name"] 45 (name, int(strength.get(name, -1)), int(properties.get("Strength", -1)))
|
H A D | get-service | 31 properties = service.GetProperties(utf8_strings = True) variable 35 for key in properties.keys(): 37 (key, flimflam.convert_dbus_value(properties[key], 4))
|
H A D | show-introspection | 13 properties = manager.GetProperties(utf8_strings = True) variable 15 for path in properties["Devices"]:
|
/system/connectivity/shill/ |
H A D | ppp_device.cc | 50 IPConfig::Properties properties = local 52 properties.blackhole_ipv6 = blackhole_ipv6; 53 UpdateIPConfig(properties); 61 IPConfig::Properties properties = local 63 properties.blackhole_ipv6 = blackhole_ipv6; 64 properties.mtu = mtu; 65 UpdateIPConfig(properties); 85 IPConfig::Properties properties; local 86 properties.address_family = IPAddress::kFamilyIPv4; 87 properties [all...] |
H A D | ipconfig_unittest.cc | 91 void UpdateProperties(const IPConfig::Properties& properties) { argument 92 ipconfig_->UpdateProperties(properties, true); 103 void ExpectPropertiesEqual(const IPConfig::Properties& properties) { argument 104 EXPECT_EQ(properties.address, ipconfig_->properties().address); 105 EXPECT_EQ(properties.subnet_prefix, ipconfig_->properties().subnet_prefix); 106 EXPECT_EQ(properties.broadcast_address, 107 ipconfig_->properties().broadcast_address); 108 EXPECT_EQ(properties 154 IPConfig::Properties properties; local [all...] |
H A D | mock_ipconfig.cc | 26 ON_CALL(*this, properties())
|
H A D | connection.cc | 161 const IPConfig::Properties& properties = config->properties(); local 162 user_traffic_only_ = properties.user_traffic_only; 165 IPAddress gateway(properties.address_family); 166 if (!properties.gateway.empty() && 167 !gateway.SetAddressFromString(properties.gateway)) { 168 LOG(ERROR) << "Gateway address " << properties.gateway << " is invalid"; 172 excluded_ips_cidr_ = properties.exclusion_list; 174 IPAddress trusted_ip(properties.address_family); 201 IPAddress local(properties [all...] |
H A D | mock_ipconfig.h | 36 MOCK_CONST_METHOD0(properties, const Properties& (void)); 49 return IPConfig::properties();
|
/system/bt/osi/include/ |
H A D | properties.h | 24 #include <cutils/properties.h>
|
/system/connectivity/shill/cellular/ |
H A D | cellular_bearer_unittest.cc | 103 KeyValueStore properties; local 104 properties.SetBool(MM_BEARER_PROPERTY_CONNECTED, connected); 105 properties.SetString(MM_BEARER_PROPERTY_INTERFACE, data_interface); 107 properties.SetKeyValueStore( 110 properties.SetKeyValueStore( 113 return properties; 184 KeyValueStore properties; local 187 bearer_.OnPropertiesChanged("", properties, vector<string>()); 190 properties.SetBool(MM_BEARER_PROPERTY_CONNECTED, true); 191 bearer_.OnPropertiesChanged("", properties, vecto [all...] |
H A D | cellular_bearer.cc | 85 LOG(WARNING) << "Failed to create DBus properties proxy for bearer '" 97 const KeyValueStore& properties, 105 if (properties.ContainsUint(kPropertyMethod)) { 106 method = properties.GetUint(kPropertyMethod); 118 if (!properties.ContainsString(kPropertyAddress) || 119 !properties.ContainsString(kPropertyGateway)) { 129 (*ipconfig_properties)->address = properties.GetString(kPropertyAddress); 130 (*ipconfig_properties)->gateway = properties.GetString(kPropertyGateway); 133 if (!properties.ContainsUint(kPropertyPrefix)) { 136 prefix = properties 96 GetIPConfigMethodAndProperties( const KeyValueStore& properties, IPAddress::Family address_family, IPConfig::Method* ipconfig_method, std::unique_ptr<IPConfig::Properties>* ipconfig_properties) const argument [all...] |
H A D | modem_1.cc | 63 void Modem1::CreateDeviceMM1(const InterfaceToProperties& properties) { argument 67 properties.find(MM_DBUS_INTERFACE_MODEM); 68 if (it == properties.end()) { 69 LOG(ERROR) << "Cellular device with no modem properties"; 90 CreateDeviceFromModemProperties(properties);
|
H A D | modem_simple_proxy_interface.h | 36 virtual void Connect(const KeyValueStore& properties,
|
H A D | modem_manager_1.cc | 87 const InterfaceToProperties& properties) { 96 InitModem1(modem1, properties); 100 const InterfaceToProperties& properties) { 104 modem->CreateDeviceMM1(properties); 111 const InterfaceToProperties& properties) { 112 if (ContainsKey(properties, MM_DBUS_INTERFACE_MODEM)) { 113 AddModem1(object_path, properties); 86 AddModem1(const string& path, const InterfaceToProperties& properties) argument 99 InitModem1(shared_ptr<Modem1> modem, const InterfaceToProperties& properties) argument 109 OnInterfacesAddedSignal( const string& object_path, const InterfaceToProperties& properties) argument
|
H A D | cellular_capability_universal.cc | 289 // After modem is enabled, it should be possible to get properties 425 void CellularCapabilityUniversal::Connect(const KeyValueStore& properties, argument 432 modem_simple_proxy_->Connect(properties, error, cb, kTimeoutConnect); 675 KeyValueStore* properties) { 677 FillConnectPropertyMap(properties); 681 KeyValueStore* properties) { 684 properties->SetString(kConnectNumber, kPhoneNumber); 686 properties->SetBool(kConnectAllowRoaming, AllowRoaming()); 693 properties->SetString(kConnectApn, apn_info[kApnProperty]); 695 properties 674 SetupConnectProperties( KeyValueStore* properties) argument 680 FillConnectPropertyMap( KeyValueStore* properties) argument 1121 OnModemPropertiesChanged( const KeyValueStore& properties, const vector<string>& ) argument 1462 OnModem3GPPPropertiesChanged( const KeyValueStore& properties, const vector<string>& ) argument [all...] |
H A D | modem.cc | 87 // properties already 108 const InterfaceToProperties& properties) { 116 properties.find(GetModemInterface()); 117 if (properties_it == properties.end()) { 118 LOG(ERROR) << "Unable to find modem interface properties."; 131 // Save our properties, wait for OnDeviceInfoAvailable to be called. 134 initial_properties_ = properties; 155 // Give the device a chance to extract any capability-specific properties. 156 for (properties_it = properties.begin(); properties_it != properties 107 CreateDeviceFromModemProperties( const InterfaceToProperties& properties) argument 196 OnModemManagerPropertiesChanged( const string& interface, const KeyValueStore& properties) argument [all...] |
/system/connectivity/shill/supplicant/ |
H A D | supplicant_event_delegate_interface.h | 33 const KeyValueStore& properties) = 0; 40 virtual void Certification(const KeyValueStore& properties) = 0; 47 // properties. 48 virtual void PropertiesChanged(const KeyValueStore& properties) = 0;
|
/system/update_engine/update_manager/ |
H A D | real_shill_provider.cc | 75 brillo::VariantDictionary properties; local 77 if (!manager_proxy->GetProperties(&properties, &error)) 81 properties.find(shill::kDefaultServiceProperty); 82 if (prop_default_service != properties.end()) { 138 // Get the connection properties synchronously. 139 brillo::VariantDictionary properties; local 141 if (!service->GetProperties(&properties, &error)) { 148 const auto& prop_tethering = properties.find(shill::kTetheringProperty); 149 if (prop_tethering == properties.end()) { 164 const auto& prop_type = properties [all...] |
/system/connectivity/shill/dhcp/ |
H A D | dhcpv4_config.cc | 146 IPConfig::Properties properties; local 147 CHECK(ParseConfiguration(configuration, &properties)); 160 IPConfig::UpdateProperties(properties, false); 163 DHCPConfig::UpdateProperties(properties, true); 271 const string& classless_routes, IPConfig::Properties* properties) { 311 if (destination.prefix() == 0 && properties->gateway.empty()) { 316 CHECK(gateway.IntoString(&properties->gateway)); 331 properties->routes.swap(routes); 339 IPConfig::Properties* properties) { 341 properties 270 ParseClasslessStaticRoutes( const string& classless_routes, IPConfig::Properties* properties) argument 338 ParseConfiguration(const KeyValueStore& configuration, IPConfig::Properties* properties) argument [all...] |
/system/nativepower/daemon/ |
H A D | system_property_setter.cc | 19 #include <cutils/properties.h>
|