OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:WakeLock
(Results
1 - 16
of
16
) sorted by null
/frameworks/base/core/java/android/os/
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
wl = pm.newWakeLock
[
all
...]
/frameworks/base/services/java/com/android/server/power/
PowerManagerService.java
204
private final ArrayList<
WakeLock
> mWakeLocks = new ArrayList<
WakeLock
>();
626
WakeLock
wakeLock
;
629
wakeLock
= mWakeLocks.get(index);
630
if (!
wakeLock
.hasSameProperties(flags, tag, ws, uid, pid)) {
632
notifyWakeLockReleasedLocked(
wakeLock
);
633
wakeLock
.updateProperties(flags, tag, packageName, ws, uid, pid);
634
notifyWakeLockAcquiredLocked(
wakeLock
);
637
wakeLock
= new WakeLock(lock, flags, tag, packageName, ws, uid, pid)
[
all
...]
/prebuilts/sdk/10/
android.jar
/prebuilts/sdk/12/
android.jar
/prebuilts/sdk/13/
android.jar
/prebuilts/sdk/14/
android.jar
/prebuilts/sdk/15/
android.jar
/prebuilts/sdk/18/
android.jar
/prebuilts/sdk/19/
android.jar
/prebuilts/sdk/4/
android.jar
/prebuilts/sdk/5/
android.jar
/prebuilts/sdk/6/
android.jar
/prebuilts/sdk/7/
android.jar
/prebuilts/sdk/8/
android.jar
/prebuilts/sdk/9/
android.jar
/prebuilts/sdk/current/
android.jar
Completed in 48 milliseconds