Searched refs:mPartialWakeLock (Results 1 – 4 of 4) 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()
71 private PowerManager.WakeLock mPartialWakeLock; field in GsmCdmaConnection849 if (mPartialWakeLock != null && mPartialWakeLock.isHeld()) { in finalize()968 synchronized (mPartialWakeLock) { in setPostDialState()969 if (mPartialWakeLock.isHeld()) { in setPostDialState()987 mPartialWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, LOG_TAG); in createWakeLock()991 if (mPartialWakeLock != null) { in acquireWakeLock()992 synchronized (mPartialWakeLock) { in acquireWakeLock()994 mPartialWakeLock.acquire(); in acquireWakeLock()1000 if (mPartialWakeLock != null) { in releaseWakeLock()1001 synchronized (mPartialWakeLock) { in releaseWakeLock()[all …]
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()
85 private PowerManager.WakeLock mPartialWakeLock; field in ImsPhoneConnection616 mPartialWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, LOG_TAG); in createWakeLock()622 mPartialWakeLock.acquire(); in acquireWakeLock()627 if (mPartialWakeLock != null) { in releaseWakeLock()628 synchronized (mPartialWakeLock) { in releaseWakeLock()629 if (mPartialWakeLock.isHeld()) { in releaseWakeLock()631 mPartialWakeLock.release(); in releaseWakeLock()