Home
last modified time | relevance | path

Searched refs:_lock (Results 1 – 14 of 14) sorted by relevance

/hardware/google/gfxstream/guest/OpenglCodecCommon/
DGLSharedGroup.cpp284 AutoLock<Lock> _lock(m_lock); in isShaderOrProgramObject() local
293 AutoLock<Lock> _lock(m_lock); in getBufferData() local
312 AutoLock<Lock> _lock(m_lock); in addBufferData() local
319 AutoLock<Lock> _lock(m_lock); in updateBufferData() local
330 AutoLock<Lock> _lock(m_lock); in setBufferUsage() local
363 AutoLock<Lock> _lock(m_lock); in subUpdateBufferData() local
379 AutoLock<Lock> _lock(m_lock); in deleteBufferData() local
390 AutoLock<Lock> _lock(m_lock); in addProgramData() local
402 AutoLock<Lock> _lock(m_lock); in initProgramData() local
411 AutoLock<Lock> _lock(m_lock); in refProgramData() local
[all …]
/hardware/interfaces/thermal/aidl/default/
DThermal.cpp82 std::lock_guard<std::mutex> _lock(thermal_callback_mutex_); in registerThermalChangedCallback() local
104 std::lock_guard<std::mutex> _lock(thermal_callback_mutex_); in registerThermalChangedCallbackWithType() local
125 std::lock_guard<std::mutex> _lock(thermal_callback_mutex_); in unregisterThermalChangedCallback() local
154 std::lock_guard<std::mutex> _lock(cdev_callback_mutex_); in registerCoolingDeviceChangedCallbackWithType() local
175 std::lock_guard<std::mutex> _lock(cdev_callback_mutex_); in unregisterCoolingDeviceChangedCallback() local
/hardware/google/gfxstream/host/gl/glestranslator/GLcommon/
DNamedObject.cpp40 android::base::AutoLock _lock(m_globalNameSpace->m_lock); in NamedObject() local
94 android::base::AutoLock _lock(m_globalNameSpace->m_lock); in ~NamedObject() local
/hardware/google/pixel/thermal/utils/
Dthermal_stats_helper.cpp130 std::unique_lock<std::shared_mutex> _lock(sensor_cdev_request_stats_map_mutex_); in initializeSensorCdevRequestStats() local
190 std::unique_lock<std::shared_mutex> _lock(sensor_stats_mutex_); in initializeSensorTempStats() local
220 std::unique_lock<std::shared_mutex> _lock(sensor_stats_mutex_); in initializeSensorAbnormalityStats() local
280 std::unique_lock<std::shared_mutex> _lock(sensor_cdev_request_stats_map_mutex_); in updateSensorCdevRequestStats() local
308 std::unique_lock<std::shared_mutex> _lock(sensor_stats_mutex_); in updateSensorTempStatsByThreshold() local
335 std::unique_lock<std::shared_mutex> _lock(sensor_stats_mutex_); in updateSensorTempStatsBySeverity() local
421 std::unique_lock<std::shared_mutex> _lock(sensor_stats_mutex_); in reportAllSensorTempStats() local
495 std::unique_lock<std::shared_mutex> _lock(sensor_cdev_request_stats_map_mutex_); in reportAllSensorCdevRequestStats() local
Dpowerhal_helper.cpp115 std::lock_guard<std::shared_mutex> _lock(powerhint_status_mutex_); in reconnect() local
160 std::lock_guard<std::shared_mutex> _lock(powerhint_status_mutex_); in sendPowerExtHint() local
Dthermal_throttling.cpp87 std::unique_lock<std::shared_mutex> _lock(thermal_throttling_status_map_mutex_); in clearThrottlingData() local
372 std::unique_lock<std::shared_mutex> _lock(thermal_throttling_status_map_mutex_); in allocatePowerToCdev() local
593 std::unique_lock<std::shared_mutex> _lock(thermal_throttling_status_map_mutex_); in updateCdevRequestByPower() local
613 std::unique_lock<std::shared_mutex> _lock(thermal_throttling_status_map_mutex_); in updateCdevRequestBySeverity() local
643 std::unique_lock<std::shared_mutex> _lock(thermal_throttling_status_map_mutex_); in throttlingReleaseUpdate() local
777 std::unique_lock<std::shared_mutex> _lock(thermal_throttling_status_map_mutex_); in computeCoolingDevicesRequest() local
857 std::unique_lock<std::shared_mutex> _lock(cdev_all_request_map_mutex_); in updateCdevMaxRequestAndNotifyIfChange() local
872 std::shared_lock<std::shared_mutex> _lock(cdev_all_request_map_mutex_); in getCdevMaxRequest() local
Dpower_files.h75 std::shared_lock<std::shared_mutex> _lock(power_status_map_mutex_); in GetPowerStatusMap()
Dthermal_throttling.h75 std::shared_lock<std::shared_mutex> _lock(thermal_throttling_status_map_mutex_); in GetThermalThrottlingStatusMap()
/hardware/interfaces/thermal/2.0/default/
DThermal.cpp168 std::lock_guard<std::mutex> _lock(thermal_callback_mutex_); in registerThermalChangedCallback() local
197 std::lock_guard<std::mutex> _lock(thermal_callback_mutex_); in unregisterThermalChangedCallback() local
/hardware/google/pixel/thermal/
DThermal.cpp146 std::lock_guard<std::mutex> _lock(thermal_callback_mutex_); in unregisterThermalChangedCallback() local
179 std::lock_guard<std::mutex> _lock(thermal_callback_mutex_); in registerThermalChangedCallback() local
193 std::lock_guard<std::mutex> _lock(thermal_callback_mutex_); in registerThermalChangedCallback() local
221 std::lock_guard<std::mutex> _lock(thermal_callback_mutex_); in sendThermalChangedCallback() local
257 std::lock_guard<std::mutex> _lock(cdev_callback_mutex_); in registerCoolingDeviceChangedCallbackWithType() local
283 std::lock_guard<std::mutex> _lock(cdev_callback_mutex_); in unregisterCoolingDeviceChangedCallback() local
Dthermal-helper.cpp404 std::lock_guard<std::shared_mutex> _lock(sensor_status_map_mutex_); in emulTemp() local
429 std::lock_guard<std::shared_mutex> _lock(sensor_status_map_mutex_); in emulSeverity() local
461 std::lock_guard<std::shared_mutex> _lock(sensor_status_map_mutex_); in emulClear() local
535 std::shared_lock<std::shared_mutex> _lock(sensor_status_map_mutex_); in readTemperature() local
550 std::shared_lock<std::shared_mutex> _lock(sensor_status_map_mutex_); in readTemperature() local
1201 std::shared_lock<std::shared_mutex> _lock(sensor_status_map_mutex_); in readThermalSensor() local
1315 std::unique_lock<std::shared_mutex> _lock(sensor_status_map_mutex_); in readThermalSensor() local
1395 std::lock_guard<std::shared_mutex> _lock(sensor_status_map_mutex_); in thermalWatcherCallbackFunc() local
1431 std::unique_lock<std::shared_mutex> _lock(sensor_status_map_mutex_); in thermalWatcherCallbackFunc() local
Dthermal-helper.h166 std::shared_lock<std::shared_mutex> _lock(sensor_status_map_mutex_); in GetSensorStatusMap()
/hardware/interfaces/thermal/utils/
DThermalHidlWrapper.cpp195 std::lock_guard<std::mutex> _lock(callback_wrappers_mutex_); in registerThermalChangedCallback() local
232 std::lock_guard<std::mutex> _lock(callback_wrappers_mutex_); in unregisterThermalChangedCallback() local
/hardware/interfaces/power/stats/1.0/default/
DPowerStats.cpp200 std::lock_guard<std::mutex> _lock(mPm.mLock); in getRailInfo() local
220 std::lock_guard<std::mutex> _lock(mPm.mLock); in getEnergyData() local
251 std::lock_guard<std::mutex> _lock(mPm.mLock); in streamEnergyData() local