/frameworks/base/services/tests/servicestests/src/com/android/server/power/ |
D | BatterySaverPolicyTest.java | 23 import com.android.server.power.BatterySaverPolicy.ServiceType; 66 testServiceDefaultValue(ServiceType.NULL); in testGetBatterySaverPolicy_PolicyNull_DefaultValueCorrect() 71 testServiceDefaultValue(ServiceType.VIBRATION); in testGetBatterySaverPolicy_PolicyVibration_DefaultValueCorrect() 76 testServiceDefaultValue(ServiceType.SOUND); in testGetBatterySaverPolicy_PolicySound_DefaultValueCorrect() 81 testServiceDefaultValue(ServiceType.FULL_BACKUP); in testGetBatterySaverPolicy_PolicyFullBackup_DefaultValueCorrect() 86 testServiceDefaultValue(ServiceType.KEYVALUE_BACKUP); in testGetBatterySaverPolicy_PolicyKeyValueBackup_DefaultValueCorrect() 91 testServiceDefaultValue(ServiceType.ANIMATION); in testGetBatterySaverPolicy_PolicyAnimation_DefaultValueCorrect() 96 testServiceDefaultValue(ServiceType.BATTERY_STATS); in testGetBatterySaverPolicy_PolicyBatteryStats_DefaultValueCorrect() 101 testServiceDefaultValue(ServiceType.NETWORK_FIREWALL); in testGetBatterySaverPolicy_PolicyNetworkFirewall_DefaultValueCorrect() 108 mBatterySaverPolicy.getBatterySaverPolicy(ServiceType.DATA_SAVER, BATTERY_SAVER_ON); in testGetBatterySaverPolicy_PolicyDataSaver_DefaultValueCorrect() [all …]
|
D | PowerManagerServiceTest.java | 71 eq(BatterySaverPolicy.ServiceType.SCREEN_BRIGHTNESS), anyBoolean())) in setUp()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | BatterySaverPolicy.java | 38 @IntDef({ServiceType.GPS, 39 ServiceType.VIBRATION, 40 ServiceType.ANIMATION, 41 ServiceType.FULL_BACKUP, 42 ServiceType.KEYVALUE_BACKUP, 43 ServiceType.NETWORK_FIREWALL, 44 ServiceType.SCREEN_BRIGHTNESS, 45 ServiceType.SOUND, 46 ServiceType.BATTERY_STATS, 47 ServiceType.DATA_SAVER}) [all …]
|
D | PowerManagerService.java | 96 import com.android.server.power.BatterySaverPolicy.ServiceType; 2790 getBatterySaverPolicy(ServiceType.SCREEN_BRIGHTNESS, mLowPowerModeEnabled); in updatePowerRequestFromBatterySaverPolicy() 4348 public PowerSaveState getPowerSaveState(@ServiceType int serviceType) { in getPowerSaveState() 4710 public PowerSaveState getLowPowerState(@ServiceType int serviceType) { in getLowPowerState()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
D | SsData.java | 34 public enum ServiceType { enum in SsData 105 public ServiceType serviceType; 121 public ServiceType ServiceTypeFromRILInt(int type) { in ServiceTypeFromRILInt() 123 return ServiceType.values()[type]; in ServiceTypeFromRILInt()
|
D | GsmMmiCode.java | 386 private String getScStringFromScType(SsData.ServiceType sType) { in getScStringFromScType()
|
/frameworks/support/tv-provider/src/android/support/media/tv/ |
D | Channel.java | 28 import android.support.media.tv.TvContractCompat.Channels.ServiceType; 257 public @ServiceType String getServiceType() { in getServiceType() 835 public Builder setServiceType(@ServiceType String serviceType) { in setServiceType()
|
D | TvContractCompat.java | 1807 public @interface ServiceType {} annotation in TvContractCompat.Channels
|
/frameworks/base/services/core/java/com/android/server/ |
D | VibratorService.java | 59 import com.android.server.power.BatterySaverPolicy.ServiceType; 255 return ServiceType.VIBRATION; in systemReady() 657 .getLowPowerState(ServiceType.VIBRATION).batterySaverEnabled; in updateLowPowerModeLocked()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/ |
D | SoundTriggerHelper.java | 44 import com.android.server.power.BatterySaverPolicy.ServiceType; 862 boolean active = mPowerManager.getPowerSaveState(ServiceType.SOUND) in onReceive() 896 mIsPowerSaveMode = mPowerManager.getPowerSaveState(ServiceType.SOUND) in initializeTelephonyAndPowerStateListeners()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BatteryStatsService.java | 55 import com.android.server.power.BatterySaverPolicy.ServiceType; 204 powerMgr.getLowPowerState(ServiceType.BATTERY_STATS) in initPowerManagement() 234 return ServiceType.BATTERY_STATS; in getServiceType()
|
/frameworks/base/media/java/android/media/tv/ |
D | TvContract.java | 1872 public @interface ServiceType {} annotation in TvContract.Channels
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 196 import com.android.server.power.BatterySaverPolicy.ServiceType; 668 return ServiceType.NETWORK_FIREWALL; in initService() 686 ServiceType.NETWORK_FIREWALL).batterySaverEnabled; in initService() 696 .getLowPowerState(ServiceType.DATA_SAVER); in initService() 708 return ServiceType.DATA_SAVER; in initService()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | RefactoredBackupManagerService.java | 122 import com.android.server.power.BatterySaverPolicy.ServiceType; 2050 mPowerManager.getPowerSaveState(ServiceType.FULL_BACKUP); in beginFullBackup() 2389 mPowerManager.getPowerSaveState(ServiceType.KEYVALUE_BACKUP); in backupNow()
|
D | BackupManagerService.java | 129 import com.android.server.power.BatterySaverPolicy.ServiceType; 5494 mPowerManager.getPowerSaveState(ServiceType.FULL_BACKUP); in beginFullBackup() 10017 mPowerManager.getPowerSaveState(ServiceType.KEYVALUE_BACKUP); in backupNow()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | GnssLocationProvider.java | 88 import com.android.server.power.BatterySaverPolicy.ServiceType; 566 mPowerManager.getPowerSaveState(ServiceType.GPS); in updateLowPowerMode()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowManagerService.java | 240 import com.android.server.power.BatterySaverPolicy.ServiceType; 1084 return ServiceType.ANIMATION; in WindowManagerService() 1099 .getLowPowerState(ServiceType.ANIMATION).batterySaverEnabled; in WindowManagerService()
|