Searched defs:WakeLock (Results 1 - 2 of 2) sorted by relevance

H A DPowerManager.java27 * Do not acquire {@link WakeLock}s unless you really need them, use the minimum levels
34 * This will create a {@link PowerManager.WakeLock} object. You can then use methods
40 * PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.SCREEN_DIM_WAKE_LOCK, "My Tag");
84 * will force the screen and/or keyboard to turn on immediately, when the WakeLock is
90 * <td>If this flag is set, the user activity timer will be reset when the WakeLock is
96 * Any application using a WakeLock must request the {@code android.permission.WAKE_LOCK}
224 * Flag for {@link WakeLock#release release(int)} to defer releasing a
368 * Call {@link WakeLock#acquire() acquire()} on the object to acquire the
369 * wake lock, and {@link WakeLock#release release()} when you are done.
374 * PowerManager.WakeLock w
622 public final class WakeLock { class in class:PowerManager
637 WakeLock(int flags, String tag) { method in class:PowerManager.WakeLock
H A DPowerManagerService.java204 private final ArrayList<WakeLock> mWakeLocks = new ArrayList<WakeLock>();
594 WakeLock wakeLock;
605 wakeLock = new WakeLock(lock, flags, tag, ws, uid, pid);
621 private void applyWakeLockFlagsOnAcquireLocked(WakeLock wakeLock) {
655 WakeLock wakeLock = mWakeLocks.get(index);
670 private void handleWakeLockDeath(WakeLock wakeLock) {
690 private void applyWakeLockFlagsOnReleaseLocked(WakeLock wakeLock) {
728 WakeLock wakeLock = mWakeLocks.get(index);
747 private void notifyWakeLockAcquiredLocked(WakeLock wakeLoc
2376 private final class WakeLock implements IBinder.DeathRecipient { class in class:PowerManagerService
2384 public WakeLock(IBinder lock, int flags, String tag, WorkSource workSource, method in class:PowerManagerService.WakeLock

Completed in 6 milliseconds