Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalTest.java1602 when(mISupplicantP2pIfaceMock.setListenChannel(eq(lc), anyInt())) in testSetListenChannel_success()
1607 assertFalse(mDut.setListenChannel(lc, oc)); in testSetListenChannel_success()
1609 assertTrue(mDut.setListenChannel(lc, oc)); in testSetListenChannel_success()
1621 when(mISupplicantP2pIfaceMock.setListenChannel(eq(lc), anyInt())) in testSetListenChannel_successResetDisallowedFreq()
1626 assertFalse(mDut.setListenChannel(lc, oc)); in testSetListenChannel_successResetDisallowedFreq()
1628 assertTrue(mDut.setListenChannel(lc, oc)); in testSetListenChannel_successResetDisallowedFreq()
1637 when(mISupplicantP2pIfaceMock.setListenChannel(anyInt(), anyInt())) in testSetListenChannel_invalidArguments()
1641 assertFalse(mDut.setListenChannel(-1, 1)); in testSetListenChannel_invalidArguments()
1642 assertFalse(mDut.setListenChannel(1, -1)); in testSetListenChannel_invalidArguments()
1651 when(mISupplicantP2pIfaceMock.setListenChannel(anyInt(), anyInt())) in testSetListenChannel_failure()
[all …]
DWifiP2pNativeTest.java332 when(mSupplicantP2pIfaceHalMock.setListenChannel(anyInt(), anyInt())) in testP2pSetChannel()
335 verify(mSupplicantP2pIfaceHalMock).setListenChannel(eq(1), eq(81)); in testP2pSetChannel()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pNative.java497 return mSupplicantP2pIfaceHal.setListenChannel(lc, oc); in p2pSetChannel()
DSupplicantP2pIfaceHal.java1371 public boolean setListenChannel(int listenChannel, int operatingChannel) { in setListenChannel() method in SupplicantP2pIfaceHal
1379 result.setResult(mISupplicantP2pIface.setListenChannel( in setListenChannel()