Searched refs:serviceType (Results 1 - 19 of 19) sorted by relevance

/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
H A DWifiP2pDnsSdServiceRequest.java69 * @param serviceType service type. Cannot be null <br>
75 public static WifiP2pDnsSdServiceRequest newInstance(String serviceType) { argument
76 if (serviceType == null) {
79 return new WifiP2pDnsSdServiceRequest(serviceType + ".local.",
90 * @param serviceType service type. Cannot be null. <br>
97 String serviceType) {
98 if (instanceName == null || serviceType == null) {
102 String fullDomainName = instanceName + "." + serviceType + ".local.";
96 newInstance(String instanceName, String serviceType) argument
H A DWifiP2pDnsSdServiceInfo.java85 * @param serviceType service type.<br>
92 String serviceType, Map<String, String> txtMap) {
93 if (TextUtils.isEmpty(instanceName) || TextUtils.isEmpty(serviceType)) {
106 queries.add(createPtrServiceQuery(instanceName, serviceType));
107 queries.add(createTxtServiceQuery(instanceName, serviceType, txtRecord));
117 * @param serviceType service type.<br>
122 String serviceType) {
126 sb.append(createRequest(serviceType + ".local.", DNS_TYPE_PTR, VERSION_1));
143 * @param serviceType service type.<br>
149 String serviceType,
91 newInstance(String instanceName, String serviceType, Map<String, String> txtMap) argument
121 createPtrServiceQuery(String instanceName, String serviceType) argument
148 createTxtServiceQuery(String instanceName, String serviceType, DnsSdTxtRecord txtRecord) argument
[all...]
H A DWifiP2pServiceRequest.java90 * @param serviceType service discovery type.
95 private WifiP2pServiceRequest(int serviceType, int length, argument
97 mProtocolType = serviceType;
H A DWifiP2pServiceResponse.java112 * @param serviceType service discovery type.
118 protected WifiP2pServiceResponse(int serviceType, int status, int transId, argument
120 mServiceType = serviceType;
296 sbuf.append("serviceType:").append(mServiceType);
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/util/
H A DDiscoveryListenerMultiplexer.java39 * Add a new {@link NsdManager.DiscoveryListener listener} for a {@code serviceType}.
42 * @param serviceType The service type to listen for
45 public static void addListener(@NonNull NsdManager nsdManager, @NonNull String serviceType, argument
48 DiscoveryListenerSet listenerSet = sListeners.get(serviceType);
55 sListeners.put(serviceType, listenerSet);
60 nsdManager.discoverServices(serviceType, NsdManager.PROTOCOL_DNS_SD,
132 public void onStartDiscoveryFailed(String serviceType, int errorCode) { argument
133 Log.w(LOG_TAG, "Failed to start network discovery for type " + serviceType + ": "
138 public void onStopDiscoveryFailed(String serviceType, int errorCode) { argument
139 Log.w(LOG_TAG, "Failed to stop network discovery for type " + serviceType
144 onDiscoveryStarted(String serviceType) argument
149 onDiscoveryStopped(String serviceType) argument
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothGattService.java95 * @param serviceType The type of this service,
99 public BluetoothGattService(UUID uuid, int serviceType) { argument
103 mServiceType = serviceType;
113 int instanceId, int serviceType) {
117 mServiceType = serviceType;
126 public BluetoothGattService(UUID uuid, int instanceId, int serviceType) { argument
130 mServiceType = serviceType;
112 BluetoothGattService(BluetoothDevice device, UUID uuid, int instanceId, int serviceType) argument
H A DBluetoothGattIncludedService.java49 public BluetoothGattIncludedService(UUID uuid, int instanceId, int serviceType) { argument
52 mServiceType = serviceType;
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/mdnsFilter/
H A DMDNSFilterPlugin.java127 public void onStartDiscoveryFailed(String serviceType, int errorCode) { argument
128 Log.w(LOG_TAG, "Failed to start network discovery for type " + serviceType + ": "
133 public void onStopDiscoveryFailed(String serviceType, int errorCode) { argument
134 Log.w(LOG_TAG, "Failed to stop network discovery for type " + serviceType + ": "
139 public void onDiscoveryStarted(String serviceType) { argument
144 public void onDiscoveryStopped(String serviceType) { argument
/frameworks/opt/net/ims/src/java/com/android/ims/
H A DImsServiceBase.java55 public boolean isConnected(int serviceId, int serviceType, int callType) { argument
56 return onIsConnected(serviceId, serviceType, callType);
70 public ImsCallProfile createCallProfile(int serviceId, int serviceType, int callType) { argument
71 return onCreateCallProfile(serviceId, serviceType, callType);
142 protected boolean onIsConnected(int serviceId, int serviceType, int callType) { argument
158 protected ImsCallProfile onCreateCallProfile(int serviceId, int serviceType, int callType) { argument
H A DImsManager.java810 * @param serviceType a service type that is specified in {@link ImsCallProfile}
822 public boolean isConnected(int serviceId, int serviceType, int callType) argument
827 return mImsService.isConnected(serviceId, serviceType, callType);
856 * @param serviceType a service type that is specified in {@link ImsCallProfile}
873 int serviceType, int callType) throws ImsException {
877 return mImsService.createCallProfile(serviceId, serviceType, callType);
872 createCallProfile(int serviceId, int serviceType, int callType) argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DSsData.java105 public ServiceType serviceType; field in class:SsData
114 used for respone if serviceType is SS_CLIR and
149 return "[SsData] " + "ServiceType: " + serviceType
154 + " Is Service Type CF: " + serviceType.isTypeCF();
H A DGsmMmiCode.java288 mSc = getScStringFromScType(ssData.serviceType);
298 ssData.serviceType.isTypeUnConditional()) {
319 if (ssData.serviceType.isTypeClir()) {
322 } else if (ssData.serviceType.isTypeCF()) {
/frameworks/base/telephony/java/com/android/ims/internal/
H A DIImsService.aidl39 boolean isConnected(int serviceId, int serviceType, int callType);
43 ImsCallProfile createCallProfile(int serviceId, int serviceType, int callType);
/frameworks/base/core/java/android/net/nsd/
H A DNsdManager.java262 public void onStartDiscoveryFailed(String serviceType, int errorCode); argument
264 public void onStopDiscoveryFailed(String serviceType, int errorCode); argument
266 public void onDiscoveryStarted(String serviceType); argument
268 public void onDiscoveryStopped(String serviceType); argument
535 * @param serviceType The service type being discovered. Examples include "_http._tcp" for
539 * to stop discovery on this serviceType through a call on {@link #stopServiceDiscovery}.
542 public void discoverServices(String serviceType, int protocolType, DiscoveryListener listener) { argument
546 if (TextUtils.isEmpty(serviceType)) {
555 s.setServiceType(serviceType);
/frameworks/base/core/java/com/android/internal/app/procstats/
H A DServiceState.java388 int count, int serviceType, int state, long startTime, long now, long totalTime,
394 dumpTime(pw, prefixInner, serviceType, state, startTime, now);
396 long myTime = dumpTime(null, null, serviceType, state, startTime, now);
407 int serviceType, int curState, long curStartTime, long now) {
414 long time = getDuration(serviceType, curState, curStartTime, state, now);
457 int uid, int vers, String serviceName, int serviceType, int opCount,
481 if (type != serviceType) {
386 dumpStats(PrintWriter pw, String prefix, String prefixInner, String headerPrefix, String header, int count, int serviceType, int state, long startTime, long now, long totalTime, boolean dumpAll) argument
406 dumpTime(PrintWriter pw, String prefix, int serviceType, int curState, long curStartTime, long now) argument
456 dumpTimeCheckin(PrintWriter pw, String label, String packageName, int uid, int vers, String serviceName, int serviceType, int opCount, int curState, long curStartTime, long now) argument
/frameworks/base/telephony/java/com/android/ims/
H A DImsCallProfile.java225 public ImsCallProfile(int serviceType, int callType) { argument
226 mServiceType = serviceType;
297 return "{ serviceType=" + mServiceType +
/frameworks/base/services/core/java/com/android/server/
H A DNsdService.java745 private boolean discoverServices(int discoveryId, String serviceType) { argument
746 if (DBG) Slog.d(TAG, "discoverServices: " + discoveryId + " " + serviceType);
748 mNativeConnector.execute("mdnssd", "discover", discoveryId, serviceType);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsPhoneCallTracker.java487 int serviceType = PhoneNumberUtils.isEmergencyNumber(conn.getAddress()) ?
496 serviceType, callType);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DRIL.java4522 ssData.serviceType = ssData.ServiceTypeFromRILInt(p.readInt());
4529 if (ssData.serviceType.isTypeCF() &&

Completed in 6681 milliseconds