Searched refs:serviceType (Results 1 - 6 of 6) 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.java84 * @param serviceType service type.<br>
91 String serviceType, Map<String, String> txtMap) {
92 if (TextUtils.isEmpty(instanceName) || TextUtils.isEmpty(serviceType)) {
105 queries.add(createPtrServiceQuery(instanceName, serviceType));
106 queries.add(createTxtServiceQuery(instanceName, serviceType, txtRecord));
116 * @param serviceType service type.<br>
121 String serviceType) {
125 sb.append(createRequest(serviceType + ".local.", DNS_TYPE_PTR, VERSION_1));
142 * @param serviceType service type.<br>
148 String serviceType,
90 newInstance(String instanceName, String serviceType, Map<String, String> txtMap) argument
120 createPtrServiceQuery(String instanceName, String serviceType) argument
147 createTxtServiceQuery(String instanceName, String serviceType, DnsSdTxtRecord txtRecord) argument
[all...]
H A DWifiP2pServiceRequest.java88 * @param serviceType service discovery type.
93 private WifiP2pServiceRequest(int serviceType, int length, argument
95 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/core/java/android/net/nsd/
H A DNsdManager.java263 public void onStartDiscoveryFailed(String serviceType, int errorCode); argument
265 public void onStopDiscoveryFailed(String serviceType, int errorCode); argument
267 public void onDiscoveryStarted(String serviceType); argument
269 public void onDiscoveryStopped(String serviceType); argument
511 * @param serviceType The service type being discovered. Examples include "_http._tcp" for
515 * to stop discovery on this serviceType through a call on {@link #stopServiceDiscovery}.
518 public void discoverServices(String serviceType, int protocolType, DiscoveryListener listener) { argument
522 if (TextUtils.isEmpty(serviceType)) {
531 s.setServiceType(serviceType);
/frameworks/base/services/java/com/android/server/
H A DNsdService.java684 private boolean discoverServices(int discoveryId, String serviceType) { argument
685 if (DBG) Slog.d(TAG, "discoverServices: " + discoveryId + " " + serviceType);
687 mNativeConnector.execute("mdnssd", "discover", discoveryId, serviceType);

Completed in 102 milliseconds