Home
last modified time | relevance | path

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

/frameworks/base/services/core/jni/
Dcom_android_server_am_BatteryStatsService.cpp70 std::mutex gPowerStatsHalMutex; variable
82 static void deinitPowerStatsHalLocked() EXCLUSIVE_LOCKS_REQUIRED(gPowerStatsHalMutex) { in deinitPowerStatsHalLocked()
90 std::lock_guard<std::mutex> lock(gPowerStatsHalMutex); in serviceDied()
192 EXCLUSIVE_LOCKS_REQUIRED(gPowerStatsHalMutex) { in checkPowerStatsHalResultLocked()
205 static bool initializePowerStatsLocked() EXCLUSIVE_LOCKS_REQUIRED(gPowerStatsHalMutex) { in initializePowerStatsLocked()
237 static bool getPowerStatsHalLocked() EXCLUSIVE_LOCKS_REQUIRED(gPowerStatsHalMutex) { in getPowerStatsHalLocked()
262 EXCLUSIVE_LOCKS_REQUIRED(gPowerStatsHalMutex) { in getPowerStatsHalRailEnergyDataLocked()
306 static void setUpPowerStatsLocked() EXCLUSIVE_LOCKS_REQUIRED(gPowerStatsHalMutex) { in setUpPowerStatsLocked()
328 std::lock_guard<std::mutex> lock(gPowerStatsHalMutex); in getRailEnergyPowerStats()
Dcom_android_server_powerstats_PowerStatsService.cpp75 static std::mutex gPowerStatsHalMutex; variable
86 std::lock_guard<std::mutex> lock(gPowerStatsHalMutex); in serviceDied()
131 std::lock_guard<std::mutex> lock(gPowerStatsHalMutex); in nativeGetPowerEntityInfo()
201 std::lock_guard<std::mutex> lock(gPowerStatsHalMutex); in nativeGetStateResidency()
254 std::lock_guard<std::mutex> lock(gPowerStatsHalMutex); in nativeGetEnergyMeterInfo()
292 std::lock_guard<std::mutex> lock(gPowerStatsHalMutex); in nativeReadEnergyMeters()
343 std::lock_guard<std::mutex> lock(gPowerStatsHalMutex); in nativeInit()