Searched refs:setWfdEnable (Results 1 – 4 of 4) sorted by relevance
5057 when(mWifiNative.setWfdEnable(anyBoolean())).thenReturn(true); in testSetWfdInfoSuccessWithWfdEnabled()5064 verify(mWifiNative).setWfdEnable(eq(true)); in testSetWfdInfoSuccessWithWfdEnabled()5086 when(mWifiNative.setWfdEnable(anyBoolean())).thenReturn(true); in testSetWfdInfoSuccessWithWfdDisabled()5092 verify(mWifiNative).setWfdEnable(eq(false)); in testSetWfdInfoSuccessWithWfdDisabled()5160 when(mWifiNative.setWfdEnable(anyBoolean())).thenReturn(false); in testSetWfdInfoFailureWithWfdEnabledWhenNativeCallFailure1()5166 verify(mWifiNative).setWfdEnable(eq(true)); in testSetWfdInfoFailureWithWfdEnabledWhenNativeCallFailure1()5188 when(mWifiNative.setWfdEnable(anyBoolean())).thenReturn(true); in testSetWfdInfoFailureWithWfdEnabledWhenNativeCallFailure2()5195 verify(mWifiNative).setWfdEnable(eq(true)); in testSetWfdInfoFailureWithWfdEnabledWhenNativeCallFailure2()5218 when(mWifiNative.setWfdEnable(anyBoolean())).thenReturn(false); in testSetWfdInfoFailureWithWfdDisabledWhenNativeCallFailure()5224 verify(mWifiNative).setWfdEnable(eq(false)); in testSetWfdInfoFailureWithWfdDisabledWhenNativeCallFailure()[all …]
554 assertTrue(mWifiP2pNative.setWfdEnable(true)); in testSetWfdEnable()
463 public boolean setWfdEnable(boolean enable) { in setWfdEnable() method in WifiP2pNative
6822 if (!mWifiNative.setWfdEnable(enabled)) { in setWfdInfo()