Home
last modified time | relevance | path

Searched refs:servInfo (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/java/com/android/server/
DNsdService.java252 NsdServiceInfo servInfo; in processMessage() local
270 servInfo = (NsdServiceInfo) msg.obj; in processMessage()
280 if (discoverServices(id, servInfo.getServiceType())) { in processMessage()
283 servInfo.getServiceType()); in processMessage()
286 replyToMessage(msg, NsdManager.DISCOVER_SERVICES_STARTED, servInfo); in processMessage()
352 servInfo = (NsdServiceInfo) msg.obj; in processMessage()
363 if (resolveService(id, servInfo)) { in processMessage()
384 NsdServiceInfo servInfo; in handleNativeEvent() local
412 servInfo = new NsdServiceInfo(cooked[2], cooked[3]); in handleNativeEvent()
414 clientId, servInfo); in handleNativeEvent()
[all …]
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
DWifiP2pServiceInfo.java147 WifiP2pServiceInfo servInfo = (WifiP2pServiceInfo)o; in equals() local
148 return mQueryList.equals(servInfo.mQueryList); in equals()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pNative.java619 public boolean p2pServiceAdd(WifiP2pServiceInfo servInfo) { in p2pServiceAdd() argument
620 return mSupplicantP2pIfaceHal.serviceAdd(servInfo); in p2pServiceAdd()
630 public boolean p2pServiceDel(WifiP2pServiceInfo servInfo) { in p2pServiceDel() argument
631 return mSupplicantP2pIfaceHal.serviceRemove(servInfo); in p2pServiceDel()
DWifiP2pServiceImpl.java1336 WifiP2pServiceInfo servInfo = (WifiP2pServiceInfo) message.obj; in processMessage() local
1337 if (addLocalService(message.replyTo, servInfo)) { in processMessage()
1345 servInfo = (WifiP2pServiceInfo) message.obj; in processMessage()
1346 removeLocalService(message.replyTo, servInfo); in processMessage()
3347 private boolean addLocalService(Messenger m, WifiP2pServiceInfo servInfo) { in addLocalService() argument
3348 if (m == null || servInfo == null) { in addLocalService()
3361 if (!clientInfo.mServList.add(servInfo)) { in addLocalService()
3365 if (!mWifiNative.p2pServiceAdd(servInfo)) { in addLocalService()
3366 clientInfo.mServList.remove(servInfo); in addLocalService()
3373 private void removeLocalService(Messenger m, WifiP2pServiceInfo servInfo) { in removeLocalService() argument
[all …]
DSupplicantP2pIfaceHal.java1358 public boolean serviceAdd(WifiP2pServiceInfo servInfo) { in serviceAdd() argument
1362 if (servInfo == null) { in serviceAdd()
1367 for (String s : servInfo.getSupplicantQueryList()) { in serviceAdd()
1434 public boolean serviceRemove(WifiP2pServiceInfo servInfo) { in serviceRemove() argument
1438 if (servInfo == null) { in serviceRemove()
1443 for (String s : servInfo.getSupplicantQueryList()) { in serviceRemove()
/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pManager.java1146 public void addLocalService(Channel c, WifiP2pServiceInfo servInfo, ActionListener listener) { in addLocalService() argument
1148 checkServiceInfo(servInfo); in addLocalService()
1149 c.mAsyncChannel.sendMessage(ADD_LOCAL_SERVICE, 0, c.putListener(listener), servInfo); in addLocalService()
1164 public void removeLocalService(Channel c, WifiP2pServiceInfo servInfo, in removeLocalService() argument
1167 checkServiceInfo(servInfo); in removeLocalService()
1168 c.mAsyncChannel.sendMessage(REMOVE_LOCAL_SERVICE, 0, c.putListener(listener), servInfo); in removeLocalService()