/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeFactory.java | 55 WakeLock wakeLock = new DelayedWakeLock(handler, in assembleMachine() local 64 DozeMachine machine = new DozeMachine(wrappedService, config, wakeLock); in assembleMachine() 69 handler, wakeLock, machine, dockManager), in assembleMachine() 70 createDozeUi(context, host, wakeLock, machine, handler, alarmManager, params), in assembleMachine() 71 new DozeScreenState(wrappedService, handler, params, wakeLock), in assembleMachine() 92 DozeParameters params, Handler handler, WakeLock wakeLock, DozeMachine machine, in createDozeTriggers() argument 96 sensorManager, handler, wakeLock, allowPulseTriggers, dockManager); in createDozeTriggers() 99 private DozeMachine.Part createDozeUi(Context context, DozeHost host, WakeLock wakeLock, in createDozeUi() argument 102 return new DozeUi(context, alarmManager, machine, wakeLock, host, handler, params, in createDozeUi()
|
D | DozeScreenState.java | 56 DozeParameters parameters, WakeLock wakeLock) { in DozeScreenState() argument 60 mWakeLock = new SettableWakeLock(wakeLock, TAG); in DozeScreenState()
|
D | DozeUi.java | 66 WakeLock wakeLock, DozeHost host, Handler handler, in DozeUi() argument 70 mWakeLock = wakeLock; in DozeUi()
|
D | DozeMachine.java | 129 WakeLock wakeLock) { in DozeMachine() argument 132 mWakeLock = wakeLock; in DozeMachine()
|
D | DozeTriggers.java | 92 WakeLock wakeLock, boolean allowPulseTriggers, DockManager dockManager) { in DozeTriggers() argument 100 mWakeLock = wakeLock; in DozeTriggers() 103 config, wakeLock, this::onSensor, this::onProximityFar, in DozeTriggers()
|
D | DozeSensors.java | 82 DozeParameters dozeParameters, AmbientDisplayConfiguration config, WakeLock wakeLock, in DozeSensors() argument 89 mWakeLock = wakeLock; in DozeSensors()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | PowerManagerService.java | 1051 WakeLock wakeLock; in acquireWakeLockInternal() local 1055 wakeLock = mWakeLocks.get(index); in acquireWakeLockInternal() 1056 if (!wakeLock.hasSameProperties(flags, tag, ws, uid, pid)) { in acquireWakeLockInternal() 1058 notifyWakeLockChangingLocked(wakeLock, flags, tag, packageName, in acquireWakeLockInternal() 1060 wakeLock.updateProperties(flags, tag, packageName, ws, historyTag, uid, pid); in acquireWakeLockInternal() 1071 wakeLock = new WakeLock(lock, flags, tag, packageName, ws, historyTag, uid, pid, in acquireWakeLockInternal() 1074 lock.linkToDeath(wakeLock, 0); in acquireWakeLockInternal() 1078 mWakeLocks.add(wakeLock); in acquireWakeLockInternal() 1079 setWakeLockDisabledStateLocked(wakeLock); in acquireWakeLockInternal() 1083 applyWakeLockFlagsOnAcquireLocked(wakeLock, uid); in acquireWakeLockInternal() [all …]
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | AWakeLock.h | 46 explicit PMDeathRecipient(AWakeLock *wakeLock) : mWakeLock(wakeLock) {} in PMDeathRecipient() argument
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | NotificationController.java | 368 final WakeLock wakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, in handleCancelPrintJob() local 370 wakeLock.acquire(); in handleCancelPrintJob() 390 wakeLock.release(); in handleCancelPrintJob() 407 final WakeLock wakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, in handleRestartPrintJob() local 409 wakeLock.acquire(); in handleRestartPrintJob() 427 wakeLock.release(); in handleRestartPrintJob()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | PowerManagerTest.java | 128 PowerManager.WakeLock wakeLock = mPm.newWakeLock( in testWakeLockWithWorkChains() local 134 wakeLock.setWorkSource(workSource); in testWakeLockWithWorkChains() 136 doTestWakeLock(wakeLock); in testWakeLockWithWorkChains()
|
/frameworks/base/services/core/java/com/android/server/dreams/ |
D | DreamController.java | 125 boolean isTest, boolean canDoze, int userId, PowerManager.WakeLock wakeLock) { in startDream() argument 137 mCurrentDream = new DreamRecord(token, name, isTest, canDoze, userId, wakeLock); in startDream() 300 boolean isTest, boolean canDoze, int userId, PowerManager.WakeLock wakeLock) { in DreamRecord() argument 306 mWakeLock = wakeLock; in DreamRecord()
|
D | DreamManagerService.java | 380 PowerManager.WakeLock wakeLock = mPowerManager in startDreamLocked() local 382 mHandler.post(wakeLock.wrap( in startDreamLocked() 383 () -> mController.startDream(newToken, name, isTest, canDoze, userId, wakeLock))); in startDreamLocked()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/ |
D | BackupManagerServiceTestUtils.java | 116 PowerManager.WakeLock wakeLock, in setUpBackupManagerServiceBasics() argument 126 when(backupManagerService.getWakelock()).thenReturn(wakeLock); in setUpBackupManagerServiceBasics()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/ |
D | WearPackageInstallerService.java | 502 private PackageInstallListener(Context context, PowerManager.WakeLock wakeLock, in PackageInstallListener() argument 505 mWakeLock = wakeLock; in PackageInstallListener() 542 private PackageDeleteObserver(PowerManager.WakeLock wakeLock, int startId) { in PackageDeleteObserver() argument 543 mWakeLock = wakeLock; in PackageDeleteObserver()
|
/frameworks/base/core/java/android/hardware/fingerprint/ |
D | FingerprintManager.java | 739 final PowerManager.WakeLock wakeLock = powerManager.newWakeLock( in addLockoutResetCallback() 741 wakeLock.acquire(); in addLockoutResetCallback() 746 wakeLock.release(); in addLockoutResetCallback()
|
/frameworks/base/core/java/android/hardware/face/ |
D | FaceManager.java | 551 final PowerManager.WakeLock wakeLock = powerManager.newWakeLock( in addLockoutResetCallback() 554 wakeLock.acquire(); in addLockoutResetCallback() 559 wakeLock.release(); in addLockoutResetCallback()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | KeyguardIndicationController.java | 149 LockPatternUtils lockPatternUtils, WakeLock wakeLock, ShadeController shadeController, in KeyguardIndicationController() argument 165 mWakeLock = new SettableWakeLock(wakeLock, TAG); in KeyguardIndicationController()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsService.java | 339 PowerManager.WakeLock wakeLock = in create() local 343 wakeLock, getDefaultClock(), TelephonyManager.getDefault(), in create() 360 AlarmManager alarmManager, PowerManager.WakeLock wakeLock, Clock clock, in NetworkStatsService() argument 369 mWakeLock = checkNotNull(wakeLock, "missing WakeLock"); in NetworkStatsService()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncManager.java | 3097 PowerManager.WakeLock wakeLock = mWakeLocks.get(wakeLockKey); in getSyncWakeLock() local 3098 if (wakeLock == null) { in getSyncWakeLock() 3100 wakeLock = mPowerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, name); in getSyncWakeLock() 3101 wakeLock.setReferenceCounted(false); in getSyncWakeLock() 3102 mWakeLocks.put(wakeLockKey, wakeLock); in getSyncWakeLock() 3104 return wakeLock; in getSyncWakeLock()
|
/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()
|
/frameworks/base/tests/net/java/com/android/server/net/ |
D | NetworkStatsServiceTest.java | 200 PowerManager.WakeLock wakeLock = in setUp() local 204 mServiceContext, mNetManager, mAlarmManager, wakeLock, mClock, in setUp()
|
/frameworks/base/media/apex/java/android/media/ |
D | MediaPlayer2.java | 1364 public @NonNull Object setWakeLock(@NonNull PowerManager.WakeLock wakeLock) { 1377 mWakeLock = wakeLock;
|