Home
last modified time | relevance | path

Searched refs:PowerManagerInternal (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/java/android/os/
DPowerManagerInternal.java26 public abstract class PowerManagerInternal { class
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java53 import android.os.PowerManagerInternal;
75 import static android.os.PowerManagerInternal.WAKEFULNESS_ASLEEP;
76 import static android.os.PowerManagerInternal.WAKEFULNESS_AWAKE;
77 import static android.os.PowerManagerInternal.WAKEFULNESS_DREAMING;
78 import static android.os.PowerManagerInternal.WAKEFULNESS_DOZING;
425 private final ArrayList<PowerManagerInternal.LowPowerModeListener> mLowPowerModeListeners
426 = new ArrayList<PowerManagerInternal.LowPowerModeListener>();
463 publishLocalService(PowerManagerInternal.class, new LocalService()); in onStart()
707 ArrayList<PowerManagerInternal.LowPowerModeListener> listeners; in updateLowPowerModeLocked()
709 listeners = new ArrayList<PowerManagerInternal.LowPowerModeListener>( in updateLowPowerModeLocked()
[all …]
DNotifier.java41 import android.os.PowerManagerInternal;
250 final boolean interactive = PowerManagerInternal.isInteractive(wakefulness); in onWakefulnessChangeStarted()
272 final boolean interactive = PowerManagerInternal.isInteractive(wakefulness); in onWakefulnessChangeFinished()
/frameworks/base/services/core/java/com/android/server/
DVibratorService.java31 import android.os.PowerManagerInternal;
69 private PowerManagerInternal mPowerManagerInternal;
175 mPowerManagerInternal = LocalServices.getService(PowerManagerInternal.class); in systemReady()
177 new PowerManagerInternal.LowPowerModeListener() { in systemReady()
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java31 import android.os.PowerManagerInternal;
59 implements PowerManagerInternal.LowPowerModeListener {
68 PowerManagerInternal mPowerManagerInternal;
88 mPowerManagerInternal = LocalServices.getService(PowerManagerInternal.class); in initPowerManagement()
DActivityManagerService.java179 import android.os.PowerManagerInternal;
1006 private int mWakefulness = PowerManagerInternal.WAKEFULNESS_AWAKE;
10042 case PowerManagerInternal.WAKEFULNESS_AWAKE:
10043 case PowerManagerInternal.WAKEFULNESS_DREAMING:
10047 case PowerManagerInternal.WAKEFULNESS_DOZING:
10050 case PowerManagerInternal.WAKEFULNESS_ASLEEP:
10129 + PowerManagerInternal.wakefulnessToString(mWakefulness)
13058 + PowerManagerInternal.wakefulnessToString(mWakefulness)); in dumpProcessesLocked()
/frameworks/base/services/core/java/com/android/server/dreams/
DDreamManagerService.java41 import android.os.PowerManagerInternal;
75 private final PowerManagerInternal mPowerManagerInternal;
95 mPowerManagerInternal = getLocalService(PowerManagerInternal.class); in DreamManagerService()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java117 import android.os.PowerManagerInternal;
247 private PowerManagerInternal mPowerManagerInternal;
361 mPowerManagerInternal = LocalServices.getService(PowerManagerInternal.class); in systemReady()
363 new PowerManagerInternal.LowPowerModeListener() { in systemReady()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java68 import android.os.PowerManagerInternal;
213 final PowerManagerInternal mPowerManagerInternal;
950 mPowerManagerInternal = LocalServices.getService(PowerManagerInternal.class); in DevicePolicyManagerService()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java88 import android.os.PowerManagerInternal;
619 PowerManagerInternal mPowerManagerInternal;
849 mPowerManagerInternal = LocalServices.getService(PowerManagerInternal.class); in WindowManagerService()
851 new PowerManagerInternal.LowPowerModeListener() { in WindowManagerService()