Searched refs:p2pSetOperatingChannel (Results 1 – 4 of 4) sorted by relevance
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImplTest.java | 2655 when(mWifiNative.p2pSetOperatingChannel(anyInt(), any())).thenReturn(true); in testSetChannelSuccess() 2658 verify(mWifiNative).p2pSetOperatingChannel(eq(2), any()); in testSetChannelSuccess() 2676 when(mWifiNative.p2pSetOperatingChannel(anyInt(), any())).thenReturn(true); in testSetChannelFailureWhenNativeCallSetListenChannelFailure() 2696 when(mWifiNative.p2pSetOperatingChannel(anyInt(), any())).thenReturn(false); in testSetChannelFailureWhenNativeCallSetOperatingChannelFailure() 2733 when(mWifiNative.p2pSetOperatingChannel(anyInt(), any())).thenReturn(true); in testSetChannelFailureWhenObjectIsNull() 2739 when(mWifiNative.p2pSetOperatingChannel(anyInt(), any())).thenReturn(true); in testSetChannelFailureWhenObjectIsNull() 2743 verify(mWifiNative, times(1)).p2pSetOperatingChannel(anyInt(), any()); in testSetChannelFailureWhenObjectIsNull() 4309 when(mWifiNative.p2pSetOperatingChannel(anyInt(), any())).thenReturn(true); in setupCoexMock() 4331 verify(mWifiNative, times(2)).p2pSetOperatingChannel(eq(0), unsafeChannelsCaptor.capture()); in testCoexCallbackWithWifiP2pUnsafeChannels() 4354 verify(mWifiNative, times(2)).p2pSetOperatingChannel(eq(0), unsafeChannelsCaptor.capture()); in testCoexCallbackWithoutWifiP2pInRestrictionBits()
|
D | WifiP2pNativeTest.java | 363 assertTrue(mWifiP2pNative.p2pSetOperatingChannel(65, Collections.emptyList())); in testP2pSetOperatingChannel()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pNative.java | 479 public boolean p2pSetOperatingChannel(int oc, @NonNull List<CoexUnsafeChannel> unsafeChannels) { in p2pSetOperatingChannel() method in WifiP2pNative
|
D | WifiP2pServiceImpl.java | 4619 if (!mWifiNative.p2pSetOperatingChannel(mUserOperatingChannel, mCoexUnsafeChannels)) { in updateP2pChannels()
|