Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DPowerManagerInternal.java26 public abstract class PowerManagerInternal { class
/frameworks/base/services/core/java/com/android/server/
DVibratorService.java32 import android.os.PowerManagerInternal;
76 private PowerManagerInternal mPowerManagerInternal;
230 mPowerManagerInternal = LocalServices.getService(PowerManagerInternal.class); in systemReady()
232 new PowerManagerInternal.LowPowerModeListener() { in systemReady()
DDeviceIdleController.java58 import android.os.PowerManagerInternal;
117 private PowerManagerInternal mLocalPowerManager;
1355 mLocalPowerManager = getLocalService(PowerManagerInternal.class); in onBootPhase()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java44 import android.os.PowerManagerInternal;
88 import static android.os.PowerManagerInternal.POWER_HINT_INTERACTION;
89 import static android.os.PowerManagerInternal.WAKEFULNESS_ASLEEP;
90 import static android.os.PowerManagerInternal.WAKEFULNESS_AWAKE;
91 import static android.os.PowerManagerInternal.WAKEFULNESS_DOZING;
92 import static android.os.PowerManagerInternal.WAKEFULNESS_DREAMING;
485 private final ArrayList<PowerManagerInternal.LowPowerModeListener> mLowPowerModeListeners
486 = new ArrayList<PowerManagerInternal.LowPowerModeListener>();
528 publishLocalService(PowerManagerInternal.class, new LocalService()); in onStart()
821 ArrayList<PowerManagerInternal.LowPowerModeListener> listeners; in updateLowPowerModeLocked()
[all …]
DNotifier.java41 import android.os.PowerManagerInternal;
295 final boolean interactive = PowerManagerInternal.isInteractive(wakefulness); in onWakefulnessChangeStarted()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerServiceTestable.java27 import android.os.PowerManagerInternal;
146 PowerManagerInternal getPowerManagerInternal() { in getPowerManagerInternal()
DDpmMockContext.java38 import android.os.PowerManagerInternal;
254 public final PowerManagerInternal powerManagerInternal;
289 powerManagerInternal = mock(PowerManagerInternal.class); in DpmMockContext()
/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/am/
DBatteryStatsService.java37 import android.os.PowerManagerInternal;
82 implements PowerManagerInternal.LowPowerModeListener,
233 final PowerManagerInternal powerMgr = LocalServices.getService(PowerManagerInternal.class); in initPowerManagement()
DActivityManagerService.java177 import android.os.PowerManagerInternal;
1215 PowerManagerInternal mLocalPowerManager;
1227 private int mWakefulness = PowerManagerInternal.WAKEFULNESS_AWAKE;
2718 mLocalPowerManager = LocalServices.getService(PowerManagerInternal.class); in initPowerManagement()
11590 case PowerManagerInternal.WAKEFULNESS_AWAKE: in shouldSleepLocked()
11591 case PowerManagerInternal.WAKEFULNESS_DREAMING: in shouldSleepLocked()
11592 case PowerManagerInternal.WAKEFULNESS_DOZING: in shouldSleepLocked()
11596 case PowerManagerInternal.WAKEFULNESS_ASLEEP: in shouldSleepLocked()
11703 + PowerManagerInternal.wakefulnessToString(mWakefulness) in logLockScreen()
14609 + PowerManagerInternal.wakefulnessToString(mWakefulness)); in dumpProcessesLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java139 import android.os.PowerManagerInternal;
282 private PowerManagerInternal mPowerManagerInternal;
547 mPowerManagerInternal = LocalServices.getService(PowerManagerInternal.class); in systemReady()
549 new PowerManagerInternal.LowPowerModeListener() { in systemReady()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java94 import android.os.PowerManagerInternal;
313 PowerManagerInternal mPowerManagerInternal;
870 mPowerManagerInternal.powerHint(PowerManagerInternal.POWER_HINT_INTERACTION, 0);
1512 mPowerManagerInternal = LocalServices.getService(PowerManagerInternal.class); in init()
1700 PowerManagerInternal.POWER_HINT_INTERACTION, duration); in init()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java63 import android.os.PowerManagerInternal;
703 PowerManagerInternal mPowerManagerInternal;
975 mPowerManagerInternal = LocalServices.getService(PowerManagerInternal.class); in WindowManagerService()
977 new PowerManagerInternal.LowPowerModeListener() { in WindowManagerService()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java94 import android.os.PowerManagerInternal;
1361 PowerManagerInternal getPowerManagerInternal() { in getPowerManagerInternal()
1362 return LocalServices.getService(PowerManagerInternal.class); in getPowerManagerInternal()
/frameworks/base/
Dcompiled-classes-phone3153 android.os.PowerManagerInternal
3154 android.os.PowerManagerInternal$LowPowerModeListener