/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | SupplicantP2pIfaceHalTest.java | 312 when(mP2pIfaceHalAidlMock.setGroupIdle(anyString(), anyInt())).thenReturn(true); in testSetGroupIdle() 313 assertTrue(mDut.setGroupIdle(IFACE_NAME, timeout)); in testSetGroupIdle() 314 verify(mP2pIfaceHalAidlMock).setGroupIdle(eq(IFACE_NAME), eq(timeout)); in testSetGroupIdle()
|
D | SupplicantP2pIfaceHalAidlImplTest.java | 583 doNothing().when(mISupplicantP2pIfaceMock).setGroupIdle(eq(mIfaceName), anyInt()); in testSetGroupIdle_success() 585 assertFalse(mDut.setGroupIdle(mIfaceName, 1)); in testSetGroupIdle_success() 587 assertTrue(mDut.setGroupIdle(mIfaceName, 1)); in testSetGroupIdle_success() 588 assertFalse(mDut.setGroupIdle(mIfaceName, -1)); in testSetGroupIdle_success() 598 .when(mISupplicantP2pIfaceMock).setGroupIdle(eq(mIfaceName), anyInt()); in testSetGroupIdle_failure() 599 assertFalse(mDut.setGroupIdle(mIfaceName, 1)); in testSetGroupIdle_failure() 611 .when(mISupplicantP2pIfaceMock).setGroupIdle(eq(mIfaceName), anyInt()); in testSetGroupIdle_exception() 612 assertFalse(mDut.setGroupIdle(mIfaceName, 1)); in testSetGroupIdle_exception()
|
D | SupplicantP2pIfaceHalHidlImplTest.java | 632 when(mISupplicantP2pIfaceMock.setGroupIdle(eq(mIfaceName), anyInt())) in testSetGroupIdle_success() 635 assertFalse(mDut.setGroupIdle(mIfaceName, 1)); in testSetGroupIdle_success() 637 assertTrue(mDut.setGroupIdle(mIfaceName, 1)); in testSetGroupIdle_success() 638 assertFalse(mDut.setGroupIdle(mIfaceName, -1)); in testSetGroupIdle_success() 647 when(mISupplicantP2pIfaceMock.setGroupIdle(eq(mIfaceName), anyInt())) in testSetGroupIdle_failure() 649 assertFalse(mDut.setGroupIdle(mIfaceName, 1)); in testSetGroupIdle_failure() 660 when(mISupplicantP2pIfaceMock.setGroupIdle(eq(mIfaceName), anyInt())) in testSetGroupIdle_exception() 662 assertFalse(mDut.setGroupIdle(mIfaceName, 1)); in testSetGroupIdle_exception()
|
D | WifiP2pNativeTest.java | 533 when(mSupplicantP2pIfaceHalMock.setGroupIdle(anyString(), anyInt())).thenReturn(true); in testSetP2pGroupIdle() 535 verify(mSupplicantP2pIfaceHalMock).setGroupIdle(eq(TEST_IFACE), eq(TEST_IDLE_TIME)); in testSetP2pGroupIdle()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/ |
D | ISupplicantP2pIfaceHal.java | 172 boolean setGroupIdle(String groupIfName, int timeoutInSec); in setGroupIdle() method
|
D | SupplicantP2pIfaceHal.java | 334 public boolean setGroupIdle(String groupIfName, int timeoutInSec) { in setGroupIdle() method in SupplicantP2pIfaceHal 340 return mP2pIfaceHal.setGroupIdle(groupIfName, timeoutInSec); in setGroupIdle()
|
D | WifiP2pNative.java | 442 return mSupplicantP2pIfaceHal.setGroupIdle(iface, time); in setP2pGroupIdle()
|
D | SupplicantP2pIfaceHalAidlImpl.java | 714 public boolean setGroupIdle(String groupIfName, int timeoutInSec) { in setGroupIdle() method in SupplicantP2pIfaceHalAidlImpl 731 mISupplicantP2pIface.setGroupIdle(groupIfName, timeoutInSec); in setGroupIdle()
|
D | SupplicantP2pIfaceHalHidlImpl.java | 901 public boolean setGroupIdle(String groupIfName, int timeoutInSec) { in setGroupIdle() method in SupplicantP2pIfaceHalHidlImpl 913 result.setResult(mISupplicantP2pIface.setGroupIdle(groupIfName, timeoutInSec)); in setGroupIdle()
|