Searched refs: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
814 if (mPartialWakeLock != null && mPartialWakeLock.isHeld()) {
815 Rlog.e(LOG_TAG, "UNEXPECTED; mPartialWakeLock is held when finalizing.");
923 synchronized (mPartialWakeLock) {
924 if (mPartialWakeLock.isHeld()) {
942 mPartialWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, LOG_TAG);
946 if (mPartialWakeLock != null) {
947 synchronized (mPartialWakeLock) {
949 mPartialWakeLock
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsPhoneConnection.java84 private PowerManager.WakeLock mPartialWakeLock; field in class:ImsPhoneConnection
567 mPartialWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, LOG_TAG);
573 mPartialWakeLock.acquire();
578 if (mPartialWakeLock != null) {
579 synchronized (mPartialWakeLock) {
580 if (mPartialWakeLock.isHeld()) {
582 mPartialWakeLock.release();

Completed in 138 milliseconds