/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
D | WindowManagerServiceRule.java | 34 import android.os.PowerManagerInternal; 85 LocalServices.addService(PowerManagerInternal.class, in apply() 86 mock(PowerManagerInternal.class)); in apply() 87 final PowerManagerInternal pm = in apply() 88 LocalServices.getService(PowerManagerInternal.class); in apply() 126 LocalServices.removeServiceForTest(PowerManagerInternal.class); in apply()
|
/frameworks/base/services/core/java/com/android/server/power/batterysaver/ |
D | BatterySaverController.java | 30 import android.os.PowerManagerInternal; 31 import android.os.PowerManagerInternal.LowPowerModeListener; 324 final PowerManagerInternal pmi = LocalServices.getService(PowerManagerInternal.class); in handleBatterySaverStateChanged()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/power/ |
D | PowerManagerServiceTest.java | 19 import static android.os.PowerManagerInternal.WAKEFULNESS_ASLEEP; 20 import static android.os.PowerManagerInternal.WAKEFULNESS_AWAKE;
|
/frameworks/base/core/java/android/os/ |
D | PowerManagerInternal.java | 28 public abstract class PowerManagerInternal { class
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | MockSystemServices.java | 50 import android.os.PowerManagerInternal; 88 public final PowerManagerInternal powerManagerInternal; 126 powerManagerInternal = mock(PowerManagerInternal.class); in MockSystemServices()
|
D | DevicePolicyManagerServiceTestable.java | 35 import android.os.PowerManagerInternal; 159 PowerManagerInternal getPowerManagerInternal() { in getPowerManagerInternal()
|
/frameworks/base/services/core/java/com/android/server/dreams/ |
D | DreamManagerService.java | 45 import android.os.PowerManagerInternal; 78 private final PowerManagerInternal mPowerManagerInternal; 100 mPowerManagerInternal = getLocalService(PowerManagerInternal.class); in DreamManagerService()
|
/frameworks/base/services/core/java/com/android/server/ |
D | AppStateTracker.java | 39 import android.os.PowerManagerInternal; 91 PowerManagerInternal mPowerManagerInternal; 493 PowerManagerInternal injectPowerManagerInternal() { in injectPowerManagerInternal() 494 return LocalServices.getService(PowerManagerInternal.class); in injectPowerManagerInternal()
|
D | VibratorService.java | 37 import android.os.PowerManagerInternal; 122 private PowerManagerInternal mPowerManagerInternal; 374 mPowerManagerInternal = LocalServices.getService(PowerManagerInternal.class); in systemReady() 376 new PowerManagerInternal.LowPowerModeListener() { in systemReady()
|
D | DeviceIdleController.java | 57 import android.os.PowerManagerInternal; 121 private PowerManagerInternal mLocalPowerManager; 1464 mLocalPowerManager = getLocalService(PowerManagerInternal.class); in onBootPhase()
|
/frameworks/base/core/proto/android/os/ |
D | powermanager.proto | 51 // Enum values gotten from PowerManagerInternal.java
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | Notifier.java | 39 import android.os.PowerManagerInternal; 360 final boolean interactive = PowerManagerInternal.isInteractive(wakefulness); in onWakefulnessChangeStarted()
|
D | PowerManagerService.java | 19 import static android.os.PowerManagerInternal.WAKEFULNESS_ASLEEP; 20 import static android.os.PowerManagerInternal.WAKEFULNESS_AWAKE; 21 import static android.os.PowerManagerInternal.WAKEFULNESS_DOZING; 22 import static android.os.PowerManagerInternal.WAKEFULNESS_DREAMING; 53 import android.os.PowerManagerInternal; 711 publishLocalService(PowerManagerInternal.class, new LocalService()); in onStart() 1817 + PowerManagerInternal.wakefulnessToString(mWakefulness) in updateWakeLockSummaryLocked() 2026 + PowerManagerInternal.wakefulnessToString(mWakefulness) in updateUserActivitySummaryLocked() 2684 return PowerManagerInternal.isInteractive(mWakefulness); in isInteractiveInternal() 3223 pw.println(" mWakefulness=" + PowerManagerInternal.wakefulnessToString(mWakefulness)); in dumpInternal() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BatteryStatsService.java | 35 import android.os.PowerManagerInternal; 83 implements PowerManagerInternal.LowPowerModeListener, 234 final PowerManagerInternal powerMgr = LocalServices.getService(PowerManagerInternal.class); in initPowerManagement()
|
D | ActivityManagerService.java | 343 import android.os.PowerManagerInternal; 1536 PowerManagerInternal mLocalPowerManager; 1548 private int mWakefulness = PowerManagerInternal.WAKEFULNESS_AWAKE; 3243 mLocalPowerManager = LocalServices.getService(PowerManagerInternal.class); in initPowerManagement() 13265 reportGlobalUsageEventLocked(mWakefulness == PowerManagerInternal.WAKEFULNESS_AWAKE in reportCurWakefulnessUsageEventLocked() 13278 boolean wasAwake = mWakefulness == PowerManagerInternal.WAKEFULNESS_AWAKE; in onWakefulnessChanged() 13279 boolean isAwake = wakefulness == PowerManagerInternal.WAKEFULNESS_AWAKE; in onWakefulnessChanged() 15227 final PowerManagerInternal pmi = LocalServices.getService(PowerManagerInternal.class); in systemReady() 17003 + PowerManagerInternal.wakefulnessToString(mWakefulness)); in dumpProcessesLocked() 17363 PowerManagerInternal.wakefulnessToProtoEnum(mWakefulness)); in writeProcessesToProtoLocked() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NetworkPolicyManagerServiceTest.java | 111 import android.os.PowerManagerInternal; 304 final PowerManagerInternal pmInternal = addLocalServiceMock(PowerManagerInternal.class); in registerLocalServices() 439 LocalServices.removeServiceForTest(PowerManagerInternal.class); in unregisterLocalServices() 533 PowerManagerInternal pmInternal = LocalServices.getService(PowerManagerInternal.class); in testLowPowerModeObserver_ListenersRegistered()
|
D | AppStateTrackerTest.java | 57 import android.os.PowerManagerInternal; 126 PowerManagerInternal injectPowerManagerInternal() { in injectPowerManagerInternal() 175 private PowerManagerInternal mMockPowerManagerInternal;
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 174 import android.os.PowerManagerInternal; 405 private PowerManagerInternal mPowerManagerInternal; 724 mPowerManagerInternal = LocalServices.getService(PowerManagerInternal.class); in initService() 726 new PowerManagerInternal.LowPowerModeListener() { in initService() 766 new PowerManagerInternal.LowPowerModeListener() { in initService()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowManagerService.java | 160 import android.os.PowerManagerInternal; 724 PowerManagerInternal mPowerManagerInternal; 976 mPowerManagerInternal = LocalServices.getService(PowerManagerInternal.class); in WindowManagerService() 980 new PowerManagerInternal.LowPowerModeListener() { in WindowManagerService()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PhoneWindowManager.java | 206 import android.os.PowerManagerInternal; 460 PowerManagerInternal mPowerManagerInternal; 2005 mPowerManagerInternal = LocalServices.getService(PowerManagerInternal.class); in init()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 163 import android.os.PowerManagerInternal; 1842 PowerManagerInternal getPowerManagerInternal() { in getPowerManagerInternal() 1843 return LocalServices.getService(PowerManagerInternal.class); in getPowerManagerInternal()
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 28347 HSPLandroid/os/PowerManagerInternal;->finishUidChanges()V 28348 HSPLandroid/os/PowerManagerInternal;->getLowPowerState(I)Landroid/os/PowerSaveState; 28349 HSPLandroid/os/PowerManagerInternal;->powerHint(II)V 28350 HSPLandroid/os/PowerManagerInternal;->registerLowPowerModeObserver(ILjava/util/function/Consumer;)V 28351 HSPLandroid/os/PowerManagerInternal;->registerLowPowerModeObserver(Landroid/os/PowerManagerInternal… 28352 HSPLandroid/os/PowerManagerInternal;->setDeviceIdleMode(Z)Z 28353 HSPLandroid/os/PowerManagerInternal;->setDeviceIdleTempWhitelist([I)V 28354 HSPLandroid/os/PowerManagerInternal;->setDeviceIdleWhitelist([I)V 28355 HSPLandroid/os/PowerManagerInternal;->setDozeOverrideFromDreamManager(II)V 28356 HSPLandroid/os/PowerManagerInternal;->setDrawWakeLockOverrideFromSidekick(Z)V [all …]
|