Home
last modified time | relevance | path

Searched refs:wl (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/os/
DPowerManagerTest.java107 PowerManager.WakeLock wl = mPm.newWakeLock(PowerManager.FULL_WAKE_LOCK, "FULL_WAKE_LOCK"); in testNewWakeLock() local
108 doTestWakeLock(wl); in testNewWakeLock()
110 wl = mPm.newWakeLock(PowerManager.SCREEN_BRIGHT_WAKE_LOCK, "SCREEN_BRIGHT_WAKE_LOCK"); in testNewWakeLock()
111 doTestWakeLock(wl); in testNewWakeLock()
113 wl = mPm.newWakeLock(PowerManager.SCREEN_DIM_WAKE_LOCK, "SCREEN_DIM_WAKE_LOCK"); in testNewWakeLock()
114 doTestWakeLock(wl); in testNewWakeLock()
116 wl = mPm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "PARTIAL_WAKE_LOCK"); in testNewWakeLock()
117 doTestWakeLock(wl); in testNewWakeLock()
134 PowerManager.WakeLock wl = mPm.newWakeLock(badFlags, "foo"); in testBadNewWakeLock() local
165 private void doTestWakeLock(PowerManager.WakeLock wl) { in doTestWakeLock() argument
[all …]
DPowerManagerVrTest.java129 PowerManager.WakeLock wl = mPm.newWakeLock( in wakeUpDevice() local
132 wl.acquire(); in wakeUpDevice()
133 wl.release(); in wakeUpDevice()
/frameworks/base/startop/apps/test/src/
DSystemServerBenchmarks.java160 PowerManager.WakeLock wl = pwr.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "benchmark tag"); in initializeBenchmarks() local
162 wl.acquire(); in initializeBenchmarks()
163 wl.release(); in initializeBenchmarks()
/frameworks/base/services/core/java/com/android/server/
DNativeDaemonConnector.java87 int responseQueueSize, String logTag, int maxLogSize, PowerManager.WakeLock wl) { in NativeDaemonConnector() argument
88 this(callbacks, socket, responseQueueSize, logTag, maxLogSize, wl, in NativeDaemonConnector()
93 int responseQueueSize, String logTag, int maxLogSize, PowerManager.WakeLock wl, in NativeDaemonConnector() argument
98 mWakeLock = wl; in NativeDaemonConnector()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobServiceContext.java516 PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, in onServiceConnected() local
518 wl.setWorkSource(deriveWorkSource(runningJob)); in onServiceConnected()
519 wl.setReferenceCounted(false); in onServiceConnected()
520 wl.acquire(); in onServiceConnected()
532 mWakeLock = wl; in onServiceConnected()
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DNotificationTestList.java444 PowerManager.WakeLock wl =
446 wl.acquire();
459 wl.release();
1129 PowerManager.WakeLock wl =
1132 wl.acquire();
/frameworks/base/core/java/android/os/
DBatteryStats.java3948 final Uid.Wakelock wl = wakelocks.valueAt(iw); in dumpCheckinLocked() local
3950 final Timer fullWakeTimer = wl.getWakeTime(WAKE_TYPE_FULL); in dumpCheckinLocked()
3956 final Timer partialWakeTimer = wl.getWakeTime(WAKE_TYPE_PARTIAL); in dumpCheckinLocked()
4371 final Uid.Wakelock wl = wakelocks.valueAt(iw); in dumpCheckinLocked() local
4374 linePrefix = printWakeLockCheckin(sb, wl.getWakeTime(WAKE_TYPE_FULL), in dumpCheckinLocked()
4376 final Timer pTimer = wl.getWakeTime(WAKE_TYPE_PARTIAL); in dumpCheckinLocked()
4381 linePrefix = printWakeLockCheckin(sb, wl.getWakeTime(WAKE_TYPE_WINDOW), in dumpCheckinLocked()
4971 final Uid.Wakelock wl = wakelocks.valueAt(iw); in dumpLocked() local
4973 final Timer fullWakeTimer = wl.getWakeTime(WAKE_TYPE_FULL); in dumpLocked()
4979 final Timer partialWakeTimer = wl.getWakeTime(WAKE_TYPE_PARTIAL); in dumpLocked()
[all …]
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java8669 Wakelock wl = wakeStats.valueAt(iw); in reset() local
8670 if (wl.reset(realtimeUs)) { in reset()
8815 Wakelock wl = wakeStats.valueAt(iw); in detachFromTimeBase() local
8816 wl.detachFromTimeBase(); in detachFromTimeBase()
10399 Wakelock wl = new Wakelock(mBsi, this); in readWakeSummaryFromParcelLocked() local
10400 mWakelockStats.add(wlName, wl); in readWakeSummaryFromParcelLocked()
10402 getWakelockTimerLocked(wl, WAKE_TYPE_FULL).readSummaryFromParcelLocked(in); in readWakeSummaryFromParcelLocked()
10405 getWakelockTimerLocked(wl, WAKE_TYPE_PARTIAL).readSummaryFromParcelLocked(in); in readWakeSummaryFromParcelLocked()
10408 getWakelockTimerLocked(wl, WAKE_TYPE_WINDOW).readSummaryFromParcelLocked(in); in readWakeSummaryFromParcelLocked()
10411 getWakelockTimerLocked(wl, WAKE_TYPE_DRAW).readSummaryFromParcelLocked(in); in readWakeSummaryFromParcelLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java4282 for (WakeLock wl : mWakeLocks) {
4283 pw.println(" " + wl);
4678 for (WakeLock wl : mWakeLocks) {
4679 wl.dumpDebug(proto, PowerManagerServiceDumpProto.WAKE_LOCKS);