/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | AppStateTrackerTest.java | 212 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/ |
D | BatteryControllerTest.java | 62 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/ |
D | IPowerManager.aidl | 55 PowerSaveState getPowerSaveState(int serviceType); in getPowerSaveState() method
|
D | PowerManager.java | 1583 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/ |
D | BridgePowerManager.java | 70 public PowerSaveState getPowerSaveState(int serviceType) { in getPowerSaveState() method in BridgePowerManager
|
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/ |
D | SoundTriggerHelper.java | 912 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/ |
D | BatteryControllerImpl.java | 278 PowerSaveState state = mPowerManager.getPowerSaveState(PowerManager.ServiceType.AOD); in setPowerSave()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/ |
D | UserBackupManagerServiceTest.java | 1169 when(powerManagerMock.getPowerSaveState(anyInt())) in setUpPowerManager()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | UserBackupManagerService.java | 2144 mPowerManager.getPowerSaveState(ServiceType.FULL_BACKUP); in beginFullBackup() 2538 mPowerManager.getPowerSaveState(ServiceType.KEYVALUE_BACKUP); in backupNow()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | GnssLocationProvider.java | 576 final PowerSaveState result = mPowerManager.getPowerSaveState(ServiceType.LOCATION); in updateLowPowerMode()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | PowerManagerService.java | 4517 public PowerSaveState getPowerSaveState(@ServiceType int serviceType) { in getPowerSaveState() method in PowerManagerService.BinderService
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 12027 HSPLandroid/os/PowerManager;->getPowerSaveState(I)Landroid/os/PowerSaveState; 42306 HSPLandroid/os/IPowerManager$Stub$Proxy;->getPowerSaveState(I)Landroid/os/PowerSaveState;
|
D | hiddenapi-greylist-max-o.txt | 50718 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/ |
D | art-profile | 12459 HSPLcom/android/server/power/PowerManagerService$BinderService;->getPowerSaveState(I)Landroid/os/Po…
|