Searched refs:setListenChannel (Results 1 – 9 of 9) sorted by relevance
504 when(mP2pIfaceHalAidlMock.setListenChannel(anyInt())).thenReturn(true); in testSetListenChannel()505 assertTrue(mDut.setListenChannel(CHANNEL)); in testSetListenChannel()506 verify(mP2pIfaceHalAidlMock).setListenChannel(eq(CHANNEL)); in testSetListenChannel()
1583 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()
1639 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()
643 when(mSupplicantP2pIfaceHalMock.setListenChannel(anyInt())) in testP2pSetListenChannel()646 verify(mSupplicantP2pIfaceHalMock).setListenChannel(eq(1)); in testP2pSetListenChannel()
352 boolean setListenChannel(int listenChannel); in setListenChannel() method
645 public boolean setListenChannel(int listenChannel) { in setListenChannel() method in SupplicantP2pIfaceHal651 return mP2pIfaceHal.setListenChannel(listenChannel); in setListenChannel()
581 return mSupplicantP2pIfaceHal.setListenChannel(lc); in p2pSetListenChannel()
1410 public boolean setListenChannel(int listenChannel) { in setListenChannel() method in SupplicantP2pIfaceHalAidlImpl1428 mISupplicantP2pIface.setListenChannel(listenChannel, DEFAULT_OPERATING_CLASS); in setListenChannel()
1526 public boolean setListenChannel(int listenChannel) { in setListenChannel() method in SupplicantP2pIfaceHalHidlImpl1541 result.setResult(mISupplicantP2pIface.setListenChannel( in setListenChannel()