Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pNativeTest.java271 when(mSupplicantP2pIfaceHalMock.enableWfd(anyBoolean())).thenReturn(true); in testSetWfdEnable()
273 verify(mSupplicantP2pIfaceHalMock).enableWfd(eq(true)); in testSetWfdEnable()
DSupplicantP2pIfaceHalTest.java2346 when(mISupplicantP2pIfaceMock.enableWfd(eq(true))) in testEnableWfd_success()
2349 assertFalse(mDut.enableWfd(true)); in testEnableWfd_success()
2351 assertTrue(mDut.enableWfd(true)); in testEnableWfd_success()
2360 when(mISupplicantP2pIfaceMock.enableWfd(anyBoolean())) in testEnableWfd_failure()
2362 assertFalse(mDut.enableWfd(true)); in testEnableWfd_failure()
2373 when(mISupplicantP2pIfaceMock.enableWfd(anyBoolean())) in testEnableWfd_exception()
2375 assertFalse(mDut.enableWfd(false)); in testEnableWfd_exception()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pNative.java418 return mSupplicantP2pIfaceHal.enableWfd(enable); in setWfdEnable()
DSupplicantP2pIfaceHal.java1849 public boolean enableWfd(boolean enable) { in enableWfd() method in SupplicantP2pIfaceHal
1856 result.setResult(mISupplicantP2pIface.enableWfd(enable)); in enableWfd()