Home
last modified time | relevance | path

Searched refs:serviceType (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/telephony/java/android/telephony/ims/
DImsSsData.java179 public int serviceType; field in ImsSsData
282 public ImsSsData(@ServiceType int serviceType, int requestType, int teleserviceType, in ImsSsData() argument
284 this.serviceType = serviceType; in ImsSsData()
292 serviceType = in.readInt(); in ImsSsData()
316 out.writeInt(serviceType); in writeToParcel()
336 return (serviceType == SS_CFU || serviceType == SS_CF_BUSY || in isTypeCF()
337 serviceType == SS_CF_NO_REPLY || serviceType == SS_CF_NOT_REACHABLE || in isTypeCF()
338 serviceType == SS_CF_ALL || serviceType == SS_CF_ALL_CONDITIONAL); in isTypeCF()
346 return (serviceType == SS_CFU || serviceType == SS_CF_ALL); in isTypeUnConditional()
354 return (serviceType == SS_WAIT); in isTypeCW()
[all …]
DImsCallProfile.java329 public ImsCallProfile(int serviceType, int callType) { in ImsCallProfile() argument
330 mServiceType = serviceType; in ImsCallProfile()
357 public ImsCallProfile(int serviceType, int callType, Bundle callExtras, in ImsCallProfile() argument
359 mServiceType = serviceType; in ImsCallProfile()
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/util/
DDiscoveryListenerMultiplexer.java46 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
DMDNSFilteredDiscovery.java119 for (String serviceType : mServiceTypes) { in start()
120 DiscoveryListenerMultiplexer.addListener(getNDSManager(), serviceType, this); in start() local
137 public void onStartDiscoveryFailed(String serviceType, int errorCode) { in onStartDiscoveryFailed() argument
138 Log.w(LOG_TAG, "Failed to start network discovery for type " + serviceType + ": " in onStartDiscoveryFailed()
143 public void onStopDiscoveryFailed(String serviceType, int errorCode) { in onStopDiscoveryFailed() argument
144 Log.w(LOG_TAG, "Failed to stop network discovery for type " + serviceType + ": " in onStopDiscoveryFailed()
149 public void onDiscoveryStarted(String serviceType) { in onDiscoveryStarted() argument
154 public void onDiscoveryStopped(String serviceType) { in onDiscoveryStopped() argument
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
DWifiP2pDnsSdServiceRequest.java75 public static WifiP2pDnsSdServiceRequest newInstance(String serviceType) { in newInstance() argument
76 if (serviceType == null) { in newInstance()
79 return new WifiP2pDnsSdServiceRequest(serviceType + ".local.", in newInstance()
97 String serviceType) { in newInstance() argument
98 if (instanceName == null || serviceType == null) { in newInstance()
102 String fullDomainName = instanceName + "." + serviceType + ".local."; in newInstance()
DWifiP2pDnsSdServiceInfo.java92 String serviceType, Map<String, String> txtMap) { in newInstance() argument
93 if (TextUtils.isEmpty(instanceName) || TextUtils.isEmpty(serviceType)) { in newInstance()
106 queries.add(createPtrServiceQuery(instanceName, serviceType)); in newInstance()
107 queries.add(createTxtServiceQuery(instanceName, serviceType, txtRecord)); in newInstance()
122 String serviceType) { in createPtrServiceQuery() argument
126 sb.append(createRequest(serviceType + ".local.", DNS_TYPE_PTR, VERSION_1)); in createPtrServiceQuery()
149 String serviceType, in createTxtServiceQuery() argument
156 sb.append(createRequest((instanceName + "." + serviceType + ".local."), in createTxtServiceQuery()
DWifiP2pServiceRequest.java95 private WifiP2pServiceRequest(int serviceType, int length, in WifiP2pServiceRequest() argument
97 mProtocolType = serviceType; in WifiP2pServiceRequest()
DWifiP2pServiceResponse.java118 protected WifiP2pServiceResponse(int serviceType, int status, int transId, in WifiP2pServiceResponse() argument
120 mServiceType = serviceType; in WifiP2pServiceResponse()
/frameworks/opt/net/ims/src/java/com/android/ims/
DImsServiceBase.java55 public boolean isConnected(int serviceId, int serviceType, int callType) { in isConnected() argument
56 return onIsConnected(serviceId, serviceType, callType); in isConnected()
70 …public void addRegistrationListener(int serviceId, int serviceType, IImsRegistrationListener liste… in addRegistrationListener() argument
71 onAddRegistrationListener(serviceId, serviceType, listener); in addRegistrationListener()
76 public ImsCallProfile createCallProfile(int serviceId, int serviceType, int callType) { in createCallProfile() argument
77 return onCreateCallProfile(serviceId, serviceType, callType); in createCallProfile()
148 protected boolean onIsConnected(int serviceId, int serviceType, int callType) { in onIsConnected() argument
164 …protected void onAddRegistrationListener(int serviceId, int serviceType, IImsRegistrationListener … in onAddRegistrationListener() argument
168 protected ImsCallProfile onCreateCallProfile(int serviceId, int serviceType, int callType) { in onCreateCallProfile() argument
/frameworks/base/core/java/android/bluetooth/
DBluetoothGattService.java105 public BluetoothGattService(UUID uuid, int serviceType) { in BluetoothGattService() argument
109 mServiceType = serviceType; in BluetoothGattService()
120 int instanceId, int serviceType) { in BluetoothGattService() argument
124 mServiceType = serviceType; in BluetoothGattService()
134 public BluetoothGattService(UUID uuid, int instanceId, int serviceType) { in BluetoothGattService() argument
138 mServiceType = serviceType; in BluetoothGattService()
DBluetoothGattIncludedService.java49 public BluetoothGattIncludedService(UUID uuid, int instanceId, int serviceType) { in BluetoothGattIncludedService() argument
52 mServiceType = serviceType; in BluetoothGattIncludedService()
DBluetoothHidDeviceAppQosSettings.java58 int serviceType, in BluetoothHidDeviceAppQosSettings() argument
64 mServiceType = serviceType; in BluetoothHidDeviceAppQosSettings()
/frameworks/base/core/java/android/os/
DPowerManagerInternal.java152 public abstract PowerSaveState getLowPowerState(int serviceType); in getLowPowerState() argument
159 public void registerLowPowerModeObserver(int serviceType, Consumer<PowerSaveState> listener) { in registerLowPowerModeObserver() argument
163 return serviceType; in registerLowPowerModeObserver()
DIPowerManager.aidl49 PowerSaveState getPowerSaveState(int serviceType); in getPowerSaveState() argument
DPowerManager.java1162 public PowerSaveState getPowerSaveState(@ServiceType int serviceType) { in getPowerSaveState() argument
1164 return mService.getPowerSaveState(serviceType); in getPowerSaveState()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DSsData.java105 public ServiceType serviceType; field in SsData
149 return "[SsData] " + "ServiceType: " + serviceType in toString()
154 + " Is Service Type CF: " + serviceType.isTypeCF(); in toString()
DGsmMmiCode.java349 mSc = getScStringFromScType(ssData.serviceType); in parseSsData()
359 ssData.serviceType.isTypeUnConditional()) { in parseSsData()
380 if (ssData.serviceType.isTypeClir()) { in parseSsData()
383 } else if (ssData.serviceType.isTypeCF()) { in parseSsData()
/frameworks/base/core/java/android/net/nsd/
DNsdManager.java307 public void onStartDiscoveryFailed(String serviceType, int errorCode); in onStartDiscoveryFailed() argument
309 public void onStopDiscoveryFailed(String serviceType, int errorCode); in onStopDiscoveryFailed() argument
311 public void onDiscoveryStarted(String serviceType); in onDiscoveryStarted() argument
313 public void onDiscoveryStopped(String serviceType); in onDiscoveryStopped() argument
573 public void discoverServices(String serviceType, int protocolType, DiscoveryListener listener) { in discoverServices() argument
574 checkStringNotEmpty(serviceType, "Service type cannot be empty"); in discoverServices()
578 s.setServiceType(serviceType); in discoverServices()
/frameworks/base/telephony/java/com/android/ims/internal/
DIImsService.aidl39 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/core/java/com/android/internal/app/procstats/
DServiceState.java388 int count, int serviceType, int state, long startTime, long now, long totalTime, in dumpStats() argument
394 dumpTime(pw, prefixInner, serviceType, state, startTime, now); in dumpStats()
396 long myTime = dumpTime(null, null, serviceType, state, startTime, now); in dumpStats()
407 int serviceType, int curState, long curStartTime, long now) { in dumpTime() argument
414 long time = getDuration(serviceType, curState, curStartTime, state, now); in dumpTime()
457 int uid, long vers, String serviceName, int serviceType, int opCount, in dumpTimeCheckin() argument
481 if (type != serviceType) { in dumpTimeCheckin()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePowerManager.java47 public PowerSaveState getPowerSaveState(int serviceType) { in getPowerSaveState() argument
/frameworks/support/tv-provider/src/main/java/androidx/tvprovider/media/tv/
DChannel.java860 public Builder setServiceType(@ServiceType String serviceType) { in setServiceType() argument
861 mValues.put(Channels.COLUMN_SERVICE_TYPE, serviceType); in setServiceType()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRadioIndication.java790 ssData.serviceType = ssData.ServiceTypeFromRILInt(ss.serviceType); in onSupplementaryServiceIndication()
796 if (ssData.serviceType.isTypeCF() && in onSupplementaryServiceIndication()
/frameworks/base/services/core/java/com/android/server/
DNsdService.java738 private boolean discoverServices(int discoveryId, String serviceType) { in discoverServices() argument
739 return mDaemon.execute("discover", discoveryId, serviceType); in discoverServices()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneMmiCode.java1730 mSc = getScStringFromScType(ssData.serviceType); in parseSsData()
1793 private String getScStringFromScType(int serviceType) { in getScStringFromScType() argument
1794 switch (serviceType) { in getScStringFromScType()

12