Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pServiceImplTest.java2772 when(mWifiNative.setWfdEnable(anyBoolean())).thenReturn(true); in testSetWfdInfoSuccessWithWfdEnabled()
2779 verify(mWifiNative).setWfdEnable(eq(true)); in testSetWfdInfoSuccessWithWfdEnabled()
2801 when(mWifiNative.setWfdEnable(anyBoolean())).thenReturn(true); in testSetWfdInfoSuccessWithWfdDisabled()
2807 verify(mWifiNative).setWfdEnable(eq(false)); in testSetWfdInfoSuccessWithWfdDisabled()
2875 when(mWifiNative.setWfdEnable(anyBoolean())).thenReturn(false); in testSetWfdInfoFailureWithWfdEnabledWhenNativeCallFailure1()
2881 verify(mWifiNative).setWfdEnable(eq(true)); in testSetWfdInfoFailureWithWfdEnabledWhenNativeCallFailure1()
2903 when(mWifiNative.setWfdEnable(anyBoolean())).thenReturn(true); in testSetWfdInfoFailureWithWfdEnabledWhenNativeCallFailure2()
2910 verify(mWifiNative).setWfdEnable(eq(true)); in testSetWfdInfoFailureWithWfdEnabledWhenNativeCallFailure2()
2933 when(mWifiNative.setWfdEnable(anyBoolean())).thenReturn(false); in testSetWfdInfoFailureWithWfdDisabledWhenNativeCallFailure()
2939 verify(mWifiNative).setWfdEnable(eq(false)); in testSetWfdInfoFailureWithWfdDisabledWhenNativeCallFailure()
DWifiP2pNativeTest.java272 assertTrue(mWifiP2pNative.setWfdEnable(true)); in testSetWfdEnable()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pNative.java417 public boolean setWfdEnable(boolean enable) { in setWfdEnable() method in WifiP2pNative
DWifiP2pServiceImpl.java3672 success = mWifiNative.setWfdEnable(false); in setWfdInfo()
3675 mWifiNative.setWfdEnable(true) in setWfdInfo()