| /openbmc/phosphor-user-manager/test/ |
| H A D | ldap_config_test.cpp | 116 auto configFilePath = std::string(dir.c_str()) + "/" + ldapConfFile; in TEST_F() local 121 if (fs::exists(configFilePath)) in TEST_F() 123 fs::remove(configFilePath); in TEST_F() 125 EXPECT_FALSE(fs::exists(configFilePath)); in TEST_F() 126 MockConfigMgr manager(bus, LDAP_CONFIG_ROOT, configFilePath.c_str(), in TEST_F() 154 EXPECT_TRUE(fs::exists(configFilePath)); in TEST_F() 176 auto configFilePath = std::string(dir.c_str()) + "/" + ldapConfFile; in TEST_F() local 181 if (fs::exists(configFilePath)) in TEST_F() 183 fs::remove(configFilePath); in TEST_F() 185 EXPECT_FALSE(fs::exists(configFilePath)); in TEST_F() [all …]
|
| /openbmc/openpower-vpd-parser/vpd-manager/src/ |
| H A D | vpd_parser_main.cpp | 44 std::string configFilePath{}; in main() local 46 app.add_option("-c,--config", configFilePath, "Path to JSON config"); in main() 62 if (!configFilePath.empty()) in main() 65 "Processing with config file - " + configFilePath); in main() 68 std::make_shared<vpd::Worker>(configFilePath); in main()
|
| /openbmc/phosphor-logging/test/ |
| H A D | remote_logging_test_config.cpp | 32 EXPECT_EQ(getConfig(configFilePath.c_str()), "*.* /dev/null"); in TEST_F() 38 EXPECT_EQ(getConfig(configFilePath.c_str()), "*.* /dev/null"); in TEST_F() 45 EXPECT_EQ(getConfig(configFilePath.c_str()), "*.* @@1.1.1.1:100"); in TEST_F() 52 EXPECT_EQ(getConfig(configFilePath.c_str()), "*.* @@1.1.1.1:100"); in TEST_F() 54 EXPECT_EQ(getConfig(configFilePath.c_str()), "*.* /dev/null"); in TEST_F() 61 EXPECT_EQ(getConfig(configFilePath.c_str()), "*.* @@1.1.1.1:100"); in TEST_F() 63 EXPECT_EQ(getConfig(configFilePath.c_str()), "*.* /dev/null"); in TEST_F() 70 EXPECT_EQ(getConfig(configFilePath.c_str()), "*.* @@[abcd:ef01::01]:50000"); in TEST_F() 182 EXPECT_EQ(getConfig(configFilePath.c_str()), "*.* @[abcd:ef01::01]:50000"); in TEST_F()
|
| H A D | remote_logging_tests.hpp | 41 configFilePath = std::string(dir.c_str()) + "/server.conf"; in TestRemoteLogging() 43 configFilePath.c_str()); in TestRemoteLogging() 57 std::string configFilePath; member in phosphor::logging::test::TestRemoteLogging
|
| /openbmc/dbus-sensors/src/cable-monitor/ |
| H A D | CableMonitor.cpp | 57 auto configFilePath = in configUpdateHandler() local 59 if (!std::filesystem::exists(configFilePath)) in configUpdateHandler() 61 error("Config file {NAME} does not exist", "NAME", configFilePath); in configUpdateHandler() 64 expectedCables = co_await Config::processConfig(configFilePath); in configUpdateHandler() 86 auto configFilePath = in start() local 88 if (std::filesystem::exists(configFilePath)) in start()
|
| /openbmc/phosphor-logging/phosphor-rsyslog-config/ |
| H A D | server-conf.hpp | 45 configFilePath(filePath), in Server() 55 restore(configFilePath.c_str()); in Server() 114 std::string configFilePath{}; member in phosphor::rsyslog_config::Server
|
| H A D | server-conf.cpp | 143 writeConfig(value, port(), transportProtocol(), configFilePath.c_str()); in address() 176 configFilePath.c_str()); in port() 205 writeConfig(address(), port(), value, configFilePath.c_str()); in transportProtocol()
|
| /openbmc/phosphor-power/phosphor-power-sequencer/src/ |
| H A D | power_control.cpp | 302 if (!configFilePath.empty() || types.empty()) in compatibleSystemTypesFound() 314 configFilePath = config_file_parser::find(types); in compatibleSystemTypesFound() 315 if (!configFilePath.empty()) in compatibleSystemTypesFound() 366 configFilePath.string())); in loadConfigFile() 368 config_file_parser::parse(configFilePath); in loadConfigFile() 383 configFilePath = config_file_parser::getDefaultConfigFilePath(); in findConfigFile()
|
| H A D | power_control.hpp | 91 std::filesystem::path configFilePath; member in phosphor::power::sequencer::PowerControl
|
| /openbmc/phosphor-power/phosphor-power-sequencer/test/ |
| H A D | config_file_parser_tests.cpp | 81 fs::path configFilePath = configFileDirPath; in TEST() local 82 configFilePath /= "com.acme.Hardware.Chassis.Model.MegaServer4CPU.json"; in TEST() 83 writeConfigFile(configFilePath, std::string{""}); in TEST() 86 EXPECT_EQ(pathFound, configFilePath); in TEST() 94 fs::path configFilePath = configFileDirPath; in TEST() local 95 configFilePath /= "com.acme.Hardware.Chassis.Model.MegaServer.json"; in TEST() 96 writeConfigFile(configFilePath, std::string{""}); in TEST() 99 EXPECT_EQ(pathFound, configFilePath); in TEST() 107 fs::path configFilePath = configFileDirPath; in TEST() local 108 configFilePath /= "MegaServer.json"; in TEST() [all …]
|
| /openbmc/phosphor-user-manager/phosphor-ldap-config/ |
| H A D | ldap_config_mgr.cpp | 143 bus, objPath.c_str(), configFilePath.c_str(), tlsCacertFile.c_str(), in createConfig() 155 bus, objPath.c_str(), configFilePath.c_str(), tlsCacertFile.c_str(), in createConfig() 171 bus, openLDAPDbusObjectPath.c_str(), configFilePath.c_str(), in createDefaultObjects() 179 bus, adDbusObjectPath.c_str(), configFilePath.c_str(), in createDefaultObjects()
|
| H A D | ldap_config_mgr.hpp | 55 dbusPersistentPath(dbusPersistentPath), configFilePath(filePath), in ConfigMgr() 112 std::string configFilePath{}; member in phosphor::ldap::ConfigMgr
|
| H A D | ldap_config.cpp | 62 tlsCertFile(certFile), configFilePath(filePath), objectPath(path), bus(bus), in Config() 113 tlsCacertFile(caCertFile), tlsCertFile(certFile), configFilePath(filePath), in Config() 302 std::fstream stream(configFilePath.c_str(), std::fstream::out); in writeConfig() 309 fs::permissions(configFilePath, permission); in writeConfig() 313 fs::permissions(configFilePath, in writeConfig()
|
| H A D | ldap_config.hpp | 249 std::string configFilePath{}; member in phosphor::ldap::Config
|
| /openbmc/phosphor-led-manager/manager/ |
| H A D | json-config.hpp | 76 auto configFilePath = fs::path{confBasePath} / configFileName; in filePathExists() 77 if (fs::exists(configFilePath)) in filePathExists() 79 confFile = configFilePath; in filePathExists()
|
| /openbmc/x86-power-control/src/ |
| H A D | power_control.cpp | 2301 const std::string configFilePath = in loadConfigValues() local 2304 std::ifstream configFile(configFilePath.c_str()); in loadConfigValues() 2308 "PATH", configFilePath); in loadConfigValues()
|