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.java60 PowerManager.WakeLock mPartialWakeLock; field in class:FrameworkPerfActivity
204 mPartialWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "Scheduler");
205 mPartialWakeLock.setReferenceCounted(false);
244 if (mPartialWakeLock.isHeld()) {
245 mPartialWakeLock.release();
451 if (!mPartialWakeLock.isHeld()) {
452 mPartialWakeLock.acquire();
456 if (mPartialWakeLock.isHeld()) {
457 mPartialWakeLock.release();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmConnection.java84 private PowerManager.WakeLock mPartialWakeLock; field in class:GsmConnection
612 if (mPartialWakeLock.isHeld()) {
613 Rlog.e(LOG_TAG, "[GSMConn] UNEXPECTED; mPartialWakeLock is held when finalizing.");
729 mPartialWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, LOG_TAG);
735 mPartialWakeLock.acquire();
740 synchronized(mPartialWakeLock) {
741 if (mPartialWakeLock.isHeld()) {
743 mPartialWakeLock.release();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaConnection.java85 private PowerManager.WakeLock mPartialWakeLock; field in class:CdmaConnection
677 if (mPartialWakeLock.isHeld()) {
678 Rlog.e(LOG_TAG, "[CdmaConn] UNEXPECTED; mPartialWakeLock is held when finalizing.");
782 synchronized (mPartialWakeLock) {
783 if (mPartialWakeLock.isHeld()) {
800 mPartialWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, LOG_TAG);
805 mPartialWakeLock.acquire();
809 synchronized (mPartialWakeLock) {
810 if (mPartialWakeLock.isHeld()) {
812 mPartialWakeLock
[all...]

Completed in 100 milliseconds