/frameworks/base/services/core/java/com/android/server/power/ |
D | PowerManagerService.java | 1046 WakeLock wakeLock; in acquireWakeLockInternal() local 1050 wakeLock = mWakeLocks.get(index); in acquireWakeLockInternal() 1051 if (!wakeLock.hasSameProperties(flags, tag, ws, uid, pid)) { in acquireWakeLockInternal() 1053 notifyWakeLockChangingLocked(wakeLock, flags, tag, packageName, in acquireWakeLockInternal() 1055 wakeLock.updateProperties(flags, tag, packageName, ws, historyTag, uid, pid); in acquireWakeLockInternal() 1066 wakeLock = new WakeLock(lock, flags, tag, packageName, ws, historyTag, uid, pid, in acquireWakeLockInternal() 1069 lock.linkToDeath(wakeLock, 0); in acquireWakeLockInternal() 1073 mWakeLocks.add(wakeLock); in acquireWakeLockInternal() 1074 setWakeLockDisabledStateLocked(wakeLock); in acquireWakeLockInternal() 1078 applyWakeLockFlagsOnAcquireLocked(wakeLock, uid); in acquireWakeLockInternal() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeFactory.java | 51 WakeLock wakeLock = new DelayedWakeLock(handler, in assembleMachine() local 60 DozeMachine machine = new DozeMachine(wrappedService, config, wakeLock); in assembleMachine() 65 handler, wakeLock, machine), in assembleMachine() 66 createDozeUi(context, host, wakeLock, machine, handler, alarmManager), in assembleMachine() 85 DozeParameters params, Handler handler, WakeLock wakeLock, DozeMachine machine) { in createDozeTriggers() argument 88 sensorManager, handler, wakeLock, allowPulseTriggers); in createDozeTriggers() 91 private DozeMachine.Part createDozeUi(Context context, DozeHost host, WakeLock wakeLock, in createDozeUi() argument 93 return new DozeUi(context, alarmManager, machine, wakeLock, host, handler); in createDozeUi()
|
D | DozeUi.java | 48 WakeLock wakeLock, DozeHost host, Handler handler) { in DozeUi() argument 51 mWakeLock = wakeLock; in DozeUi()
|
D | DozeTriggers.java | 76 WakeLock wakeLock, boolean allowPulseTriggers) { in DozeTriggers() argument 84 mWakeLock = wakeLock; in DozeTriggers() 87 config, wakeLock, this::onSensor, this::onProximityFar, in DozeTriggers()
|
D | DozeMachine.java | 120 WakeLock wakeLock) { in DozeMachine() argument 123 mWakeLock = wakeLock; in DozeMachine()
|
D | DozeSensors.java | 74 AmbientDisplayConfiguration config, WakeLock wakeLock, Callback callback, in DozeSensors() argument 81 mWakeLock = wakeLock; in DozeSensors()
|
/frameworks/support/wear/tests/src/android/support/wear/widget/util/ |
D | WakeLockRule.java | 41 WakeLock wakeLock = createWakeLock(); in apply() 42 wakeLock.acquire(); in apply() 46 wakeLock.release(); in apply()
|
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ |
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/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 | 371 PowerManager.WakeLock wakeLock = mPowerManager in startDreamLocked() local 373 mHandler.post(wakeLock.wrap( in startDreamLocked() 374 () -> mController.startDream(newToken, name, isTest, canDoze, userId, wakeLock))); in startDreamLocked()
|
/frameworks/base/core/java/android/hardware/fingerprint/ |
D | FingerprintManager.java | 839 final PowerManager.WakeLock wakeLock = powerManager.newWakeLock( in addLockoutResetCallback() 841 wakeLock.acquire(); in addLockoutResetCallback() 846 wakeLock.release(); in addLockoutResetCallback()
|
/frameworks/support/wear/tests/src/android/support/wear/widget/ |
D | WearableLinearLayoutManagerTest.java | 43 public final WakeLockRule wakeLock = new WakeLockRule(); field in WearableLinearLayoutManagerTest
|
D | ScrollManagerTest.java | 50 public final WakeLockRule wakeLock = new WakeLockRule(); field in ScrollManagerTest
|
D | WearableRecyclerViewTest.java | 64 public final WakeLockRule wakeLock = new WakeLockRule(); field in WearableRecyclerViewTest
|
D | SwipeDismissFrameLayoutTest.java | 61 public final WakeLockRule wakeLock = new WakeLockRule(); field in SwipeDismissFrameLayoutTest
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | KeyguardIndicationController.java | 113 WakeLock wakeLock) { in KeyguardIndicationController() argument 122 mWakeLock = new SettableWakeLock(wakeLock); in KeyguardIndicationController()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsService.java | 286 PowerManager.WakeLock wakeLock = in create() local 290 wakeLock, NtpTrustedTime.getInstance(context), TelephonyManager.getDefault(), in create() 304 AlarmManager alarmManager, PowerManager.WakeLock wakeLock, TrustedTime time, in NetworkStatsService() argument 313 mWakeLock = checkNotNull(wakeLock, "missing WakeLock"); in NetworkStatsService()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncManager.java | 2849 PowerManager.WakeLock wakeLock = mWakeLocks.get(wakeLockKey); in getSyncWakeLock() local 2850 if (wakeLock == null) { in getSyncWakeLock() 2852 wakeLock = mPowerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, name); in getSyncWakeLock() 2853 wakeLock.setReferenceCounted(false); in getSyncWakeLock() 2854 mWakeLocks.put(wakeLockKey, wakeLock); in getSyncWakeLock() 2856 return wakeLock; in getSyncWakeLock()
|
/frameworks/base/tests/net/java/com/android/server/net/ |
D | NetworkStatsServiceTest.java | 173 PowerManager.WakeLock wakeLock = in setUp() local 177 mServiceContext, mNetManager, mAlarmManager, 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()
|