Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalTest.java630 when(mP2pIfaceHalAidlMock.enableWfd(anyBoolean())).thenReturn(true); in testEnableWfd()
631 assertTrue(mDut.enableWfd(ENABLE)); in testEnableWfd()
632 verify(mP2pIfaceHalAidlMock).enableWfd(eq(ENABLE)); in testEnableWfd()
DSupplicantP2pIfaceHalAidlImplTest.java2277 doNothing().when(mISupplicantP2pIfaceMock).enableWfd(eq(true)); in testEnableWfd_success()
2279 assertFalse(mDut.enableWfd(true)); in testEnableWfd_success()
2281 assertTrue(mDut.enableWfd(true)); in testEnableWfd_success()
2291 .when(mISupplicantP2pIfaceMock).enableWfd(anyBoolean()); in testEnableWfd_failure()
2292 assertFalse(mDut.enableWfd(true)); in testEnableWfd_failure()
2303 doThrow(new RemoteException()).when(mISupplicantP2pIfaceMock).enableWfd(anyBoolean()); in testEnableWfd_exception()
2304 assertFalse(mDut.enableWfd(false)); in testEnableWfd_exception()
DSupplicantP2pIfaceHalHidlImplTest.java2413 when(mISupplicantP2pIfaceMock.enableWfd(eq(true))) in testEnableWfd_success()
2416 assertFalse(mDut.enableWfd(true)); in testEnableWfd_success()
2418 assertTrue(mDut.enableWfd(true)); in testEnableWfd_success()
2427 when(mISupplicantP2pIfaceMock.enableWfd(anyBoolean())) in testEnableWfd_failure()
2429 assertFalse(mDut.enableWfd(true)); in testEnableWfd_failure()
2440 when(mISupplicantP2pIfaceMock.enableWfd(anyBoolean())) in testEnableWfd_exception()
2442 assertFalse(mDut.enableWfd(false)); in testEnableWfd_exception()
DWifiP2pNativeTest.java553 when(mSupplicantP2pIfaceHalMock.enableWfd(anyBoolean())).thenReturn(true); in testSetWfdEnable()
555 verify(mSupplicantP2pIfaceHalMock).enableWfd(eq(true)); in testSetWfdEnable()
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DISupplicantP2pIfaceHal.java455 boolean enableWfd(boolean enable); in enableWfd() method
DSupplicantP2pIfaceHal.java838 public boolean enableWfd(boolean enable) { in enableWfd() method in SupplicantP2pIfaceHal
844 return mP2pIfaceHal.enableWfd(enable); in enableWfd()
DWifiP2pNative.java464 return mSupplicantP2pIfaceHal.enableWfd(enable); in setWfdEnable()
DSupplicantP2pIfaceHalAidlImpl.java1915 public boolean enableWfd(boolean enable) { in enableWfd() method in SupplicantP2pIfaceHalAidlImpl
1922 mISupplicantP2pIface.enableWfd(enable); in enableWfd()
DSupplicantP2pIfaceHalHidlImpl.java2028 public boolean enableWfd(boolean enable) { in enableWfd() method in SupplicantP2pIfaceHalHidlImpl
2035 result.setResult(mISupplicantP2pIface.enableWfd(enable)); in enableWfd()