Home
last modified time | relevance | path

Searched refs:instanceName (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
DWifiP2pDnsSdServiceInfo.java91 public static WifiP2pDnsSdServiceInfo newInstance(String instanceName, 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()
121 private static String createPtrServiceQuery(String instanceName, in createPtrServiceQuery() argument
129 byte[] data = instanceName.getBytes(); in createPtrServiceQuery()
148 private static String createTxtServiceQuery(String instanceName, in createTxtServiceQuery() argument
156 sb.append(createRequest((instanceName + "." + serviceType + ".local."), in createTxtServiceQuery()
DWifiP2pDnsSdServiceRequest.java96 public static WifiP2pDnsSdServiceRequest newInstance(String instanceName, in newInstance() argument
98 if (instanceName == null || serviceType == null) { in newInstance()
102 String fullDomainName = instanceName + "." + serviceType + ".local."; in newInstance()
/frameworks/base/docs/html/training/connect-devices-wirelessly/
Dnsd-wifi-direct.jd162 public void onDnsSdServiceAvailable(String instanceName, String registrationType,
180 Log.d(TAG, "onBonjourServiceAvailable " + instanceName);
/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pManager.java595 public void onDnsSdServiceAvailable(String instanceName, in onDnsSdServiceAvailable() argument