Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalTest.java2397 when(mISupplicantP2pIfaceMock.enableWfd(eq(true))) in testEnableWfd_success()
2400 assertFalse(mDut.enableWfd(true)); in testEnableWfd_success()
2402 assertTrue(mDut.enableWfd(true)); in testEnableWfd_success()
2411 when(mISupplicantP2pIfaceMock.enableWfd(anyBoolean())) in testEnableWfd_failure()
2413 assertFalse(mDut.enableWfd(true)); in testEnableWfd_failure()
2424 when(mISupplicantP2pIfaceMock.enableWfd(anyBoolean())) in testEnableWfd_exception()
2426 assertFalse(mDut.enableWfd(false)); in testEnableWfd_exception()
DWifiP2pNativeTest.java289 when(mSupplicantP2pIfaceHalMock.enableWfd(anyBoolean())).thenReturn(true); in testSetWfdEnable()
291 verify(mSupplicantP2pIfaceHalMock).enableWfd(eq(true)); in testSetWfdEnable()
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pNative.java392 return mSupplicantP2pIfaceHal.enableWfd(enable); in setWfdEnable()
DSupplicantP2pIfaceHal.java1960 public boolean enableWfd(boolean enable) { in enableWfd() method in SupplicantP2pIfaceHal
1967 result.setResult(mISupplicantP2pIface.enableWfd(enable)); in enableWfd()