Home
last modified time | relevance | path

Searched refs:getInstance (Results 1 – 25 of 33) sorted by relevance

12

/openbmc/bmcweb/include/
H A Dpersistent_data.hpp35 persistent_data::SessionStore::getInstance().applySessionTimeouts(); in ~ConfigFile()
36 if (persistent_data::SessionStore::getInstance().needsWrite()) in ~ConfigFile()
98 SessionStore::getInstance() in readData()
120 SessionStore::getInstance().authTokens.emplace( in readData()
137 SessionStore::getInstance().updateSessionTimeout( in readData()
152 EventServiceStore::getInstance() in readData()
173 EventServiceStore::getInstance() in readData()
218 SessionStore::getInstance().getAuthMethodsConfig(); in writeData()
220 EventServiceStore::getInstance().getEventServiceConfig(); in writeData()
246 for (const auto& p : SessionStore::getInstance().authTokens) in writeData()
[all …]
H A Dauthentication.hpp67 persistent_data::SessionStore::getInstance().getSessions()) in performBasicAuth()
84 return persistent_data::SessionStore::getInstance().generateUserSession( in performBasicAuth()
99 persistent_data::SessionStore::getInstance().loginSessionByToken(token); in performTokenAuth()
114 persistent_data::SessionStore::getInstance().loginSessionByToken(token); in performXtokenAuth()
148 persistent_data::SessionStore::getInstance().loginSessionByToken( in performCookieAuth()
249 persistent_data::SessionStore::getInstance().getAuthMethodsConfig(); in authenticate()
H A Duser_monitor.hpp17 persistent_data::SessionStore::getInstance().removeSessionsByUsername( in onUserRemoved()
H A Dlogin_routes.hpp165 persistent_data::SessionStore::getInstance() in handleLogin()
195 persistent_data::SessionStore::getInstance().removeSession(session); in handleLogout()
H A Dforward_unauthorized.hpp51 if (!persistent_data::SessionStore::getInstance() in sendUnauthorized()
/openbmc/bmcweb/redfish-core/lib/
H A Devent_service.hpp81 persistent_data::EventServiceStore::getInstance() in requestRoutesEventService()
131 persistent_data::EventServiceStore::getInstance() in requestRoutesEventService()
170 EventServiceManager::getInstance().setEventServiceConfig( in requestRoutesEventService()
187 if (!EventServiceManager::getInstance().sendTestEventLog()) in requestRoutesSubmitTestEvent()
252 EventServiceManager::getInstance().getAllIDs(); in requestRoutesEventDestinationCollection()
643 EventServiceManager::getInstance().addPushSubscription( in requestRoutesEventDestinationCollection()
677 EventServiceManager::getInstance().getSubscription(param); in requestRoutesEventDestination()
808 EventServiceManager::getInstance().updateSubscriptionData(); in requestRoutesEventDestination()
828 EventServiceManager::getInstance().deleteSubscription( in requestRoutesEventDestination()
833 if (!EventServiceManager::getInstance().isSubscriptionExist( in requestRoutesEventDestination()
[all …]
H A Dredfish_sessions.hpp85 persistent_data::SessionStore::getInstance().getSessionByUid(sessionId); in handleSessionGet()
106 persistent_data::SessionStore::getInstance().getSessionByUid(sessionId); in handleSessionDelete()
138 persistent_data::SessionStore::getInstance().removeSession(session); in handleSessionDelete()
145 persistent_data::SessionStore::getInstance().getAllUniqueIds(); in getSessionCollectionMembers()
249 persistent_data::SessionStore::getInstance().generateUserSession( in handleSessionCollectionPost()
317 persistent_data::SessionStore::getInstance().getTimeoutInSeconds(); in handleSessionServiceGet()
349 persistent_data::SessionStore::getInstance().updateSessionTimeout( in handleSessionServicePatch()
H A Deventservice_sse.hpp20 EventServiceManager::getInstance(&conn.getIoContext()); in createSubscription()
67 redfish::EventServiceManager::getInstance(&conn.getIoContext()) in deleteSubscription()
/openbmc/bmcweb/http/
H A Dmutual_tls.cpp31 persistent_data::SessionStore::getInstance().getAuthMethodsConfig(); in getUsernameFromCommonName()
68 if (!persistent_data::SessionStore::getInstance() in verifyMtlsUser()
141 return persistent_data::SessionStore::getInstance().generateUserSession( in verifyMtlsUser()
/openbmc/bmcweb/redfish-core/include/
H A Devent_service_manager.hpp297 persistent_data::EventServiceStore::getInstance() in sendEventToSubscriber()
659 getInstance(boost::asio::io_context* ioc = nullptr) in getInstance() function in redfish::EventServiceManager
670 persistent_data::EventServiceStore::getInstance() in initConfig()
821 persistent_data::EventServiceStore::getInstance() in updateSubscriptionData()
823 persistent_data::EventServiceStore::getInstance() in updateSubscriptionData()
825 persistent_data::EventServiceStore::getInstance() in updateSubscriptionData()
972 persistent_data::EventServiceStore::getInstance() in addSubscriptionInternal()
1055 persistent_data::EventServiceStore::getInstance() in deleteSubscription()
1338 EventServiceManager::getInstance() in watchRedfishEventLogFile()
1340 EventServiceManager::getInstance() in watchRedfishEventLogFile()
[all …]
H A Dsnmp_trap_event_clients.hpp74 EventServiceManager::getInstance().getSubscription(id); in getSnmpTrapClientdata()
128 EventServiceManager::getInstance().deleteSubscription(id); in getSnmpTrapClient()
H A Dredfish_aggregator.hpp597 getInstance().forwardRequest(req, asyncResp, satellite.first, in findSatellite()
654 getInstance().forwardCollectionRequests(thisReq, asyncResp, in aggregateAndHandle()
667 getInstance().forwardContainsSubordinateRequests(thisReq, asyncResp, in aggregateAndHandle()
809 static RedfishAggregator& getInstance(boost::asio::io_context* io = nullptr) in getInstance() function in redfish::RedfishAggregator
/openbmc/smbios-mdr/src/
H A Dspeed_select.cpp83 std::unique_ptr<SSTInterface> getInstance(uint8_t address, CPUModel model, in getInstance() function
184 auto sst = getInstance(peciAddress, cpuModel, dontWake); in appliedConfig()
211 auto sst = getInstance(peciAddress, cpuModel, dontWake); in baseSpeedPriorityEnabled()
252 auto sst = getInstance(peciAddress, cpuModel, wakeAllowed); in appliedConfig()
428 getInstance(i, cpuModel, wakeAllowed); in discoverCPUsAndConfigs()
/openbmc/bmcweb/src/
H A Dwebserver_run.cpp83 redfish::EventServiceManager::getInstance(&*io); in run()
88 redfish::RedfishAggregator::getInstance(&*io); in run()
/openbmc/openpower-occ-control/
H A Docc_status.hpp101 path(path), managerCallBack(callBack), instance(getInstance(path)), in Status()
340 static int getInstance(const std::string& path) in getInstance() function in open_power::occ::Status
377 auto it = sensorMap.find(getInstance(estimatedPath)); in getDbusPath()
/openbmc/witherspoon-pfault-analysis/
H A Ddevice.hpp38 inline auto getInstance() const in getInstance() function in witherspoon::power::Device
/openbmc/phosphor-power/
H A Ddevice.hpp38 inline auto getInstance() const in getInstance() function in phosphor::power::Device
/openbmc/phosphor-ipmi-flash/tools/
H A Dmain.cpp254 auto& pci = host_tool::PciAccessImpl::getInstance(); in main()
260 auto& pci = host_tool::PciAccessImpl::getInstance(); in main()
H A Dpciaccess.hpp82 static PciAccessImpl& getInstance() in getInstance() function in host_tool::PciAccessImpl
/openbmc/phosphor-power/power-sequencer/
H A Ducd90160.cpp149 deviceMap.find(getInstance())->second); in checkVOUTFaults()
192 deviceMap.find(getInstance())->second); in checkPGOODFaults()
347 deviceMap.find(getInstance())->second); in doGPIOAnalysis()
/openbmc/witherspoon-pfault-analysis/power-sequencer/
H A Ducd90160.cpp149 deviceMap.find(getInstance())->second); in checkVOUTFaults()
192 deviceMap.find(getInstance())->second); in checkPGOODFaults()
347 deviceMap.find(getInstance())->second); in doGPIOAnalysis()
/openbmc/phosphor-power/phosphor-power-sequencer/src/
H A Dpmbus_driver_device.hpp110 size_t getInstance() const in getInstance() function in phosphor::power::sequencer::PMBusDriverDevice
/openbmc/phosphor-power/phosphor-power-sequencer/test/
H A Ducd90320_device_tests.cpp79 EXPECT_EQ(device.getInstance(), 0); in TEST()
H A Dpmbus_driver_device_tests.cpp130 EXPECT_EQ(device.getInstance(), 0); in TEST_F()
156 EXPECT_EQ(device.getInstance(), instance); in TEST_F()
215 EXPECT_EQ(device.getInstance(), instance); in TEST_F()
H A Ducd90160_device_tests.cpp79 EXPECT_EQ(device.getInstance(), 0); in TEST()

12