Home
last modified time | relevance | path

Searched refs:setWfdEnable (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pServiceImplTest.java3083 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 …]
DWifiP2pNativeTest.java290 assertTrue(mWifiP2pNative.setWfdEnable(true)); in testSetWfdEnable()
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pNative.java391 public boolean setWfdEnable(boolean enable) { in setWfdEnable() method in WifiP2pNative
DWifiP2pServiceImpl.java4026 if (!mWifiNative.setWfdEnable(enabled)) { in setWfdInfo()