Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DAppStateTrackerTest.java212 private PowerSaveState getPowerSaveState() { in getPowerSaveState() method in AppStateTrackerTest
235 .thenAnswer(inv -> getPowerSaveState()); in callStart()
343 mPowerSaveObserver.accept(getPowerSaveState()); in testAll()
357 mPowerSaveObserver.accept(getPowerSaveState()); in testAll()
395 mPowerSaveObserver.accept(getPowerSaveState()); in testAll()
423 mPowerSaveObserver.accept(getPowerSaveState()); in testAll()
426 mPowerSaveObserver.accept(getPowerSaveState()); in testAll()
439 mPowerSaveObserver.accept(getPowerSaveState()); in testAll()
461 mPowerSaveObserver.accept(getPowerSaveState()); in testAll()
464 mPowerSaveObserver.accept(getPowerSaveState()); in testAll()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DBatteryControllerTest.java62 when(mPowerManager.getPowerSaveState(PowerManager.ServiceType.AOD)).thenReturn(state); in testIndependentAODBatterySaver_true()
77 when(mPowerManager.getPowerSaveState(PowerManager.ServiceType.AOD)).thenReturn(state); in testIndependentAODBatterySaver_false()
/frameworks/base/core/java/android/os/
DIPowerManager.aidl55 PowerSaveState getPowerSaveState(int serviceType); in getPowerSaveState() method
DPowerManager.java1583 public PowerSaveState getPowerSaveState(@ServiceType int serviceType) { in getPowerSaveState() method in PowerManager
1585 return mService.getPowerSaveState(serviceType); in getPowerSaveState()
1602 final PowerSaveState powerSaveState = getPowerSaveState(ServiceType.LOCATION); in getLocationPowerSaveMode()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePowerManager.java70 public PowerSaveState getPowerSaveState(int serviceType) { in getPowerSaveState() method in BridgePowerManager
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerHelper.java912 boolean active = mPowerManager.getPowerSaveState(ServiceType.SOUND) in onReceive()
951 mIsPowerSaveMode = mPowerManager.getPowerSaveState(ServiceType.SOUND) in initializeTelephonyAndPowerStateListeners()
1115 mPowerManager.getPowerSaveState(ServiceType.SOUND).batterySaverEnabled; in isRecognitionAllowed()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBatteryControllerImpl.java278 PowerSaveState state = mPowerManager.getPowerSaveState(PowerManager.ServiceType.AOD); in setPowerSave()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DUserBackupManagerServiceTest.java1169 when(powerManagerMock.getPowerSaveState(anyInt())) in setUpPowerManager()
/frameworks/base/services/backup/java/com/android/server/backup/
DUserBackupManagerService.java2144 mPowerManager.getPowerSaveState(ServiceType.FULL_BACKUP); in beginFullBackup()
2538 mPowerManager.getPowerSaveState(ServiceType.KEYVALUE_BACKUP); in backupNow()
/frameworks/base/services/core/java/com/android/server/location/
DGnssLocationProvider.java576 final PowerSaveState result = mPowerManager.getPowerSaveState(ServiceType.LOCATION); in updateLowPowerMode()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java4517 public PowerSaveState getPowerSaveState(@ServiceType int serviceType) { in getPowerSaveState() method in PowerManagerService.BinderService
/frameworks/base/config/
Dboot-image-profile.txt12027 HSPLandroid/os/PowerManager;->getPowerSaveState(I)Landroid/os/PowerSaveState;
42306 HSPLandroid/os/IPowerManager$Stub$Proxy;->getPowerSaveState(I)Landroid/os/PowerSaveState;
Dhiddenapi-greylist-max-o.txt50718 Landroid/os/IPowerManager$Stub$Proxy;->getPowerSaveState(I)Landroid/os/PowerSaveState;
50771 Landroid/os/IPowerManager;->getPowerSaveState(I)Landroid/os/PowerSaveState;
52060 Landroid/os/PowerManager;->getPowerSaveState(I)Landroid/os/PowerSaveState;
/frameworks/base/services/
Dart-profile12459 HSPLcom/android/server/power/PowerManagerService$BinderService;->getPowerSaveState(I)Landroid/os/Po…