Searched refs:cancelServiceDiscovery (Results 1 – 4 of 4) sorted by relevance
1995 when(mISupplicantP2pIfaceMock.cancelServiceDiscovery(SERVICE_IDENTIFIER_LONG)) in testCancelServiceDiscovery_success()1998 assertFalse(mDut.cancelServiceDiscovery(SERVICE_IDENTIFIER_STR)); in testCancelServiceDiscovery_success()2000 assertTrue(mDut.cancelServiceDiscovery(SERVICE_IDENTIFIER_STR)); in testCancelServiceDiscovery_success()2009 when(mISupplicantP2pIfaceMock.cancelServiceDiscovery(anyLong())) in testCancelServiceDiscovery_invalidArguments()2011 assertFalse(mDut.cancelServiceDiscovery(null)); in testCancelServiceDiscovery_invalidArguments()2012 assertFalse(mDut.cancelServiceDiscovery("not a number")); in testCancelServiceDiscovery_invalidArguments()2021 when(mISupplicantP2pIfaceMock.cancelServiceDiscovery(anyLong())) in testCancelServiceDiscovery_failure()2023 assertFalse(mDut.cancelServiceDiscovery(SERVICE_IDENTIFIER_STR)); in testCancelServiceDiscovery_failure()2034 when(mISupplicantP2pIfaceMock.cancelServiceDiscovery(anyLong())) in testCancelServiceDiscovery_exception()2036 assertFalse(mDut.cancelServiceDiscovery(SERVICE_IDENTIFIER_STR)); in testCancelServiceDiscovery_exception()
563 when(mSupplicantP2pIfaceHalMock.cancelServiceDiscovery(anyString())).thenReturn(true); in testP2pServDiscCancelReq()566 verify(mSupplicantP2pIfaceHalMock).cancelServiceDiscovery( in testP2pServDiscCancelReq()
748 return mSupplicantP2pIfaceHal.cancelServiceDiscovery(id); in p2pServDiscCancelReq()
1634 public boolean cancelServiceDiscovery(String identifier) { in cancelServiceDiscovery() method in SupplicantP2pIfaceHal1653 result.setResult(mISupplicantP2pIface.cancelServiceDiscovery(id)); in cancelServiceDiscovery()