Home
last modified time | relevance | path

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

/base/sensors/sensor/services/sensor/src/
Dsensor_power_policy.cpp55 std::unordered_map<int32_t, SensorBasicInfo> sensorInfoMap = pidSensorInfoIt->second; in SuspendSensors() local
56 if (!Suspend(pid, sensorIdList, sensorInfoMap)) { in SuspendSensors()
63 std::unordered_map<int32_t, SensorBasicInfo> sensorInfoMap; in SuspendSensors() local
64 auto isAllSuspend = Suspend(pid, sensorIdList, sensorInfoMap); in SuspendSensors()
65 pidSensorInfoMap_.insert(std::make_pair(pid, sensorInfoMap)); in SuspendSensors()
75 std::unordered_map<int32_t, SensorBasicInfo> &sensorInfoMap) in Suspend() argument
87 sensorInfoMap.insert(std::make_pair(sensorId, sensorInfo)); in Suspend()
97 sensorInfoMap.insert(std::make_pair(sensorId, sensorInfo)); in Suspend()
113 std::unordered_map<int32_t, SensorBasicInfo> sensorInfoMap = pidSensorInfoIt->second; in ResumeSensors() local
114 for (auto sensorIt = sensorInfoMap.begin(); sensorIt != sensorInfoMap.end();) { in ResumeSensors()
[all …]
/base/powermgr/thermal_manager/test/systemtest/src/
Dthermal_mgr_system_test.cpp181 std::map<std::string, SensorInfoMap> sensorInfoMap = g_parser->GetSensorInfoMap(); in GetSensorClusterName() local
182 for (auto info = sensorInfoMap.begin(); info != sensorInfoMap.end(); ++info) { in GetSensorClusterName()