/system/connectivity/shill/dhcp/ |
D | dhcp_config_unittest.cc | 97 config_(new TestDHCPConfig(&control_, in DHCPConfigTest() 105 config_->process_manager_ = &process_manager_; in SetUp() 109 config_->Stop("In test"); in StopInstance() 120 TestDHCPConfigRefPtr config_; member in shill::DHCPConfigTest 142 EXPECT_FALSE(config_->proxy_.get()); in TEST_F() 145 config_->InitProxy(kService); in TEST_F() 147 EXPECT_TRUE(config_->proxy_.get()); in TEST_F() 149 config_->InitProxy(kService); in TEST_F() 156 EXPECT_FALSE(config_->Start()); in TEST_F() 157 EXPECT_EQ(0, config_->pid_); in TEST_F() [all …]
|
D | dhcpv6_config_unittest.cc | 75 config_(new DHCPv6Config(&control_, in DHCPv6ConfigTest() 82 config_->process_manager_ = &process_manager_; in SetUp() 90 config_->Stop("In test"); in StopInstance() 109 DHCPv6ConfigRefPtr config_; member in shill::DHCPv6ConfigTest 201 ASSERT_TRUE(config_->ParseConfiguration(conf)); in TEST_F() 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() [all …]
|
D | dhcpv4_config_unittest.cc | 83 config_(new DHCPv4Config(&control_, in DHCPv4ConfigTest() 93 config_->process_manager_ = &process_manager_; in SetUp() 101 config_->Stop("In test"); in StopInstance() 127 DHCPv4ConfigRefPtr config_; member in shill::DHCPv4ConfigTest 238 EXPECT_EQ("255.255.255.255", config_->GetIPv4AddressString(0xffffffff)); in TEST_F() 239 EXPECT_EQ("0.0.0.0", config_->GetIPv4AddressString(0)); in TEST_F() 240 EXPECT_EQ("1.2.3.4", config_->GetIPv4AddressString(0x04030201)); in TEST_F() 328 ASSERT_TRUE(config_->ParseConfiguration(conf, &properties)); in TEST_F() 352 ASSERT_TRUE(config_->ParseConfiguration(conf, &properties)); in TEST_F() 357 config_->set_minimum_mtu(1500); in TEST_F() [all …]
|
/system/connectivity/apmanager/ |
D | config_unittest.cc | 138 config_.reset(new Config(&manager_, 0)); in ConfigTest() 161 std::unique_ptr<Config> config_; member in apmanager::ConfigTest 190 EXPECT_TRUE(config_->ValidateSsid(&error, "s")); in TEST_F() 191 EXPECT_TRUE(config_->ValidateSsid(&error, std::string(32, 'c'))); in TEST_F() 192 EXPECT_FALSE(config_->ValidateSsid(&error, "")); in TEST_F() 193 EXPECT_FALSE(config_->ValidateSsid(&error, std::string(33, 'c'))); in TEST_F() 198 EXPECT_TRUE(config_->ValidateSecurityMode(&error, kSecurityModeNone)); in TEST_F() 199 EXPECT_TRUE(config_->ValidateSecurityMode(&error, kSecurityModeRSN)); in TEST_F() 200 EXPECT_FALSE(config_->ValidateSecurityMode(&error, "InvalidSecurityMode")); in TEST_F() 206 EXPECT_TRUE(config_->ValidatePassphrase(&error, std::string(8, 'c'))); in TEST_F() [all …]
|
D | service.cc | 73 config_(new Config(manager, service_identifier)), in Service() 78 adaptor_->SetConfig(config_.get()); in Service() 82 config_->SetServerAddressIndex(identifier_ & 0xFF); in Service() 105 config_->set_control_interface(kHostapdControlInterfacePath); in StartInternal() 109 if (!config_->GenerateConfigFile(error, &config_str)) { in StartInternal() 125 if (!config_->ClaimDevice()) { in StartInternal() 138 config_->ReleaseDevice(); in StartInternal() 143 if (config_->GetOperationMode() == kOperationModeServer) { in StartInternal() 145 dhcp_server_factory_->CreateDHCPServer(config_->GetServerAddressIndex(), in StartInternal() 146 config_->selected_interface())); in StartInternal() [all …]
|
D | service.h | 56 Config* config() const { return config_.get(); } in config() 106 std::unique_ptr<Config> config_; variable
|
D | service_unittest.cc | 101 service_->config_.reset(config); in SetConfig()
|
/system/update_engine/payload_generator/ |
D | full_update_generator_unittest.cc | 37 config_.is_delta = false; in SetUp() 38 config_.version.minor = kFullPayloadMinorVersion; in SetUp() 39 config_.hard_chunk_size = 128 * 1024; in SetUp() 40 config_.block_size = 4096; in SetUp() 54 PayloadGenerationConfig config_; member in chromeos_update_engine::FullUpdateGeneratorTest 80 EXPECT_TRUE(generator_.GenerateOperations(config_, in TEST_F() 85 int64_t new_part_chunks = new_part_conf.size / config_.hard_chunk_size; in TEST_F() 90 static_cast<uint64_t>(i * config_.hard_chunk_size / config_.block_size), in TEST_F() 93 EXPECT_EQ(config_.hard_chunk_size / config_.block_size, in TEST_F() 104 config_.hard_chunk_size = 1024 * 1024; in TEST_F() [all …]
|
/system/weaved/buffet/ |
D | buffet_config_unittest.cc | 87 config_.reset(new BuffetConfig{config_options}); in SetUp() 88 config_->SetEncryptor(this); in SetUp() 89 config_->SetFileIO(this); in SetUp() 124 std::unique_ptr<BuffetConfig> config_; member in buffet::BuffetConfigTestWithFakes 128 config_->SaveSettings("config", "test", {}); in TEST_F() 130 ASSERT_EQ("test", config_->LoadSettings("config")); in TEST_F() 134 config_->SaveSettings("config", "test", {}); in TEST_F() 137 config_->SaveSettings("config", "test2", {}); in TEST_F() 143 config_->SaveSettings("config", "test", {}); in TEST_F() 147 ASSERT_TRUE(config_->LoadSettings("config").empty()); in TEST_F() [all …]
|
D | manager.cc | 201 config_.reset(new BuffetConfig{options_.config_options}); in RestartWeave() 236 device_ = weave::Device::Create(config_.get(), task_runner_.get(), in CreateDevice() 281 config_.reset(); in Stop()
|
D | manager.h | 116 std::unique_ptr<BuffetConfig> config_; variable
|
/system/connectivity/apmanager/dbus/ |
D | config_dbus_adaptor.cc | 50 config_(config) { in ConfigDBusAdaptor() 60 config_->ValidateSsid(&internal_error, value); in ValidateSsid() 67 config_->ValidateSecurityMode(&internal_error, value); in ValidateSecurityMode() 74 config_->ValidatePassphrase(&internal_error, value); in ValidatePassphrase() 80 config_->ValidateHwMode(&internal_error, value); in ValidateHwMode() 87 config_->ValidateOperationMode(&internal_error, value); in ValidateOperationMode() 94 config_->ValidateChannel(&internal_error, value); in ValidateChannel()
|
D | config_dbus_adaptor.h | 85 Config* config_; variable
|
/system/webservd/webservd/ |
D | main.cc | 60 config_{std::move(config)} {} 64 webservd::LogManager::Init(base::FilePath{config_.log_directory}); in RegisterDBusObjectsAsync() 66 object_manager_.get(), config_, in RegisterDBusObjectsAsync() 77 webservd::Config config_; member in __anon01e120ba0111::Daemon
|
D | server.cc | 86 config_{config}, 89 config_.default_request_timeout_seconds); 101 for (auto& handler_config : config_.protocol_handlers) in RegisterAsync() 121 for (auto& handler_config : config_.protocol_handlers) { in OnFirewallServiceOnline() 221 for (auto& handler_config : config_.protocol_handlers) { in InitTlsData()
|
D | server.h | 59 const Config& GetConfig() const override { return config_; } in GetConfig() 81 Config config_; variable
|
/system/connectivity/shill/ |
D | daemon_task.cc | 59 : settings_(settings), config_(config) {} in DaemonTask() 118 config_->GetRunDirectory(), in Init() 119 config_->GetStorageDirectory(), in Init() 120 config_->GetUserStorageDirectory())); in Init()
|
D | daemon_task_unittest.cc | 84 : daemon_(DaemonTask::Settings(), &config_), in DaemonTaskTest() 127 TestConfig config_; member in shill::DaemonTaskTest
|
D | daemon_task.h | 111 Config* config_; variable
|