/frameworks/base/services/core/java/com/android/server/power/ |
D | PowerManagerService.java | 1286 WakeLock wakeLock; 1290 wakeLock = mWakeLocks.get(index); 1291 if (!wakeLock.hasSameProperties(flags, tag, ws, uid, pid)) { 1293 notifyWakeLockChangingLocked(wakeLock, flags, tag, packageName, 1295 wakeLock.updateProperties(flags, tag, packageName, ws, historyTag, uid, pid); 1306 wakeLock = new WakeLock(lock, flags, tag, packageName, ws, historyTag, uid, pid, 1309 lock.linkToDeath(wakeLock, 0); 1313 mWakeLocks.add(wakeLock); 1314 setWakeLockDisabledStateLocked(wakeLock); 1318 applyWakeLockFlagsOnAcquireLocked(wakeLock, uid); [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeFactory.java | 97 WakeLock wakeLock = mDelayedWakeLockBuilder.setHandler(mHandler).setTag("Doze").build(); in assembleMachine() local 106 DozeMachine machine = new DozeMachine(wrappedService, config, wakeLock, in assembleMachine() 113 mAlarmManager, config, mDozeParameters, wakeLock, in assembleMachine() 115 createDozeUi(dozeService, mDozeHost, wakeLock, machine, mHandler, in assembleMachine() 118 wakeLock), in assembleMachine() 141 DozeParameters params, WakeLock wakeLock, in createDozeTriggers() argument 146 sensorManager, wakeLock, allowPulseTriggers, dockManager, in createDozeTriggers() 151 private DozeMachine.Part createDozeUi(Context context, DozeHost host, WakeLock wakeLock, in createDozeUi() argument 154 return new DozeUi(context, alarmManager, machine, wakeLock, host, handler, params, in createDozeUi()
|
D | DozeScreenState.java | 63 DozeParameters parameters, WakeLock wakeLock) { in DozeScreenState() argument 68 mWakeLock = new SettableWakeLock(wakeLock, TAG); in DozeScreenState()
|
D | DozeUi.java | 68 WakeLock wakeLock, DozeHost host, Handler handler, in DozeUi() argument 73 mWakeLock = wakeLock; in DozeUi()
|
D | DozeTriggers.java | 155 WakeLock wakeLock, boolean allowPulseTriggers, DockManager dockManager, in DozeTriggers() argument 164 mWakeLock = wakeLock; in DozeTriggers() 167 config, wakeLock, this::onSensor, this::onProximityFar, dozeLog, proximitySensor); in DozeTriggers()
|
D | DozeMachine.java | 149 public DozeMachine(Service service, AmbientDisplayConfiguration config, WakeLock wakeLock, in DozeMachine() argument 155 mWakeLock = wakeLock; in DozeMachine()
|
D | DozeSensors.java | 103 DozeParameters dozeParameters, AmbientDisplayConfiguration config, WakeLock wakeLock, in DozeSensors() argument 111 mWakeLock = wakeLock; in DozeSensors()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | AWakeLock.h | 46 explicit PMDeathRecipient(AWakeLock *wakeLock) : mWakeLock(wakeLock) {} in PMDeathRecipient() argument
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/wakelock/ |
D | WakeLockFake.java | 61 public void setWakeLock(WakeLock wakeLock) { 62 mWakeLock = wakeLock;
|
/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/opt/telephony/src/java/com/android/internal/telephony/nitz/ |
D | NitzSignalInputFilterPredicateFactory.java | 124 final WakeLock wakeLock = in createBogusElapsedRealtimeCheck() local 133 wakeLock.acquire(); in createBogusElapsedRealtimeCheck() 147 wakeLock.release(); in createBogusElapsedRealtimeCheck()
|
/frameworks/base/services/core/java/com/android/server/dreams/ |
D | DreamController.java | 120 boolean isTest, boolean canDoze, int userId, PowerManager.WakeLock wakeLock) { in startDream() argument 132 mCurrentDream = new DreamRecord(token, name, isTest, canDoze, userId, wakeLock); in startDream() 277 boolean isTest, boolean canDoze, int userId, PowerManager.WakeLock wakeLock) { in DreamRecord() argument 283 mWakeLock = wakeLock; in DreamRecord()
|
D | DreamManagerService.java | 416 PowerManager.WakeLock wakeLock = mPowerManager in startDreamLocked() local 418 mHandler.post(wakeLock.wrap(() -> { in startDreamLocked() 423 mController.startDream(newToken, name, isTest, canDoze, userId, wakeLock); in startDreamLocked()
|
/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/robotests/backup/src/com/android/server/backup/testing/ |
D | BackupManagerServiceTestUtils.java | 116 UserBackupManagerService.BackupWakeLock wakeLock, in setUpBackupManagerServiceBasics() argument 126 when(backupManagerService.getWakelock()).thenReturn(wakeLock); in setUpBackupManagerServiceBasics()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/ |
D | WearPackageInstallerService.java | 504 private PackageInstallListener(Context context, PowerManager.WakeLock wakeLock, in PackageInstallListener() argument 507 mWakeLock = wakeLock; in PackageInstallListener() 544 private PackageDeleteObserver(PowerManager.WakeLock wakeLock, int startId) { in PackageDeleteObserver() argument 545 mWakeLock = wakeLock; in PackageDeleteObserver()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/ |
D | DozeTriggersTest.java | 87 WakeLock wakeLock = new WakeLockFake(); in setUp() local 93 asyncSensorManager, wakeLock, true, mDockManager, mProximitySensor, in setUp()
|
/frameworks/base/core/java/android/hardware/fingerprint/ |
D | FingerprintManager.java | 740 final PowerManager.WakeLock wakeLock = powerManager.newWakeLock( in addLockoutResetCallback() 742 wakeLock.acquire(); in addLockoutResetCallback() 747 wakeLock.release(); in addLockoutResetCallback()
|
/frameworks/base/core/java/android/hardware/face/ |
D | FaceManager.java | 535 final PowerManager.WakeLock wakeLock = powerManager.newWakeLock( in addLockoutResetCallback() 538 wakeLock.acquire(); in addLockoutResetCallback() 543 wakeLock.release(); in addLockoutResetCallback()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsService.java | 401 PowerManager.WakeLock wakeLock = in create() local 405 alarmManager, wakeLock, getDefaultClock(), in create() 418 AlarmManager alarmManager, PowerManager.WakeLock wakeLock, Clock clock, in NetworkStatsService() argument 428 mWakeLock = Objects.requireNonNull(wakeLock, "missing WakeLock"); in NetworkStatsService()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncManager.java | 3094 PowerManager.WakeLock wakeLock = mWakeLocks.get(wakeLockKey); in getSyncWakeLock() local 3095 if (wakeLock == null) { in getSyncWakeLock() 3097 wakeLock = mPowerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, name); in getSyncWakeLock() 3098 wakeLock.setReferenceCounted(false); in getSyncWakeLock() 3099 mWakeLocks.put(wakeLockKey, wakeLock); in getSyncWakeLock() 3101 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 | 197 PowerManager.WakeLock wakeLock = in setUp() local 202 mService = new NetworkStatsService(mServiceContext, mNetManager, mAlarmManager, wakeLock, in setUp()
|