/system/connectivity/shill/ |
D | key_value_store.cc | 32 properties_.clear(); in Clear() 36 return properties_.empty(); in IsEmpty() 40 properties_ = b.properties_; in CopyFrom() 44 return properties_ == rhs.properties_; in operator ==() 48 return properties_ != rhs.properties_; in operator !=() 52 return ContainsKey(properties_, name) && in ContainsBool() 53 properties_.find(name)->second.IsTypeCompatible<bool>(); in ContainsBool() 57 return ContainsKey(properties_, name) && in ContainsByteArrays() 58 properties_.find(name)->second in ContainsByteArrays() 63 return ContainsKey(properties_, name) && in ContainsInt() [all …]
|
D | dhcp_properties_unittest.cc | 58 EXPECT_TRUE(dhcp_properties_.properties_.IsEmpty()); in TEST_F() 89 dhcp_properties_.properties_.SetString("Hostname", kHostname); in TEST_F() 93 EXPECT_EQ(kOverrideValue, dhcp_properties_.properties_.GetString("Hostname")); in TEST_F() 102 EXPECT_EQ(kHostname, dhcp_properties_.properties_.GetString("Hostname")); in TEST_F() 108 dhcp_properties_.properties_.SetString("Hostname", kHostname); in TEST_F() 112 EXPECT_EQ(kHostname, dhcp_properties_.properties_.GetString("Hostname")); in TEST_F() 118 dhcp_properties_.properties_.SetString("Hostname", kHostname); in TEST_F() 139 dhcp_properties_.properties_.SetString("Hostname", kHostname); in TEST_F() 144 EXPECT_FALSE(dhcp_properties_.properties_.ContainsString("Hostname")); in TEST_F() 164 EXPECT_TRUE(dhcp_properties_.properties_.IsEmpty()); in TEST_F() [all …]
|
D | ipconfig.cc | 82 store_.RegisterConstString(kAddressProperty, &properties_.address); in Init() 84 &properties_.broadcast_address); in Init() 85 store_.RegisterConstString(kDomainNameProperty, &properties_.domain_name); in Init() 87 &properties_.accepted_hostname); in Init() 88 store_.RegisterConstString(kGatewayProperty, &properties_.gateway); in Init() 89 store_.RegisterConstString(kMethodProperty, &properties_.method); in Init() 90 store_.RegisterConstInt32(kMtuProperty, &properties_.mtu); in Init() 91 store_.RegisterConstStrings(kNameServersProperty, &properties_.dns_servers); in Init() 92 store_.RegisterConstString(kPeerAddressProperty, &properties_.peer_address); in Init() 93 store_.RegisterConstInt32(kPrefixlenProperty, &properties_.subnet_prefix); in Init() [all …]
|
D | dhcp_properties.cc | 83 properties_.Clear(); in Load() 87 properties_.SetString(name, property_value); in Load() 97 if (properties_.Contains(name)) { in Save() 100 property_value = properties_.GetString(name); in Save() 115 to_return->properties_ = base.properties_; in Combine() 116 for (const auto& it : to_merge.properties_.properties()) { in Combine() 119 to_return->properties_.Set(name, value); in Combine() 126 if (properties_.ContainsString(name)) { in GetValueForProperty() 127 *value = properties_.GetString(name); in GetValueForProperty() 136 if (properties_.ContainsString(kPropertyNames[index])) { in ClearMappedStringProperty() [all …]
|
D | geolocation_info.cc | 33 properties_[key] = value; in AddField() 38 return properties_.find(key)->second; in GetFieldValue() 42 return properties_ == info.properties_; in Equals()
|
D | geolocation_info.h | 41 return properties_; in properties() 50 std::map<std::string, std::string> properties_; variable
|
D | connection_unittest.cc | 100 properties_.address = kIPAddress0; in SetUp() 101 properties_.subnet_prefix = kPrefix0; in SetUp() 102 properties_.gateway = kGatewayAddress0; in SetUp() 103 properties_.broadcast_address = kBroadcastAddress0; in SetUp() 104 properties_.dns_servers.push_back(kNameServer0); in SetUp() 105 properties_.dns_servers.push_back(kNameServer1); in SetUp() 106 properties_.domain_search.push_back(kSearchDomain0); in SetUp() 107 properties_.domain_search.push_back(kSearchDomain1); in SetUp() 108 properties_.address_family = IPAddress::kFamilyIPv4; in SetUp() 137 ipconfig_->UpdateProperties(properties_, true); in UpdateProperties() [all …]
|
D | dhcp_properties.h | 72 const KeyValueStore& properties() const { return properties_; }; in properties() 99 KeyValueStore properties_; variable
|
D | ipconfig.h | 158 void set_properties(const Properties& props) { properties_ = props; } in set_properties() 159 virtual const Properties& properties() const { return properties_; } in properties() 250 Properties properties_; variable
|
/system/connectivity/shill/vpn/ |
D | vpn_driver.cc | 57 properties_(properties), in VPNDriver() 66 if ((properties_[i].flags & Property::kEphemeral)) { in Load() 69 const string property = properties_[i].property; in Load() 70 if (properties_[i].flags & Property::kArray) { in Load() 71 CHECK(!(properties_[i].flags & Property::kCredential)) in Load() 81 bool loaded = (properties_[i].flags & Property::kCredential) ? in Load() 99 if ((properties_[i].flags & Property::kEphemeral)) { in Save() 102 bool credential = (properties_[i].flags & Property::kCredential); in Save() 103 const string property = properties_[i].property; in Save() 104 if (properties_[i].flags & Property::kArray) { in Save() [all …]
|
/system/connectivity/shill/dbus/ |
D | chromeos_wimax_network_proxy.cc | 77 properties_.reset( in ChromeosWiMaxNetworkProxy() 83 properties_->ConnectSignals(); in ChromeosWiMaxNetworkProxy() 84 properties_->GetAll(); in ChromeosWiMaxNetworkProxy() 103 if (!properties_->identifier.GetAndBlock()) { in Identifier() 107 return properties_->identifier.value(); in Identifier() 112 if (!properties_->name.GetAndBlock()) { in Name() 116 return properties_->name.value(); in Name() 121 if (!properties_->type.GetAndBlock()) { in Type() 125 return properties_->type.value(); in Type() 130 if (!properties_->cinr.GetAndBlock()) { in CINR() [all …]
|
D | chromeos_wimax_device_proxy.cc | 81 properties_.reset( in ChromeosWiMaxDeviceProxy() 87 properties_->ConnectSignals(); in ChromeosWiMaxDeviceProxy() 88 properties_->GetAll(); in ChromeosWiMaxDeviceProxy() 181 if (!properties_->index.GetAndBlock()) { in Index() 185 return properties_->index.value(); in Index() 190 if (!properties_->name.GetAndBlock()) { in Name() 194 return properties_->name.value(); in Name() 200 KeyValueStore::ConvertPathsToRpcIdentifiers(properties_->networks.value(), in Networks()
|
D | chromeos_supplicant_network_proxy.cc | 59 properties_.reset( in ChromeosSupplicantNetworkProxy() 75 properties_->ConnectSignals(); in ChromeosSupplicantNetworkProxy() 76 properties_->GetAll(); in ChromeosSupplicantNetworkProxy() 85 if(!properties_->enabled.SetAndBlock(enabled)) { in SetEnabled()
|
D | chromeos_wimax_manager_proxy.cc | 77 properties_.reset( in ChromeosWiMaxManagerProxy() 83 properties_->ConnectSignals(); in ChromeosWiMaxManagerProxy() 84 properties_->GetAll(); in ChromeosWiMaxManagerProxy() 113 if (!properties_->devices.GetAndBlock()) { in Devices() 118 KeyValueStore::ConvertPathsToRpcIdentifiers(properties_->devices.value(), in Devices()
|
D | chromeos_supplicant_process_proxy.cc | 74 properties_.reset( in ChromeosSupplicantProcessProxy() 100 properties_->ConnectSignals(); in ChromeosSupplicantProcessProxy() 101 properties_->GetAll(); in ChromeosSupplicantProcessProxy() 183 if (!properties_->debug_level.SetAndBlock(level)) { in SetDebugLevel() 196 if (!properties_->debug_level.GetAndBlock()) { in GetDebugLevel() 200 *level = properties_->debug_level.value(); in GetDebugLevel()
|
D | chromeos_modem_gsm_card_proxy.cc | 61 properties_.reset( in ChromeosModemGSMCardProxy() 70 properties_->ConnectSignals(); in ChromeosModemGSMCardProxy() 71 properties_->GetAll(); in ChromeosModemGSMCardProxy() 213 if (!properties_->enabled_facility_locks.GetAndBlock()) { in EnabledFacilityLocks() 217 return properties_->enabled_facility_locks.value(); in EnabledFacilityLocks()
|
D | chromeos_modem_cdma_proxy.cc | 75 properties_.reset( in ChromeosModemCDMAProxy() 84 properties_->ConnectSignals(); in ChromeosModemCDMAProxy() 85 properties_->GetAll(); in ChromeosModemCDMAProxy() 133 if (!properties_->meid.GetAndBlock()) { in MEID() 137 return properties_->meid.value(); in MEID()
|
D | chromeos_modem_gsm_network_proxy.cc | 77 properties_.reset( in ChromeosModemGSMNetworkProxy() 86 properties_->ConnectSignals(); in ChromeosModemGSMNetworkProxy() 87 properties_->GetAll(); in ChromeosModemGSMNetworkProxy() 150 if (!properties_->access_technology.GetAndBlock()) { in AccessTechnology() 154 return properties_->access_technology.value(); in AccessTechnology()
|
D | chromeos_supplicant_interface_proxy.cc | 73 properties_.reset( in ChromeosSupplicantInterfaceProxy() 135 properties_->ConnectSignals(); in ChromeosSupplicantInterfaceProxy() 136 properties_->GetAll(); in ChromeosSupplicantInterfaceProxy() 392 if (!properties_->fast_reauth.SetAndBlock(enabled)) { in SetFastReauth() 403 if (!properties_->roam_threshold.SetAndBlock(threshold)) { in SetRoamThreshold() 415 if (!properties_->scan_interval.SetAndBlock(scan_interval)) { in SetScanInterval() 428 if (!properties_->disable_high_bitrates.SetAndBlock(disable_high_bitrates)) { in SetDisableHighBitrates() 439 if (!properties_->sched_scan.SetAndBlock(enable)) { in SetSchedScan() 450 if (!properties_->scan.SetAndBlock(enable)) { in SetScan()
|
D | chromeos_supplicant_network_proxy.h | 73 std::unique_ptr<PropertySet> properties_; variable
|
/system/connectivity/shill/dhcp/ |
D | dhcpv6_config.cc | 112 DHCPConfig::UpdateProperties(properties_, true); in ProcessEventSignal() 133 properties_ = IPConfig::Properties(); in CleanupClientState() 147 properties_.method = kTypeDHCP6; in ParseConfiguration() 148 properties_.address_family = IPAddress::kFamilyIPv6; in ParseConfiguration() 154 properties_.address = value.Get<string>(); in ParseConfiguration() 156 properties_.dns_servers = value.Get<vector<string>>(); in ParseConfiguration() 158 properties_.domain_search = value.Get<vector<string>>(); in ParseConfiguration() 163 properties_.delegated_prefix = value.Get<string>(); in ParseConfiguration() 165 properties_.delegated_prefix_length = value.Get<uint32_t>(); in ParseConfiguration() 176 if (properties_.lease_duration_seconds == 0 || in UpdateLeaseTime() [all …]
|
D | dhcpv6_config_unittest.cc | 202 EXPECT_EQ(kConfigIPAddress, config_->properties_.address); in TEST_F() 203 EXPECT_EQ(kConfigDelegatedPrefix, config_->properties_.delegated_prefix); in TEST_F() 205 config_->properties_.delegated_prefix_length); in TEST_F() 206 ASSERT_EQ(1, config_->properties_.dns_servers.size()); in TEST_F() 207 EXPECT_EQ(kConfigNameServer, config_->properties_.dns_servers[0]); in TEST_F() 208 ASSERT_EQ(1, config_->properties_.domain_search.size()); in TEST_F() 209 EXPECT_EQ(kConfigDomainSearch, config_->properties_.domain_search[0]); in TEST_F() 212 config_->properties_.lease_duration_seconds); in TEST_F()
|
/system/nativepower/daemon/ |
D | system_property_setter_stub.cc | 27 const auto it = properties_.find(key); in GetProperty() 28 return it != properties_.end() ? it->second : std::string(); in GetProperty() 33 properties_[key] = value; in SetProperty()
|
D | system_property_setter_stub.h | 43 std::map<std::string, std::string> properties_;
|
/system/bt/vendor_libs/test_vendor_lib/src/ |
D | dual_mode_controller.cc | 145 properties_(kControllerPropertiesFile) { in DualModeController() 287 SendCommandComplete(HCI_READ_BUFFER_SIZE, properties_.GetBufferSize()); in HciReadBufferSize() 300 properties_.GetLocalVersionInformation()); in HciReadLocalVersionInformation() 305 std::vector<uint8_t> bd_address_with_status = properties_.GetBdAddress(); in HciReadBdAddr() 315 properties_.GetLocalSupportedCommands()); in HciReadLocalSupportedCommands() 322 properties_.GetLocalExtendedFeatures(args[0])); in HciReadLocalExtendedFeatures() 383 SendCommandComplete(HCI_READ_LOCAL_NAME, properties_.GetLocalName()); in HciReadLocalName()
|