Home
last modified time | relevance | path

Searched refs:getPowerSaveState (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/
DAppStateTrackerTest.java211 private PowerSaveState getPowerSaveState() { in getPowerSaveState() method in AppStateTrackerTest
234 .thenAnswer(inv -> getPowerSaveState()); in callStart()
342 mPowerSaveObserver.accept(getPowerSaveState()); in testAll()
356 mPowerSaveObserver.accept(getPowerSaveState()); in testAll()
394 mPowerSaveObserver.accept(getPowerSaveState()); in testAll()
422 mPowerSaveObserver.accept(getPowerSaveState()); in testAll()
425 mPowerSaveObserver.accept(getPowerSaveState()); in testAll()
438 mPowerSaveObserver.accept(getPowerSaveState()); in testAll()
460 mPowerSaveObserver.accept(getPowerSaveState()); in testAll()
463 mPowerSaveObserver.accept(getPowerSaveState()); in testAll()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DBatteryControllerTest.java59 when(mPowerManager.getPowerSaveState(PowerManager.ServiceType.AOD)).thenReturn(state); in testIndependentAODBatterySaver_true()
74 when(mPowerManager.getPowerSaveState(PowerManager.ServiceType.AOD)).thenReturn(state); in testIndependentAODBatterySaver_false()
/frameworks/base/core/java/android/os/
DIPowerManager.aidl49 PowerSaveState getPowerSaveState(int serviceType); in getPowerSaveState() method
DPowerManager.java1162 public PowerSaveState getPowerSaveState(@ServiceType int serviceType) { in getPowerSaveState() method in PowerManager
1164 return mService.getPowerSaveState(serviceType); in getPowerSaveState()
1181 final PowerSaveState powerSaveState = getPowerSaveState(ServiceType.GPS); in getLocationPowerSaveMode()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePowerManager.java47 public PowerSaveState getPowerSaveState(int serviceType) { in getPowerSaveState() method in BridgePowerManager
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBatteryControllerImpl.java192 PowerSaveState state = mPowerManager.getPowerSaveState(PowerManager.ServiceType.AOD); in setPowerSave()
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerHelper.java868 boolean active = mPowerManager.getPowerSaveState(ServiceType.SOUND) in onReceive()
904 mIsPowerSaveMode = mPowerManager.getPowerSaveState(ServiceType.SOUND) in initializeTelephonyAndPowerStateListeners()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java2046 mPowerManager.getPowerSaveState(ServiceType.FULL_BACKUP); in beginFullBackup()
2414 mPowerManager.getPowerSaveState(ServiceType.KEYVALUE_BACKUP); in backupNow()
/frameworks/base/services/core/java/com/android/server/location/
DGnssLocationProvider.java636 mPowerManager.getPowerSaveState(ServiceType.GPS); in updateLowPowerMode()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java4346 public PowerSaveState getPowerSaveState(@ServiceType int serviceType) { in getPowerSaveState() method in PowerManagerService.BinderService
/frameworks/base/config/
Dboot-image-profile.txt4365 HPLandroid/os/PowerManager;->getPowerSaveState(I)Landroid/os/PowerSaveState;
27788 HSPLandroid/os/IPowerManager;->getPowerSaveState(I)Landroid/os/PowerSaveState;