Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/os/
DPowerManagerTest.java53 PowerManager.WakeLock wl = mPm.newWakeLock(PowerManager.FULL_WAKE_LOCK, "FULL_WAKE_LOCK"); in testNewWakeLock() local
54 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() local
92 private void doTestWakeLock(PowerManager.WakeLock wl) { in doTestWakeLock() argument
[all …]
DPowerManagerVrTest.java131 PowerManager.WakeLock wl = mPm.newWakeLock( in wakeUpDevice() local
134 wl.acquire(); in wakeUpDevice()
135 wl.release(); in wakeUpDevice()
/frameworks/support/legacy/core-utils/src/main/java/androidx/legacy/content/
DWakefulBroadcastReceiver.java108 PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, in startWakefulService() local
110 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() local
132 if (wl != null) { in completeWakefulIntent()
133 wl.release(); in completeWakefulIntent()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiLockManager.java141 WifiLock wl = findLockByBinder(binder); in updateWifiLockWorkSource() local
142 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()
/frameworks/base/tests/utils/SleepUtils/WakeLoopService/src/android/test/wakeuploop/
DWakeUpCall.java108 WakeLock wl = pm.newWakeLock(PowerManager.SCREEN_DIM_WAKE_LOCK | in screenOn() local
110 wl.acquire(500); in screenOn()
/frameworks/base/services/core/java/com/android/server/job/
DJobServiceContext.java414 PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, in onServiceConnected() local
416 wl.setWorkSource(deriveWorkSource(runningJob)); in onServiceConnected()
417 wl.setReferenceCounted(false); in onServiceConnected()
418 wl.acquire(); in onServiceConnected()
430 mWakeLock = wl; in onServiceConnected()
/frameworks/base/services/core/java/com/android/server/
DNativeDaemonConnector.java86 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()
DNetworkManagementService.java348 PowerManager.WakeLock wl = null; //pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, NETD_TAG); in NetworkManagementService() local
351 new NetdCallbackReceiver(), socket, 10, NETD_TAG, 160, wl, in NetworkManagementService()
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DNotificationTestList.java448 PowerManager.WakeLock wl =
450 wl.acquire();
463 wl.release();
1133 PowerManager.WakeLock wl =
1136 wl.acquire();
/frameworks/base/core/java/android/os/
DBatteryStats.java3598 final Uid.Wakelock wl = wakelocks.valueAt(iw); in dumpCheckinLocked() local
3600 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() local
4038 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() local
4617 final Timer fullWakeTimer = wl.getWakeTime(WAKE_TYPE_FULL); in dumpLocked()
4623 final Timer partialWakeTimer = wl.getWakeTime(WAKE_TYPE_PARTIAL); in dumpLocked()
[all …]
/frameworks/base/cmds/statsd/tests/condition/
DSimpleConditionTracker_test.cpp71 LogEvent* event, const std::vector<int> &uids, const string& wl, int acquire) { in makeWakeLockEvent() argument
73 event->write(wl); in makeWakeLockEvent()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java8003 Wakelock wl = wakeStats.valueAt(iw); in reset() local
8004 if (wl.reset()) { in reset()
9908 Wakelock wl = new Wakelock(mBsi, this); in readWakeSummaryFromParcelLocked() local
9909 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() argument
9986 if (wl == null) { in getWakelockTimerLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java3375 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()
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...