Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalTest.java1995 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()
DWifiP2pNativeTest.java563 when(mSupplicantP2pIfaceHalMock.cancelServiceDiscovery(anyString())).thenReturn(true); in testP2pServDiscCancelReq()
566 verify(mSupplicantP2pIfaceHalMock).cancelServiceDiscovery( in testP2pServDiscCancelReq()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pNative.java748 return mSupplicantP2pIfaceHal.cancelServiceDiscovery(id); in p2pServDiscCancelReq()
DSupplicantP2pIfaceHal.java1634 public boolean cancelServiceDiscovery(String identifier) { in cancelServiceDiscovery() method in SupplicantP2pIfaceHal
1653 result.setResult(mISupplicantP2pIface.cancelServiceDiscovery(id)); in cancelServiceDiscovery()