Searched defs:mPartialWakeLock (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/tests/BatteryWaster/src/com/android/batterywaster/
H A DBatteryWaster.java42 PowerManager.WakeLock mPartialWakeLock; field in class:BatteryWaster
68 mPartialWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "BatteryWaster");
69 mPartialWakeLock.setReferenceCounted(false);
88 if (mPartialWakeLock.isHeld()) {
89 mPartialWakeLock.release();
150 if (!mPartialWakeLock.isHeld()) {
151 mPartialWakeLock.acquire();
154 if (mPartialWakeLock.isHeld()) {
155 mPartialWakeLock.release();
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
H A DFrameworkPerfActivity.java61 PowerManager.WakeLock mPartialWakeLock; field in class:FrameworkPerfActivity
206 mPartialWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "Scheduler");
207 mPartialWakeLock.setReferenceCounted(false);
246 if (mPartialWakeLock.isHeld()) {
247 mPartialWakeLock.release();
453 if (!mPartialWakeLock.isHeld()) {
454 mPartialWakeLock.acquire();
458 if (mPartialWakeLock.isHeld()) {
459 mPartialWakeLock.release();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DGsmCdmaConnection.java71 private PowerManager.WakeLock mPartialWakeLock; field in class:GsmCdmaConnection
849 if (mPartialWakeLock != null && mPartialWakeLock.isHeld()) {
850 Rlog.e(LOG_TAG, "UNEXPECTED; mPartialWakeLock is held when finalizing.");
968 synchronized (mPartialWakeLock) {
969 if (mPartialWakeLock.isHeld()) {
987 mPartialWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, LOG_TAG);
991 if (mPartialWakeLock != null) {
992 synchronized (mPartialWakeLock) {
994 mPartialWakeLock
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsPhoneConnection.java85 private PowerManager.WakeLock mPartialWakeLock; field in class:ImsPhoneConnection
616 mPartialWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, LOG_TAG);
622 mPartialWakeLock.acquire();
627 if (mPartialWakeLock != null) {
628 synchronized (mPartialWakeLock) {
629 if (mPartialWakeLock.isHeld()) {
631 mPartialWakeLock.release();

Completed in 221 milliseconds