Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalTest.java1705 assertFalse(mDut.serviceAdd(info)); in testServiceAdd_success()
1707 assertTrue(mDut.serviceAdd(info)); in testServiceAdd_success()
1713 assertTrue(mDut.serviceAdd(createDummyP2pServiceInfo())); in testServiceAdd_success()
1729 assertFalse(mDut.serviceAdd(null)); in testServiceAdd_invalidArguments()
1730 assertFalse(mDut.serviceAdd(createDummyP2pServiceInfo(mInvalidService1))); in testServiceAdd_invalidArguments()
1731 assertFalse(mDut.serviceAdd(createDummyP2pServiceInfo(mInvalidService2))); in testServiceAdd_invalidArguments()
1732 assertFalse(mDut.serviceAdd(createDummyP2pServiceInfo(mInvalidUpnpService1))); in testServiceAdd_invalidArguments()
1733 assertFalse(mDut.serviceAdd(createDummyP2pServiceInfo(mInvalidUpnpService2))); in testServiceAdd_invalidArguments()
1734 assertFalse(mDut.serviceAdd(createDummyP2pServiceInfo(mInvalidUpnpService3))); in testServiceAdd_invalidArguments()
1735 assertFalse(mDut.serviceAdd(createDummyP2pServiceInfo(mInvalidBonjourService1))); in testServiceAdd_invalidArguments()
[all …]
DWifiP2pNativeTest.java514 when(mSupplicantP2pIfaceHalMock.serviceAdd(any(WifiP2pServiceInfo.class))) in testP2pServiceAdd()
519 verify(mSupplicantP2pIfaceHalMock).serviceAdd(eq(info)); in testP2pServiceAdd()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pNative.java702 return mSupplicantP2pIfaceHal.serviceAdd(servInfo); in p2pServiceAdd()
DSupplicantP2pIfaceHal.java1429 public boolean serviceAdd(WifiP2pServiceInfo servInfo) { in serviceAdd() method in SupplicantP2pIfaceHal