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 640 WakeLock(int flags, String tag, String packageName) { method in class:PowerManager.WakeLock [all...] |
/frameworks/base/services/java/com/android/server/power/ |
H A D | PowerManagerService.java | 204 private final ArrayList<WakeLock> mWakeLocks = new ArrayList<WakeLock>(); 626 WakeLock wakeLock; 637 wakeLock = new WakeLock(lock, flags, tag, packageName, ws, uid, pid); 654 private static boolean isScreenLock(final WakeLock wakeLock) { 664 private void applyWakeLockFlagsOnAcquireLocked(WakeLock wakeLock) { 698 WakeLock wakeLock = mWakeLocks.get(index); 718 private void handleWakeLockDeath(WakeLock wakeLock) { 739 private void applyWakeLockFlagsOnReleaseLocked(WakeLock wakeLock) { 797 WakeLock wakeLoc 2508 private final class WakeLock implements IBinder.DeathRecipient { class in class:PowerManagerService 2518 public WakeLock(IBinder lock, int flags, String tag, String packageName, method in class:PowerManagerService.WakeLock [all...] |
Completed in 582 milliseconds