Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/
DNsdService.java250 NsdServiceInfo servInfo; in processMessage() local
268 servInfo = (NsdServiceInfo) msg.obj; in processMessage()
278 if (discoverServices(id, servInfo.getServiceType())) { in processMessage()
281 servInfo.getServiceType()); in processMessage()
284 replyToMessage(msg, NsdManager.DISCOVER_SERVICES_STARTED, servInfo); in processMessage()
350 servInfo = (NsdServiceInfo) msg.obj; in processMessage()
361 if (resolveService(id, servInfo)) { in processMessage()
382 NsdServiceInfo servInfo; in handleNativeEvent() local
410 servInfo = new NsdServiceInfo(cooked[2], cooked[3]); in handleNativeEvent()
412 clientId, servInfo); in handleNativeEvent()
[all …]
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
DWifiP2pServiceInfo.java151 WifiP2pServiceInfo servInfo = (WifiP2pServiceInfo)o; in equals() local
152 return mQueryList.equals(servInfo.mQueryList); in equals()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pNative.java701 public boolean p2pServiceAdd(WifiP2pServiceInfo servInfo) { in p2pServiceAdd() argument
702 return mSupplicantP2pIfaceHal.serviceAdd(servInfo); in p2pServiceAdd()
712 public boolean p2pServiceDel(WifiP2pServiceInfo servInfo) { in p2pServiceDel() argument
713 return mSupplicantP2pIfaceHal.serviceRemove(servInfo); in p2pServiceDel()
DWifiP2pServiceImpl.java1625 WifiP2pServiceInfo servInfo = (WifiP2pServiceInfo) message.obj; in processMessage() local
1626 if (addLocalService(message.replyTo, servInfo)) { in processMessage()
1634 servInfo = (WifiP2pServiceInfo) message.obj; in processMessage()
1635 removeLocalService(message.replyTo, servInfo); in processMessage()
3950 private boolean addLocalService(Messenger m, WifiP2pServiceInfo servInfo) { in addLocalService() argument
3951 if (m == null || servInfo == null) { in addLocalService()
3964 if (!clientInfo.mServList.add(servInfo)) { in addLocalService()
3968 if (!mWifiNative.p2pServiceAdd(servInfo)) { in addLocalService()
3969 clientInfo.mServList.remove(servInfo); in addLocalService()
3976 private void removeLocalService(Messenger m, WifiP2pServiceInfo servInfo) { in removeLocalService() argument
[all …]
DSupplicantP2pIfaceHal.java1429 public boolean serviceAdd(WifiP2pServiceInfo servInfo) { in serviceAdd() argument
1433 if (servInfo == null) { in serviceAdd()
1438 for (String s : servInfo.getSupplicantQueryList()) { in serviceAdd()
1505 public boolean serviceRemove(WifiP2pServiceInfo servInfo) { in serviceRemove() argument
1509 if (servInfo == null) { in serviceRemove()
1514 for (String s : servInfo.getSupplicantQueryList()) { in serviceRemove()
/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pManager.java1397 public void addLocalService(Channel c, WifiP2pServiceInfo servInfo, ActionListener listener) { in addLocalService() argument
1399 checkServiceInfo(servInfo); in addLocalService()
1400 c.mAsyncChannel.sendMessage(ADD_LOCAL_SERVICE, 0, c.putListener(listener), servInfo); in addLocalService()
1415 public void removeLocalService(Channel c, WifiP2pServiceInfo servInfo, in removeLocalService() argument
1418 checkServiceInfo(servInfo); in removeLocalService()
1419 c.mAsyncChannel.sendMessage(REMOVE_LOCAL_SERVICE, 0, c.putListener(listener), servInfo); in removeLocalService()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pServiceImplTest.java507 WifiP2pServiceInfo servInfo) throws Exception { in sendRemoveLocalServiceMsg() argument
510 msg.obj = servInfo; in sendRemoveLocalServiceMsg()