Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pNative.java591 public boolean p2pSetOperatingChannel(int oc, @NonNull List<CoexUnsafeChannel> unsafeChannels) { in p2pSetOperatingChannel() method in WifiP2pNative
DWifiP2pServiceImpl.java7616 if (!mWifiNative.p2pSetOperatingChannel(mUserOperatingChannel, mCoexUnsafeChannels)) { in updateP2pChannels()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pServiceImplTest.java4533 when(mWifiNative.p2pSetOperatingChannel(anyInt(), any())).thenReturn(true); in testSetChannelSuccess()
4536 verify(mWifiNative).p2pSetOperatingChannel(eq(2), any()); in testSetChannelSuccess()
4556 when(mWifiNative.p2pSetOperatingChannel(anyInt(), any())).thenReturn(true); in testSetChannelFailureWhenNativeCallSetListenChannelFailure()
4576 when(mWifiNative.p2pSetOperatingChannel(anyInt(), any())).thenReturn(false); in testSetChannelFailureWhenNativeCallSetOperatingChannelFailure()
4613 when(mWifiNative.p2pSetOperatingChannel(anyInt(), any())).thenReturn(true); in testSetChannelFailureWhenObjectIsNull()
4619 when(mWifiNative.p2pSetOperatingChannel(anyInt(), any())).thenReturn(true); in testSetChannelFailureWhenObjectIsNull()
4623 verify(mWifiNative, times(1)).p2pSetOperatingChannel(anyInt(), any()); in testSetChannelFailureWhenObjectIsNull()
6384 when(mWifiNative.p2pSetOperatingChannel(anyInt(), any())).thenReturn(true); in setupCoexMock()
6406 verify(mWifiNative, times(2)).p2pSetOperatingChannel(eq(0), unsafeChannelsCaptor.capture()); in testCoexCallbackWithWifiP2pUnsafeChannels()
6429 verify(mWifiNative, times(2)).p2pSetOperatingChannel(eq(0), unsafeChannelsCaptor.capture()); in testCoexCallbackWithoutWifiP2pInRestrictionBits()
DWifiP2pNativeTest.java656 assertTrue(mWifiP2pNative.p2pSetOperatingChannel(65, Collections.emptyList())); in testP2pSetOperatingChannel()