Searched refs:setGroupIdle (Results 1 – 4 of 4) sorted by relevance
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | SupplicantP2pIfaceHalTest.java | 572 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()
|
D | WifiP2pNativeTest.java | 251 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/ |
D | WifiP2pNative.java | 396 return mSupplicantP2pIfaceHal.setGroupIdle(iface, time); in setP2pGroupIdle()
|
D | SupplicantP2pIfaceHal.java | 719 public boolean setGroupIdle(String groupIfName, int timeoutInSec) { in setGroupIdle() method in SupplicantP2pIfaceHal 731 result.setResult(mISupplicantP2pIface.setGroupIdle(groupIfName, timeoutInSec)); in setGroupIdle()
|