Searched refs:gSuspendBlocker (Results 1 – 1 of 1) sorted by relevance
358 static sp<IWakeLock> gSuspendBlocker = nullptr; variable391 if (gSuspendBlocker) { in enableAutoSuspend()392 gSuspendBlocker->release(); in enableAutoSuspend()393 gSuspendBlocker.clear(); in enableAutoSuspend()400 if (!gSuspendBlocker) { in disableAutoSuspend()402 gSuspendBlocker = suspendHal->acquireWakeLock(WakeLockType::PARTIAL, in disableAutoSuspend()