Home
last modified time | relevance | path

Searched refs:DEFAULT_WIDTH (Results 1 - 2 of 2) sorted by relevance

/drivers/peripheral/thermal/test/unittest/
H A Dhdf_thermal_log_test.cpp52 constexpr int32_t DEFAULT_WIDTH = 20; member
111 int32_t maxVal = DEFAULT_WIDTH + 10; in HWTEST_F()
115 if (i <= DEFAULT_WIDTH) { in HWTEST_F()
116 ASSERT_EQ(hdfLog.width_.load(), static_cast<uint8_t>(DEFAULT_WIDTH)); in HWTEST_F()
136 ASSERT_EQ(hdfLog.width_.load(), static_cast<uint8_t>(DEFAULT_WIDTH)) << in HWTEST_F()
/drivers/peripheral/thermal/interfaces/hdi_service/src/
H A Dthermal_dfx.cpp51 constexpr int32_t DEFAULT_WIDTH = 20; member
116 width_(static_cast<uint8_t>(DEFAULT_WIDTH)), interval_(static_cast<uint32_t>(DEFAULT_INTERVAL)), enable_(true) in ThermalDfx()
387 int32_t width = OHOS::StrToInt(value, width) ? width : DEFAULT_WIDTH; in WidthWatchCallback()
388 width_ = static_cast<uint8_t>((width < DEFAULT_WIDTH) ? DEFAULT_WIDTH : width); in WidthWatchCallback()
433 width_ = static_cast<uint8_t>(GetIntParameter(THERMAL_LOG_WIDTH, DEFAULT_WIDTH, DEFAULT_WIDTH)); in Init()

Completed in 2 milliseconds