Searched refs:wl (Results 1 – 14 of 14) sorted by relevance
53 PowerManager.WakeLock wl = mPm.newWakeLock(PowerManager.FULL_WAKE_LOCK, "FULL_WAKE_LOCK"); in testNewWakeLock() local54 doTestWakeLock(wl); in testNewWakeLock()56 wl = mPm.newWakeLock(PowerManager.SCREEN_BRIGHT_WAKE_LOCK, "SCREEN_BRIGHT_WAKE_LOCK"); in testNewWakeLock()57 doTestWakeLock(wl); in testNewWakeLock()59 wl = mPm.newWakeLock(PowerManager.SCREEN_DIM_WAKE_LOCK, "SCREEN_DIM_WAKE_LOCK"); in testNewWakeLock()60 doTestWakeLock(wl); in testNewWakeLock()62 wl = mPm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "PARTIAL_WAKE_LOCK"); in testNewWakeLock()63 doTestWakeLock(wl); in testNewWakeLock()80 PowerManager.WakeLock wl = mPm.newWakeLock(badFlags, "foo"); in testBadNewWakeLock() local92 private void doTestWakeLock(PowerManager.WakeLock wl) { in doTestWakeLock() argument[all …]
131 PowerManager.WakeLock wl = mPm.newWakeLock( in wakeUpDevice() local134 wl.acquire(); in wakeUpDevice()135 wl.release(); in wakeUpDevice()
108 PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, in startWakefulService() local110 wl.setReferenceCounted(false); in startWakefulService()111 wl.acquire(60 * 1000); in startWakefulService()112 sActiveWakeLocks.put(id, wl); in startWakefulService()131 PowerManager.WakeLock wl = sActiveWakeLocks.get(id); in completeWakefulIntent() local132 if (wl != null) { in completeWakefulIntent()133 wl.release(); in completeWakefulIntent()
141 WifiLock wl = findLockByBinder(binder); in updateWifiLockWorkSource() local142 if (wl == null) { in updateWifiLockWorkSource()155 Slog.d(TAG, "updateWifiLockWakeSource: " + wl + ", newWorkSource=" + newWorkSource); in updateWifiLockWorkSource()165 mBatteryStats.noteFullWifiLockReleasedFromSource(wl.mWorkSource); in updateWifiLockWorkSource()167 wl.mWorkSource = newWorkSource; in updateWifiLockWorkSource()
108 WakeLock wl = pm.newWakeLock(PowerManager.SCREEN_DIM_WAKE_LOCK | in screenOn() local110 wl.acquire(500); in screenOn()
414 PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, in onServiceConnected() local416 wl.setWorkSource(deriveWorkSource(runningJob)); in onServiceConnected()417 wl.setReferenceCounted(false); in onServiceConnected()418 wl.acquire(); in onServiceConnected()430 mWakeLock = wl; in onServiceConnected()
86 int responseQueueSize, String logTag, int maxLogSize, PowerManager.WakeLock wl) { in NativeDaemonConnector() argument87 this(callbacks, socket, responseQueueSize, logTag, maxLogSize, wl, in NativeDaemonConnector()92 int responseQueueSize, String logTag, int maxLogSize, PowerManager.WakeLock wl, in NativeDaemonConnector() argument97 mWakeLock = wl; in NativeDaemonConnector()
348 PowerManager.WakeLock wl = null; //pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, NETD_TAG); in NetworkManagementService() local351 new NetdCallbackReceiver(), socket, 10, NETD_TAG, 160, wl, in NetworkManagementService()
448 PowerManager.WakeLock wl =450 wl.acquire();463 wl.release();1133 PowerManager.WakeLock wl =1136 wl.acquire();
3598 final Uid.Wakelock wl = wakelocks.valueAt(iw); in dumpCheckinLocked() local3600 final Timer fullWakeTimer = wl.getWakeTime(WAKE_TYPE_FULL); in dumpCheckinLocked()3606 final Timer partialWakeTimer = wl.getWakeTime(WAKE_TYPE_PARTIAL); in dumpCheckinLocked()4035 final Uid.Wakelock wl = wakelocks.valueAt(iw); in dumpCheckinLocked() local4038 linePrefix = printWakeLockCheckin(sb, wl.getWakeTime(WAKE_TYPE_FULL), in dumpCheckinLocked()4040 final Timer pTimer = wl.getWakeTime(WAKE_TYPE_PARTIAL); in dumpCheckinLocked()4045 linePrefix = printWakeLockCheckin(sb, wl.getWakeTime(WAKE_TYPE_WINDOW), in dumpCheckinLocked()4615 final Uid.Wakelock wl = wakelocks.valueAt(iw); in dumpLocked() local4617 final Timer fullWakeTimer = wl.getWakeTime(WAKE_TYPE_FULL); in dumpLocked()4623 final Timer partialWakeTimer = wl.getWakeTime(WAKE_TYPE_PARTIAL); in dumpLocked()[all …]
71 LogEvent* event, const std::vector<int> &uids, const string& wl, int acquire) { in makeWakeLockEvent() argument73 event->write(wl); in makeWakeLockEvent()
8003 Wakelock wl = wakeStats.valueAt(iw); in reset() local8004 if (wl.reset()) { in reset()9908 Wakelock wl = new Wakelock(mBsi, this); in readWakeSummaryFromParcelLocked() local9909 mWakelockStats.add(wlName, wl); in readWakeSummaryFromParcelLocked()9911 getWakelockTimerLocked(wl, WAKE_TYPE_FULL).readSummaryFromParcelLocked(in); in readWakeSummaryFromParcelLocked()9914 getWakelockTimerLocked(wl, WAKE_TYPE_PARTIAL).readSummaryFromParcelLocked(in); in readWakeSummaryFromParcelLocked()9917 getWakelockTimerLocked(wl, WAKE_TYPE_WINDOW).readSummaryFromParcelLocked(in); in readWakeSummaryFromParcelLocked()9920 getWakelockTimerLocked(wl, WAKE_TYPE_DRAW).readSummaryFromParcelLocked(in); in readWakeSummaryFromParcelLocked()9985 public StopwatchTimer getWakelockTimerLocked(Wakelock wl, int type) { in getWakelockTimerLocked() argument9986 if (wl == null) { in getWakelockTimerLocked()[all …]
3375 for (WakeLock wl : mWakeLocks) { in dumpInternal()3376 pw.println(" " + wl); in dumpInternal()3721 for (WakeLock wl : mWakeLocks) { in dumpProto()3722 wl.writeToProto(proto, PowerManagerServiceDumpProto.WAKE_LOCKS); in dumpProto()
META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...