Searched refs:mPartialWakeLock (Results 1 – 5 of 5) sorted by relevance
42 PowerManager.WakeLock mPartialWakeLock; field in BatteryWaster68 mPartialWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "BatteryWaster"); in onCreate()69 mPartialWakeLock.setReferenceCounted(false); in onCreate()88 if (mPartialWakeLock.isHeld()) { in onDestroy()89 mPartialWakeLock.release(); in onDestroy()150 if (!mPartialWakeLock.isHeld()) { in updateWakeLock()151 mPartialWakeLock.acquire(); in updateWakeLock()154 if (mPartialWakeLock.isHeld()) { in updateWakeLock()155 mPartialWakeLock.release(); in updateWakeLock()
61 PowerManager.WakeLock mPartialWakeLock; field in FrameworkPerfActivity206 mPartialWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "Scheduler"); in onCreate()207 mPartialWakeLock.setReferenceCounted(false); in onCreate()246 if (mPartialWakeLock.isHeld()) { in onDestroy()247 mPartialWakeLock.release(); in onDestroy()453 if (!mPartialWakeLock.isHeld()) { in updateWakeLock()454 mPartialWakeLock.acquire(); in updateWakeLock()458 if (mPartialWakeLock.isHeld()) { in updateWakeLock()459 mPartialWakeLock.release(); in updateWakeLock()
70 private PowerManager.WakeLock mPartialWakeLock; field in CdmaConnection649 if (mPartialWakeLock.isHeld()) { in finalize()757 synchronized (mPartialWakeLock) { in setPostDialState()758 if (mPartialWakeLock.isHeld()) { in setPostDialState()776 mPartialWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, LOG_TAG); in createWakeLock()781 mPartialWakeLock.acquire(); in acquireWakeLock()785 synchronized (mPartialWakeLock) { in releaseWakeLock()786 if (mPartialWakeLock.isHeld()) { in releaseWakeLock()788 mPartialWakeLock.release(); in releaseWakeLock()
72 private PowerManager.WakeLock mPartialWakeLock; field in GsmConnection599 if (mPartialWakeLock.isHeld()) { in finalize()721 mPartialWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, LOG_TAG); in createWakeLock()727 mPartialWakeLock.acquire(); in acquireWakeLock()732 synchronized(mPartialWakeLock) { in releaseWakeLock()733 if (mPartialWakeLock.isHeld()) { in releaseWakeLock()735 mPartialWakeLock.release(); in releaseWakeLock()
78 private PowerManager.WakeLock mPartialWakeLock; field in ImsPhoneConnection499 mPartialWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, LOG_TAG); in createWakeLock()505 mPartialWakeLock.acquire(); in acquireWakeLock()510 synchronized(mPartialWakeLock) { in releaseWakeLock()511 if (mPartialWakeLock.isHeld()) { in releaseWakeLock()513 mPartialWakeLock.release(); in releaseWakeLock()