Home
last modified time | relevance | path

Searched refs:sWakeLock (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Messaging/src/android/support/v7/mms/
DMmsService.java58 private static volatile PowerManager.WakeLock sWakeLock = null; field in MmsService
173 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()
/packages/apps/Messaging/src/com/android/messaging/util/
DSafeAsyncTask.java45 private static WakeLockHelper sWakeLock = new WakeLockHelper(WAKELOCK_ID); field in SafeAsyncTask
161 sWakeLock.acquire(Factory.get().getApplicationContext(), intent, WAKELOCK_OP); in executeOnThreadPool()
168 sWakeLock.release(intent, WAKELOCK_OP); in executeOnThreadPool()