Searched refs:getPowerSaveState (Results 1 – 11 of 11) sorted by relevance
211 private PowerSaveState getPowerSaveState() { in getPowerSaveState() method in AppStateTrackerTest234 .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 …]
59 when(mPowerManager.getPowerSaveState(PowerManager.ServiceType.AOD)).thenReturn(state); in testIndependentAODBatterySaver_true()74 when(mPowerManager.getPowerSaveState(PowerManager.ServiceType.AOD)).thenReturn(state); in testIndependentAODBatterySaver_false()
49 PowerSaveState getPowerSaveState(int serviceType); in getPowerSaveState() method
1162 public PowerSaveState getPowerSaveState(@ServiceType int serviceType) { in getPowerSaveState() method in PowerManager1164 return mService.getPowerSaveState(serviceType); in getPowerSaveState()1181 final PowerSaveState powerSaveState = getPowerSaveState(ServiceType.GPS); in getLocationPowerSaveMode()
47 public PowerSaveState getPowerSaveState(int serviceType) { in getPowerSaveState() method in BridgePowerManager
192 PowerSaveState state = mPowerManager.getPowerSaveState(PowerManager.ServiceType.AOD); in setPowerSave()
868 boolean active = mPowerManager.getPowerSaveState(ServiceType.SOUND) in onReceive()904 mIsPowerSaveMode = mPowerManager.getPowerSaveState(ServiceType.SOUND) in initializeTelephonyAndPowerStateListeners()
2046 mPowerManager.getPowerSaveState(ServiceType.FULL_BACKUP); in beginFullBackup()2414 mPowerManager.getPowerSaveState(ServiceType.KEYVALUE_BACKUP); in backupNow()
636 mPowerManager.getPowerSaveState(ServiceType.GPS); in updateLowPowerMode()
4346 public PowerSaveState getPowerSaveState(@ServiceType int serviceType) { in getPowerSaveState() method in PowerManagerService.BinderService
4365 HPLandroid/os/PowerManager;->getPowerSaveState(I)Landroid/os/PowerSaveState;27788 HSPLandroid/os/IPowerManager;->getPowerSaveState(I)Landroid/os/PowerSaveState;