Searched refs:getBatterySaverPolicy (Results 1 – 8 of 8) sorted by relevance
159 mBatterySaverPolicy.getBatterySaverPolicy(ServiceType.DATA_SAVER); in testGetBatterySaverPolicy_PolicyDataSaver_DefaultValueCorrect()163 final PowerSaveState batterySaverStateOff = mBatterySaverPolicy.getBatterySaverPolicy( in testGetBatterySaverPolicy_PolicyDataSaver_DefaultValueCorrect()179 mBatterySaverPolicy.getBatterySaverPolicy(ServiceType.LOCATION); in testGetBatterySaverPolicy_PolicyGps_DefaultValueCorrect()198 mBatterySaverPolicy.getBatterySaverPolicy(ServiceType.VIBRATION); in verifyBatterySaverConstantsUpdated()202 mBatterySaverPolicy.getBatterySaverPolicy(ServiceType.ANIMATION); in verifyBatterySaverConstantsUpdated()206 mBatterySaverPolicy.getBatterySaverPolicy(ServiceType.SOUND); in verifyBatterySaverConstantsUpdated()209 final PowerSaveState networkState = mBatterySaverPolicy.getBatterySaverPolicy( in verifyBatterySaverConstantsUpdated()214 mBatterySaverPolicy.getBatterySaverPolicy(ServiceType.SCREEN_BRIGHTNESS); in verifyBatterySaverConstantsUpdated()218 final PowerSaveState fullBackupState = mBatterySaverPolicy.getBatterySaverPolicy( in verifyBatterySaverConstantsUpdated()222 final PowerSaveState keyValueBackupState = mBatterySaverPolicy.getBatterySaverPolicy( in verifyBatterySaverConstantsUpdated()[all …]
55 (caller.getBatterySaverPolicy().getGpsMode() in updateLocationState()
396 public BatterySaverPolicy getBatterySaverPolicy() { in getBatterySaverPolicy() method in BatterySaverController496 mBatterySaverPolicy.getBatterySaverPolicy(listener.getServiceType()); in handleBatterySaverStateChanged()
891 mBatterySaverController.getBatterySaverPolicy().shouldAdvertiseIsEnabled()); in dump()947 mBatterySaverController.getBatterySaverPolicy().shouldAdvertiseIsEnabled()); in dumpProto()
816 public PowerSaveState getBatterySaverPolicy(@ServiceType int type) { in getBatterySaverPolicy() method in BatterySaverPolicy
145 when(mBatterySaverPolicyMock.getBatterySaverPolicy( in setUp()
2866 getBatterySaverPolicy(ServiceType.SCREEN_BRIGHTNESS); in updatePowerRequestFromBatterySaverPolicy()4472 return mBatterySaverPolicy.getBatterySaverPolicy(serviceType); in getPowerSaveState()4915 return mBatterySaverPolicy.getBatterySaverPolicy(serviceType); in getLowPowerState()
12644 HSPLcom/android/server/power/batterysaver/BatterySaverController;->getBatterySaverPolicy()Lcom/andr…12668 HSPLcom/android/server/power/batterysaver/BatterySaverPolicy;->getBatterySaverPolicy(I)Landroid/os/…