Searched refs:cancelServiceDiscovery (Results 1 – 9 of 9) sorted by relevance
1967 doNothing().when(mISupplicantP2pIfaceMock).cancelServiceDiscovery(SERVICE_IDENTIFIER_LONG); in testCancelServiceDiscovery_success()1969 assertFalse(mDut.cancelServiceDiscovery(SERVICE_IDENTIFIER_STR)); in testCancelServiceDiscovery_success()1971 assertTrue(mDut.cancelServiceDiscovery(SERVICE_IDENTIFIER_STR)); in testCancelServiceDiscovery_success()1980 doNothing().when(mISupplicantP2pIfaceMock).cancelServiceDiscovery(SERVICE_IDENTIFIER_LONG); in testCancelServiceDiscovery_invalidArguments()1981 assertFalse(mDut.cancelServiceDiscovery(null)); in testCancelServiceDiscovery_invalidArguments()1982 assertFalse(mDut.cancelServiceDiscovery("not a number")); in testCancelServiceDiscovery_invalidArguments()1992 .when(mISupplicantP2pIfaceMock).cancelServiceDiscovery(anyLong()); in testCancelServiceDiscovery_failure()1993 assertFalse(mDut.cancelServiceDiscovery(SERVICE_IDENTIFIER_STR)); in testCancelServiceDiscovery_failure()2006 .cancelServiceDiscovery(anyLong()); in testCancelServiceDiscovery_exception()2007 assertFalse(mDut.cancelServiceDiscovery(SERVICE_IDENTIFIER_STR)); in testCancelServiceDiscovery_exception()
2065 when(mISupplicantP2pIfaceMock.cancelServiceDiscovery(SERVICE_IDENTIFIER_LONG)) in testCancelServiceDiscovery_success()2068 assertFalse(mDut.cancelServiceDiscovery(SERVICE_IDENTIFIER_STR)); in testCancelServiceDiscovery_success()2070 assertTrue(mDut.cancelServiceDiscovery(SERVICE_IDENTIFIER_STR)); in testCancelServiceDiscovery_success()2079 when(mISupplicantP2pIfaceMock.cancelServiceDiscovery(anyLong())) in testCancelServiceDiscovery_invalidArguments()2081 assertFalse(mDut.cancelServiceDiscovery(null)); in testCancelServiceDiscovery_invalidArguments()2082 assertFalse(mDut.cancelServiceDiscovery("not a number")); in testCancelServiceDiscovery_invalidArguments()2091 when(mISupplicantP2pIfaceMock.cancelServiceDiscovery(anyLong())) in testCancelServiceDiscovery_failure()2093 assertFalse(mDut.cancelServiceDiscovery(SERVICE_IDENTIFIER_STR)); in testCancelServiceDiscovery_failure()2104 when(mISupplicantP2pIfaceMock.cancelServiceDiscovery(anyLong())) in testCancelServiceDiscovery_exception()2106 assertFalse(mDut.cancelServiceDiscovery(SERVICE_IDENTIFIER_STR)); in testCancelServiceDiscovery_exception()
563 when(mP2pIfaceHalAidlMock.cancelServiceDiscovery(anyString())).thenReturn(true); in testCancelServiceDiscovery()564 assertTrue(mDut.cancelServiceDiscovery(PARAMS)); in testCancelServiceDiscovery()565 verify(mP2pIfaceHalAidlMock).cancelServiceDiscovery(eq(PARAMS)); in testCancelServiceDiscovery()
889 when(mSupplicantP2pIfaceHalMock.cancelServiceDiscovery(anyString())).thenReturn(true); in testP2pServDiscCancelReq()892 verify(mSupplicantP2pIfaceHalMock).cancelServiceDiscovery( in testP2pServDiscCancelReq()
402 boolean cancelServiceDiscovery(String identifier); in cancelServiceDiscovery() method
736 public boolean cancelServiceDiscovery(String identifier) { in cancelServiceDiscovery() method in SupplicantP2pIfaceHal742 return mP2pIfaceHal.cancelServiceDiscovery(identifier); in cancelServiceDiscovery()
858 return mSupplicantP2pIfaceHal.cancelServiceDiscovery(id); in p2pServDiscCancelReq()
1701 public boolean cancelServiceDiscovery(String identifier) { in cancelServiceDiscovery() method in SupplicantP2pIfaceHalAidlImpl1721 mISupplicantP2pIface.cancelServiceDiscovery(id); in cancelServiceDiscovery()
1813 public boolean cancelServiceDiscovery(String identifier) { in cancelServiceDiscovery() method in SupplicantP2pIfaceHalHidlImpl1832 result.setResult(mISupplicantP2pIface.cancelServiceDiscovery(id)); in cancelServiceDiscovery()