Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pNative.java496 public boolean p2pSetChannel(int lc, int oc) { in p2pSetChannel() method in WifiP2pNative
DWifiP2pServiceImpl.java1706 if (mWifiNative.p2pSetChannel(lc, oc)) { in processMessage()
2026 if (mWifiNative.p2pSetChannel(lc, oc)) { in processMessage()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pNativeTest.java334 assertTrue(mWifiP2pNative.p2pSetChannel(1, 81)); in testP2pSetChannel()
DWifiP2pServiceImplTest.java2419 when(mWifiNative.p2pSetChannel(anyInt(), anyInt())).thenReturn(true); in testSetChannelSuccess()
2421 verify(mWifiNative).p2pSetChannel(eq(1), eq(2)); in testSetChannelSuccess()
2438 when(mWifiNative.p2pSetChannel(anyInt(), anyInt())).thenReturn(false); in testSetChannelFailureWhenNativeCallFailure()
2440 verify(mWifiNative).p2pSetChannel(eq(1), eq(2)); in testSetChannelFailureWhenNativeCallFailure()
2454 when(mWifiNative.p2pSetChannel(anyInt(), anyInt())).thenReturn(false); in testSetChannelFailureWhenObjectIsNull()
2456 verify(mWifiNative, never()).p2pSetChannel(anyInt(), anyInt()); in testSetChannelFailureWhenObjectIsNull()