Home
last modified time | relevance | path

Searched refs:levelBuf (Results 1 – 2 of 2) sorted by relevance

/base/powermgr/thermal_manager/test/systemtest/src/
Dthermal_mgr_system_test.cpp218 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/
Dthermal_policy.cpp100 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()