Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalTest.java504 when(mP2pIfaceHalAidlMock.setListenChannel(anyInt())).thenReturn(true); in testSetListenChannel()
505 assertTrue(mDut.setListenChannel(CHANNEL)); in testSetListenChannel()
506 verify(mP2pIfaceHalAidlMock).setListenChannel(eq(CHANNEL)); in testSetListenChannel()
DSupplicantP2pIfaceHalAidlImplTest.java1583 doNothing().when(mISupplicantP2pIfaceMock).setListenChannel(eq(lc), anyInt()); in testSetListenChannel_success()
1585 assertFalse(mDut.setListenChannel(lc)); in testSetListenChannel_success()
1587 assertTrue(mDut.setListenChannel(lc)); in testSetListenChannel_success()
1596 doNothing().when(mISupplicantP2pIfaceMock).setListenChannel(anyInt(), anyInt()); in testSetListenChannel_invalidArguments()
1597 assertFalse(mDut.setListenChannel(4)); in testSetListenChannel_invalidArguments()
1607 .when(mISupplicantP2pIfaceMock).setListenChannel(anyInt(), anyInt()); in testSetListenChannel_failure()
1608 assertFalse(mDut.setListenChannel(1)); in testSetListenChannel_failure()
1620 .setListenChannel(anyInt(), anyInt()); in testSetListenChannel_exception()
1621 assertFalse(mDut.setListenChannel(1)); in testSetListenChannel_exception()
DSupplicantP2pIfaceHalHidlImplTest.java1639 when(mISupplicantP2pIfaceMock.setListenChannel(eq(lc), anyInt())) in testSetListenChannel_success()
1642 assertFalse(mDut.setListenChannel(lc)); in testSetListenChannel_success()
1644 assertTrue(mDut.setListenChannel(lc)); in testSetListenChannel_success()
1653 when(mISupplicantP2pIfaceMock.setListenChannel(anyInt(), anyInt())) in testSetListenChannel_invalidArguments()
1655 assertFalse(mDut.setListenChannel(4)); in testSetListenChannel_invalidArguments()
1664 when(mISupplicantP2pIfaceMock.setListenChannel(anyInt(), anyInt())) in testSetListenChannel_failure()
1666 assertFalse(mDut.setListenChannel(1)); in testSetListenChannel_failure()
1677 when(mISupplicantP2pIfaceMock.setListenChannel(anyInt(), anyInt())) in testSetListenChannel_exception()
1679 assertFalse(mDut.setListenChannel(1)); in testSetListenChannel_exception()
DWifiP2pNativeTest.java643 when(mSupplicantP2pIfaceHalMock.setListenChannel(anyInt())) in testP2pSetListenChannel()
646 verify(mSupplicantP2pIfaceHalMock).setListenChannel(eq(1)); in testP2pSetListenChannel()
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DISupplicantP2pIfaceHal.java352 boolean setListenChannel(int listenChannel); in setListenChannel() method
DSupplicantP2pIfaceHal.java645 public boolean setListenChannel(int listenChannel) { in setListenChannel() method in SupplicantP2pIfaceHal
651 return mP2pIfaceHal.setListenChannel(listenChannel); in setListenChannel()
DWifiP2pNative.java581 return mSupplicantP2pIfaceHal.setListenChannel(lc); in p2pSetListenChannel()
DSupplicantP2pIfaceHalAidlImpl.java1410 public boolean setListenChannel(int listenChannel) { in setListenChannel() method in SupplicantP2pIfaceHalAidlImpl
1428 mISupplicantP2pIface.setListenChannel(listenChannel, DEFAULT_OPERATING_CLASS); in setListenChannel()
DSupplicantP2pIfaceHalHidlImpl.java1526 public boolean setListenChannel(int listenChannel) { in setListenChannel() method in SupplicantP2pIfaceHalHidlImpl
1541 result.setResult(mISupplicantP2pIface.setListenChannel( in setListenChannel()