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

/frameworks/base/core/java/android/os/
H A DPowerManager.java29 * Do not acquire {@link WakeLock}s unless you really need them, use the minimum levels
36 * This will create a {@link PowerManager.WakeLock} object. You can then use methods
42 * PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.SCREEN_DIM_WAKE_LOCK, "My Tag");
86 * will force the screen and/or keyboard to turn on immediately, when the WakeLock is
92 * <td>If this flag is set, the user activity timer will be reset when the WakeLock is
98 * Any application using a WakeLock must request the {@code android.permission.WAKE_LOCK}
261 * Flag for {@link WakeLock#release WakeLock.release(int)}: Defer releasing a
461 * Call {@link WakeLock#acquire() acquire()} on the object to acquire the
462 * wake lock, and {@link WakeLock#releas
1011 public final class WakeLock { class in class:PowerManager
1029 WakeLock(int flags, String tag, String packageName) { method in class:PowerManager.WakeLock
[all...]
/frameworks/base/services/core/java/com/android/server/power/
H A DPowerManagerService.java201 private final ArrayList<WakeLock> mWakeLocks = new ArrayList<WakeLock>();
782 WakeLock wakeLock;
795 wakeLock = new WakeLock(lock, flags, tag, packageName, ws, historyTag, uid, pid);
821 private static boolean isScreenLock(final WakeLock wakeLock) {
831 private void applyWakeLockFlagsOnAcquireLocked(WakeLock wakeLock, int uid) {
860 WakeLock wakeLock = mWakeLocks.get(index);
875 private void handleWakeLockDeath(WakeLock wakeLock) {
891 private void removeWakeLockLocked(WakeLock wakeLock, int index) {
900 private void applyWakeLockFlagsOnReleaseLocked(WakeLock wakeLoc
2829 private final class WakeLock implements IBinder.DeathRecipient { class in class:PowerManagerService
2841 public WakeLock(IBinder lock, int flags, String tag, String packageName, method in class:PowerManagerService.WakeLock
[all...]

Completed in 83 milliseconds