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.java5057 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 …]
DWifiP2pNativeTest.java554 assertTrue(mWifiP2pNative.setWfdEnable(true)); in testSetWfdEnable()
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pNative.java463 public boolean setWfdEnable(boolean enable) { in setWfdEnable() method in WifiP2pNative
DWifiP2pServiceImpl.java6822 if (!mWifiNative.setWfdEnable(enabled)) { in setWfdInfo()