Home
last modified time | relevance | path

Searched refs:dataIface (Results 1 – 25 of 30) sorted by relevance

12

/openbmc/phosphor-logging/test/openpower-pels/
H A Dservice_indicators_test.cpp31 MockDataInterface dataIface; in TEST() local
32 service_indicators::LightPath lightPath{dataIface}; in TEST()
59 MockDataInterface dataIface; in TEST() local
60 service_indicators::LightPath lightPath{dataIface}; in TEST()
90 MockDataInterface dataIface; in TEST() local
91 service_indicators::LightPath lightPath{dataIface}; in TEST()
141 MockDataInterface dataIface; in TEST() local
142 service_indicators::LightPath lightPath{dataIface}; in TEST()
204 MockDataInterface dataIface; in TEST() local
205 service_indicators::LightPath lightPath{dataIface}; in TEST()
[all …]
H A Dhost_notifier_test.cpp48 ON_CALL(dataIface, getHostPELEnablement).WillByDefault(Return(true)); in HostNotifierTest()
51 std::make_unique<NiceMock<MockHostInterface>>(event, dataIface); in HostNotifierTest()
72 NiceMock<MockDataInterface> dataIface; member in HostNotifierTest
130 dataIface.subscribeToHostStateChange("test", func); in TEST_F()
133 dataIface.changeHostState(true); in TEST_F()
139 dataIface.changeHostState(true); in TEST_F()
143 dataIface.changeHostState(false); in TEST_F()
148 dataIface.unsubscribeFromHostStateChange("test"); in TEST_F()
152 dataIface.changeHostState(true); in TEST_F()
160 HostNotifier notifier{repo, dataIface, std::move(hostIface)}; in TEST_F()
[all …]
H A Dsrc_test.cpp207 NiceMock<MockDataInterface> dataIface; in TEST_F() local
209 EXPECT_CALL(dataIface, getMotherboardCCIN).WillOnce(Return("ABCD")); in TEST_F()
211 SRC src{entry, ad, dataIface}; in TEST_F()
268 NiceMock<MockDataInterface> dataIface; in TEST_F() local
272 EXPECT_CALL(dataIface, getMotherboardCCIN) in TEST_F()
279 SRC src{entry, ad, dataIface}; in TEST_F()
286 SRC src{entry, ad, dataIface}; in TEST_F()
293 SRC src{entry, ad, dataIface}; in TEST_F()
313 NiceMock<MockDataInterface> dataIface; in TEST_F() local
315 SRC src{*entry, ad, dataIface}; in TEST_F()
[all …]
H A Dextended_user_header_test.cpp138 MockDataInterface dataIface; in TEST() local
140 EXPECT_CALL(dataIface, getMachineTypeModel()) in TEST()
143 EXPECT_CALL(dataIface, getMachineSerialNumber()) in TEST()
146 EXPECT_CALL(dataIface, getServerFWVersion()) in TEST()
149 EXPECT_CALL(dataIface, getBMCFWVersion()) in TEST()
152 ExtendedUserHeader euh{dataIface, entry, src}; in TEST()
177 MockDataInterface dataIface; in TEST() local
181 EXPECT_CALL(dataIface, getMachineTypeModel()) in TEST()
184 EXPECT_CALL(dataIface, getMachineSerialNumber()) in TEST()
187 EXPECT_CALL(dataIface, getServerFWVersion()) in TEST()
[all …]
H A Duser_header_test.cpp114 MockDataInterface dataIface; in TEST() local
118 dataIface); in TEST()
143 dataIface); in TEST()
158 MockDataInterface dataIface; in TEST() local
163 EXPECT_CALL(dataIface, getSystemNames) in TEST()
170 dataIface); in TEST()
177 dataIface); in TEST()
184 dataIface); in TEST()
205 MockDataInterface dataIface; in TEST() local
209 dataIface); in TEST()
[all …]
H A Dfailing_mtms_test.cpp33 MockDataInterface dataIface; in TEST() local
35 EXPECT_CALL(dataIface, getMachineTypeModel()) in TEST()
38 EXPECT_CALL(dataIface, getMachineSerialNumber()) in TEST()
41 FailingMTMS fm{dataIface}; in TEST()
56 MockDataInterface dataIface; in TEST() local
58 EXPECT_CALL(dataIface, getMachineTypeModel()) in TEST()
61 EXPECT_CALL(dataIface, getMachineSerialNumber()) in TEST()
64 FailingMTMS fm{dataIface}; in TEST()
72 MockDataInterface dataIface; in TEST() local
74 EXPECT_CALL(dataIface, getMachineTypeModel()).WillOnce(Return("A")); in TEST()
[all …]
H A Dpel_test.cpp167 NiceMock<MockDataInterface> dataIface; in TEST_F() local
172 ad, ffdc, dataIface, journal}; in TEST_F()
218 dataIface, journal}; in TEST_F()
242 NiceMock<MockDataInterface> dataIface; in TEST_F() local
246 ad, ffdc, dataIface, journal}; in TEST_F()
400 MockDataInterface dataIface; in TEST_F() local
402 EXPECT_CALL(dataIface, getBMCFWVersionID()).WillOnce(Return("ABCD1234")); in TEST_F()
403 EXPECT_CALL(dataIface, getBMCState()).WillOnce(Return("State.Ready")); in TEST_F()
404 EXPECT_CALL(dataIface, getChassisState()).WillOnce(Return("State.On")); in TEST_F()
405 EXPECT_CALL(dataIface, getHostState()).WillOnce(Return("State.Off")); in TEST_F()
[all …]
H A Dpel_manager_test.cpp138 std::unique_ptr<DataInterfaceBase> dataIface = in TEST_F() local
144 logManager, std::move(dataIface), in TEST_F()
181 std::unique_ptr<DataInterfaceBase> dataIface = in TEST_F() local
187 logManager, std::move(dataIface), in TEST_F()
283 std::unique_ptr<DataInterfaceBase> dataIface = in TEST_F() local
289 logManager, std::move(dataIface), in TEST_F()
391 std::unique_ptr<DataInterfaceBase> dataIface = in TEST_F() local
397 logManager, std::move(dataIface), in TEST_F()
615 std::unique_ptr<DataInterfaceBase> dataIface = in TEST_F() local
621 logManager, std::move(dataIface), in TEST_F()
[all …]
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Dsrc.hpp102 const DataInterfaceBase& dataIface) : in SRC() argument
103 SRC(regEntry, additionalData, nlohmann::json{}, dataIface) in SRC()
120 const nlohmann::json& jsonCallouts, const DataInterfaceBase& dataIface);
407 void setMotherboardCCIN(const DataInterfaceBase& dataIface);
414 void setProgressCode(const DataInterfaceBase& dataIface);
462 const DataInterfaceBase& dataIface);
477 const DataInterfaceBase& dataIface,
489 const DataInterfaceBase& dataIface);
506 const DataInterfaceBase& dataIface,
524 const DataInterfaceBase& dataIface,
[all …]
H A Ddbus_watcher.hpp102 const DataIface& dataIface, PropertySetFunc func) : in PropertyWatcher() argument
118 read(dataIface, service); in PropertyWatcher()
145 const std::string& propertyName, const DataIface& dataIface, in PropertyWatcher() argument
147 PropertyWatcher(bus, path, interface, propertyName, "", dataIface, func) in PropertyWatcher()
160 void read(const DataIface& dataIface, std::string service) in read() argument
164 service = dataIface.getService(_path, _interface); in read()
170 dataIface.getProperty(service, _path, _interface, _name, value); in read()
279 const std::string& interface, const DataIface& dataIface, in InterfaceWatcher() argument
296 read(dataIface); in InterfaceWatcher()
310 void read(const DataIface& dataIface) in read() argument
[all …]
H A Dpel.cpp65 const DataInterfaceBase& dataIface, const JournalBase& journal) in PEL() argument
103 dataIface); in PEL()
120 std::make_unique<SRC>(regEntry, additionalData, callouts, dataIface); in PEL()
123 addAdDetailsForDIMMsCallout(src, dataIface, adSysInfoData, debugData); in PEL()
131 auto euh = std::make_unique<ExtendedUserHeader>(dataIface, regEntry, *src); in PEL()
136 auto mtms = std::make_unique<FailingMTMS>(dataIface); in PEL()
139 auto ud = util::makeSysInfoUserDataSection(additionalData, dataIface, true, in PEL()
183 openpower::pels::phal::createServiceActions(callouts, dataIface, plid()); in PEL()
557 const DataInterfaceBase& dataIface) in updateSysInfoInExtendedUserDataSection() argument
589 dataIface, false); in updateSysInfoInExtendedUserDataSection()
[all …]
H A Dsrc.cpp309 const nlohmann::json& jsonCallouts, const DataInterfaceBase& dataIface) in SRC() argument
340 setProgressCode(dataIface); in SRC()
343 setMotherboardCCIN(dataIface); in SRC()
378 addCallouts(regEntry, additionalData, jsonCallouts, dataIface); in SRC()
423 void SRC::setMotherboardCCIN(const DataInterfaceBase& dataIface) in setMotherboardCCIN() argument
426 auto ccinString = dataIface.getMotherboardCCIN(); in setMotherboardCCIN()
827 const DataInterfaceBase& dataIface) in addCallouts() argument
830 getRegistryCallouts(regEntry, additionalData, dataIface); in addCallouts()
856 addInventoryCallout(*item, calloutPriority, std::nullopt, dataIface); in addCallouts()
859 addDevicePathCallouts(additionalData, dataIface); in addCallouts()
[all …]
H A Dservice_indicators.hpp29 explicit Policy(const DataInterfaceBase& dataIface) : _dataIface(dataIface) in Policy() argument
71 explicit LightPath(const DataInterfaceBase& dataIface) : Policy(dataIface) in LightPath() argument
190 std::unique_ptr<Policy> getPolicy(const DataInterfaceBase& dataIface);
H A Dentry_points.cpp46 std::unique_ptr<DataInterfaceBase> dataIface = in DISABLE_LOG_ENTRY_CAPS() local
53 logManager.getBus().get_event(), *(dataIface.get())); in DISABLE_LOG_ENTRY_CAPS()
55 manager = std::make_unique<Manager>(logManager, std::move(dataIface), in DISABLE_LOG_ENTRY_CAPS()
59 manager = std::make_unique<Manager>(logManager, std::move(dataIface), in DISABLE_LOG_ENTRY_CAPS()
H A Dphal_service_actions.cpp66 const DataInterfaceBase& dataIface) in createGuardRecords() argument
125 dataIface.createGuardRecord(entityPath, eGuardType, plid); in createGuardRecords()
202 const DataInterfaceBase& dataIface, uint32_t plid) in createServiceActions() argument
205 createGuardRecords(jsonCallouts, plid, dataIface); in createServiceActions()
H A Dextended_user_header.cpp51 ExtendedUserHeader::ExtendedUserHeader(const DataInterfaceBase& dataIface, in ExtendedUserHeader() argument
54 _mtms(dataIface.getMachineTypeModel(), dataIface.getMachineSerialNumber()) in ExtendedUserHeader()
62 auto version = dataIface.getServerFWVersion(); in ExtendedUserHeader()
71 version = dataIface.getBMCFWVersion(); in ExtendedUserHeader()
H A Duser_header.cpp52 const DataInterfaceBase& dataIface) in UserHeader() argument
113 sev = getSeverity(entry.mfgSeverity.value(), dataIface); in UserHeader()
124 bool mfgProp = dataIface.getQuiesceOnError(); in UserHeader()
153 auto sev = getSeverity(entry.severity.value(), dataIface); in UserHeader()
299 const DataInterfaceBase& dataIface) const in getSeverity()
311 systemNames = dataIface.getSystemNames(); in getSeverity()
H A Dfailing_mtms.cpp35 FailingMTMS::FailingMTMS(const DataInterfaceBase& dataIface) : in FailingMTMS() argument
36 _mtms(dataIface.getMachineTypeModel(), dataIface.getMachineSerialNumber()) in FailingMTMS()
H A Dpel.hpp115 const DataInterfaceBase& dataIface, const JournalBase& journal);
306 const DataInterfaceBase& dataIface);
430 const std::unique_ptr<SRC>& src, const DataInterfaceBase& dataIface,
490 const AdditionalData& ad, const DataInterfaceBase& dataIface,
H A Dpldm_interface.hpp43 PLDMInterface(sd_event* event, DataInterfaceBase& dataIface) : in PLDMInterface() argument
44 HostInterface(event, dataIface), in PLDMInterface()
H A Dmanager.hpp51 std::unique_ptr<DataInterfaceBase> dataIface, in Manager() argument
58 _dataIface(std::move(dataIface)), _journal(std::move(journal)) in Manager()
85 std::unique_ptr<DataInterfaceBase> dataIface, in Manager() argument
89 Manager(logManager, std::move(dataIface), std::move(creatorFunc), in Manager()
H A Dhost_interface.hpp63 HostInterface(sd_event* event, DataInterfaceBase& dataIface) : in HostInterface() argument
64 _event(event), _dataIface(dataIface) in HostInterface()
H A Duser_header.hpp54 const DataInterfaceBase& dataIface);
258 const DataInterfaceBase& dataIface) const;
H A Dservice_indicators.cpp29 std::unique_ptr<Policy> getPolicy(const DataInterfaceBase& dataIface) in getPolicy() argument
32 return std::make_unique<LightPath>(dataIface); in getPolicy()
H A Dphal_service_actions.hpp23 const DataInterfaceBase& dataIface, uint32_t plid);

12