/frameworks/base/services/core/java/com/android/server/power/ |
D | PowerManagerService.java | 885 WakeLock wakeLock; in acquireWakeLockInternal() local 889 wakeLock = mWakeLocks.get(index); in acquireWakeLockInternal() 890 if (!wakeLock.hasSameProperties(flags, tag, ws, uid, pid)) { in acquireWakeLockInternal() 892 notifyWakeLockChangingLocked(wakeLock, flags, tag, packageName, in acquireWakeLockInternal() 894 wakeLock.updateProperties(flags, tag, packageName, ws, historyTag, uid, pid); in acquireWakeLockInternal() 898 wakeLock = new WakeLock(lock, flags, tag, packageName, ws, historyTag, uid, pid); in acquireWakeLockInternal() 900 lock.linkToDeath(wakeLock, 0); in acquireWakeLockInternal() 904 mWakeLocks.add(wakeLock); in acquireWakeLockInternal() 905 setWakeLockDisabledStateLocked(wakeLock); in acquireWakeLockInternal() 909 applyWakeLockFlagsOnAcquireLocked(wakeLock, uid); in acquireWakeLockInternal() [all …]
|
/frameworks/av/include/media/stagefright/foundation/ |
D | AWakeLock.h | 46 PMDeathRecipient(AWakeLock *wakeLock) : mWakeLock(wakeLock) {} in PMDeathRecipient() argument
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | NotificationController.java | 388 final WakeLock wakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, in handleCancelPrintJob() local 390 wakeLock.acquire(); in handleCancelPrintJob() 410 wakeLock.release(); in handleCancelPrintJob() 427 final WakeLock wakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, in handleRestartPrintJob() local 429 wakeLock.acquire(); in handleRestartPrintJob() 447 wakeLock.release(); in handleRestartPrintJob()
|
/frameworks/base/services/core/java/com/android/server/dreams/ |
D | DreamController.java | 122 boolean isTest, boolean canDoze, int userId, PowerManager.WakeLock wakeLock) { in startDream() argument 134 mCurrentDream = new DreamRecord(token, name, isTest, canDoze, userId, wakeLock); in startDream() 297 boolean isTest, boolean canDoze, int userId, PowerManager.WakeLock wakeLock) { in DreamRecord() argument 303 mWakeLock = wakeLock; in DreamRecord()
|
D | DreamManagerService.java | 370 PowerManager.WakeLock wakeLock = mPowerManager in startDreamLocked() local 372 mHandler.post(wakeLock.wrap( in startDreamLocked() 373 () -> mController.startDream(newToken, name, isTest, canDoze, userId, wakeLock))); in startDreamLocked()
|
/frameworks/base/core/java/android/hardware/fingerprint/ |
D | FingerprintManager.java | 761 final PowerManager.WakeLock wakeLock = powerManager.newWakeLock( in addLockoutResetCallback() 763 wakeLock.acquire(); in addLockoutResetCallback() 770 wakeLock.release(); in addLockoutResetCallback()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsService.java | 270 PowerManager.WakeLock wakeLock = in create() local 274 wakeLock, NtpTrustedTime.getInstance(context), TelephonyManager.getDefault(), in create() 288 AlarmManager alarmManager, PowerManager.WakeLock wakeLock, TrustedTime time, in NetworkStatsService() argument 297 mWakeLock = checkNotNull(wakeLock, "missing WakeLock"); in NetworkStatsService()
|
/frameworks/base/docs/html/training/scheduling/ |
D | wakelock.jd | 140 WakeLock wakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, 142 wakeLock.acquire();</pre>
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncManager.java | 2594 PowerManager.WakeLock wakeLock = mWakeLocks.get(wakeLockKey); in getSyncWakeLock() local 2595 if (wakeLock == null) { in getSyncWakeLock() 2597 wakeLock = mPowerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, name); in getSyncWakeLock() 2598 wakeLock.setReferenceCounted(false); in getSyncWakeLock() 2599 mWakeLocks.put(wakeLockKey, wakeLock); in getSyncWakeLock() 2601 return wakeLock; in getSyncWakeLock()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | NetworkStatsServiceTest.java | 172 PowerManager.WakeLock wakeLock = in setUp() local 176 mServiceContext, mNetManager, alarmManager, wakeLock, mTime, in setUp()
|
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
D | SipSessionGroup.java | 132 SipWakeupTimer timer, SipWakeLock wakeLock) throws SipException { in SipSessionGroup() argument 136 mWakeLock = wakeLock; in SipSessionGroup()
|