Home
last modified time | relevance | path

Searched refs:mHintSessionMutex (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/services/surfaceflinger/DisplayHardware/
DPowerAdvisor.h238 bool shouldCreateSessionWithConfig() REQUIRES(mHintSessionMutex);
240 bool ensurePowerHintSessionRunning() REQUIRES(mHintSessionMutex);
241 void setUpFmq() REQUIRES(mHintSessionMutex);
268 std::mutex mHintSessionMutex; variable
269 std::shared_ptr<power::PowerHintSessionWrapper> mHintSession GUARDED_BY(mHintSessionMutex) =
280 mMsgQueue GUARDED_BY(mHintSessionMutex);
283 mFlagQueue GUARDED_BY(mHintSessionMutex);
325 bool writeHintSessionMessage(In* elements, size_t count) REQUIRES(mHintSessionMutex);
DPowerAdvisor.cpp216 std::scoped_lock lock(mHintSessionMutex); in sendHintSessionHint()
303 std::scoped_lock lock(mHintSessionMutex); in updateTargetWorkDuration()
359 std::scoped_lock lock(mHintSessionMutex); in reportActualWorkDuration()
442 std::scoped_lock lock(mHintSessionMutex); in startPowerHintSession()
/frameworks/native/services/surfaceflinger/tests/unittests/
DPowerAdvisorTest.cpp91 std::scoped_lock lock(mPowerAdvisor->mHintSessionMutex); in sessionExists()