Home
last modified time | relevance | path

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

/hardware/google/pixel/power-libperfmgr/aidl/
DPowerHintSession.h75 std::mutex mPowerHintSessionLock;
76 bool isTimeout() REQUIRES(mPowerHintSessionLock);
78 bool isAppSession() REQUIRES(mPowerHintSessionLock);
79 void tryToSendPowerHint(std::string hint) REQUIRES(mPowerHintSessionLock);
81 REQUIRES(mPowerHintSessionLock);
83 REQUIRES(mPowerHintSessionLock);
84 bool updateHeuristicBoost() REQUIRES(mPowerHintSessionLock);
90 std::shared_ptr<AppHintDesc> mDescriptor GUARDED_BY(mPowerHintSessionLock);
94 time_point<steady_clock> mLastUpdatedTime GUARDED_BY(mPowerHintSessionLock);
95 bool mSessionClosed GUARDED_BY(mPowerHintSessionLock) = false;
[all …]
DPowerHintSession.cpp214 std::scoped_lock lock{mPowerHintSessionLock}; in dumpToStream()
223 std::scoped_lock lock{mPowerHintSessionLock}; in pause()
241 std::scoped_lock lock{mPowerHintSessionLock}; in resume()
260 std::scoped_lock lock{mPowerHintSessionLock}; in close()
275 std::scoped_lock lock{mPowerHintSessionLock}; in updateTargetWorkDuration()
338 std::scoped_lock lock{mPowerHintSessionLock}; in reportActualWorkDuration()
435 std::scoped_lock lock{mPowerHintSessionLock}; in sendHint()
500 std::scoped_lock lock{mPowerHintSessionLock}; in setMode()
524 std::scoped_lock lock{mPowerHintSessionLock}; in setThreads()