Home
last modified time | relevance | path

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

/ohos5.0/base/powermgr/thermal_manager/test/unittest/src/
H A Dthermal_level_event_test.cpp59 ThermalConfigFileParser g_parser; variable
171 g_parser.Init(); in SetUpTestCase()
225 auto levelItems = g_parser.GetLevelItems("base_safe", "battery");
228 if (!g_parser.GetActionPolicy("base_safe", item.level, policy)) {
/ohos5.0/base/powermgr/thermal_manager/test/systemtest/src/
H A Dthermal_mgr_system_test.cpp49 std::unique_ptr<ThermalConfigFileParser> g_parser; variable
132 g_parser = std::make_unique<ThermalConfigFileParser>(); in SetUpTestCase()
133 g_parser->ParseXmlFile(SYSTEM_CONFIG); in SetUpTestCase()
176 if (g_parser == nullptr) { in GetSensorClusterName()
181 std::map<std::string, SensorInfoMap> sensorInfoMap = g_parser->GetSensorInfoMap(); in GetSensorClusterName()