OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:PowerManager
(Results
1 - 21
of
21
) sorted by null
/frameworks/base/core/java/android/os/
PowerManager.java
34
* This will create a {@link
PowerManager
.WakeLock} object. You can then use methods
39
*
PowerManager
pm = (
PowerManager
) getSystemService(Context.POWER_SERVICE);
40
*
PowerManager
.WakeLock wl = pm.newWakeLock(
PowerManager
.SCREEN_DIM_WAKE_LOCK, "My Tag");
100
public final class
PowerManager
{
101
private static final String TAG = "
PowerManager
";
246
// Note: Be sure to update android.os.BatteryStats and
PowerManager
.h
300
public
PowerManager
(Context context, IPowerManager service, Handler handler) {
374
*
PowerManager
pm = (PowerManager)mContext.getSystemService
[
all
...]
/frameworks/base/services/java/com/android/server/power/
PowerManagerService.java
50
import android.os.
PowerManager
;
435
PowerManager
pm = (
PowerManager
)mContext.getSystemService(Context.POWER_SERVICE);
597
PowerManager
.validateWakeLockParameters(flags, tag);
655
switch (wakeLock.mFlags &
PowerManager
.WAKE_LOCK_LEVEL_MASK) {
656
case
PowerManager
.FULL_WAKE_LOCK:
657
case
PowerManager
.SCREEN_BRIGHT_WAKE_LOCK:
658
case
PowerManager
.SCREEN_DIM_WAKE_LOCK:
665
if ((wakeLock.mFlags &
PowerManager
.ACQUIRE_CAUSES_WAKEUP) != 0
708
if ((flags &
PowerManager
.WAIT_FOR_PROXIMITY_NEGATIVE) != 0)
[
all
...]
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/
MusicService.java
39
import android.os.
PowerManager
;
168
mPlayer.setWakeMode(getApplicationContext(),
PowerManager
.PARTIAL_WAKE_LOCK);
/frameworks/base/services/java/com/android/server/
DevicePolicyManagerService.java
68
import android.os.
PowerManager
;
138
final
PowerManager
.WakeLock mWakeLock;
546
mWakeLock = ((
PowerManager
)context.getSystemService(Context.POWER_SERVICE))
547
.newWakeLock(
PowerManager
.PARTIAL_WAKE_LOCK, "DPM");
[
all
...]
/prebuilts/devtools/tools/lib/
osgi-4.0.0.jar
/prebuilts/tools/common/m2/repository/com/android/external/osgi/osgi/4.0.0/
osgi-4.0.0.jar
/prebuilts/tools/common/osgi/
osgi.jar
/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 670 milliseconds