Searched refs:properties (Results 1 - 25 of 246) sorted by relevance

12345678910

/system/connectivity/shill/test-scripts/
H A Dtest-manager21 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 Dtest-flimflam37 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 Dlist-services8 properties = service.GetProperties(utf8_strings = True) variable
12 for key in properties.keys():
14 (key, flimflam.convert_dbus_value(properties[key], 4))
H A Dlist-active-service24 # 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 Dget-profile-entry37 properties = profile.GetEntry(entry_name) variable
38 for key in properties.keys():
40 (key, flimflam.convert_dbus_value(properties[key], 4))
H A Dcheck-rssi38 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 Dget-service31 properties = service.GetProperties(utf8_strings = True) variable
35 for key in properties.keys():
37 (key, flimflam.convert_dbus_value(properties[key], 4))
H A Dshow-introspection13 properties = manager.GetProperties(utf8_strings = True) variable
15 for path in properties["Devices"]:
/system/connectivity/shill/
H A Dppp_device.cc50 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 Dipconfig_unittest.cc91 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 Dmock_ipconfig.cc26 ON_CALL(*this, properties())
H A Dconnection.cc161 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 Dmock_ipconfig.h36 MOCK_CONST_METHOD0(properties, const Properties& (void));
49 return IPConfig::properties();
/system/bt/osi/include/
H A Dproperties.h24 #include <cutils/properties.h>
/system/connectivity/shill/cellular/
H A Dcellular_bearer_unittest.cc103 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 Dcellular_bearer.cc85 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 Dmodem_1.cc63 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 Dmodem_simple_proxy_interface.h36 virtual void Connect(const KeyValueStore& properties,
H A Dmodem_manager_1.cc87 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 Dcellular_capability_universal.cc289 // 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 Dmodem.cc87 // 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 Dsupplicant_event_delegate_interface.h33 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 Dreal_shill_provider.cc75 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 Ddhcpv4_config.cc146 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 Dsystem_property_setter.cc19 #include <cutils/properties.h>

Completed in 4431 milliseconds

12345678910