/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
InboundSmsHandler.java | 133 final PowerManager.WakeLock mWakeLock; 183 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, name); 184 mWakeLock.acquire(); // wake lock released after we enter idle state 217 while (mWakeLock.isHeld()) { 218 mWakeLock.release(); 288 mWakeLock.acquire(); 303 mWakeLock.release(); 305 if (mWakeLock.isHeld()) { 307 log("mWakeLock is still held after release"); 309 log("mWakeLock released") [all...] |
/frameworks/base/services/java/com/android/server/location/ |
GeofenceManager.java | 73 private final PowerManager.WakeLock mWakeLock; 114 mWakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); 368 mWakeLock.acquire(); 374 mWakeLock.release(); 376 // ...otherwise, mWakeLock.release() gets called by onSendFinished() 410 mWakeLock.release();
|
GpsLocationProvider.java | 322 private final PowerManager.WakeLock mWakeLock; 458 mWakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, WAKELOCK_KEY); 459 mWakeLock.setReferenceCounted(true); 648 mWakeLock.acquire(); 688 mWakeLock.release(); 706 mWakeLock.acquire(); 728 mWakeLock.release(); [all...] |
/frameworks/base/services/java/com/android/server/ |
VibratorService.java | 62 private final PowerManager.WakeLock mWakeLock; 143 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "*vibrator*"); 144 mWakeLock.setReferenceCounted(true); 521 mWakeLock.setWorkSource(mTmpWorkSource); 522 mWakeLock.acquire(); 580 mWakeLock.release();
|
WiredAccessoryManager.java | 76 private final WakeLock mWakeLock; // held while there is a pending route change 90 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "WiredAccessoryManager"); 91 mWakeLock.setReferenceCounted(false); 205 mWakeLock.acquire(); 220 mWakeLock.release();
|
UiModeManagerService.java | 91 private final PowerManager.WakeLock mWakeLock; 165 mWakeLock = mPowerManager.newWakeLock(PowerManager.FULL_WAKE_LOCK, TAG); 434 if (keepScreenOn != mWakeLock.isHeld()) { 436 mWakeLock.acquire(); 438 mWakeLock.release();
|
AlarmManagerService.java | 106 private PowerManager.WakeLock mWakeLock; 478 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); [all...] |
/development/samples/AccelerometerPlay/src/com/example/android/accelerometerplay/ |
AccelerometerPlayActivity.java | 57 private WakeLock mWakeLock; 75 mWakeLock = mPowerManager.newWakeLock(PowerManager.SCREEN_BRIGHT_WAKE_LOCK, getClass() 91 mWakeLock.acquire(); 109 mWakeLock.release();
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/ |
ImportVCardActivity.java | 220 private PowerManager.WakeLock mWakeLock; 232 mWakeLock = powerManager.newWakeLock( 240 if (mWakeLock != null && mWakeLock.isHeld()) { 242 mWakeLock.release(); 254 mWakeLock.acquire(); 370 mWakeLock.release(); 613 private PowerManager.WakeLock mWakeLock; 625 mWakeLock = powerManager.newWakeLock( 634 mWakeLock.acquire() [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppObexServerSession.java | 94 private WakeLock mWakeLock; 104 mWakeLock = pm.newWakeLock(PowerManager.FULL_WAKE_LOCK | PowerManager.ACQUIRE_CAUSES_WAKEUP 119 mWakeLock.acquire(); 308 if (mWakeLock.isHeld()) { 310 mWakeLock.release(); 587 if (mWakeLock.isHeld()) { 588 mWakeLock.release();
|
/frameworks/base/media/java/android/media/ |
MediaPlayer.java | 580 private PowerManager.WakeLock mWakeLock = null; [all...] |
/frameworks/base/core/java/android/hardware/location/ |
GeofenceHardwareImpl.java | 45 private PowerManager.WakeLock mWakeLock; 109 if (mWakeLock == null) { 112 mWakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); 114 mWakeLock.acquire(); 118 if (mWakeLock.isHeld()) mWakeLock.release(); [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/analyzer/ |
CameraAnalyzerActivity.java | 80 private PowerManager.WakeLock mWakeLock; 251 mWakeLock = mPowerManager.newWakeLock( 253 mWakeLock.acquire(); 294 mWakeLock.release();
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
TransactionService.java | 149 private PowerManager.WakeLock mWakeLock; 509 if (mWakeLock == null) { 511 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "MMS Connectivity"); 512 mWakeLock.setReferenceCounted(false); 520 mWakeLock.acquire(); 525 if (mWakeLock != null && mWakeLock.isHeld()) { 527 mWakeLock.release(); [all...] |
/frameworks/base/services/java/com/android/server/net/ |
NetworkStatsService.java | 165 private final PowerManager.WakeLock mWakeLock; 271 mWakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); 755 mWakeLock.acquire(); 759 mWakeLock.release(); 775 mWakeLock.acquire(); 779 mWakeLock.release(); [all...] |
/packages/apps/VoiceDialer/src/com/android/voicedialer/ |
VoiceDialerActivity.java | 182 private WakeLock mWakeLock; [all...] |
/packages/services/Telephony/src/com/android/phone/ |
PhoneGlobals.java | 208 private PowerManager.WakeLock mWakeLock; 430 mWakeLock = mPowerManager.newWakeLock(PowerManager.FULL_WAKE_LOCK, LOG_TAG); [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/ |
PhotoCaptureActivity.java | 77 private WakeLock mWakeLock; 192 mWakeLock = pm.newWakeLock(PowerManager.FULL_WAKE_LOCK, TAG); 193 mWakeLock.acquire(); 241 mWakeLock.release();
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/ |
A2dpStateMachine.java | 77 private final WakeLock mWakeLock; 136 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "BluetoothA2dpService"); 683 mWakeLock.acquire(); [all...] |
/packages/apps/Email/emailsync/src/com/android/emailsync/ |
SyncManager.java | 187 private WakeLock mWakeLock = null; [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
CDMAPhone.java | 109 WakeLock mWakeLock; 180 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK,LOG_TAG); 267 if (mWakeLock.isHeld()) { 268 Rlog.e(LOG_TAG, "UNEXPECTED; mWakeLock is held when finalizing."); 269 mWakeLock.release(); 970 if (mWakeLock.isHeld()) { 971 mWakeLock.release(); [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
StopwatchFragment.java | 61 private WakeLock mWakeLock; [all...] |
/development/apps/Development/src/com/android/development/ |
Connectivity.java | 130 private WakeLock mWakeLock = null; 410 mWakeLock = mPm.newWakeLock(PowerManager.FULL_WAKE_LOCK, "ConnectivityTest"); 411 mWakeLock.acquire(); 419 mWakeLock.release(); 420 mWakeLock = null;
|
/packages/apps/SoundRecorder/src/com/android/soundrecorder/ |
SoundRecorder.java | 210 WakeLock mWakeLock; 277 mWakeLock = pm.newWakeLock(PowerManager.SCREEN_DIM_WAKE_LOCK, 827 mWakeLock.acquire(); // we don't want to go to sleep while recording or playing 829 if (mWakeLock.isHeld()) 830 mWakeLock.release();
|
/hardware/ti/wpan/tools/FM/service/src/java/com/ti/server/ |
StubFmService.java | 145 private WakeLock mWakeLock = null; 299 mWakeLock = powerManager. 304 mWakeLock = null; 307 if (mWakeLock != null) { 308 mWakeLock.setReferenceCounted(false); 585 if ((mWakeLock != null) && (mWakeLock.isHeld())) { 586 mWakeLock.release(); 617 if ((mWakeLock != null) && (mWakeLock.isHeld())) [all...] |