Searched refs:PowerSaveBlocker (Results 1 – 6 of 6) sorted by relevance
9 int PowerSaveBlocker::blocker_count_ = 0;11 PowerSaveBlocker::PowerSaveBlocker(bool enable) : enabled_(false) { in PowerSaveBlocker() function in PowerSaveBlocker16 PowerSaveBlocker::~PowerSaveBlocker(void) { in ~PowerSaveBlocker()20 void PowerSaveBlocker::Enable() { in Enable()28 void PowerSaveBlocker::Disable() { in Disable()37 void PowerSaveBlocker::PostAdjustBlockCount(int delta) { in PostAdjustBlockCount()40 NewRunnableFunction(&PowerSaveBlocker::AdjustBlockCount, delta)); in PostAdjustBlockCount()44 void PowerSaveBlocker::AdjustBlockCount(int delta) { in AdjustBlockCount()
13 class PowerSaveBlocker {15 explicit PowerSaveBlocker(bool enabled);16 ~PowerSaveBlocker();40 DISALLOW_COPY_AND_ASSIGN(PowerSaveBlocker);
9 void PowerSaveBlocker::ApplyBlock(bool blocking) { in ApplyBlock()
12 void PowerSaveBlocker::ApplyBlock(bool blocking) { in ApplyBlock()
90 PowerSaveBlocker power_save_blocker_;