Searched refs:sWakeLock (Results 1 – 4 of 4) sorted by relevance
31 static WakeLock sWakeLock; field in KeepAwakeAnimationListener35 if (sWakeLock == null) { in KeepAwakeAnimationListener()36 sWakeLock = WakeLock.createPartial(context, "animation"); in KeepAwakeAnimationListener()67 sWakeLock.acquire(TAG); in onStart()72 sWakeLock.release(TAG); in onEnd()
58 private static volatile PowerManager.WakeLock sWakeLock = null; field in MmsService173 if (sWakeLock == null) { in acquireWakeLock()176 sWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, WAKELOCK_ID); in acquireWakeLock()178 sWakeLock.acquire(); in acquireWakeLock()188 if (sWakeLock != null) { in releaseWakeLock()189 sWakeLock.release(); in releaseWakeLock()205 wakeLockHeld = sWakeLock != null && sWakeLock.isHeld(); in verifyWakeLockNotHeld()
45 private static WakeLockHelper sWakeLock = new WakeLockHelper(WAKELOCK_ID); field in SafeAsyncTask161 sWakeLock.acquire(Factory.get().getApplicationContext(), intent, WAKELOCK_OP); in executeOnThreadPool()168 sWakeLock.release(intent, WAKELOCK_OP); in executeOnThreadPool()
48 KeepAwakeAnimationListener.sWakeLock = mWakeLock; in setup()