Searched refs:wl (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/os/ |
D | PowerManagerTest.java | 86 PowerManager.WakeLock wl = mPm.newWakeLock(PowerManager.FULL_WAKE_LOCK, "FULL_WAKE_LOCK"); in testNewWakeLock() local 87 doTestWakeLock(wl); in testNewWakeLock() 89 wl = mPm.newWakeLock(PowerManager.SCREEN_BRIGHT_WAKE_LOCK, "SCREEN_BRIGHT_WAKE_LOCK"); in testNewWakeLock() 90 doTestWakeLock(wl); in testNewWakeLock() 92 wl = mPm.newWakeLock(PowerManager.SCREEN_DIM_WAKE_LOCK, "SCREEN_DIM_WAKE_LOCK"); in testNewWakeLock() 93 doTestWakeLock(wl); in testNewWakeLock() 95 wl = mPm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "PARTIAL_WAKE_LOCK"); in testNewWakeLock() 96 doTestWakeLock(wl); in testNewWakeLock() 113 PowerManager.WakeLock wl = mPm.newWakeLock(badFlags, "foo"); in testBadNewWakeLock() local 144 private void doTestWakeLock(PowerManager.WakeLock wl) { in doTestWakeLock() argument [all …]
|
D | PowerManagerVrTest.java | 129 PowerManager.WakeLock wl = mPm.newWakeLock( in wakeUpDevice() local 132 wl.acquire(); in wakeUpDevice() 133 wl.release(); in wakeUpDevice()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiLockManager.java | 262 WifiLock wl = findLockByBinder(binder); in updateWifiLockWorkSource() local 263 if (wl == null) { in updateWifiLockWorkSource() 273 Slog.d(TAG, "updateWifiLockWakeSource: " + wl + ", newWorkSource=" + newWorkSource); in updateWifiLockWorkSource() 281 switch(wl.mMode) { in updateWifiLockWorkSource() 286 setBlameHiPerfWs(wl.mWorkSource, false); in updateWifiLockWorkSource() 291 removeWsFromLlWatchList(wl.mWorkSource); in updateWifiLockWorkSource() 299 wl.mWorkSource = newWorkSource; in updateWifiLockWorkSource()
|
/frameworks/base/services/core/java/com/android/server/job/ |
D | JobServiceContext.java | 426 PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, in onServiceConnected() local 428 wl.setWorkSource(deriveWorkSource(runningJob)); in onServiceConnected() 429 wl.setReferenceCounted(false); in onServiceConnected() 430 wl.acquire(); in onServiceConnected() 442 mWakeLock = wl; in onServiceConnected()
|
/frameworks/base/services/core/java/com/android/server/ |
D | NativeDaemonConnector.java | 86 int responseQueueSize, String logTag, int maxLogSize, PowerManager.WakeLock wl) { in NativeDaemonConnector() argument 87 this(callbacks, socket, responseQueueSize, logTag, maxLogSize, wl, in NativeDaemonConnector() 92 int responseQueueSize, String logTag, int maxLogSize, PowerManager.WakeLock wl, in NativeDaemonConnector() argument 97 mWakeLock = wl; in NativeDaemonConnector()
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
D | NotificationTestList.java | 448 PowerManager.WakeLock wl = 450 wl.acquire(); 463 wl.release(); 1133 PowerManager.WakeLock wl = 1136 wl.acquire();
|
/frameworks/base/cmds/statsd/tests/condition/ |
D | SimpleConditionTracker_test.cpp | 71 LogEvent* event, const std::vector<int> &uids, const string& wl, int acquire) { in makeWakeLockEvent() argument 73 event->write(wl); in makeWakeLockEvent()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | PowerManagerService.java | 3499 for (WakeLock wl : mWakeLocks) { in dumpInternal() 3500 pw.println(" " + wl); in dumpInternal() 3846 for (WakeLock wl : mWakeLocks) { in dumpProto() 3847 wl.writeToProto(proto, PowerManagerServiceDumpProto.WAKE_LOCKS); in dumpProto()
|