/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/util/ |
D | DiscoveryListenerMultiplexer.java | 46 public static void addListener(@NonNull NsdManager nsdManager, @NonNull String serviceType, in addListener() argument 49 DiscoveryListenerSet listenerSet = sListeners.get(serviceType); in addListener() 56 sListeners.put(serviceType, listenerSet); in addListener() 61 nsdManager.discoverServices(serviceType, NsdManager.PROTOCOL_DNS_SD, in addListener() 133 public void onStartDiscoveryFailed(String serviceType, int errorCode) { in onStartDiscoveryFailed() argument 134 Log.w(LOG_TAG, "Failed to start network discovery for type " + serviceType + ": " in onStartDiscoveryFailed() 139 public void onStopDiscoveryFailed(String serviceType, int errorCode) { in onStopDiscoveryFailed() argument 140 Log.w(LOG_TAG, "Failed to stop network discovery for type " + serviceType + ": " in onStopDiscoveryFailed() 145 public void onDiscoveryStarted(String serviceType) { in onDiscoveryStarted() argument 150 public void onDiscoveryStopped(String serviceType) { in onDiscoveryStopped() argument
|
D | MDNSFilteredDiscovery.java | 125 for (String serviceType : mServiceTypes) { in start() 126 DiscoveryListenerMultiplexer.addListener(getNDSManager(), serviceType, this); in start() local 143 public void onStartDiscoveryFailed(String serviceType, int errorCode) { in onStartDiscoveryFailed() argument 144 Log.w(LOG_TAG, "Failed to start network discovery for type " + serviceType + ": " in onStartDiscoveryFailed() 149 public void onStopDiscoveryFailed(String serviceType, int errorCode) { in onStopDiscoveryFailed() argument 150 Log.w(LOG_TAG, "Failed to stop network discovery for type " + serviceType + ": " in onStopDiscoveryFailed() 155 public void onDiscoveryStarted(String serviceType) { in onDiscoveryStarted() argument 160 public void onDiscoveryStopped(String serviceType) { in onDiscoveryStopped() argument
|
/frameworks/base/telephony/java/android/telephony/ims/ |
D | ImsSsData.java | 225 public final @ServiceType int serviceType; field in ImsSsData 299 public Builder(@ServiceType int serviceType, int requestType, int teleserviceType, in Builder() argument 301 mImsSsData = new ImsSsData(serviceType, requestType, teleserviceType, serviceClass, in Builder() 352 public ImsSsData(@ServiceType int serviceType, int requestType, int teleserviceType, in ImsSsData() argument 354 this.serviceType = serviceType; in ImsSsData() 362 serviceType = in.readInt(); in ImsSsData() 475 return serviceType; in getServiceType()
|
D | ImsCallProfile.java | 650 public ImsCallProfile(int serviceType, int callType) { in ImsCallProfile() argument 651 mServiceType = serviceType; in ImsCallProfile() 678 public ImsCallProfile(int serviceType, int callType, Bundle callExtras, in ImsCallProfile() argument 680 mServiceType = serviceType; in ImsCallProfile()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
D | SsData.java | 103 public ServiceType serviceType; field in SsData 147 return "[SsData] " + "ServiceType: " + serviceType in toString() 152 + " Is Service Type CF: " + serviceType.isTypeCF(); in toString()
|
D | GsmMmiCode.java | 385 mSc = getScStringFromScType(ssData.serviceType); in parseSsData() 395 ssData.serviceType.isTypeUnConditional()) { in parseSsData() 411 if (ssData.serviceType.isTypeClir()) { in parseSsData() 414 } else if (ssData.serviceType.isTypeCF()) { in parseSsData() 1953 SsData.ServiceType serviceType) { in getControlStrings() argument 1955 if (requestType == null || serviceType == null) { in getControlStrings() 1960 switch (serviceType) { in getControlStrings() 2043 SsData.ServiceType serviceType) { in getControlStringsForPwd() argument 2045 if (requestType == null || serviceType == null) { in getControlStringsForPwd() 2049 controlStrings = getControlStrings(SsData.RequestType.SS_ACTIVATION, serviceType); in getControlStringsForPwd()
|
/frameworks/base/core/java/android/os/ |
D | PowerManagerInternal.java | 154 public abstract PowerSaveState getLowPowerState(int serviceType); in getLowPowerState() argument 161 public void registerLowPowerModeObserver(int serviceType, Consumer<PowerSaveState> listener) { in registerLowPowerModeObserver() argument 165 return serviceType; in registerLowPowerModeObserver()
|
D | IPowerManager.aidl | 61 PowerSaveState getPowerSaveState(int serviceType); in getPowerSaveState() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/utils/ |
D | UserScopedService.kt | 55 private val serviceType: Class<T>, constant in com.android.systemui.user.utils.UserScopedServiceImpl 64 return requireNotNull(context.getSystemService(serviceType)) in forUser()
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | ServiceState.java | 431 int count, int serviceType, int state, long startTime, long now, long totalTime, in dumpStats() argument 437 dumpTime(pw, prefixInner, serviceType, state, startTime, now); in dumpStats() 439 long myTime = dumpTimeInternal(null, null, serviceType, state, startTime, now, in dumpStats() 458 int serviceType, int curState, long curStartTime, long now) { 459 return dumpTimeInternal(pw, prefix, serviceType, curState, curStartTime, now, false); 463 int serviceType, int curState, long curStartTime, long now, boolean negativeIfRunning) { 471 long time = getDuration(serviceType, curState, curStartTime, state, now); 518 int uid, long vers, String serviceName, int serviceType, int opCount, 542 if (type != serviceType) { 588 public void writeTypeToProto(ProtoOutputStream proto, long fieldId, int opType, int serviceType, [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | AppFGSTracker.java | 511 static int foregroundServiceTypeToIndex(@ForegroundServiceType int serviceType) { in foregroundServiceTypeToIndex() argument 512 return serviceType == FOREGROUND_SERVICE_TYPE_NONE ? 0 in foregroundServiceTypeToIndex() 513 : Integer.numberOfTrailingZeros(serviceType) + 1; in foregroundServiceTypeToIndex() 700 for (int serviceType = Integer.highestOneBit(changes); serviceType != 0;) { in setForegroundServiceType() 701 final int i = foregroundServiceTypeToIndex(serviceType); in setForegroundServiceType() 703 if ((serviceTypes & serviceType) != 0) { in setForegroundServiceType() 710 notifyListenersOnStateChangeIfNecessary(true, now, serviceType); in setForegroundServiceType() 716 notifyListenersOnStateChangeIfNecessary(false, now, serviceType); in setForegroundServiceType() 720 changes &= ~serviceType; in setForegroundServiceType() 721 serviceType = Integer.highestOneBit(changes); in setForegroundServiceType() [all …]
|
/frameworks/base/telephony/java/com/android/ims/internal/ |
D | IImsService.aidl | 39 boolean isConnected(int serviceId, int serviceType, int callType); in isConnected() argument 54 ImsCallProfile createCallProfile(int serviceId, int serviceType, int callType); in createCallProfile() argument
|
/frameworks/base/services/core/java/com/android/server/ambientcontext/ |
D | DefaultAmbientContextManagerPerUserService.java | 48 @UserIdInt int userId, ServiceType serviceType, String serviceName) { in DefaultAmbientContextManagerPerUserService() argument 50 this.mServiceType = serviceType; in DefaultAmbientContextManagerPerUserService()
|
D | WearableAmbientContextManagerPerUserService.java | 48 @UserIdInt int userId, ServiceType serviceType, String serviceName) { in WearableAmbientContextManagerPerUserService() argument 50 this.mServiceType = serviceType; in WearableAmbientContextManagerPerUserService()
|
D | AmbientContextManagerService.java | 392 AmbientContextManagerPerUserService.ServiceType serviceType) { in getComponentName() argument 395 getServiceForType(userId, serviceType); in getComponentName() 443 AmbientContextManagerPerUserService.ServiceType serviceType) { in getServiceForType() argument 445 + userId + " service type: " + serviceType.name()); in getServiceForType() 457 if (service.getServiceType() == serviceType) { in getServiceForType()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/satellite/ |
D | SatelliteServiceUtils.java | 305 for (int serviceType : supportedServicesBundle.getIntArray(plmn)) { in parseSupportedSatelliteServices() 306 if (TelephonyUtils.isValidService(serviceType)) { in parseSupportedSatelliteServices() 307 supportedServicesSet.add(serviceType); in parseSupportedSatelliteServices() 309 loge("parseSupportedSatelliteServices: invalid service type=" + serviceType in parseSupportedSatelliteServices()
|
/frameworks/base/telephony/common/com/android/internal/telephony/util/ |
D | TelephonyUtils.java | 388 public static boolean isValidService(int serviceType) { in isValidService() argument 389 if (serviceType < FIRST_SERVICE_TYPE || serviceType > LAST_SERVICE_TYPE) { in isValidService()
|
/frameworks/base/telephony/java/android/telephony/ |
D | CallState.java | 375 public CallState.Builder setImsCallServiceType(@ImsCallServiceType int serviceType) { in setImsCallServiceType() argument 376 this.mImsCallServiceType = serviceType; in setImsCallServiceType()
|
D | NetworkRegistrationInfo.java | 752 public static String serviceTypeToString(@ServiceType int serviceType) { in serviceTypeToString() argument 753 switch (serviceType) { in serviceTypeToString() 761 return "Unknown service type " + serviceType; in serviceTypeToString()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | RebootEscrowManager.java | 401 public void reportMetric(boolean success, int errorCode, int serviceType, int attemptCount, in reportMetric() argument 405 errorCode, serviceType, attemptCount, escrowDurationInSeconds, in reportMetric() 731 int serviceType = mInjector.serverBasedResumeOnReboot() in reportMetricOnRestoreComplete() local 753 + serviceType in reportMetricOnRestoreComplete() 760 serviceType, in reportMetricOnRestoreComplete()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | VoiceIndication.java | 332 ssData.serviceType = ssData.ServiceTypeFromRILInt(ss.serviceType); in onSupplementaryServiceIndication() 338 if (ssData.serviceType.isTypeCF() && ssData.requestType.isTypeInterrogation()) { in onSupplementaryServiceIndication()
|
D | GsmCdmaPhone.java | 2543 SsData.ServiceType serviceType = GsmMmiCode.cfReasonToServiceType(commandInterfaceCFReason); in getCallForwardingOption() local 2544 if(isRequestBlockedByFDN(SsData.RequestType.SS_INTERROGATION, serviceType)) { in getCallForwardingOption() 2602 SsData.ServiceType serviceType = GsmMmiCode.cfReasonToServiceType(commandInterfaceCFReason); in setCallForwardingOption() local 2603 if(isRequestBlockedByFDN(requestType, serviceType)) { in setCallForwardingOption() 2664 SsData.ServiceType serviceType = GsmMmiCode.cbFacilityToServiceType(facility); in getCallBarring() local 2665 if (isRequestBlockedByFDN(SsData.RequestType.SS_INTERROGATION, serviceType)) { in getCallBarring() 2691 SsData.ServiceType serviceType = GsmMmiCode.cbFacilityToServiceType(facility); in setCallBarring() local 2692 if (isRequestBlockedByFDN(requestType, serviceType)) { in setCallBarring() 2723 SsData.ServiceType serviceType = GsmMmiCode.cbFacilityToServiceType(facility); in changeCallBarringPassword() local 2726 serviceType); in changeCallBarringPassword() [all …]
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgePowerManager.java | 100 public PowerSaveState getPowerSaveState(int serviceType) { in getPowerSaveState() argument
|
/frameworks/libs/gsma_services/satellite_client/src/android/telephony/satellite/wrapper/ |
D | SatelliteManagerWrapper.java | 1125 List<Integer> serviceType = nri.getAvailableServices(); in getAvailableServices() local 1126 logd("getAvailableServices() : serviceType=" + serviceType.stream().map( in getAvailableServices() 1128 return serviceType; in getAvailableServices()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | IBatteryStats.aidl | 167 void notePhoneDataConnectionState(int dataType, boolean hasData, int serviceType, int nrState, in notePhoneDataConnectionState() argument
|