Home
last modified time | relevance | path

Searched refs:WifiP2pServiceInfo (Results 1 – 25 of 26) sorted by relevance

12

/packages/modules/Wifi/framework/java/android/net/wifi/p2p/nsd/
DWifiP2pServiceInfo.java34 public class WifiP2pServiceInfo implements Parcelable { class
98 protected WifiP2pServiceInfo(List<String> queryList) { in WifiP2pServiceInfo() method in WifiP2pServiceInfo
147 if (!(o instanceof WifiP2pServiceInfo)) { in equals()
151 WifiP2pServiceInfo servInfo = (WifiP2pServiceInfo)o; in equals()
174 public static final @android.annotation.NonNull Creator<WifiP2pServiceInfo> CREATOR =
175 new Creator<WifiP2pServiceInfo>() {
176 public WifiP2pServiceInfo createFromParcel(Parcel in) {
180 return new WifiP2pServiceInfo(data);
183 public WifiP2pServiceInfo[] newArray(int size) {
184 return new WifiP2pServiceInfo[size];
DWifiP2pUpnpServiceRequest.java40 super(WifiP2pServiceInfo.SERVICE_TYPE_UPNP, query); in WifiP2pUpnpServiceRequest()
48 super(WifiP2pServiceInfo.SERVICE_TYPE_UPNP, null); in WifiP2pUpnpServiceRequest()
79 sb.append(WifiP2pServiceInfo.bin2HexStr(st.getBytes())); in newInstance()
DWifiP2pDnsSdServiceRequest.java38 super(WifiP2pServiceInfo.SERVICE_TYPE_BONJOUR, query); in WifiP2pDnsSdServiceRequest()
46 super(WifiP2pServiceInfo.SERVICE_TYPE_BONJOUR, null); in WifiP2pDnsSdServiceRequest()
50 super(WifiP2pServiceInfo.SERVICE_TYPE_BONJOUR, WifiP2pDnsSdServiceInfo.createRequest( in WifiP2pDnsSdServiceRequest()
DWifiP2pDnsSdServiceInfo.java40 public class WifiP2pDnsSdServiceInfo extends WifiP2pServiceInfo {
134 sb.append(WifiP2pServiceInfo.bin2HexStr(data)); in createPtrServiceQuery()
223 sb.append(WifiP2pServiceInfo.bin2HexStr(dnsName.getBytes())); in compressDnsName()
233 sb.append(WifiP2pServiceInfo.bin2HexStr(name.getBytes())); in compressDnsName()
DWifiP2pServiceResponse.java240 if (type == WifiP2pServiceInfo.SERVICE_TYPE_BONJOUR) { in newInstance()
243 } else if (type == WifiP2pServiceInfo.SERVICE_TYPE_UPNP) { in newInstance()
367 if (type == WifiP2pServiceInfo.SERVICE_TYPE_BONJOUR) {
370 } else if (type == WifiP2pServiceInfo.SERVICE_TYPE_UPNP) {
DWifiP2pUpnpServiceInfo.java33 public class WifiP2pUpnpServiceInfo extends WifiP2pServiceInfo {
DWifiP2pUpnpServiceResponse.java82 super(WifiP2pServiceInfo.SERVICE_TYPE_UPNP, in WifiP2pUpnpServiceResponse()
DWifiP2pDnsSdServiceResponse.java154 super(WifiP2pServiceInfo.SERVICE_TYPE_BONJOUR, in WifiP2pDnsSdServiceResponse()
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DISupplicantP2pIfaceHal.java29 import android.net.wifi.p2p.nsd.WifiP2pServiceInfo;
372 boolean serviceAdd(WifiP2pServiceInfo servInfo); in serviceAdd()
381 boolean serviceRemove(WifiP2pServiceInfo servInfo); in serviceRemove()
DWifiP2pNative.java32 import android.net.wifi.p2p.nsd.WifiP2pServiceInfo;
811 public boolean p2pServiceAdd(WifiP2pServiceInfo servInfo) { in p2pServiceAdd()
822 public boolean p2pServiceDel(WifiP2pServiceInfo servInfo) { in p2pServiceDel()
DSupplicantP2pIfaceHal.java29 import android.net.wifi.p2p.nsd.WifiP2pServiceInfo;
681 public boolean serviceAdd(WifiP2pServiceInfo servInfo) { in serviceAdd()
698 public boolean serviceRemove(WifiP2pServiceInfo servInfo) { in serviceRemove()
DSupplicantP2pIfaceHalAidlImpl.java47 import android.net.wifi.p2p.nsd.WifiP2pServiceInfo;
1507 public boolean serviceAdd(WifiP2pServiceInfo servInfo) { in serviceAdd()
1578 public boolean serviceRemove(WifiP2pServiceInfo servInfo) { in serviceRemove()
DSupplicantP2pIfaceHalHidlImpl.java42 import android.net.wifi.p2p.nsd.WifiP2pServiceInfo;
1608 public boolean serviceAdd(WifiP2pServiceInfo servInfo) { in serviceAdd()
1684 public boolean serviceRemove(WifiP2pServiceInfo servInfo) { in serviceRemove()
DWifiP2pServiceImpl.java83 import android.net.wifi.p2p.nsd.WifiP2pServiceInfo;
3335 WifiP2pServiceInfo servInfo = in processMessageImpl()
3346 WifiP2pServiceInfo servInfo = (WifiP2pServiceInfo) message.obj; in processMessageImpl()
7215 private boolean addLocalService(Messenger m, WifiP2pServiceInfo servInfo) { in addLocalService()
7241 private void removeLocalService(Messenger m, WifiP2pServiceInfo servInfo) { in removeLocalService()
7267 for (WifiP2pServiceInfo servInfo: clientInfo.mServList) { in clearLocalServices()
7827 private final List<WifiP2pServiceInfo> mServList = new ArrayList<>();
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalTest.java38 import android.net.wifi.p2p.nsd.WifiP2pServiceInfo;
527 WifiP2pServiceInfo serviceInfo = mock(WifiP2pServiceInfo.class); in testServiceAdd()
528 when(mP2pIfaceHalAidlMock.serviceAdd(any(WifiP2pServiceInfo.class))).thenReturn(true); in testServiceAdd()
539 WifiP2pServiceInfo serviceInfo = mock(WifiP2pServiceInfo.class); in testServiceRemove()
540 when(mP2pIfaceHalAidlMock.serviceRemove(any(WifiP2pServiceInfo.class))).thenReturn(true); in testServiceRemove()
DWifiP2pNativeTest.java42 import android.net.wifi.p2p.nsd.WifiP2pServiceInfo;
840 when(mSupplicantP2pIfaceHalMock.serviceAdd(any(WifiP2pServiceInfo.class))) in testP2pServiceAdd()
842 WifiP2pServiceInfo info = in testP2pServiceAdd()
853 when(mSupplicantP2pIfaceHalMock.serviceRemove(any(WifiP2pServiceInfo.class))) in testP2pServiceDel()
855 WifiP2pServiceInfo info = in testP2pServiceDel()
DSupplicantP2pIfaceHalAidlImplTest.java70 import android.net.wifi.p2p.nsd.WifiP2pServiceInfo;
1692 WifiP2pServiceInfo info = createPlaceholderP2pServiceInfo( in testServiceAdd_success()
1795 WifiP2pServiceInfo info = createPlaceholderP2pServiceInfo( in testServiceRemove_success()
2788 private WifiP2pServiceInfo createPlaceholderP2pServiceInfo(String... services) { in createPlaceholderP2pServiceInfo()
2789 class TestP2pServiceInfo extends WifiP2pServiceInfo { in createPlaceholderP2pServiceInfo()
DSupplicantP2pIfaceHalHidlImplTest.java57 import android.net.wifi.p2p.nsd.WifiP2pServiceInfo;
1753 WifiP2pServiceInfo info = createPlaceholderP2pServiceInfo( in testServiceAdd_success()
1862 WifiP2pServiceInfo info = createPlaceholderP2pServiceInfo( in testServiceRemove_success()
2961 private WifiP2pServiceInfo createPlaceholderP2pServiceInfo(String... services) { in createPlaceholderP2pServiceInfo()
2962 class TestP2pServiceInfo extends WifiP2pServiceInfo { in createPlaceholderP2pServiceInfo()
DWifiP2pServiceImplTest.java108 import android.net.wifi.p2p.nsd.WifiP2pServiceInfo;
275 @Mock WifiP2pServiceInfo mTestWifiP2pServiceInfo;
814 WifiP2pServiceInfo servInfo) throws Exception { in sendRemoveLocalServiceMsg()
5835 verify(mWifiNative).p2pServiceDel(any(WifiP2pServiceInfo.class)); in testRemoveLocalServiceSuccess()
5848 verify(mWifiNative, never()).p2pServiceDel(any(WifiP2pServiceInfo.class)); in testRemoveLocalServiceFailureWithoutClientInfo()
5863 verify(mWifiNative, never()).p2pServiceDel(any(WifiP2pServiceInfo.class)); in testRemoveLocalServiceSuccessWithNullServiceInfo()
5875 verify(mWifiNative, never()).p2pServiceDel(any(WifiP2pServiceInfo.class)); in testRemoveLocalServiceFailureWhenP2pDisabled()
5892 verify(mWifiNative, never()).p2pServiceDel(any(WifiP2pServiceInfo.class)); in testRemoveLocalServiceFailureWhenP2pUnsupported()
5910 verify(mWifiNative, atLeastOnce()).p2pServiceDel(any(WifiP2pServiceInfo.class)); in testClearLocalServiceSuccess()
5923 verify(mWifiNative, never()).p2pServiceDel(any(WifiP2pServiceInfo.class)); in testClearLocalServiceFailureWithoutClientInfo()
[all …]
/packages/modules/Wifi/framework/aidl-export/android/net/wifi/p2p/nsd/
DWifiP2pServiceInfo.aidl19 parcelable WifiP2pServiceInfo;
/packages/modules/Wifi/framework/java/android/net/wifi/p2p/
DWifiP2pManager.java39 import android.net.wifi.p2p.nsd.WifiP2pServiceInfo;
1984 private static void checkServiceInfo(WifiP2pServiceInfo info) { in checkServiceInfo()
2617 public void addLocalService(Channel channel, WifiP2pServiceInfo servInfo, in addLocalService()
2639 public void removeLocalService(Channel channel, WifiP2pServiceInfo servInfo, in removeLocalService()
/packages/modules/Wifi/framework/api/
Dlint-baseline.txt54 …roid.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.nsd.WifiP2pServiceInfo, android.net…
Dmodule-lib-lint-baseline.txt114 …roid.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.nsd.WifiP2pServiceInfo, android.net…
Dsystem-lint-baseline.txt134 …roid.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.nsd.WifiP2pServiceInfo, android.net…
Dcurrent.txt1366 …roid.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.nsd.WifiP2pServiceInfo, android.net…
1389 …roid.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.nsd.WifiP2pServiceInfo, android.net…
1590 public class WifiP2pDnsSdServiceInfo extends android.net.wifi.p2p.nsd.WifiP2pServiceInfo {
1600 public class WifiP2pServiceInfo implements android.os.Parcelable {
1616 public class WifiP2pUpnpServiceInfo extends android.net.wifi.p2p.nsd.WifiP2pServiceInfo {

12