Searched defs:WakeLock (Results 1 - 2 of 2) sorted by relevance
/frameworks/base/core/java/android/os/ |
H A D | PowerManager.java | 27 * 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} 226 * Flag for {@link WakeLock#release release(int)} to defer releasing a 370 * Call {@link WakeLock#acquire() acquire()} on the object to acquire the 371 * wake lock, and {@link WakeLock#release release()} when you are done. 376 * PowerManager.WakeLock w 624 public final class WakeLock { class in class:PowerManager 639 WakeLock(int flags, String tag) { method in class:PowerManager.WakeLock [all...] |
/frameworks/base/services/java/com/android/server/power/ |
H A D | PowerManagerService.java | 202 private final ArrayList<WakeLock> mWakeLocks = new ArrayList<WakeLock>(); 608 WakeLock wakeLock; 619 wakeLock = new WakeLock(lock, flags, tag, ws, uid, pid); 635 private static boolean isScreenLock(final WakeLock wakeLock) { 645 private void applyWakeLockFlagsOnAcquireLocked(WakeLock wakeLock) { 679 WakeLock wakeLock = mWakeLocks.get(index); 699 private void handleWakeLockDeath(WakeLock wakeLock) { 720 private void applyWakeLockFlagsOnReleaseLocked(WakeLock wakeLock) { 762 WakeLock wakeLoc 2425 private final class WakeLock implements IBinder.DeathRecipient { class in class:PowerManagerService 2433 public WakeLock(IBinder lock, int flags, String tag, WorkSource workSource, method in class:PowerManagerService.WakeLock [all...] |
Completed in 545 milliseconds