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.java503 public boolean p2pSetChannel(int lc, int oc) { in p2pSetChannel() method in WifiP2pNative
DWifiP2pServiceImpl.java1766 if (mWifiNative.p2pSetChannel(lc, oc)) { in processMessage()
2096 if (mWifiNative.p2pSetChannel(lc, oc)) { in processMessage()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pNativeTest.java355 assertTrue(mWifiP2pNative.p2pSetChannel(1, 81)); in testP2pSetChannel()
DWifiP2pServiceImplTest.java2523 when(mWifiNative.p2pSetChannel(anyInt(), anyInt())).thenReturn(true); in testSetChannelSuccess()
2525 verify(mWifiNative).p2pSetChannel(eq(1), eq(2)); in testSetChannelSuccess()
2542 when(mWifiNative.p2pSetChannel(anyInt(), anyInt())).thenReturn(false); in testSetChannelFailureWhenNativeCallFailure()
2544 verify(mWifiNative).p2pSetChannel(eq(1), eq(2)); in testSetChannelFailureWhenNativeCallFailure()
2581 when(mWifiNative.p2pSetChannel(anyInt(), anyInt())).thenReturn(false); in testSetChannelFailureWhenObjectIsNull()
2583 verify(mWifiNative, never()).p2pSetChannel(anyInt(), anyInt()); in testSetChannelFailureWhenObjectIsNull()