Home
last modified time | relevance | path

Searched refs:ServiceType (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGsmMmiCodeTest.java131 SsData.ServiceType.SS_CFU); in testGetControlStrings()
134 SsData.ServiceType.SS_CFU); in testGetControlStrings()
137 SsData.ServiceType.SS_CFU); in testGetControlStrings()
142 SsData.ServiceType.SS_CF_BUSY); in testGetControlStrings()
145 SsData.ServiceType.SS_CF_BUSY); in testGetControlStrings()
148 SsData.ServiceType.SS_CF_BUSY); in testGetControlStrings()
153 SsData.ServiceType.SS_CF_NO_REPLY); in testGetControlStrings()
156 SsData.ServiceType.SS_CF_NO_REPLY); in testGetControlStrings()
159 SsData.ServiceType.SS_CF_NO_REPLY); in testGetControlStrings()
164 SsData.ServiceType.SS_CF_NOT_REACHABLE); in testGetControlStrings()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/
DBatterySaverPolicyTest.java27 import android.os.PowerManager.ServiceType;
113 testServiceDefaultValue_On(ServiceType.NULL); in testGetBatterySaverPolicy_PolicyNull_DefaultValueCorrect()
121 ServiceType.VIBRATION); in testGetBatterySaverPolicy_PolicyVibration_DefaultValueCorrect()
127 testServiceDefaultValue_Off(ServiceType.VIBRATION); in testGetBatterySaverPolicy_PolicyVibration_WithAccessibilityEnabled()
135 testServiceDefaultValue_Off(ServiceType.SOUND); in testGetBatterySaverPolicy_PolicySound_DefaultValueCorrect()
137 testServiceDefaultValue_On(ServiceType.SOUND); in testGetBatterySaverPolicy_PolicySound_DefaultValueCorrect()
142 mBatterySaverPolicy.getBatterySaverPolicy(ServiceType.SOUND); in testGetBatterySaverPolicy_PolicySound_DefaultValueCorrect()
150 ServiceType.FULL_BACKUP); in testGetBatterySaverPolicy_PolicyFullBackup_DefaultValueCorrect()
157 ServiceType.KEYVALUE_BACKUP); in testGetBatterySaverPolicy_PolicyKeyValueBackup_DefaultValueCorrect()
164 ServiceType.ANIMATION); in testGetBatterySaverPolicy_PolicyAnimation_DefaultValueCorrect()
[all …]
/frameworks/av/services/audiopolicy/service/
DBinderProxy.h38 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/opt/telephony/src/java/com/android/internal/telephony/gsm/
DSsData.java32 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()
DGsmMmiCode.java427 private String getScStringFromScType(SsData.ServiceType sType) { in getScStringFromScType()
533 public static SsData.ServiceType cfReasonToServiceType(int commandInterfaceCFReason) { in cfReasonToServiceType()
536 return SsData.ServiceType.SS_CFU; in cfReasonToServiceType()
538 return SsData.ServiceType.SS_CF_BUSY; in cfReasonToServiceType()
540 return SsData.ServiceType.SS_CF_NO_REPLY; in cfReasonToServiceType()
542 return SsData.ServiceType.SS_CF_NOT_REACHABLE; in cfReasonToServiceType()
544 return SsData.ServiceType.SS_CF_ALL; in cfReasonToServiceType()
546 return SsData.ServiceType.SS_CF_ALL_CONDITIONAL; in cfReasonToServiceType()
670 public static SsData.ServiceType cbFacilityToServiceType(String commandInterfaceCBFacility) { in cbFacilityToServiceType()
673 return SsData.ServiceType.SS_BAOC; in cbFacilityToServiceType()
[all …]
/frameworks/base/services/core/java/com/android/server/ambientcontext/
DAmbientContextManagerService.java46 import com.android.server.ambientcontext.AmbientContextManagerPerUserService.ServiceType;
236 AmbientContextManagerPerUserService.ServiceType.DEFAULT, in newServiceListLocked()
243 AmbientContextManagerPerUserService.ServiceType.WEARABLE, in newServiceListLocked()
254 == AmbientContextManagerPerUserService.ServiceType.WEARABLE) { in newServiceListLocked()
258 AmbientContextManagerPerUserService.ServiceType.WEARABLE, serviceName)); in newServiceListLocked()
262 AmbientContextManagerPerUserService.ServiceType.DEFAULT, serviceName)); in newServiceListLocked()
392 AmbientContextManagerPerUserService.ServiceType serviceType) { in getComponentName()
407 AmbientContextManagerPerUserService.ServiceType.WEARABLE); in getAmbientContextManagerPerUserServiceForEventTypes()
410 AmbientContextManagerPerUserService.ServiceType.DEFAULT); in getAmbientContextManagerPerUserServiceForEventTypes()
414 private AmbientContextManagerPerUserService.ServiceType getServiceType(String serviceName) { in getServiceType()
[all …]
DDefaultAmbientContextManagerPerUserService.java43 private final ServiceType mServiceType;
48 @UserIdInt int userId, ServiceType serviceType, String serviceName) { in DefaultAmbientContextManagerPerUserService()
89 public ServiceType getServiceType() { in getServiceType()
DWearableAmbientContextManagerPerUserService.java43 private final ServiceType mServiceType;
48 @UserIdInt int userId, ServiceType serviceType, String serviceName) { in WearableAmbientContextManagerPerUserService()
89 public ServiceType getServiceType() { in getServiceType()
DAmbientContextManagerPerUserService.java70 enum ServiceType { enum in AmbientContextManagerPerUserService
98 abstract ServiceType getServiceType(); in getServiceType()
DAmbientContextShellCommand.java262 AmbientContextManagerPerUserService.ServiceType.DEFAULT);
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySaverPolicy.java28 import android.os.PowerManager.ServiceType;
940 public PowerSaveState getBatterySaverPolicy(@ServiceType int type) { in getBatterySaverPolicy()
946 case ServiceType.LOCATION: in getBatterySaverPolicy()
952 case ServiceType.ANIMATION: in getBatterySaverPolicy()
955 case ServiceType.FULL_BACKUP: in getBatterySaverPolicy()
958 case ServiceType.KEYVALUE_BACKUP: in getBatterySaverPolicy()
961 case ServiceType.NETWORK_FIREWALL: in getBatterySaverPolicy()
964 case ServiceType.SCREEN_BRIGHTNESS: in getBatterySaverPolicy()
968 case ServiceType.DATA_SAVER: in getBatterySaverPolicy()
971 case ServiceType.SOUND: in getBatterySaverPolicy()
[all …]
/frameworks/base/telephony/java/android/telephony/ims/
DImsSsData.java219 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()
DImsSsInfo.java345 public int[] getCompatArray(@ImsSsData.ServiceType int type) { in getCompatArray()
/frameworks/base/core/java/android/os/
DPowerManager.java991 @IntDef({ServiceType.LOCATION,
992 ServiceType.VIBRATION,
993 ServiceType.ANIMATION,
994 ServiceType.FULL_BACKUP,
995 ServiceType.KEYVALUE_BACKUP,
996 ServiceType.NETWORK_FIREWALL,
997 ServiceType.SCREEN_BRIGHTNESS,
998 ServiceType.SOUND,
999 ServiceType.BATTERY_STATS,
1000 ServiceType.DATA_SAVER,
[all …]
/frameworks/base/telephony/java/android/telephony/
DNetworkRegistrationInfo.java177 public @interface ServiceType {} annotation in NetworkRegistrationInfo
257 @ServiceType
306 boolean emergencyOnly, @Nullable @ServiceType List<Integer> availableServices, in NetworkRegistrationInfo()
616 @ServiceType
627 public void setAvailableServices(@NonNull @ServiceType List<Integer> availableServices) { in setAvailableServices()
752 public static String serviceTypeToString(@ServiceType int serviceType) { in serviceTypeToString()
1002 @ServiceType
1139 @NonNull @ServiceType List<Integer> availableServices) { in setAvailableServices()
/frameworks/base/services/core/java/com/android/server/location/injector/
DSystemLocationPowerSaveModeHelper.java55 PowerManager.ServiceType.LOCATION, this); in onSystemReady()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DBatteryControllerTest.java119 when(mPowerManager.getPowerSaveState(PowerManager.ServiceType.AOD)).thenReturn(state); in testIndependentAODBatterySaver_true()
134 when(mPowerManager.getPowerSaveState(PowerManager.ServiceType.AOD)).thenReturn(state); in testIndependentAODBatterySaver_false()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/
DAppStateTrackerImpl.java36 import android.os.PowerManager.ServiceType;
529 ServiceType.FORCE_ALL_APPS_STANDBY, in onSystemServicesReady()
538 ServiceType.FORCE_ALL_APPS_STANDBY).batterySaverEnabled; in onSystemServicesReady()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaPhone.java2543 SsData.ServiceType serviceType = GsmMmiCode.cfReasonToServiceType(commandInterfaceCFReason); in getCallForwardingOption()
2602 SsData.ServiceType serviceType = GsmMmiCode.cfReasonToServiceType(commandInterfaceCFReason); in setCallForwardingOption()
2664 SsData.ServiceType serviceType = GsmMmiCode.cbFacilityToServiceType(facility); in getCallBarring()
2691 SsData.ServiceType serviceType = GsmMmiCode.cbFacilityToServiceType(facility); in setCallBarring()
2723 SsData.ServiceType serviceType = GsmMmiCode.cbFacilityToServiceType(facility); in changeCallBarringPassword()
2744 if(isRequestBlockedByFDN(SsData.RequestType.SS_INTERROGATION, SsData.ServiceType.SS_CLIR)){ in getOutgoingCallerIdDisplay()
2772 if (isRequestBlockedByFDN(requestType, SsData.ServiceType.SS_CLIR)) { in setOutgoingCallerIdDisplay()
2802 if(isRequestBlockedByFDN(SsData.RequestType.SS_INTERROGATION, SsData.ServiceType.SS_CLIP)){ in queryCLIP()
2828 if(isRequestBlockedByFDN(SsData.RequestType.SS_INTERROGATION, SsData.ServiceType.SS_WAIT)){ in getCallWaiting()
2881 if (isRequestBlockedByFDN(requestType, SsData.ServiceType.SS_WAIT)) { in setCallWaiting()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/satellite/
DSatelliteServiceUtils.java294 @NetworkRegistrationInfo.ServiceType
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBatteryControllerImpl.java447 PowerSaveState state = mPowerManager.getPowerSaveState(PowerManager.ServiceType.AOD); in setPowerSave()
/frameworks/base/services/core/java/com/android/server/
DUiModeManagerService.java75 import android.os.PowerManager.ServiceType;
562 mLocalPowerManager.getLowPowerState(ServiceType.NIGHT_MODE) in initPowerSave()
564 mLocalPowerManager.registerLowPowerModeObserver(ServiceType.NIGHT_MODE, state -> { in initPowerSave()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DAppStateTrackerTest.java56 import android.os.PowerManager.ServiceType;
248 when(mMockPowerManagerInternal.getLowPowerState(eq(ServiceType.FORCE_ALL_APPS_STANDBY))) in callStart()
284 eq(ServiceType.FORCE_ALL_APPS_STANDBY), in callStart()
/frameworks/base/media/java/android/media/tv/
DTvContract.java1938 public @interface ServiceType {} annotation in TvContract.Channels
/frameworks/base/services/core/java/com/android/server/vibrator/
DVibrationSettings.java265 return PowerManager.ServiceType.VIBRATION; in onSystemReady()

12