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()
78 private PowerManager.WakeLock mPartialWakeLock; field in GsmCdmaConnection901 if (mPartialWakeLock != null && mPartialWakeLock.isHeld()) { in finalize()1020 synchronized (mPartialWakeLock) { in setPostDialState()1021 if (mPartialWakeLock.isHeld()) { in setPostDialState()1040 mPartialWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, LOG_TAG); in createWakeLock()1045 if (mPartialWakeLock != null) { in acquireWakeLock()1046 synchronized (mPartialWakeLock) { in acquireWakeLock()1048 mPartialWakeLock.acquire(); in acquireWakeLock()1054 if (mPartialWakeLock != null) { in releaseWakeLock()1055 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()
94 private PowerManager.WakeLock mPartialWakeLock; field in ImsPhoneConnection707 mPartialWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, LOG_TAG); in createWakeLock()714 mPartialWakeLock.acquire(); in acquireWakeLock()719 if (mPartialWakeLock != null) { in releaseWakeLock()720 synchronized (mPartialWakeLock) { in releaseWakeLock()721 if (mPartialWakeLock.isHeld()) { in releaseWakeLock()723 mPartialWakeLock.release(); in releaseWakeLock()