/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/ |
D | BatterySaverPolicyTest.java | 27 import android.os.PowerManager.ServiceType; 115 testServiceDefaultValue_On(ServiceType.NULL); in testGetBatterySaverPolicy_PolicyNull_DefaultValueCorrect() 120 testServiceDefaultValue_On(ServiceType.VIBRATION); in testGetBatterySaverPolicy_PolicyVibration_DefaultValueCorrect() 126 testServiceDefaultValue_Off(ServiceType.VIBRATION); in testGetBatterySaverPolicy_PolicyVibration_WithAccessibilityEnabled() 131 testServiceDefaultValue_On(ServiceType.SOUND); in testGetBatterySaverPolicy_PolicySound_DefaultValueCorrect() 135 mBatterySaverPolicy.getBatterySaverPolicy(ServiceType.SOUND); in testGetBatterySaverPolicy_PolicySound_DefaultValueCorrect() 141 testServiceDefaultValue_On(ServiceType.FULL_BACKUP); in testGetBatterySaverPolicy_PolicyFullBackup_DefaultValueCorrect() 146 testServiceDefaultValue_On(ServiceType.KEYVALUE_BACKUP); in testGetBatterySaverPolicy_PolicyKeyValueBackup_DefaultValueCorrect() 151 testServiceDefaultValue_Off(ServiceType.ANIMATION); in testGetBatterySaverPolicy_PolicyAnimation_DefaultValueCorrect() 156 testServiceDefaultValue_On(ServiceType.BATTERY_STATS); in testGetBatterySaverPolicy_PolicyBatteryStats_DefaultValueCorrect() [all …]
|
/frameworks/av/services/audiopolicy/service/ |
D | BinderProxy.h | 38 template<typename ServiceType> 41 static_assert(std::is_base_of_v<IInterface, ServiceType>, 56 sp<ServiceType> waitServiceOrDie() { in waitServiceOrDie() 59 mDelegate = waitForService<ServiceType>(String16(mServiceName.c_str())); in waitServiceOrDie() 72 sp<ServiceType> mDelegate;
|
/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() 472 @ServiceType 570 public static String serviceTypeToString(@ServiceType int serviceType) { in serviceTypeToString() 798 @ServiceType 901 @NonNull @ServiceType List<Integer> availableServices) { in setAvailableServices()
|
/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 | 417 private String getScStringFromScType(SsData.ServiceType sType) { in getScStringFromScType()
|
/frameworks/base/core/java/android/os/ |
D | PowerManager.java | 824 @IntDef({ServiceType.LOCATION, 825 ServiceType.VIBRATION, 826 ServiceType.ANIMATION, 827 ServiceType.FULL_BACKUP, 828 ServiceType.KEYVALUE_BACKUP, 829 ServiceType.NETWORK_FIREWALL, 830 ServiceType.SCREEN_BRIGHTNESS, 831 ServiceType.SOUND, 832 ServiceType.BATTERY_STATS, 833 ServiceType.DATA_SAVER, [all …]
|
/frameworks/base/services/core/java/com/android/server/power/batterysaver/ |
D | BatterySaverPolicy.java | 27 import android.os.PowerManager.ServiceType; 985 public PowerSaveState getBatterySaverPolicy(@ServiceType int type) { in getBatterySaverPolicy() 991 case ServiceType.LOCATION: in getBatterySaverPolicy() 997 case ServiceType.ANIMATION: in getBatterySaverPolicy() 1000 case ServiceType.FULL_BACKUP: in getBatterySaverPolicy() 1003 case ServiceType.KEYVALUE_BACKUP: in getBatterySaverPolicy() 1006 case ServiceType.NETWORK_FIREWALL: in getBatterySaverPolicy() 1009 case ServiceType.SCREEN_BRIGHTNESS: in getBatterySaverPolicy() 1013 case ServiceType.DATA_SAVER: in getBatterySaverPolicy() 1016 case ServiceType.SOUND: in getBatterySaverPolicy() [all …]
|
/frameworks/base/telephony/java/android/telephony/ims/ |
D | ImsSsData.java | 219 public @interface ServiceType{} annotation in ImsSsData 225 public final @ServiceType int serviceType; 299 public Builder(@ServiceType int serviceType, int requestType, int teleserviceType, in Builder() 352 public ImsSsData(@ServiceType int serviceType, int requestType, int teleserviceType, in ImsSsData() 474 public @ServiceType int getServiceType() { in getServiceType()
|
D | ImsSsInfo.java | 345 public int[] getCompatArray(@ImsSsData.ServiceType int type) { in getCompatArray()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | BatteryControllerTest.java | 82 when(mPowerManager.getPowerSaveState(PowerManager.ServiceType.AOD)).thenReturn(state); in testIndependentAODBatterySaver_true() 97 when(mPowerManager.getPowerSaveState(PowerManager.ServiceType.AOD)).thenReturn(state); in testIndependentAODBatterySaver_false()
|
/frameworks/base/services/core/java/com/android/server/location/injector/ |
D | SystemLocationPowerSaveModeHelper.java | 55 PowerManager.ServiceType.LOCATION, this); in onSystemReady()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/ |
D | AppStateTrackerImpl.java | 36 import android.os.PowerManager.ServiceType; 499 ServiceType.FORCE_ALL_APPS_STANDBY, in onSystemServicesReady() 508 ServiceType.FORCE_ALL_APPS_STANDBY).batterySaverEnabled; in onSystemServicesReady()
|
D | DeviceIdleController.java | 66 import android.os.PowerManager.ServiceType; 2430 mLocalPowerManager.registerLowPowerModeObserver(ServiceType.QUICK_DOZE, in onBootPhase() 2438 ServiceType.QUICK_DOZE).batterySaverEnabled); in onBootPhase()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | BatteryControllerImpl.java | 344 PowerSaveState state = mPowerManager.getPowerSaveState(PowerManager.ServiceType.AOD); in setPowerSave()
|
/frameworks/base/services/core/java/com/android/server/vibrator/ |
D | VibrationSettings.java | 160 return PowerManager.ServiceType.VIBRATION; in onSystemReady()
|
/frameworks/base/services/core/java/com/android/server/ |
D | UiModeManagerService.java | 57 import android.os.PowerManager.ServiceType; 472 mLocalPowerManager.getLowPowerState(ServiceType.NIGHT_MODE) in initPowerSave() 474 mLocalPowerManager.registerLowPowerModeObserver(ServiceType.NIGHT_MODE, state -> { in initPowerSave()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | AppStateTrackerTest.java | 55 import android.os.PowerManager.ServiceType; 247 when(mMockPowerManagerInternal.getLowPowerState(eq(ServiceType.FORCE_ALL_APPS_STANDBY))) in callStart() 282 eq(ServiceType.FORCE_ALL_APPS_STANDBY), in callStart()
|
/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/am/ |
D | BatteryStatsService.java | 51 import android.os.PowerManager.ServiceType; 496 powerMgr.getLowPowerState(ServiceType.BATTERY_STATS).batterySaverEnabled, in initPowerManagement() 529 return ServiceType.BATTERY_STATS; in getServiceType()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 216 import android.os.PowerManager.ServiceType; 867 return ServiceType.NETWORK_FIREWALL; in initService() 885 ServiceType.NETWORK_FIREWALL).batterySaverEnabled; in initService() 906 .getLowPowerState(ServiceType.DATA_SAVER).batterySaverEnabled; in initService() 914 return ServiceType.DATA_SAVER; in initService()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | UserBackupManagerService.java | 83 import android.os.PowerManager.ServiceType; 2421 mPowerManager.getPowerSaveState(ServiceType.FULL_BACKUP); in beginFullBackup() 2914 mPowerManager.getPowerSaveState(ServiceType.KEYVALUE_BACKUP); in backupNow()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | PowerManagerService.java | 67 import android.os.PowerManager.ServiceType; 3625 getBatterySaverPolicy(ServiceType.SCREEN_BRIGHTNESS); 5381 public PowerSaveState getPowerSaveState(@ServiceType int serviceType) { 6059 public PowerSaveState getLowPowerState(@ServiceType int serviceType) {
|
/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/ |
D | VibratorManagerServiceTest.java | 162 when(mPowerManagerInternalMock.getLowPowerState(PowerManager.ServiceType.VIBRATION)) in setUp()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/power/ |
D | PowerManagerServiceTest.java | 181 eq(PowerManager.ServiceType.SCREEN_BRIGHTNESS))) in setUp()
|