Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalTest.java1556 when(mISupplicantP2pIfaceMock.configureExtListen(eq(123), eq(456))) in testConfigureExtListen_success()
1558 when(mISupplicantP2pIfaceMock.configureExtListen(eq(0), eq(0))) in testConfigureExtListen_success()
1561 assertFalse(mDut.configureExtListen(true, 123, 456)); in testConfigureExtListen_success()
1563 assertTrue(mDut.configureExtListen(true, 123, 456)); in testConfigureExtListen_success()
1565 assertTrue(mDut.configureExtListen(false, 999, 999)); in testConfigureExtListen_success()
1567 assertTrue(mDut.configureExtListen(false, -1, -1)); in testConfigureExtListen_success()
1576 when(mISupplicantP2pIfaceMock.configureExtListen(anyInt(), anyInt())) in testConfigureExtListen_invalidArguments()
1578 assertFalse(mDut.configureExtListen(true, -1, 1)); in testConfigureExtListen_invalidArguments()
1579 assertFalse(mDut.configureExtListen(true, 1, -1)); in testConfigureExtListen_invalidArguments()
1588 when(mISupplicantP2pIfaceMock.configureExtListen(anyInt(), anyInt())) in testConfigureExtListen_failure()
[all …]
DWifiP2pNativeTest.java339 when(mSupplicantP2pIfaceHalMock.configureExtListen(anyBoolean(), anyInt(), anyInt())) in testP2pExtListen()
342 verify(mSupplicantP2pIfaceHalMock).configureExtListen(eq(true), eq(10000), eq(20000)); in testP2pExtListen()
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pNative.java453 return mSupplicantP2pIfaceHal.configureExtListen(enable, period, interval); in p2pExtListen()
DSupplicantP2pIfaceHal.java1415 public boolean configureExtListen(boolean enable, int periodInMillis, int intervalInMillis) { in configureExtListen() method in SupplicantP2pIfaceHal
1440 mISupplicantP2pIface.configureExtListen(periodInMillis, intervalInMillis)); in configureExtListen()