/frameworks/av/include/media/stagefright/foundation/ |
H A D | AWakeLock.h | 46 PMDeathRecipient(AWakeLock *wakeLock) : mWakeLock(wakeLock) {} 56 AWakeLock *mWakeLock; member in class:android::AWakeLock::PMDeathRecipient
|
/frameworks/base/tests/utils/SleepUtils/AlarmService/src/com/android/testing/alarmservice/ |
H A D | WakeUpController.java | 32 private WakeLock mWakeLock = null; field in class:WakeUpController 47 if (mWakeLock == null) { 50 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "testing-alarmservice"); 51 Log.i(LOG_TAG, "Create wakelock: 0x" + Integer.toHexString(mWakeLock.hashCode())); 53 return mWakeLock;
|
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
H A D | SipWakeLock.java | 28 private PowerManager.WakeLock mWakeLock; field in class:SipWakeLock 53 if (mWakeLock == null) { 54 mWakeLock = mPowerManager.newWakeLock( 57 if (!mWakeLock.isHeld()) mWakeLock.acquire(); 63 if ((mWakeLock != null) && mHolders.isEmpty() 64 && mWakeLock.isHeld()) { 65 mWakeLock.release();
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | ConsumerIrService.java | 37 private final PowerManager.WakeLock mWakeLock; field in class:ConsumerIrService 45 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); 46 mWakeLock.setReferenceCounted(true);
|
H A D | DockObserver.java | 55 private final PowerManager.WakeLock mWakeLock; field in class:DockObserver 74 mWakeLock = mPowerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); 146 mWakeLock.acquire(); 222 mWakeLock.release();
|
H A D | GestureLauncherService.java | 70 private WakeLock mWakeLock; field in class:GestureLauncherService 129 mWakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, 302 mWakeLock.acquire(500L);
|
H A D | NetworkTimeUpdateService.java | 87 private final PowerManager.WakeLock mWakeLock; field in class:NetworkTimeUpdateService 118 mWakeLock = ((PowerManager) context.getSystemService(Context.POWER_SERVICE)).newWakeLock( 164 mWakeLock.acquire(); 168 mWakeLock.release();
|
H A D | UiModeManagerService.java | 99 private PowerManager.WakeLock mWakeLock; field in class:UiModeManagerService 175 mWakeLock = powerManager.newWakeLock(PowerManager.FULL_WAKE_LOCK, TAG); 544 if (keepScreenOn != mWakeLock.isHeld()) { 546 mWakeLock.acquire(); 548 mWakeLock.release();
|
H A D | AnyMotionDetector.java | 89 private PowerManager.WakeLock mWakeLock; field in class:AnyMotionDetector 115 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); 116 mWakeLock.setReferenceCounted(false); 146 mWakeLock.acquire(); 168 if (mWakeLock.isHeld()) { 169 mWakeLock.release(); 215 if (mWakeLock.isHeld()) { 216 mWakeLock.release();
|
H A D | NativeDaemonConnector.java | 66 private final PowerManager.WakeLock mWakeLock; field in class:NativeDaemonConnector 95 mWakeLock = wl; 96 if (mWakeLock != null) { 97 mWakeLock.setReferenceCounted(true); 156 if (mCallbacks.onCheckHoldWakeLock(msg.what) && mWakeLock != null) { 157 mWakeLock.release(); 231 && mWakeLock != null) { 232 mWakeLock.acquire(); 247 mWakeLock.release();
|
H A D | WiredAccessoryManager.java | 77 private final WakeLock mWakeLock; // held while there is a pending route change field in class:WiredAccessoryManager 91 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "WiredAccessoryManager"); 92 mWakeLock.setReferenceCounted(false); 165 mWakeLock.acquire(); 217 mWakeLock.acquire(); 233 mWakeLock.release(); 237 mWakeLock.release();
|
/frameworks/base/tests/DozeTest/src/com/android/dreams/dozetest/ |
H A D | DozeTestDream.java | 57 private PowerManager.WakeLock mWakeLock; field in class:DozeTestDream 76 mWakeLock = mPowerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); 152 mWakeLock.acquire(UPDATE_TIME_TIMEOUT + 5000 /*for testing brightness*/);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | SmsStorageMonitor.java | 54 private PowerManager.WakeLock mWakeLock; field in class:SmsStorageMonitor 135 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "SmsStorageMonitor"); 136 mWakeLock.setReferenceCounted(true); 146 mWakeLock.acquire(WAKE_LOCK_TIMEOUT);
|
H A D | WakeLockStateMachine.java | 40 private final PowerManager.WakeLock mWakeLock; field in class:WakeLockStateMachine 71 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, debugTag); 72 mWakeLock.acquire(); // wake lock released after we enter idle state 94 while (mWakeLock.isHeld()) { 95 mWakeLock.release(); 146 mWakeLock.acquire(); 161 mWakeLock.release(); 163 if (mWakeLock.isHeld()) { 165 log("mWakeLock is still held after release"); 167 log("mWakeLock release [all...] |
/frameworks/base/media/java/android/media/ |
H A D | AsyncPlayer.java | 132 private PowerManager.WakeLock mWakeLock; field in class:AsyncPlayer 250 if (mWakeLock != null || mThread != null) { 253 throw new RuntimeException("assertion failed mWakeLock=" + mWakeLock 257 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, mTag); 261 if (mWakeLock != null) { 262 mWakeLock.acquire(); 267 if (mWakeLock != null) { 268 mWakeLock.release();
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
H A D | MediaFrameworkTest.java | 69 private PowerManager.WakeLock mWakeLock = null; field in class:MediaFrameworkTest 97 mWakeLock = pm.newWakeLock(PowerManager.FULL_WAKE_LOCK, "MediaFrameworkTest"); 98 mWakeLock.acquire(); 104 mWakeLock.release();
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/services/ |
H A D | FileOperationService.java | 94 private PowerManager.WakeLock mWakeLock; // the wake lock, if held. field in class:FileOperationService 156 if (mWakeLock == null) { 157 mWakeLock = mPowerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); 170 mWakeLock.acquire(); 279 mWakeLock.release(); 280 mWakeLock = null; 294 return mWakeLock != null && mWakeLock.isHeld();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
H A D | NotificationPlayer.java | 262 private PowerManager.WakeLock mWakeLock; field in class:NotificationPlayer 380 if (mWakeLock != null || mThread != null) { 383 throw new RuntimeException("assertion failed mWakeLock=" + mWakeLock 387 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, mTag); 391 if (mWakeLock != null) { 392 mWakeLock.acquire(); 397 if (mWakeLock != null) { 398 mWakeLock.release();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | FingerprintUnlockController.java | 88 private PowerManager.WakeLock mWakeLock; field in class:FingerprintUnlockController 132 if (mWakeLock != null) { 137 mWakeLock.release(); 138 mWakeLock = null; 147 mWakeLock = mPowerManager.newWakeLock( 150 mWakeLock.acquire();
|
/frameworks/base/services/core/java/com/android/server/dreams/ |
H A D | DreamController.java | 288 public PowerManager.WakeLock mWakeLock; field in class:DreamController.DreamRecord 303 mWakeLock = wakeLock; 306 mWakeLock.acquire(); 356 if (mWakeLock != null) { 357 mWakeLock.release(); 358 mWakeLock = null;
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | HdmiCecLocalDevicePlayback.java | 60 private ActiveWakeLock mWakeLock; field in class:HdmiCecLocalDevicePlayback 205 if (mWakeLock == null) { 207 mWakeLock = new SystemWakeLock(); 211 mWakeLock = new ActiveWakeLock() { 222 return mWakeLock; 396 private final WakeLock mWakeLock; field in class:HdmiCecLocalDevicePlayback.SystemWakeLock 398 mWakeLock = mService.getPowerManager().newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); 399 mWakeLock.setReferenceCounted(false); 404 mWakeLock.acquire(); 410 mWakeLock [all...] |
/frameworks/base/services/core/java/com/android/server/location/ |
H A D | GeofenceManager.java | 73 private final PowerManager.WakeLock mWakeLock; field in class:GeofenceManager 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();
|
/frameworks/base/services/net/java/android/net/ip/ |
H A D | IpReachabilityMonitor.java | 150 private final PowerManager.WakeLock mWakeLock; field in class:IpReachabilityMonitor 239 mWakeLock = ((PowerManager) context.getSystemService(Context.POWER_SERVICE)).newWakeLock( 405 mWakeLock.acquire(getProbeWakeLockDuration());
|
/frameworks/base/services/core/java/com/android/server/job/ |
H A D | JobServiceContext.java | 109 private PowerManager.WakeLock mWakeLock; field in class:JobServiceContext 326 // such that if we simply assign mWakeLock to be the new instance, we orphan 329 if (mWakeLock != null) { 330 Slog.w(TAG, "Bound new job " + runningJob + " but live wakelock " + mWakeLock 331 + " tag=" + mWakeLock.getTag()); 332 mWakeLock.release(); 334 mWakeLock = wl; 618 if (mWakeLock != null) { 619 mWakeLock.release(); 622 mWakeLock [all...] |
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerRenderer.h | 206 sp<AWakeLock> mWakeLock; member in struct:android::NuPlayer::Renderer
|