Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pServiceImplTest.java1556 verify(mWifiNative, never()).p2pExtListen(anyBoolean(), anyInt(), anyInt()); in testStartListenFailureWhenPermissionDenied()
1565 when(mWifiNative.p2pExtListen(eq(true), anyInt(), anyInt())).thenReturn(false); in testStartListenFailureWhenNativeCallFailure()
1570 verify(mWifiNative).p2pExtListen(eq(true), anyInt(), anyInt()); in testStartListenFailureWhenNativeCallFailure()
1579 when(mWifiNative.p2pExtListen(eq(true), anyInt(), anyInt())).thenReturn(true); in testStartListenSuccess()
1585 verify(mWifiNative).p2pExtListen(eq(true), anyInt(), anyInt()); in testStartListenSuccess()
1599 verify(mWifiNative, never()).p2pExtListen(anyBoolean(), anyInt(), anyInt()); in testStopListenFailureWhenPermissionDenied()
1608 when(mWifiNative.p2pExtListen(eq(false), anyInt(), anyInt())).thenReturn(false); in testStopListenFailureWhenNativeCallFailure()
1611 verify(mWifiNative).p2pExtListen(eq(false), anyInt(), anyInt()); in testStopListenFailureWhenNativeCallFailure()
1621 when(mWifiNative.p2pExtListen(eq(false), anyInt(), anyInt())).thenReturn(true); in testStopListenSuccess()
1624 verify(mWifiNative).p2pExtListen(eq(false), anyInt(), anyInt()); in testStopListenSuccess()
DWifiP2pNativeTest.java323 assertTrue(mWifiP2pNative.p2pExtListen(true, 10000, 20000)); in testP2pExtListen()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pNative.java478 public boolean p2pExtListen(boolean enable, int period, int interval) { in p2pExtListen() method in WifiP2pNative
DWifiP2pServiceImpl.java1696 if (mWifiNative.p2pExtListen(true, 500, 500)) { in processMessage()
1711 if (mWifiNative.p2pExtListen(false, 0, 0)) { in processMessage()
2011 if (mWifiNative.p2pExtListen(true, 500, 500)) { in processMessage()
2026 if (mWifiNative.p2pExtListen(false, 0, 0)) { in processMessage()