Searched refs:setWfdEnable (Results 1 – 4 of 4) sorted by relevance
3083 when(mWifiNative.setWfdEnable(anyBoolean())).thenReturn(true); in testSetWfdInfoSuccessWithWfdEnabled()3090 verify(mWifiNative).setWfdEnable(eq(true)); in testSetWfdInfoSuccessWithWfdEnabled()3112 when(mWifiNative.setWfdEnable(anyBoolean())).thenReturn(true); in testSetWfdInfoSuccessWithWfdDisabled()3118 verify(mWifiNative).setWfdEnable(eq(false)); in testSetWfdInfoSuccessWithWfdDisabled()3186 when(mWifiNative.setWfdEnable(anyBoolean())).thenReturn(false); in testSetWfdInfoFailureWithWfdEnabledWhenNativeCallFailure1()3192 verify(mWifiNative).setWfdEnable(eq(true)); in testSetWfdInfoFailureWithWfdEnabledWhenNativeCallFailure1()3214 when(mWifiNative.setWfdEnable(anyBoolean())).thenReturn(true); in testSetWfdInfoFailureWithWfdEnabledWhenNativeCallFailure2()3221 verify(mWifiNative).setWfdEnable(eq(true)); in testSetWfdInfoFailureWithWfdEnabledWhenNativeCallFailure2()3244 when(mWifiNative.setWfdEnable(anyBoolean())).thenReturn(false); in testSetWfdInfoFailureWithWfdDisabledWhenNativeCallFailure()3250 verify(mWifiNative).setWfdEnable(eq(false)); in testSetWfdInfoFailureWithWfdDisabledWhenNativeCallFailure()[all …]
290 assertTrue(mWifiP2pNative.setWfdEnable(true)); in testSetWfdEnable()
391 public boolean setWfdEnable(boolean enable) { in setWfdEnable() method in WifiP2pNative
4026 if (!mWifiNative.setWfdEnable(enabled)) { in setWfdInfo()