Searched refs:levelBuf (Results 1 – 2 of 2) sorted by relevance
/base/powermgr/thermal_manager/test/systemtest/src/ |
D | thermal_mgr_system_test.cpp | 218 char levelBuf[MAX_PATH] = {0}; variable 220 ret = snprintf_s(levelBuf, MAX_PATH, sizeof(levelBuf) - 1, CONFIG_LEVEL_PATH.c_str()); 222 ret = ThermalMgrSystemTest::ReadFile(levelBuf, levelValue, sizeof(levelValue)); 257 char levelBuf[MAX_PATH] = {0}; variable 259 ret = snprintf_s(levelBuf, MAX_PATH, sizeof(levelBuf) - 1, CONFIG_LEVEL_PATH.c_str()); 261 ret = ThermalMgrSystemTest::ReadFile(levelBuf, levelValue, sizeof(levelValue)); 296 char levelBuf[MAX_PATH] = {0}; variable 298 ret = snprintf_s(levelBuf, MAX_PATH, sizeof(levelBuf) - 1, CONFIG_LEVEL_PATH.c_str()); 300 ret = ThermalMgrSystemTest::ReadFile(levelBuf, levelValue, sizeof(levelValue)); 335 char levelBuf[MAX_PATH] = {0}; variable [all …]
|
/base/powermgr/thermal_manager/services/native/src/thermal_policy/ |
D | thermal_policy.cpp | 100 char levelBuf[MAX_PATH] = {0}; in WriteLevel() local 106 ret = snprintf_s(levelBuf, MAX_PATH, sizeof(levelBuf) - 1, LEVEL_PATH); in WriteLevel() 111 ret = FileOperation::WriteFile(levelBuf, valueString, valueString.length()); in WriteLevel()
|