Searched refs:mWakeLock (Results 1 - 15 of 15) sorted by relevance

/packages/apps/Gallery3D/src/com/cooliris/media/
H A DGallery.java50 private WakeLock mWakeLock; field in class:Gallery
173 if (mWakeLock != null) {
174 if (mWakeLock.isHeld()) {
175 mWakeLock.release();
179 mWakeLock = pm.newWakeLock(PowerManager.SCREEN_BRIGHT_WAKE_LOCK, "GridView.Slideshow.All");
180 mWakeLock.acquire();
214 if (mWakeLock != null) {
215 if (mWakeLock.isHeld()) {
216 mWakeLock.release();
218 mWakeLock
[all...]
H A DGridLayer.java113 private WakeLock mWakeLock; field in class:GridLayer
404 if (mWakeLock != null) {
405 if (mWakeLock.isHeld()) {
406 mWakeLock.release();
408 mWakeLock = null;
1312 mWakeLock = pm.newWakeLock(PowerManager.SCREEN_BRIGHT_WAKE_LOCK, "GridView.Slideshow");
1313 mWakeLock.acquire();
/packages/apps/IM/src/com/android/im/service/
H A DAndroidHeartBeatService.java53 /*package*/ PowerManager.WakeLock mWakeLock; field in class:AndroidHeartBeatService
68 mWakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK,
124 mWakeLock.acquire();
134 mWakeLock.release();
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
H A DBluetoothPbapService.java165 private PowerManager.WakeLock mWakeLock = null; field in class:BluetoothPbapService
292 if (mWakeLock != null) {
293 mWakeLock.release();
294 mWakeLock = null;
414 if (mWakeLock == null) {
416 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK,
418 mWakeLock.setReferenceCounted(false);
419 mWakeLock.acquire();
448 if (mWakeLock != null) {
449 mWakeLock
[all...]
/packages/providers/MediaProvider/src/com/android/providers/media/
H A DMediaScannerService.java54 private PowerManager.WakeLock mWakeLock; field in class:MediaScannerService
96 mWakeLock.acquire();
119 mWakeLock.release();
126 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG);
/packages/apps/Contacts/src/com/android/contacts/
H A DExportVCardActivity.java120 private PowerManager.WakeLock mWakeLock; field in class:ExportVCardActivity.ActualExportThread
126 mWakeLock = powerManager.newWakeLock(
134 mWakeLock.acquire();
203 mWakeLock.release();
213 if (mWakeLock != null && mWakeLock.isHeld()) {
214 mWakeLock.release();
H A DImportVCardActivity.java160 private PowerManager.WakeLock mWakeLock; field in class:ImportVCardActivity.VCardReadThread
183 mWakeLock = powerManager.newWakeLock(
190 if (mWakeLock != null && mWakeLock.isHeld()) {
191 mWakeLock.release();
198 mWakeLock.acquire();
282 mWakeLock.release();
544 private PowerManager.WakeLock mWakeLock; field in class:ImportVCardActivity.VCardScanThread
556 mWakeLock = powerManager.newWakeLock(
565 mWakeLock
[all...]
/packages/apps/Mms/src/com/android/mms/transaction/
H A DTransactionService.java133 private PowerManager.WakeLock mWakeLock; field in class:TransactionService
455 if (mWakeLock == null) {
457 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "MMS Connectivity");
458 mWakeLock.setReferenceCounted(false);
465 mWakeLock.acquire();
470 if (mWakeLock != null && mWakeLock.isHeld()) {
471 mWakeLock.release();
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppObexServerSession.java94 private WakeLock mWakeLock; field in class:BluetoothOppObexServerSession
104 mWakeLock = pm.newWakeLock(PowerManager.FULL_WAKE_LOCK | PowerManager.ACQUIRE_CAUSES_WAKEUP
119 mWakeLock.acquire();
289 if (mWakeLock.isHeld()) {
291 mWakeLock.release();
544 if (mWakeLock.isHeld()) {
545 mWakeLock.release();
/packages/apps/Phone/src/com/android/phone/
H A DPhoneApp.java187 private PowerManager.WakeLock mWakeLock; field in class:PhoneApp
424 mWakeLock = pm.newWakeLock(PowerManager.FULL_WAKE_LOCK
925 if (mWakeLock.isHeld()) {
926 mWakeLock.release();
932 mWakeLock.acquire();
940 if (mWakeLock.isHeld()) {
941 mWakeLock.release();
/packages/apps/VoiceDialer/src/com/android/voicedialer/
H A DBluetoothVoiceDialerActivity.java174 private WakeLock mWakeLock; field in class:BluetoothVoiceDialerActivity
925 if (mWakeLock == null) {
927 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "BluetoothVoiceDialer");
928 mWakeLock.acquire();
933 if (mWakeLock != null) {
934 mWakeLock.release();
935 mWakeLock = null;
/packages/apps/SoundRecorder/src/com/android/soundrecorder/
H A DSoundRecorder.java194 WakeLock mWakeLock; field in class:SoundRecorder
261 mWakeLock = pm.newWakeLock(PowerManager.SCREEN_DIM_WAKE_LOCK,
815 mWakeLock.acquire(); // we don't want to go to sleep while recording
817 if (mWakeLock.isHeld())
818 mWakeLock.release();
/packages/apps/Music/src/com/android/music/
H A DMediaPlaybackService.java137 private WakeLock mWakeLock; field in class:MediaPlaybackService
205 mWakeLock.release();
309 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, this.getClass().getName());
310 mWakeLock.setReferenceCounted(false);
344 mWakeLock.release();
1787 mWakeLock.acquire(30000);
/packages/apps/Email/src/com/android/exchange/
H A DSyncManager.java200 private WakeLock mWakeLock = null; field in class:SyncManager
1347 if (mWakeLock == null) {
1349 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "MAIL_SERVICE");
1350 mWakeLock.acquire();
1364 if (mWakeLock != null) {
1365 mWakeLock.release();
1367 mWakeLock = null;
1941 if (mWakeLock != null) {
1942 mWakeLock.release();
1943 mWakeLock
[all...]
/packages/apps/Browser/src/com/android/browser/
H A DBrowserActivity.java233 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "Browser");
757 if (mWakeLock.isHeld()) {
759 mWakeLock.release();
938 mWakeLock.acquire();
2268 if (mWakeLock.isHeld()) {
2269 mWakeLock.release();
2506 if (mWakeLock.isHeld()) {
2508 mWakeLock.release();
3884 private PowerManager.WakeLock mWakeLock; field in class:BrowserActivity

Completed in 293 milliseconds