/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 | 64 android.hardware.radio.V1_5.BarringInfo.ServiceType.CS_SERVICE; 67 android.hardware.radio.V1_5.BarringInfo.ServiceType.PS_SERVICE; 70 android.hardware.radio.V1_5.BarringInfo.ServiceType.CS_VOICE; 75 android.hardware.radio.V1_5.BarringInfo.ServiceType.MO_SIGNALLING; 78 android.hardware.radio.V1_5.BarringInfo.ServiceType.MO_DATA; 81 android.hardware.radio.V1_5.BarringInfo.ServiceType.CS_FALLBACK; 84 android.hardware.radio.V1_5.BarringInfo.ServiceType.MMTEL_VOICE; 87 android.hardware.radio.V1_5.BarringInfo.ServiceType.MMTEL_VIDEO; 92 android.hardware.radio.V1_5.BarringInfo.ServiceType.EMERGENCY; 95 android.hardware.radio.V1_5.BarringInfo.ServiceType.SMS;
|
D | NetworkRegistrationInfo.java | 148 public @interface ServiceType {} annotation in NetworkRegistrationInfo 215 @ServiceType 260 boolean emergencyOnly, @Nullable @ServiceType List<Integer> availableServices, in NetworkRegistrationInfo() 508 @ServiceType 606 public static String serviceTypeToString(@ServiceType int serviceType) { in serviceTypeToString() 838 @ServiceType 947 @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 | 975 @IntDef({ServiceType.LOCATION, 976 ServiceType.VIBRATION, 977 ServiceType.ANIMATION, 978 ServiceType.FULL_BACKUP, 979 ServiceType.KEYVALUE_BACKUP, 980 ServiceType.NETWORK_FIREWALL, 981 ServiceType.SCREEN_BRIGHTNESS, 982 ServiceType.SOUND, 983 ServiceType.BATTERY_STATS, 984 ServiceType.DATA_SAVER, [all …]
|
/frameworks/base/services/core/java/com/android/server/power/batterysaver/ |
D | BatterySaverPolicy.java | 27 import android.os.PowerManager.ServiceType; 943 public PowerSaveState getBatterySaverPolicy(@ServiceType int type) { in getBatterySaverPolicy() 949 case ServiceType.LOCATION: in getBatterySaverPolicy() 955 case ServiceType.ANIMATION: in getBatterySaverPolicy() 958 case ServiceType.FULL_BACKUP: in getBatterySaverPolicy() 961 case ServiceType.KEYVALUE_BACKUP: in getBatterySaverPolicy() 964 case ServiceType.NETWORK_FIREWALL: in getBatterySaverPolicy() 967 case ServiceType.SCREEN_BRIGHTNESS: in getBatterySaverPolicy() 971 case ServiceType.DATA_SAVER: in getBatterySaverPolicy() 974 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/services/core/java/com/android/server/location/injector/ |
D | SystemLocationPowerSaveModeHelper.java | 55 PowerManager.ServiceType.LOCATION, this); in onSystemReady()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | BatteryControllerTest.java | 107 when(mPowerManager.getPowerSaveState(PowerManager.ServiceType.AOD)).thenReturn(state); in testIndependentAODBatterySaver_true() 122 when(mPowerManager.getPowerSaveState(PowerManager.ServiceType.AOD)).thenReturn(state); in testIndependentAODBatterySaver_false()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/ |
D | AppStateTrackerImpl.java | 37 import android.os.PowerManager.ServiceType; 550 ServiceType.FORCE_ALL_APPS_STANDBY, in onSystemServicesReady() 559 ServiceType.FORCE_ALL_APPS_STANDBY).batterySaverEnabled; in onSystemServicesReady()
|
D | DeviceIdleController.java | 67 import android.os.PowerManager.ServiceType; 2424 mLocalPowerManager.registerLowPowerModeObserver(ServiceType.QUICK_DOZE, in onBootPhase() 2432 ServiceType.QUICK_DOZE).batterySaverEnabled); in onBootPhase()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/power/ |
D | PowerManagerServiceMockingTest.java | 130 eq(PowerManager.ServiceType.SCREEN_BRIGHTNESS))) in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | BatteryControllerImpl.java | 394 PowerSaveState state = mPowerManager.getPowerSaveState(PowerManager.ServiceType.AOD); in setPowerSave()
|
/frameworks/base/services/core/java/com/android/server/ |
D | UiModeManagerService.java | 63 import android.os.PowerManager.ServiceType; 501 mLocalPowerManager.getLowPowerState(ServiceType.NIGHT_MODE) in initPowerSave() 503 mLocalPowerManager.registerLowPowerModeObserver(ServiceType.NIGHT_MODE, state -> { in initPowerSave()
|
/frameworks/base/services/core/java/com/android/server/vibrator/ |
D | VibrationSettings.java | 248 return PowerManager.ServiceType.VIBRATION; in onSystemReady()
|
/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/services/core/java/com/android/server/am/ |
D | BatteryStatsService.java | 54 import android.os.PowerManager.ServiceType; 507 powerMgr.getLowPowerState(ServiceType.BATTERY_STATS).batterySaverEnabled, in initPowerManagement() 540 return ServiceType.BATTERY_STATS; in getServiceType()
|
/frameworks/base/media/java/android/media/tv/ |
D | TvContract.java | 1936 public @interface ServiceType {} annotation in TvContract.Channels
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | UserBackupManagerService.java | 83 import android.os.PowerManager.ServiceType; 2221 mPowerManager.getPowerSaveState(ServiceType.FULL_BACKUP); in beginFullBackup() 2724 mPowerManager.getPowerSaveState(ServiceType.KEYVALUE_BACKUP); in backupNow()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 204 import android.os.PowerManager.ServiceType; 945 return ServiceType.NETWORK_FIREWALL; in initService() 963 ServiceType.NETWORK_FIREWALL).batterySaverEnabled; in initService() 984 .getLowPowerState(ServiceType.DATA_SAVER).batterySaverEnabled; in initService() 992 return ServiceType.DATA_SAVER; in initService()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | PowerManagerService.java | 76 import android.os.PowerManager.ServiceType; 3476 mBatterySaverPolicy.getBatterySaverPolicy(ServiceType.SCREEN_BRIGHTNESS), 5840 public PowerSaveState getPowerSaveState(@ServiceType int serviceType) { 6620 public PowerSaveState getLowPowerState(@ServiceType int serviceType) {
|
/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/ |
D | VibratorManagerServiceTest.java | 197 when(mPowerManagerInternalMock.getLowPowerState(PowerManager.ServiceType.VIBRATION)) in setUp()
|