Searched refs:serviceAdd (Results 1 – 4 of 4) sorted by relevance
1705 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 …]
514 when(mSupplicantP2pIfaceHalMock.serviceAdd(any(WifiP2pServiceInfo.class))) in testP2pServiceAdd()519 verify(mSupplicantP2pIfaceHalMock).serviceAdd(eq(info)); in testP2pServiceAdd()
702 return mSupplicantP2pIfaceHal.serviceAdd(servInfo); in p2pServiceAdd()
1429 public boolean serviceAdd(WifiP2pServiceInfo servInfo) { in serviceAdd() method in SupplicantP2pIfaceHal