Lines Matching defs:hdfLog
66 auto &hdfLog = ThermalDfx::GetInstance();
67 hdfLog.Init();
68 hdfLog.DoWork();
70 if (!hdfLog.enable_) {
87 auto &hdfLog = ThermalDfx::GetInstance();
90 uint32_t minVal = hdfLog.width_ + 1;
91 uint32_t width = hdfLog.GetIntParameter("persist.thermal.log.width", def, minVal);
95 minVal = hdfLog.width_ - 1;
96 width = hdfLog.GetIntParameter("persist.thermal.log.width", def, minVal);
97 ASSERT_EQ(hdfLog.width_, width);
109 auto &hdfLog = ThermalDfx::GetInstance();
114 hdfLog.WidthWatchCallback(value);
116 ASSERT_EQ(hdfLog.width_.load(), static_cast<uint8_t>(DEFAULT_WIDTH));
118 ASSERT_EQ(hdfLog.width_.load(), static_cast<uint8_t>(i));
132 auto &hdfLog = ThermalDfx::GetInstance();
135 hdfLog.WidthWatchCallback(it);
136 ASSERT_EQ(hdfLog.width_.load(), static_cast<uint8_t>(DEFAULT_WIDTH)) <<
150 auto &hdfLog = ThermalDfx::GetInstance();
155 hdfLog.IntervalWatchCallback(value);
157 ASSERT_EQ(hdfLog.interval_.load(), static_cast<uint32_t>(MIN_INTERVAL));
159 ASSERT_EQ(hdfLog.interval_.load(), static_cast<uint32_t>(i));
173 auto &hdfLog = ThermalDfx::GetInstance();
176 hdfLog.IntervalWatchCallback(it);
177 ASSERT_EQ(hdfLog.interval_.load(), static_cast<uint32_t>(DEFAULT_INTERVAL)) <<
191 auto &hdfLog = ThermalDfx::GetInstance();
192 hdfLog.Init();
194 if (!hdfLog.enable_) {
200 hdfLog.EnableWatchCallback("false");
201 ASSERT_EQ(hdfLog.enable_, false);
203 hdfLog.EnableWatchCallback("true");
204 ASSERT_EQ(hdfLog.enable_, true);