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()
77 private PowerManager.WakeLock mPartialWakeLock; field in GsmCdmaConnection890 if (mPartialWakeLock != null && mPartialWakeLock.isHeld()) { in finalize()1009 synchronized (mPartialWakeLock) { in setPostDialState()1010 if (mPartialWakeLock.isHeld()) { in setPostDialState()1029 mPartialWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, LOG_TAG); in createWakeLock()1034 if (mPartialWakeLock != null) { in acquireWakeLock()1035 synchronized (mPartialWakeLock) { in acquireWakeLock()1037 mPartialWakeLock.acquire(); in acquireWakeLock()1043 if (mPartialWakeLock != null) { in releaseWakeLock()1044 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()
91 private PowerManager.WakeLock mPartialWakeLock; field in ImsPhoneConnection636 mPartialWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, LOG_TAG); in createWakeLock()643 mPartialWakeLock.acquire(); in acquireWakeLock()648 if (mPartialWakeLock != null) { in releaseWakeLock()649 synchronized (mPartialWakeLock) { in releaseWakeLock()650 if (mPartialWakeLock.isHeld()) { in releaseWakeLock()652 mPartialWakeLock.release(); in releaseWakeLock()