Searched refs:setListenChannel (Results 1 – 4 of 4) sorted by relevance
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | SupplicantP2pIfaceHalTest.java | 1602 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 …]
|
D | WifiP2pNativeTest.java | 332 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/ |
D | WifiP2pNative.java | 497 return mSupplicantP2pIfaceHal.setListenChannel(lc, oc); in p2pSetChannel()
|
D | SupplicantP2pIfaceHal.java | 1371 public boolean setListenChannel(int listenChannel, int operatingChannel) { in setListenChannel() method in SupplicantP2pIfaceHal 1379 result.setResult(mISupplicantP2pIface.setListenChannel( in setListenChannel()
|