Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalTest.java1532 when(mISupplicantP2pIfaceMock.configureExtListen(eq(123), eq(456))) in testConfigureExtListen_success()
1534 when(mISupplicantP2pIfaceMock.configureExtListen(eq(0), eq(0))) in testConfigureExtListen_success()
1537 assertFalse(mDut.configureExtListen(true, 123, 456)); in testConfigureExtListen_success()
1539 assertTrue(mDut.configureExtListen(true, 123, 456)); in testConfigureExtListen_success()
1541 assertTrue(mDut.configureExtListen(false, 999, 999)); in testConfigureExtListen_success()
1543 assertTrue(mDut.configureExtListen(false, -1, -1)); in testConfigureExtListen_success()
1552 when(mISupplicantP2pIfaceMock.configureExtListen(anyInt(), anyInt())) in testConfigureExtListen_invalidArguments()
1554 assertFalse(mDut.configureExtListen(true, -1, 1)); in testConfigureExtListen_invalidArguments()
1555 assertFalse(mDut.configureExtListen(true, 1, -1)); in testConfigureExtListen_invalidArguments()
1564 when(mISupplicantP2pIfaceMock.configureExtListen(anyInt(), anyInt())) in testConfigureExtListen_failure()
[all …]
DWifiP2pNativeTest.java321 when(mSupplicantP2pIfaceHalMock.configureExtListen(anyBoolean(), anyInt(), anyInt())) in testP2pExtListen()
324 verify(mSupplicantP2pIfaceHalMock).configureExtListen(eq(true), eq(10000), eq(20000)); in testP2pExtListen()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pNative.java479 return mSupplicantP2pIfaceHal.configureExtListen(enable, period, interval); in p2pExtListen()
DSupplicantP2pIfaceHal.java1327 public boolean configureExtListen(boolean enable, int periodInMillis, int intervalInMillis) { in configureExtListen() method in SupplicantP2pIfaceHal
1352 mISupplicantP2pIface.configureExtListen(periodInMillis, intervalInMillis)); in configureExtListen()