Searched refs:p2pSetOperatingChannel (Results 1 – 4 of 4) sorted by relevance
| /packages/modules/Wifi/service/java/com/android/server/wifi/p2p/ |
| D | WifiP2pNative.java | 637 public boolean p2pSetOperatingChannel(int oc, @NonNull List<CoexUnsafeChannel> unsafeChannels) { in p2pSetOperatingChannel() method in WifiP2pNative
|
| D | WifiP2pServiceImpl.java | 8650 if (!mWifiNative.p2pSetOperatingChannel(mUserOperatingChannel, mCoexUnsafeChannels)) { in updateP2pChannels()
|
| /packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/ |
| D | WifiP2pServiceImplTest.java | 4595 when(mWifiNative.p2pSetOperatingChannel(anyInt(), any())).thenReturn(true); in testSetChannelSuccess() 4598 verify(mWifiNative).p2pSetOperatingChannel(eq(2), any()); in testSetChannelSuccess() 4618 when(mWifiNative.p2pSetOperatingChannel(anyInt(), any())).thenReturn(true); in testSetChannelFailureWhenNativeCallSetListenChannelFailure() 4638 when(mWifiNative.p2pSetOperatingChannel(anyInt(), any())).thenReturn(false); in testSetChannelFailureWhenNativeCallSetOperatingChannelFailure() 4675 when(mWifiNative.p2pSetOperatingChannel(anyInt(), any())).thenReturn(true); in testSetChannelFailureWhenObjectIsNull() 4681 when(mWifiNative.p2pSetOperatingChannel(anyInt(), any())).thenReturn(true); in testSetChannelFailureWhenObjectIsNull() 4685 verify(mWifiNative, times(1)).p2pSetOperatingChannel(anyInt(), any()); in testSetChannelFailureWhenObjectIsNull() 6446 when(mWifiNative.p2pSetOperatingChannel(anyInt(), any())).thenReturn(true); in setupCoexMock() 6468 verify(mWifiNative, times(2)).p2pSetOperatingChannel(eq(0), unsafeChannelsCaptor.capture()); in testCoexCallbackWithWifiP2pUnsafeChannels() 6491 verify(mWifiNative, times(2)).p2pSetOperatingChannel(eq(0), unsafeChannelsCaptor.capture()); in testCoexCallbackWithoutWifiP2pInRestrictionBits()
|
| D | WifiP2pNativeTest.java | 711 assertTrue(mWifiP2pNative.p2pSetOperatingChannel(65, Collections.emptyList())); in testP2pSetOperatingChannel()
|