Searched refs:gSuspendBlocker (Results 1 – 1 of 1) sorted by relevance
135 static std::shared_ptr<IWakeLock> gSuspendBlocker = nullptr; variable182 if (gSuspendBlocker) { in enableAutoSuspend()183 gSuspendBlocker->release(); in enableAutoSuspend()184 gSuspendBlocker = nullptr; in enableAutoSuspend()191 if (!gSuspendBlocker) { in disableAutoSuspend()194 &gSuspendBlocker); in disableAutoSuspend()195 assert(gSuspendBlocker != nullptr); in disableAutoSuspend()