Searched refs:enableWfd (Results 1 – 4 of 4) sorted by relevance
2397 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()
289 when(mSupplicantP2pIfaceHalMock.enableWfd(anyBoolean())).thenReturn(true); in testSetWfdEnable()291 verify(mSupplicantP2pIfaceHalMock).enableWfd(eq(true)); in testSetWfdEnable()
392 return mSupplicantP2pIfaceHal.enableWfd(enable); in setWfdEnable()
1960 public boolean enableWfd(boolean enable) { in enableWfd() method in SupplicantP2pIfaceHal1967 result.setResult(mISupplicantP2pIface.enableWfd(enable)); in enableWfd()