Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalTest.java572 when(mISupplicantP2pIfaceMock.setGroupIdle(eq(mIfaceName), anyInt())) in testSetGroupIdle_success()
575 assertFalse(mDut.setGroupIdle(mIfaceName, 1)); in testSetGroupIdle_success()
577 assertTrue(mDut.setGroupIdle(mIfaceName, 1)); in testSetGroupIdle_success()
578 assertFalse(mDut.setGroupIdle(mIfaceName, -1)); in testSetGroupIdle_success()
587 when(mISupplicantP2pIfaceMock.setGroupIdle(eq(mIfaceName), anyInt())) in testSetGroupIdle_failure()
589 assertFalse(mDut.setGroupIdle(mIfaceName, 1)); in testSetGroupIdle_failure()
600 when(mISupplicantP2pIfaceMock.setGroupIdle(eq(mIfaceName), anyInt())) in testSetGroupIdle_exception()
602 assertFalse(mDut.setGroupIdle(mIfaceName, 1)); in testSetGroupIdle_exception()
DWifiP2pNativeTest.java251 when(mSupplicantP2pIfaceHalMock.setGroupIdle(anyString(), anyInt())).thenReturn(true); in testSetP2pGroupIdle()
253 verify(mSupplicantP2pIfaceHalMock).setGroupIdle(eq(TEST_IFACE), eq(TEST_IDLE_TIME)); in testSetP2pGroupIdle()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pNative.java396 return mSupplicantP2pIfaceHal.setGroupIdle(iface, time); in setP2pGroupIdle()
DSupplicantP2pIfaceHal.java719 public boolean setGroupIdle(String groupIfName, int timeoutInSec) { in setGroupIdle() method in SupplicantP2pIfaceHal
731 result.setResult(mISupplicantP2pIface.setGroupIdle(groupIfName, timeoutInSec)); in setGroupIdle()