Home
last modified time | relevance | path

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

12

/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/util/
DDiscoveryListenerMultiplexer.java45 public static void addListener(@NonNull NsdManager nsdManager, @NonNull String serviceType, in addListener() argument
48 DiscoveryListenerSet listenerSet = sListeners.get(serviceType); in addListener()
55 sListeners.put(serviceType, listenerSet); in addListener()
60 nsdManager.discoverServices(serviceType, NsdManager.PROTOCOL_DNS_SD, in addListener()
132 public void onStartDiscoveryFailed(String serviceType, int errorCode) { in onStartDiscoveryFailed() argument
133 Log.w(LOG_TAG, "Failed to start network discovery for type " + serviceType + ": " in onStartDiscoveryFailed()
138 public void onStopDiscoveryFailed(String serviceType, int errorCode) { in onStopDiscoveryFailed() argument
139 Log.w(LOG_TAG, "Failed to stop network discovery for type " + serviceType + ": " in onStopDiscoveryFailed()
144 public void onDiscoveryStarted(String serviceType) { in onDiscoveryStarted() argument
149 public void onDiscoveryStopped(String serviceType) { in onDiscoveryStopped() argument
DMDNSFilteredDiscovery.java118 for (String serviceType : mServiceTypes) { in start()
119 DiscoveryListenerMultiplexer.addListener(getNDSManager(), serviceType, this); in start() local
136 public void onStartDiscoveryFailed(String serviceType, int errorCode) { in onStartDiscoveryFailed() argument
137 Log.w(LOG_TAG, "Failed to start network discovery for type " + serviceType + ": " in onStartDiscoveryFailed()
142 public void onStopDiscoveryFailed(String serviceType, int errorCode) { in onStopDiscoveryFailed() argument
143 Log.w(LOG_TAG, "Failed to stop network discovery for type " + serviceType + ": " in onStopDiscoveryFailed()
148 public void onDiscoveryStarted(String serviceType) { in onDiscoveryStarted() argument
153 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
DImsManager.java1744 public boolean isConnected(int serviceType, int callType) in isConnected() argument
1749 return mImsServiceProxy.isConnected(serviceType, callType); in isConnected()
1793 public ImsCallProfile createCallProfile(int sessionId, int serviceType, int callType) in createCallProfile() argument
1798 return mImsServiceProxy.createCallProfile(sessionId, serviceType, callType); in createCallProfile()
/frameworks/base/core/java/android/bluetooth/
DBluetoothHidDeviceAppQosSettings.java27 final public int serviceType; field in BluetoothHidDeviceAppQosSettings
40 public BluetoothHidDeviceAppQosSettings(int serviceType, int tokenRate, int tokenBucketSize, in BluetoothHidDeviceAppQosSettings() argument
43 this.serviceType = serviceType; in BluetoothHidDeviceAppQosSettings()
84 out.writeInt(serviceType); in writeToParcel()
94 serviceType, tokenRate, tokenBucketSize, peakBandwidth, latency, delayVariation in toArray()
DBluetoothGattService.java99 public BluetoothGattService(UUID uuid, int serviceType) { in BluetoothGattService() argument
103 mServiceType = serviceType; in BluetoothGattService()
113 int instanceId, int serviceType) { in BluetoothGattService() argument
117 mServiceType = serviceType; in BluetoothGattService()
126 public BluetoothGattService(UUID uuid, int instanceId, int serviceType) { in BluetoothGattService() argument
130 mServiceType = serviceType; in BluetoothGattService()
DBluetoothGattIncludedService.java49 public BluetoothGattIncludedService(UUID uuid, int instanceId, int serviceType) { in BluetoothGattIncludedService() argument
52 mServiceType = serviceType; in BluetoothGattIncludedService()
/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.java339 mSc = getScStringFromScType(ssData.serviceType); in parseSsData()
349 ssData.serviceType.isTypeUnConditional()) { in parseSsData()
370 if (ssData.serviceType.isTypeClir()) { in parseSsData()
373 } 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, int vers, String serviceName, int serviceType, int opCount, in dumpTimeCheckin() argument
481 if (type != serviceType) { in dumpTimeCheckin()
/frameworks/base/core/java/android/os/
DPowerManagerInternal.java124 public abstract PowerSaveState getLowPowerState(int serviceType); in getLowPowerState() argument
DIPowerManager.aidl49 PowerSaveState getPowerSaveState(int serviceType); in getPowerSaveState() argument
DPowerManager.java1038 public PowerSaveState getPowerSaveState(int serviceType) { in getPowerSaveState() argument
1040 return mService.getPowerSaveState(serviceType); in getPowerSaveState()
/frameworks/base/telephony/java/com/android/ims/
DImsCallProfile.java233 public ImsCallProfile(int serviceType, int callType) { in ImsCallProfile() argument
234 mServiceType = serviceType; in ImsCallProfile()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePowerManager.java47 public PowerSaveState getPowerSaveState(int serviceType) { in getPowerSaveState() argument
/frameworks/support/tv-provider/src/android/support/media/tv/
DChannel.java835 public Builder setServiceType(@ServiceType String serviceType) { in setServiceType() argument
836 mValues.put(Channels.COLUMN_SERVICE_TYPE, serviceType); in setServiceType()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRadioIndication.java708 ssData.serviceType = ssData.ServiceTypeFromRILInt(ss.serviceType); in onSupplementaryServiceIndication()
714 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/base/services/core/java/com/android/server/power/
DPowerManagerService.java4348 public PowerSaveState getPowerSaveState(@ServiceType int serviceType) { in getPowerSaveState() argument
4353 serviceType, isLowPowerModeInternal()); in getPowerSaveState()
4710 public PowerSaveState getLowPowerState(@ServiceType int serviceType) { in getLowPowerState() argument
4712 return mBatterySaverPolicy.getBatterySaverPolicy(serviceType, mLowPowerModeEnabled); in getLowPowerState()

12