Home
last modified time | relevance | path

Searched refs:faultId (Results 1 – 4 of 4) sorted by relevance

/base/powermgr/thermal_manager/test/unittest/src/
Dfan_fault_detect_test.cpp91 void FanFaultDetectTest::GetFaultId(int64_t& faultId, const FanSensorInfo& report) in GetFaultId() argument
97 … auto watcher = std::make_shared<Watcher>([&faultId] (std::shared_ptr<HiSysEventRecord> sysEvent) { in GetFaultId()
101 sysEvent->GetParamValue(TAG, faultId); in GetFaultId()
126 int64_t faultId = FAN_FAULT_OK; variable
131 GetFaultId(faultId, report);
132 EXPECT_TRUE(faultId == FAN_FAULT_TOO_SLOW);
144 int64_t faultId = FAN_FAULT_OK; variable
149 GetFaultId(faultId, report);
150 EXPECT_TRUE(faultId == FAN_FAULT_TOO_SLOW);
162 int64_t faultId = FAN_FAULT_OK; variable
[all …]
/base/powermgr/thermal_manager/utils/native/src/
Dthermal_hisysevent.cpp66 void WriteFanFaultEvent(int32_t faultId, std::string msg) in WriteFanFaultEvent() argument
68 WriteFaultEvent("FAN_FAULT", "ID", faultId, "MSG", msg); in WriteFanFaultEvent()
/base/powermgr/thermal_manager/test/unittest/include/
Dfan_fault_detect_test.h30 void GetFaultId(int64_t &faultId, const FanSensorInfo& report);
/base/powermgr/thermal_manager/utils/native/include/
Dthermal_hisysevent.h26 void WriteFanFaultEvent(int32_t faultId, std::string msg);