Searched refs:HibernationMachine (Results 1 – 2 of 2) sorted by relevance
79 mHibernation.incWakeCount(HibernationMachine::STRONG); in onWindowSurfaceCreated()82 mHibernation.decWakeCount(HibernationMachine::STRONG); in onWindowSurfaceDestroyed()130 bool enter() { return mHibernation.incWakeCount(HibernationMachine::WEAK); } in enter()131 void leave() { return mHibernation.decWakeCount(HibernationMachine::WEAK); } in leave()147 class HibernationMachine {159 HibernationMachine(): mWakeCount(0), mHibernating(false), in HibernationMachine() function167 ~HibernationMachine() {} in ~HibernationMachine()182 HibernationMachine mHibernation;
346 mHibernation.incWakeCount(HibernationMachine::STRONG); in makeCurrent()354 mHibernation.decWakeCount(HibernationMachine::STRONG); in makeCurrent()380 bool egl_display_t::HibernationMachine::incWakeCount(WakeRefStrength strength) { in incWakeCount()407 void egl_display_t::HibernationMachine::decWakeCount(WakeRefStrength strength) { in decWakeCount()431 void egl_display_t::HibernationMachine::setDisplayValid(bool valid) { in setDisplayValid()