Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalTest.java2046 when(mISupplicantP2pIfaceMock.cancelServiceDiscovery(SERVICE_IDENTIFIER_LONG)) in testCancelServiceDiscovery_success()
2049 assertFalse(mDut.cancelServiceDiscovery(SERVICE_IDENTIFIER_STR)); in testCancelServiceDiscovery_success()
2051 assertTrue(mDut.cancelServiceDiscovery(SERVICE_IDENTIFIER_STR)); in testCancelServiceDiscovery_success()
2060 when(mISupplicantP2pIfaceMock.cancelServiceDiscovery(anyLong())) in testCancelServiceDiscovery_invalidArguments()
2062 assertFalse(mDut.cancelServiceDiscovery(null)); in testCancelServiceDiscovery_invalidArguments()
2063 assertFalse(mDut.cancelServiceDiscovery("not a number")); in testCancelServiceDiscovery_invalidArguments()
2072 when(mISupplicantP2pIfaceMock.cancelServiceDiscovery(anyLong())) in testCancelServiceDiscovery_failure()
2074 assertFalse(mDut.cancelServiceDiscovery(SERVICE_IDENTIFIER_STR)); in testCancelServiceDiscovery_failure()
2085 when(mISupplicantP2pIfaceMock.cancelServiceDiscovery(anyLong())) in testCancelServiceDiscovery_exception()
2087 assertFalse(mDut.cancelServiceDiscovery(SERVICE_IDENTIFIER_STR)); in testCancelServiceDiscovery_exception()
DWifiP2pNativeTest.java596 when(mSupplicantP2pIfaceHalMock.cancelServiceDiscovery(anyString())).thenReturn(true); in testP2pServDiscCancelReq()
599 verify(mSupplicantP2pIfaceHalMock).cancelServiceDiscovery( in testP2pServDiscCancelReq()
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pNative.java746 return mSupplicantP2pIfaceHal.cancelServiceDiscovery(id); in p2pServDiscCancelReq()
DSupplicantP2pIfaceHal.java1745 public boolean cancelServiceDiscovery(String identifier) { in cancelServiceDiscovery() method in SupplicantP2pIfaceHal
1764 result.setResult(mISupplicantP2pIface.cancelServiceDiscovery(id)); in cancelServiceDiscovery()