Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pNative.java699 public boolean p2pServiceAdd(WifiP2pServiceInfo servInfo) { in p2pServiceAdd() argument
700 return mSupplicantP2pIfaceHal.serviceAdd(servInfo); in p2pServiceAdd()
710 public boolean p2pServiceDel(WifiP2pServiceInfo servInfo) { in p2pServiceDel() argument
711 return mSupplicantP2pIfaceHal.serviceRemove(servInfo); in p2pServiceDel()
DWifiP2pServiceImpl.java1815 WifiP2pServiceInfo servInfo = (WifiP2pServiceInfo) message.obj; in processMessage() local
1816 if (addLocalService(message.replyTo, servInfo)) { in processMessage()
1824 servInfo = (WifiP2pServiceInfo) message.obj; in processMessage()
1825 removeLocalService(message.replyTo, servInfo); in processMessage()
4325 private boolean addLocalService(Messenger m, WifiP2pServiceInfo servInfo) { in addLocalService() argument
4326 if (m == null || servInfo == null) { in addLocalService()
4339 if (!clientInfo.mServList.add(servInfo)) { in addLocalService()
4343 if (!mWifiNative.p2pServiceAdd(servInfo)) { in addLocalService()
4344 clientInfo.mServList.remove(servInfo); in addLocalService()
4351 private void removeLocalService(Messenger m, WifiP2pServiceInfo servInfo) { in removeLocalService() argument
[all …]
DSupplicantP2pIfaceHal.java1540 public boolean serviceAdd(WifiP2pServiceInfo servInfo) { in serviceAdd() argument
1544 if (servInfo == null) { in serviceAdd()
1549 for (String s : servInfo.getSupplicantQueryList()) { in serviceAdd()
1616 public boolean serviceRemove(WifiP2pServiceInfo servInfo) { in serviceRemove() argument
1620 if (servInfo == null) { in serviceRemove()
1625 for (String s : servInfo.getSupplicantQueryList()) { in serviceRemove()
/packages/modules/Wifi/framework/java/android/net/wifi/p2p/nsd/
DWifiP2pServiceInfo.java151 WifiP2pServiceInfo servInfo = (WifiP2pServiceInfo)o; in equals() local
152 return mQueryList.equals(servInfo.mQueryList); in equals()
/packages/modules/Wifi/framework/java/android/net/wifi/p2p/
DWifiP2pManager.java1448 public void addLocalService(Channel c, WifiP2pServiceInfo servInfo, ActionListener listener) { in addLocalService() argument
1450 checkServiceInfo(servInfo); in addLocalService()
1451 c.mAsyncChannel.sendMessage(ADD_LOCAL_SERVICE, 0, c.putListener(listener), servInfo); in addLocalService()
1466 public void removeLocalService(Channel c, WifiP2pServiceInfo servInfo, in removeLocalService() argument
1469 checkServiceInfo(servInfo); in removeLocalService()
1470 c.mAsyncChannel.sendMessage(REMOVE_LOCAL_SERVICE, 0, c.putListener(listener), servInfo); in removeLocalService()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pServiceImplTest.java573 WifiP2pServiceInfo servInfo) throws Exception { in sendRemoveLocalServiceMsg() argument
576 msg.obj = servInfo; in sendRemoveLocalServiceMsg()