Searched refs:enableWfd (Results 1 – 9 of 9) sorted by relevance
630 when(mP2pIfaceHalAidlMock.enableWfd(anyBoolean())).thenReturn(true); in testEnableWfd()631 assertTrue(mDut.enableWfd(ENABLE)); in testEnableWfd()632 verify(mP2pIfaceHalAidlMock).enableWfd(eq(ENABLE)); in testEnableWfd()
2277 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()
2413 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()
553 when(mSupplicantP2pIfaceHalMock.enableWfd(anyBoolean())).thenReturn(true); in testSetWfdEnable()555 verify(mSupplicantP2pIfaceHalMock).enableWfd(eq(true)); in testSetWfdEnable()
455 boolean enableWfd(boolean enable); in enableWfd() method
838 public boolean enableWfd(boolean enable) { in enableWfd() method in SupplicantP2pIfaceHal844 return mP2pIfaceHal.enableWfd(enable); in enableWfd()
464 return mSupplicantP2pIfaceHal.enableWfd(enable); in setWfdEnable()
1915 public boolean enableWfd(boolean enable) { in enableWfd() method in SupplicantP2pIfaceHalAidlImpl1922 mISupplicantP2pIface.enableWfd(enable); in enableWfd()
2028 public boolean enableWfd(boolean enable) { in enableWfd() method in SupplicantP2pIfaceHalHidlImpl2035 result.setResult(mISupplicantP2pIface.enableWfd(enable)); in enableWfd()