/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/ |
D | BatterySaverPolicyTest.java | 26 import android.os.PowerManager.ServiceType; 105 testServiceDefaultValue_On(ServiceType.NULL); in testGetBatterySaverPolicy_PolicyNull_DefaultValueCorrect() 110 testServiceDefaultValue_On(ServiceType.VIBRATION); in testGetBatterySaverPolicy_PolicyVibration_DefaultValueCorrect() 116 testServiceDefaultValue_Off(ServiceType.VIBRATION); in testGetBatterySaverPolicy_PolicyVibration_WithAccessibilityEnabled() 121 testServiceDefaultValue_On(ServiceType.SOUND); in testGetBatterySaverPolicy_PolicySound_DefaultValueCorrect() 126 testServiceDefaultValue_On(ServiceType.FULL_BACKUP); in testGetBatterySaverPolicy_PolicyFullBackup_DefaultValueCorrect() 131 testServiceDefaultValue_On(ServiceType.KEYVALUE_BACKUP); in testGetBatterySaverPolicy_PolicyKeyValueBackup_DefaultValueCorrect() 136 testServiceDefaultValue_Off(ServiceType.ANIMATION); in testGetBatterySaverPolicy_PolicyAnimation_DefaultValueCorrect() 141 testServiceDefaultValue_On(ServiceType.BATTERY_STATS); in testGetBatterySaverPolicy_PolicyBatteryStats_DefaultValueCorrect() 146 testServiceDefaultValue_On(ServiceType.NETWORK_FIREWALL); in testGetBatterySaverPolicy_PolicyNetworkFirewall_DefaultValueCorrect() [all …]
|
/frameworks/base/telephony/java/android/telephony/ |
D | BarringInfo.java | 65 android.hardware.radio.V1_5.BarringInfo.ServiceType.CS_SERVICE; 68 android.hardware.radio.V1_5.BarringInfo.ServiceType.PS_SERVICE; 71 android.hardware.radio.V1_5.BarringInfo.ServiceType.CS_VOICE; 76 android.hardware.radio.V1_5.BarringInfo.ServiceType.MO_SIGNALLING; 79 android.hardware.radio.V1_5.BarringInfo.ServiceType.MO_DATA; 82 android.hardware.radio.V1_5.BarringInfo.ServiceType.CS_FALLBACK; 85 android.hardware.radio.V1_5.BarringInfo.ServiceType.MMTEL_VOICE; 88 android.hardware.radio.V1_5.BarringInfo.ServiceType.MMTEL_VIDEO; 93 android.hardware.radio.V1_5.BarringInfo.ServiceType.EMERGENCY; 96 android.hardware.radio.V1_5.BarringInfo.ServiceType.SMS;
|
D | NetworkRegistrationInfo.java | 148 public @interface ServiceType {} annotation in NetworkRegistrationInfo 206 @ServiceType 250 @Nullable @ServiceType List<Integer> availableServices, in NetworkRegistrationInfo() 470 @ServiceType 566 public static String serviceTypeToString(@ServiceType int serviceType) { in serviceTypeToString() 793 @ServiceType 896 @NonNull @ServiceType List<Integer> availableServices) { in setAvailableServices()
|
/frameworks/base/core/java/android/os/ |
D | PowerManager.java | 650 @IntDef({ServiceType.LOCATION, 651 ServiceType.VIBRATION, 652 ServiceType.ANIMATION, 653 ServiceType.FULL_BACKUP, 654 ServiceType.KEYVALUE_BACKUP, 655 ServiceType.NETWORK_FIREWALL, 656 ServiceType.SCREEN_BRIGHTNESS, 657 ServiceType.SOUND, 658 ServiceType.BATTERY_STATS, 659 ServiceType.DATA_SAVER, [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
D | SsData.java | 32 public enum ServiceType { enum in SsData 103 public ServiceType serviceType; 119 public ServiceType ServiceTypeFromRILInt(int type) { in ServiceTypeFromRILInt() 121 return ServiceType.values()[type]; in ServiceTypeFromRILInt()
|
D | GsmMmiCode.java | 408 private String getScStringFromScType(SsData.ServiceType sType) { in getScStringFromScType()
|
/frameworks/base/services/core/java/com/android/server/power/batterysaver/ |
D | BatterySaverPolicy.java | 26 import android.os.PowerManager.ServiceType; 816 public PowerSaveState getBatterySaverPolicy(@ServiceType int type) { in getBatterySaverPolicy() 822 case ServiceType.LOCATION: in getBatterySaverPolicy() 828 case ServiceType.ANIMATION: in getBatterySaverPolicy() 831 case ServiceType.FULL_BACKUP: in getBatterySaverPolicy() 834 case ServiceType.KEYVALUE_BACKUP: in getBatterySaverPolicy() 837 case ServiceType.NETWORK_FIREWALL: in getBatterySaverPolicy() 840 case ServiceType.SCREEN_BRIGHTNESS: in getBatterySaverPolicy() 844 case ServiceType.DATA_SAVER: in getBatterySaverPolicy() 847 case ServiceType.SOUND: in getBatterySaverPolicy() [all …]
|
/frameworks/base/telephony/java/android/telephony/ims/ |
D | ImsSsData.java | 221 public @interface ServiceType{} annotation in ImsSsData 227 public final @ServiceType int serviceType; 301 public Builder(@ServiceType int serviceType, int requestType, int teleserviceType, in Builder() 354 public ImsSsData(@ServiceType int serviceType, int requestType, int teleserviceType, in ImsSsData() 476 public @ServiceType int getServiceType() { in getServiceType()
|
D | ImsSsInfo.java | 346 public int[] getCompatArray(@ImsSsData.ServiceType int type) { in getCompatArray()
|
/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/services/voiceinteraction/java/com/android/server/soundtrigger/ |
D | SoundTriggerHelper.java | 40 import android.os.PowerManager.ServiceType; 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/services/core/java/com/android/server/ |
D | AppStateTracker.java | 38 import android.os.PowerManager.ServiceType; 456 ServiceType.FORCE_ALL_APPS_STANDBY, in onSystemServicesReady() 465 ServiceType.FORCE_ALL_APPS_STANDBY).batterySaverEnabled; in onSystemServicesReady()
|
D | UiModeManagerService.java | 43 import android.os.PowerManager.ServiceType; 316 mPowerSave = localPowerManager.getLowPowerState(ServiceType.NIGHT_MODE).batterySaverEnabled; in onStart() 317 localPowerManager.registerLowPowerModeObserver(ServiceType.NIGHT_MODE, in onStart()
|
D | VibratorService.java | 44 import android.os.PowerManager.ServiceType; 453 return ServiceType.VIBRATION; in systemReady() 1092 .getLowPowerState(ServiceType.VIBRATION).batterySaverEnabled; in updateLowPowerModeLocked()
|
D | DeviceIdleController.java | 58 import android.os.PowerManager.ServiceType; 2127 mLocalPowerManager.registerLowPowerModeObserver(ServiceType.QUICK_DOZE, in onBootPhase() 2135 ServiceType.QUICK_DOZE).batterySaverEnabled); in onBootPhase()
|
D | LocationManagerService.java | 74 import android.os.PowerManager.ServiceType; 413 localPowerManager.registerLowPowerModeObserver(ServiceType.LOCATION, in initializeLocked()
|
/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/core/java/com/android/server/am/ |
D | BatteryStatsService.java | 35 import android.os.PowerManager.ServiceType; 255 powerMgr.getLowPowerState(ServiceType.BATTERY_STATS) in initPowerManagement() 285 return ServiceType.BATTERY_STATS; in getServiceType()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | AppStateTrackerTest.java | 56 import android.os.PowerManager.ServiceType; 234 when(mMockPowerManagerInternal.getLowPowerState(eq(ServiceType.FORCE_ALL_APPS_STANDBY))) in callStart() 270 eq(ServiceType.FORCE_ALL_APPS_STANDBY), in callStart()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/power/ |
D | PowerManagerServiceTest.java | 150 eq(PowerManager.ServiceType.SCREEN_BRIGHTNESS))) in setUp()
|
/frameworks/base/media/java/android/media/tv/ |
D | TvContract.java | 1917 public @interface ServiceType {} annotation in TvContract.Channels
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | GnssLocationProvider.java | 51 import android.os.PowerManager.ServiceType; 576 final PowerSaveState result = mPowerManager.getPowerSaveState(ServiceType.LOCATION); in updateLowPowerMode()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | UserBackupManagerService.java | 81 import android.os.PowerManager.ServiceType; 2144 mPowerManager.getPowerSaveState(ServiceType.FULL_BACKUP); in beginFullBackup() 2538 mPowerManager.getPowerSaveState(ServiceType.KEYVALUE_BACKUP); in backupNow()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | PowerManagerService.java | 55 import android.os.PowerManager.ServiceType; 2914 getBatterySaverPolicy(ServiceType.SCREEN_BRIGHTNESS); in updatePowerRequestFromBatterySaverPolicy() 4517 public PowerSaveState getPowerSaveState(@ServiceType int serviceType) { in getPowerSaveState() 4963 public PowerSaveState getLowPowerState(@ServiceType int serviceType) { in getLowPowerState()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 180 import android.os.PowerManager.ServiceType; 751 return ServiceType.NETWORK_FIREWALL; in initService() 769 ServiceType.NETWORK_FIREWALL).batterySaverEnabled; in initService() 781 .getLowPowerState(ServiceType.DATA_SAVER); in initService() 791 return ServiceType.DATA_SAVER; in initService()
|